From 57aba8c882b60e419af8a8a04679b049ec5bdb6b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 11:14:21 +0200 Subject: [PATCH] chore(deps): update all non-major regex dependencies (#764) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Max Baumann --- .github/workflows/buf.yaml | 2 +- .github/workflows/cicd.yaml | 2 +- .github/workflows/fly-deploy.yaml | 2 +- .github/workflows/migrations.yaml | 2 +- .github/workflows/publish-bufs.yaml | 6 +- .gitignore | 1 - Dockerfile.apisix | 2 +- Dockerfile.impulse-svc | 2 +- Dockerfile.standalone | 2 +- README.md | 4 +- buf.gen.yaml | 33 +- buf.yaml | 16 + dev/docker-compose.yaml | 4 +- gen/README.md | 1 + gen/dart/.pubignore | 3 +- gen/dart/LICENSE | 1 + gen/dart/README.md | 3 +- gen/dart/lib/google/protobuf/any.pb.dart | 207 - gen/dart/lib/google/protobuf/any.pbjson.dart | 28 - gen/dart/lib/google/protobuf/empty.pb.dart | 56 - .../lib/google/protobuf/empty.pbjson.dart | 24 - .../events/v1/organization_events.pb.dart | 6 +- .../events/v1/organization_events.pbenum.dart | 2 +- .../events/v1/organization_events.pbjson.dart | 2 +- .../libs/events/v1/user_events.pb.dart | 8 +- .../libs/events/v1/user_events.pbenum.dart | 2 +- .../libs/events/v1/user_events.pbjson.dart | 2 +- .../tasks_svc/v1/patient_svc.pbenum.dart | 11 - .../services/auth_svc/v1/auth_svc.pb.dart | 6 +- .../services/auth_svc/v1/auth_svc.pbenum.dart | 2 +- .../services/auth_svc/v1/auth_svc.pbgrpc.dart | 10 +- .../services/auth_svc/v1/auth_svc.pbjson.dart | 2 +- .../impulse_svc/v1/impulse_svc.pb.dart | 60 +- .../impulse_svc/v1/impulse_svc.pbenum.dart | 2 +- .../impulse_svc/v1/impulse_svc.pbgrpc.dart | 28 +- .../impulse_svc/v1/impulse_svc.pbjson.dart | 162 +- .../services/ory_svc/v1/ory_svc.pb.dart | 6 +- .../services/ory_svc/v1/ory_svc.pbenum.dart | 2 +- .../services/ory_svc/v1/ory_svc.pbjson.dart | 2 +- .../property_svc/v1/property_set_svc.pb.dart | 10 +- .../v1/property_set_svc.pbenum.dart | 2 +- .../v1/property_set_svc.pbgrpc.dart | 12 +- .../v1/property_set_svc.pbjson.dart | 2 +- .../property_svc/v1/property_svc.pb.dart | 38 +- .../property_svc/v1/property_svc.pbenum.dart | 2 +- .../property_svc/v1/property_svc.pbgrpc.dart | 16 +- .../property_svc/v1/property_svc.pbjson.dart | 164 +- .../v1/property_value_svc.pb.dart | 16 +- .../v1/property_value_svc.pbenum.dart | 2 +- .../v1/property_value_svc.pbgrpc.dart | 12 +- .../v1/property_value_svc.pbjson.dart | 50 +- .../v1/property_views_svc.pb.dart | 207 + .../v1/property_views_svc.pbenum.dart} | 2 +- .../v1/property_views_svc.pbgrpc.dart | 59 + .../v1/property_views_svc.pbjson.dart | 62 + .../services/property_svc/v1/types.pb.dart | 98 + .../property_svc/v1/types.pbenum.dart | 59 + .../property_svc/v1/types.pbjson.dart | 66 + .../services/task_svc/v1/bed_svc.pb.dart | 44 +- .../services/task_svc/v1/bed_svc.pbenum.dart | 2 +- .../services/task_svc/v1/bed_svc.pbgrpc.dart | 24 +- .../services/task_svc/v1/bed_svc.pbjson.dart | 42 +- .../services/task_svc/v1/patient_svc.pb.dart | 96 +- .../task_svc/v1/patient_svc.pbenum.dart | 2 +- .../task_svc/v1/patient_svc.pbgrpc.dart | 36 +- .../task_svc/v1/patient_svc.pbjson.dart | 203 +- .../services/task_svc/v1/room_svc.pb.dart | 46 +- .../services/task_svc/v1/room_svc.pbenum.dart | 2 +- .../services/task_svc/v1/room_svc.pbgrpc.dart | 22 +- .../services/task_svc/v1/room_svc.pbjson.dart | 76 +- .../services/task_svc/v1/task_svc.pb.dart | 98 +- .../services/task_svc/v1/task_svc.pbenum.dart | 2 +- .../services/task_svc/v1/task_svc.pbgrpc.dart | 46 +- .../services/task_svc/v1/task_svc.pbjson.dart | 141 +- .../task_svc/v1/task_template_svc.pb.dart | 52 +- .../task_svc/v1/task_template_svc.pbenum.dart | 2 +- .../task_svc/v1/task_template_svc.pbgrpc.dart | 26 +- .../task_svc/v1/task_template_svc.pbjson.dart | 76 +- .../services/task_svc/v1/ward_svc.pb.dart | 48 +- .../services/task_svc/v1/ward_svc.pbenum.dart | 2 +- .../services/task_svc/v1/ward_svc.pbgrpc.dart | 24 +- .../services/task_svc/v1/ward_svc.pbjson.dart | 66 +- .../services/tasks_svc/v1/patient_svc.pb.dart | 44 +- .../tasks_svc/v1/patient_svc.pbenum.dart} | 2 +- .../tasks_svc/v1/patient_svc.pbgrpc.dart | 24 +- .../tasks_svc/v1/patient_svc.pbjson.dart | 44 +- .../services/tasks_svc/v1/task_svc.pb.dart | 50 +- .../tasks_svc/v1/task_svc.pbenum.dart | 2 +- .../tasks_svc/v1/task_svc.pbgrpc.dart | 28 +- .../tasks_svc/v1/task_svc.pbjson.dart | 41 +- .../user_svc/v1/organization_svc.pb.dart | 84 +- .../user_svc/v1/organization_svc.pbenum.dart | 2 +- .../user_svc/v1/organization_svc.pbgrpc.dart | 40 +- .../user_svc/v1/organization_svc.pbjson.dart | 126 +- .../services/user_svc/v1/user_svc.pb.dart | 20 +- .../services/user_svc/v1/user_svc.pbenum.dart | 2 +- .../services/user_svc/v1/user_svc.pbgrpc.dart | 16 +- .../services/user_svc/v1/user_svc.pbjson.dart | 8 +- gen/dart/pubspec.lock | 1 + gen/dart/pubspec.yaml | 1 + gen/go/google/protobuf/any.pb.go | 505 -- gen/go/google/protobuf/empty.pb.go | 176 - gen/go/google/protobuf/timestamp.pb.go | 2 +- .../libs/events/v1/organization_events.pb.go | 231 + gen/go/libs/events/v1/user_events.pb.go | 369 ++ .../libs/events/v1/organization_events.pb.go | 233 - gen/go/proto/libs/events/v1/user_events.pb.go | 371 -- .../proto/services/auth_svc/v1/auth_svc.pb.go | 225 - .../proto/services/ory_svc/v1/ory_svc.pb.go | 279 - .../property_svc/v1/property_set_svc.pb.go | 381 -- .../property_svc/v1/property_views_svc.pb.go | 383 -- .../services/property_svc/v1/types.pb.go | 308 -- gen/go/services/auth_svc/v1/auth_svc.pb.go | 221 + .../services/auth_svc/v1/auth_svc_grpc.pb.go | 17 +- .../services/impulse_svc/v1/impulse_svc.pb.go | 1207 ++--- .../impulse_svc/v1/impulse_svc_grpc.pb.go | 62 +- gen/go/services/ory_svc/v1/ory_svc.pb.go | 276 + .../property_svc/v1/property_set_svc.pb.go | 377 ++ .../v1/property_set_svc_grpc.pb.go | 22 +- .../property_svc/v1/property_svc.pb.go | 870 ++- .../property_svc/v1/property_svc_grpc.pb.go | 32 +- .../property_svc/v1/property_value_svc.pb.go | 378 +- .../v1/property_value_svc_grpc.pb.go | 22 +- .../property_svc/v1/property_views_svc.pb.go | 379 ++ .../v1/property_views_svc_grpc.pb.go | 17 +- gen/go/services/property_svc/v1/types.pb.go | 305 ++ .../services/task_svc/v1/bed_svc.pb.go | 607 +-- .../services/task_svc/v1/bed_svc_grpc.pb.go | 52 +- .../services/task_svc/v1/patient_svc.pb.go | 1492 +++-- .../task_svc/v1/patient_svc_grpc.pb.go | 82 +- .../services/task_svc/v1/room_svc.pb.go | 667 ++- .../services/task_svc/v1/room_svc_grpc.pb.go | 47 +- .../services/task_svc/v1/task_svc.pb.go | 1495 +++-- .../services/task_svc/v1/task_svc_grpc.pb.go | 107 +- .../task_svc/v1/task_template_svc.pb.go | 837 ++- .../task_svc/v1/task_template_svc_grpc.pb.go | 57 +- .../services/task_svc/v1/ward_svc.pb.go | 675 ++- .../services/task_svc/v1/ward_svc_grpc.pb.go | 52 +- .../services/tasks_svc/v1/patient_svc.pb.go | 649 ++- .../tasks_svc/v1/patient_svc_grpc.pb.go | 52 +- .../services/tasks_svc/v1/task_svc.pb.go | 772 ++- .../services/tasks_svc/v1/task_svc_grpc.pb.go | 62 +- .../user_svc/v1/organization_svc.pb.go | 1374 +++-- .../user_svc/v1/organization_svc_grpc.pb.go | 92 +- .../services/user_svc/v1/user_svc.pb.go | 344 +- .../services/user_svc/v1/user_svc_grpc.pb.go | 32 +- gen/python/google/protobuf/any_pb2.py | 27 - gen/python/google/protobuf/any_pb2_grpc.py | 4 - gen/python/google/protobuf/empty_pb2.py | 27 - gen/python/google/protobuf/empty_pb2_grpc.py | 4 - .../libs/events/v1/organization_events_pb2.py | 29 + .../events/v1/organization_events_pb2_grpc.py | 0 gen/python/libs/events/v1/user_events_pb2.py | 31 + .../libs/events/v1/user_events_pb2_grpc.py | 0 .../libs/events/v1/organization_events_pb2.py | 29 - .../proto/libs/events/v1/user_events_pb2.py | 31 - .../services/auth_svc/v1/auth_svc_pb2.py | 31 - .../impulse_svc/v1/impulse_svc_pb2.py | 95 - .../impulse_svc/v1/impulse_svc_pb2_grpc.py | 375 -- .../proto/services/ory_svc/v1/ory_svc_pb2.py | 29 - .../property_svc/v1/property_set_svc_pb2.py | 35 - .../v1/property_set_svc_pb2_grpc.py | 111 - .../property_svc/v1/property_svc_pb2.py | 64 - .../property_svc/v1/property_svc_pb2_grpc.py | 165 - .../property_svc/v1/property_value_svc_pb2.py | 41 - .../v1/property_value_svc_pb2_grpc.py | 111 - .../property_svc/v1/property_views_svc_pb2.py | 34 - .../v1/property_views_svc_pb2_grpc.py | 66 - .../services/property_svc/v1/types_pb2.py | 31 - .../proto/services/task_svc/v1/bed_svc_pb2.py | 69 - .../services/task_svc/v1/bed_svc_pb2_grpc.py | 309 -- .../services/task_svc/v1/patient_svc_pb2.py | 131 - .../task_svc/v1/patient_svc_pb2_grpc.py | 507 -- .../services/task_svc/v1/room_svc_pb2.py | 71 - .../services/task_svc/v1/room_svc_pb2_grpc.py | 276 - .../services/task_svc/v1/task_svc_pb2.py | 124 - .../services/task_svc/v1/task_svc_pb2_grpc.py | 672 --- .../task_svc/v1/task_template_svc_pb2.py | 77 - .../task_svc/v1/task_template_svc_pb2_grpc.py | 330 -- .../services/task_svc/v1/ward_svc_pb2.py | 73 - .../services/task_svc/v1/ward_svc_pb2_grpc.py | 309 -- .../services/tasks_svc/v1/patient_svc_pb2.py | 69 - .../tasks_svc/v1/patient_svc_pb2_grpc.py | 309 -- .../services/tasks_svc/v1/task_svc_pb2.py | 76 - .../tasks_svc/v1/task_svc_pb2_grpc.py | 375 -- .../user_svc/v1/organization_svc_pb2.py | 111 - .../user_svc/v1/organization_svc_pb2_grpc.py | 573 -- .../services/user_svc/v1/user_svc_pb2.py | 45 - .../services/user_svc/v1/user_svc_pb2_grpc.py | 177 - .../services/auth_svc/v1/auth_svc_pb2.py | 31 + .../services/auth_svc/v1/auth_svc_pb2_grpc.py | 37 +- .../impulse_svc/v1/impulse_svc_pb2.py | 95 + .../impulse_svc/v1/impulse_svc_pb2_grpc.py | 476 ++ gen/python/services/ory_svc/v1/ory_svc_pb2.py | 29 + .../services/ory_svc/v1/ory_svc_pb2_grpc.py | 0 .../property_svc/v1/property_set_svc_pb2.py | 35 + .../v1/property_set_svc_pb2_grpc.py | 132 + .../property_svc/v1/property_svc_pb2.py | 64 + .../property_svc/v1/property_svc_pb2_grpc.py | 206 + .../property_svc/v1/property_value_svc_pb2.py | 41 + .../v1/property_value_svc_pb2_grpc.py | 132 + .../property_svc/v1/property_views_svc_pb2.py | 34 + .../v1/property_views_svc_pb2_grpc.py | 77 + .../services/property_svc/v1/types_pb2.py | 31 + .../property_svc/v1/types_pb2_grpc.py | 0 .../services/task_svc/v1/bed_svc_pb2.py | 69 + .../services/task_svc/v1/bed_svc_pb2_grpc.py | 390 ++ .../services/task_svc/v1/patient_svc_pb2.py | 131 + .../task_svc/v1/patient_svc_pb2_grpc.py | 648 +++ .../services/task_svc/v1/room_svc_pb2.py | 71 + .../services/task_svc/v1/room_svc_pb2_grpc.py | 347 ++ .../services/task_svc/v1/task_svc_pb2.py | 124 + .../services/task_svc/v1/task_svc_pb2_grpc.py | 863 +++ .../task_svc/v1/task_template_svc_pb2.py | 77 + .../task_svc/v1/task_template_svc_pb2_grpc.py | 421 ++ .../services/task_svc/v1/ward_svc_pb2.py | 73 + .../services/task_svc/v1/ward_svc_pb2_grpc.py | 390 ++ .../services/tasks_svc/v1/patient_svc_pb2.py | 69 + .../tasks_svc/v1/patient_svc_pb2_grpc.py | 390 ++ .../services/tasks_svc/v1/task_svc_pb2.py | 76 + .../tasks_svc/v1/task_svc_pb2_grpc.py | 476 ++ .../user_svc/v1/organization_svc_pb2.py | 111 + .../user_svc/v1/organization_svc_pb2_grpc.py | 734 +++ .../services/user_svc/v1/user_svc_pb2.py | 45 + .../services/user_svc/v1/user_svc_pb2_grpc.py | 218 + gen/ts/google/protobuf/any_pb.d.ts | 28 - gen/ts/google/protobuf/any_pb.js | 281 - gen/ts/google/protobuf/empty_pb.d.ts | 18 - gen/ts/google/protobuf/empty_pb.js | 147 - .../events/v1/organization_events_pb.d.ts | 0 .../libs/events/v1/organization_events_pb.js | 98 +- .../libs/events/v1/user_events_pb.d.ts | 0 .../libs/events/v1/user_events_pb.js | 208 +- .../auth_svc/v1/auth_svc_grpc_web_pb.d.ts | 31 - .../v1/impulse_svc_grpc_web_pb.d.ts | 139 - .../impulse_svc/v1/impulse_svc_grpc_web_pb.js | 691 --- .../v1/property_set_svc_grpc_web_pb.d.ts | 43 - .../v1/property_svc_grpc_web_pb.d.ts | 67 - .../v1/property_svc_grpc_web_pb.js | 327 -- .../property_svc/v1/property_svc_pb.js | 4809 ----------------- .../v1/property_value_svc_grpc_web_pb.d.ts | 43 - .../property_svc/v1/property_value_svc_pb.js | 1901 ------- .../v1/property_views_svc_grpc_web_pb.d.ts | 31 - .../task_svc/v1/bed_svc_grpc_web_pb.d.ts | 115 - .../task_svc/v1/bed_svc_grpc_web_pb.js | 569 -- .../task_svc/v1/patient_svc_grpc_web_pb.d.ts | 187 - .../task_svc/v1/patient_svc_grpc_web_pb.js | 935 ---- .../task_svc/v1/room_svc_grpc_web_pb.d.ts | 103 - .../task_svc/v1/room_svc_grpc_web_pb.js | 508 -- .../task_svc/v1/task_svc_grpc_web_pb.d.ts | 247 - .../task_svc/v1/task_svc_grpc_web_pb.js | 1242 ----- .../v1/task_template_svc_grpc_web_pb.d.ts | 127 - .../v1/task_template_svc_grpc_web_pb.js | 630 --- .../task_svc/v1/ward_svc_grpc_web_pb.d.ts | 115 - .../task_svc/v1/ward_svc_grpc_web_pb.js | 569 -- .../tasks_svc/v1/patient_svc_grpc_web_pb.d.ts | 115 - .../tasks_svc/v1/patient_svc_grpc_web_pb.js | 569 -- .../tasks_svc/v1/task_svc_grpc_web_pb.d.ts | 139 - .../tasks_svc/v1/task_svc_grpc_web_pb.js | 693 --- .../v1/organization_svc_grpc_web_pb.d.ts | 211 - .../v1/organization_svc_grpc_web_pb.js | 1057 ---- .../user_svc/v1/user_svc_grpc_web_pb.d.ts | 67 - .../auth_svc/v1/auth_svc_grpc_web_pb.d.ts | 31 + .../auth_svc/v1/auth_svc_grpc_web_pb.js | 49 +- .../services/auth_svc/v1/auth_svc_pb.d.ts | 0 .../services/auth_svc/v1/auth_svc_pb.js | 86 +- .../v1/impulse_svc_grpc_web_pb.d.ts | 139 + .../impulse_svc/v1/impulse_svc_grpc_web_pb.js | 690 +++ .../impulse_svc/v1/impulse_svc_pb.d.ts | 0 .../services/impulse_svc/v1/impulse_svc_pb.js | 2068 +++---- .../services/ory_svc/v1/ory_svc_pb.d.ts | 0 .../services/ory_svc/v1/ory_svc_pb.js | 128 +- .../v1/property_set_svc_grpc_web_pb.d.ts | 43 + .../v1/property_set_svc_grpc_web_pb.js | 81 +- .../property_svc/v1/property_set_svc_pb.d.ts | 0 .../property_svc/v1/property_set_svc_pb.js | 186 +- .../v1/property_svc_grpc_web_pb.d.ts | 67 + .../v1/property_svc_grpc_web_pb.js | 326 ++ .../property_svc/v1/property_svc_pb.d.ts | 50 +- .../property_svc/v1/property_svc_pb.js | 4809 +++++++++++++++++ .../v1/property_value_svc_grpc_web_pb.d.ts | 43 + .../v1/property_value_svc_grpc_web_pb.js | 83 +- .../v1/property_value_svc_pb.d.ts | 20 +- .../property_svc/v1/property_value_svc_pb.js | 1901 +++++++ .../v1/property_views_svc_grpc_web_pb.d.ts | 31 + .../v1/property_views_svc_grpc_web_pb.js | 51 +- .../v1/property_views_svc_pb.d.ts | 8 +- .../property_svc/v1/property_views_svc_pb.js | 254 +- .../services/property_svc/v1/types_pb.d.ts | 0 .../services/property_svc/v1/types_pb.js | 68 +- .../task_svc/v1/bed_svc_grpc_web_pb.d.ts | 115 + .../task_svc/v1/bed_svc_grpc_web_pb.js | 568 ++ .../services/task_svc/v1/bed_svc_pb.d.ts | 0 .../services/task_svc/v1/bed_svc_pb.js | 1146 ++-- .../task_svc/v1/patient_svc_grpc_web_pb.d.ts | 187 + .../task_svc/v1/patient_svc_grpc_web_pb.js | 934 ++++ .../services/task_svc/v1/patient_svc_pb.d.ts | 0 .../services/task_svc/v1/patient_svc_pb.js | 3120 +++++------ .../task_svc/v1/room_svc_grpc_web_pb.d.ts | 103 + .../task_svc/v1/room_svc_grpc_web_pb.js | 507 ++ .../services/task_svc/v1/room_svc_pb.d.ts | 0 .../services/task_svc/v1/room_svc_pb.js | 1356 ++--- .../task_svc/v1/task_svc_grpc_web_pb.d.ts | 247 + .../task_svc/v1/task_svc_grpc_web_pb.js | 1241 +++++ .../services/task_svc/v1/task_svc_pb.d.ts | 0 .../services/task_svc/v1/task_svc_pb.js | 2830 +++++----- .../v1/task_template_svc_grpc_web_pb.d.ts | 127 + .../v1/task_template_svc_grpc_web_pb.js | 629 +++ .../task_svc/v1/task_template_svc_pb.d.ts | 0 .../task_svc/v1/task_template_svc_pb.js | 1502 ++--- .../task_svc/v1/ward_svc_grpc_web_pb.d.ts | 115 + .../task_svc/v1/ward_svc_grpc_web_pb.js | 568 ++ .../services/task_svc/v1/ward_svc_pb.d.ts | 0 .../services/task_svc/v1/ward_svc_pb.js | 1350 ++--- .../tasks_svc/v1/patient_svc_grpc_web_pb.d.ts | 115 + .../tasks_svc/v1/patient_svc_grpc_web_pb.js | 568 ++ .../services/tasks_svc/v1/patient_svc_pb.d.ts | 0 .../services/tasks_svc/v1/patient_svc_pb.js | 1156 ++-- .../tasks_svc/v1/task_svc_grpc_web_pb.d.ts | 139 + .../tasks_svc/v1/task_svc_grpc_web_pb.js | 692 +++ .../services/tasks_svc/v1/task_svc_pb.d.ts | 0 .../services/tasks_svc/v1/task_svc_pb.js | 1278 ++--- .../v1/organization_svc_grpc_web_pb.d.ts | 211 + .../v1/organization_svc_grpc_web_pb.js | 1056 ++++ .../user_svc/v1/organization_svc_pb.d.ts | 0 .../user_svc/v1/organization_svc_pb.js | 2480 ++++----- .../user_svc/v1/user_svc_grpc_web_pb.d.ts | 67 + .../user_svc/v1/user_svc_grpc_web_pb.js | 145 +- .../services/user_svc/v1/user_svc_pb.d.ts | 0 .../services/user_svc/v1/user_svc_pb.js | 492 +- images/dev-go/Dockerfile | 14 +- images/dev-go/update-dev-tag.sh | 2 +- proto/buf.yaml | 7 - .../libs/events/v1/organization_events.proto | 2 +- proto/libs/events/v1/user_events.proto | 2 +- proto/services/auth_svc/v1/auth_svc.proto | 2 +- .../services/impulse_svc/v1/impulse_svc.proto | 2 +- proto/services/ory_svc/v1/ory_svc.proto | 2 +- .../property_svc/v1/property_set_svc.proto | 2 +- .../property_svc/v1/property_svc.proto | 4 +- .../property_svc/v1/property_value_svc.proto | 4 +- .../property_svc/v1/property_views_svc.proto | 4 +- proto/services/property_svc/v1/types.proto | 2 +- proto/services/task_svc/v1/bed_svc.proto | 2 +- proto/services/task_svc/v1/patient_svc.proto | 2 +- proto/services/task_svc/v1/room_svc.proto | 2 +- proto/services/task_svc/v1/task_svc.proto | 2 +- .../task_svc/v1/task_template_svc.proto | 2 +- proto/services/task_svc/v1/ward_svc.proto | 2 +- proto/services/tasks_svc/v1/patient_svc.proto | 2 +- proto/services/tasks_svc/v1/task_svc.proto | 2 +- .../user_svc/v1/organization_svc.proto | 2 +- proto/services/user_svc/v1/user_svc.proto | 2 +- protos.sh | 6 +- .../libs/events/v1/organization_events_pb2.py | 29 + .../events/v1/organization_events_pb2_grpc.py | 0 .../gen/libs/events/v1/user_events_pb2.py | 31 + .../libs/events/v1/user_events_pb2_grpc.py | 0 .../libs/events/v1/organization_events_pb2.py | 29 - .../proto/libs/events/v1/user_events_pb2.py | 31 - .../services/auth_svc/v1/auth_svc_pb2.py | 31 - .../impulse_svc/v1/impulse_svc_pb2.py | 95 - .../impulse_svc/v1/impulse_svc_pb2_grpc.py | 375 -- .../proto/services/ory_svc/v1/ory_svc_pb2.py | 29 - .../property_svc/v1/property_set_svc_pb2.py | 35 - .../v1/property_set_svc_pb2_grpc.py | 111 - .../property_svc/v1/property_svc_pb2.py | 64 - .../property_svc/v1/property_svc_pb2_grpc.py | 165 - .../property_svc/v1/property_value_svc_pb2.py | 41 - .../v1/property_value_svc_pb2_grpc.py | 111 - .../property_svc/v1/property_views_svc_pb2.py | 34 - .../v1/property_views_svc_pb2_grpc.py | 66 - .../services/property_svc/v1/types_pb2.py | 31 - .../proto/services/task_svc/v1/bed_svc_pb2.py | 69 - .../services/task_svc/v1/bed_svc_pb2_grpc.py | 309 -- .../services/task_svc/v1/patient_svc_pb2.py | 131 - .../task_svc/v1/patient_svc_pb2_grpc.py | 507 -- .../services/task_svc/v1/room_svc_pb2.py | 71 - .../services/task_svc/v1/room_svc_pb2_grpc.py | 276 - .../services/task_svc/v1/task_svc_pb2.py | 124 - .../services/task_svc/v1/task_svc_pb2_grpc.py | 672 --- .../task_svc/v1/task_template_svc_pb2.py | 77 - .../task_svc/v1/task_template_svc_pb2_grpc.py | 330 -- .../services/task_svc/v1/ward_svc_pb2.py | 73 - .../services/task_svc/v1/ward_svc_pb2_grpc.py | 309 -- .../services/tasks_svc/v1/patient_svc_pb2.py | 69 - .../tasks_svc/v1/patient_svc_pb2_grpc.py | 309 -- .../services/tasks_svc/v1/task_svc_pb2.py | 76 - .../tasks_svc/v1/task_svc_pb2_grpc.py | 375 -- .../user_svc/v1/organization_svc_pb2.py | 111 - .../user_svc/v1/organization_svc_pb2_grpc.py | 573 -- .../services/user_svc/v1/user_svc_pb2.py | 45 - .../services/user_svc/v1/user_svc_pb2_grpc.py | 177 - .../gen/services/auth_svc/v1/auth_svc_pb2.py | 31 + .../services/auth_svc/v1/auth_svc_pb2_grpc.py | 37 +- .../impulse_svc/v1/impulse_svc_pb2.py | 95 + .../impulse_svc/v1/impulse_svc_pb2_grpc.py | 476 ++ .../gen/services/ory_svc/v1/ory_svc_pb2.py | 29 + .../services/ory_svc/v1/ory_svc_pb2_grpc.py | 0 .../property_svc/v1/property_set_svc_pb2.py | 35 + .../v1/property_set_svc_pb2_grpc.py | 132 + .../property_svc/v1/property_svc_pb2.py | 64 + .../property_svc/v1/property_svc_pb2_grpc.py | 206 + .../property_svc/v1/property_value_svc_pb2.py | 41 + .../v1/property_value_svc_pb2_grpc.py | 132 + .../property_svc/v1/property_views_svc_pb2.py | 34 + .../v1/property_views_svc_pb2_grpc.py | 77 + .../gen/services/property_svc/v1/types_pb2.py | 31 + .../property_svc/v1/types_pb2_grpc.py | 0 .../gen/services/task_svc/v1/bed_svc_pb2.py | 69 + .../services/task_svc/v1/bed_svc_pb2_grpc.py | 390 ++ .../services/task_svc/v1/patient_svc_pb2.py | 131 + .../task_svc/v1/patient_svc_pb2_grpc.py | 648 +++ .../gen/services/task_svc/v1/room_svc_pb2.py | 71 + .../services/task_svc/v1/room_svc_pb2_grpc.py | 347 ++ .../gen/services/task_svc/v1/task_svc_pb2.py | 124 + .../services/task_svc/v1/task_svc_pb2_grpc.py | 863 +++ .../task_svc/v1/task_template_svc_pb2.py | 77 + .../task_svc/v1/task_template_svc_pb2_grpc.py | 421 ++ .../gen/services/task_svc/v1/ward_svc_pb2.py | 73 + .../services/task_svc/v1/ward_svc_pb2_grpc.py | 390 ++ .../services/tasks_svc/v1/patient_svc_pb2.py | 69 + .../tasks_svc/v1/patient_svc_pb2_grpc.py | 390 ++ .../gen/services/tasks_svc/v1/task_svc_pb2.py | 76 + .../tasks_svc/v1/task_svc_pb2_grpc.py | 476 ++ .../user_svc/v1/organization_svc_pb2.py | 111 + .../user_svc/v1/organization_svc_pb2_grpc.py | 734 +++ .../gen/services/user_svc/v1/user_svc_pb2.py | 45 + .../services/user_svc/v1/user_svc_pb2_grpc.py | 218 + services/impulse_svc/impulse/grpc_views.py | 4 +- services/ory-svc/internal/ory/ory.go | 2 +- services/ory-svc/main.go | 6 +- .../internal/property-set/api/grpc.go | 2 +- .../internal/property-value/api/grpc.go | 2 +- .../property-value/models/propertyValue.go | 2 +- .../property_value_postgres_projection.go | 2 +- .../v1/get_property_values_by_subject_id.go | 2 +- .../internal/property-view/api/grpc.go | 2 +- .../internal/property-view/api/grpc_test.go | 2 +- .../internal/property/aggregate/actions.go | 2 +- .../internal/property/aggregate/aggregate.go | 2 +- .../internal/property/api/grpc.go | 2 +- .../property/commands/v1/create_property.go | 2 +- .../property/commands/v1/update_property.go | 2 +- .../internal/property/events/v1/events.go | 2 +- .../internal/property/models/property.go | 2 +- .../property_postgres_projection.go | 2 +- .../v1/get_properties_by_subject_type.go | 2 +- .../property/queries/v1/get_property_by_id.go | 2 +- services/property-svc/main.go | 2 +- .../task-svc/integration_tests/01.GetBed.exec | 4 +- .../integration_tests/02.GetBedByPatient.exec | 6 +- .../integration_tests/03.GetBeds.exec | 2 +- .../04.CreateBedDeleteBed.exec | 10 +- .../integration_tests/05.GetPatient.exec | 6 +- .../integration_tests/06.GetPatientByBed.exec | 6 +- .../07.GetPatientsByWard.exec | 8 +- .../08.GetPatientAssignmentByWard.exec | 8 +- .../09.GetRecentPatients.exec | 8 +- .../integration_tests/10.AssignBed.exec | 12 +- .../integration_tests/11.UnassignBed.exec | 8 +- .../12.GetPatientDetails.exec | 10 +- .../integration_tests/13.GetPatientList.exec | 6 +- .../14.DischargePatient.exec | 6 +- .../integration_tests/15.ReadmitPatient.exec | 6 +- .../integration_tests/16.DeletePatient.exec | 4 +- .../integration_tests/17.GetRoom.exec | 6 +- .../integration_tests/18.GetRooms.exec | 2 +- .../integration_tests/19.GetRoomsByWard.exec | 6 +- .../20.GetRoomOverviewsByWard.exec | 6 +- .../integration_tests/21.GetTask.exec | 6 +- .../integration_tests/22.GetWardDetails.exec | 6 +- .../integration_tests/23.GetWard.exec | 6 +- .../integration_tests/24.GetWards.exec | 2 +- .../25.GetWardOverviews.exec | 2 +- .../integration_tests/26.GetRecentWards.exec | 6 +- .../27.GetTasksByPatient.exec | 6 +- .../28.GetTasksByPatientSortedByStatus.exec | 6 +- .../29.GetAssignedTasks.exec | 6 +- .../30.CreateTaskDeleteTask.exec | 16 +- .../integration_tests/31.UpdateTask.exec | 10 +- .../integration_tests/32.AddSubTask.exec | 16 +- .../integration_tests/33.UpdateSubTask.exec | 14 +- .../integration_tests/34.SubTaskToToDo.exec | 14 +- .../integration_tests/35.TaskToToDo.exec | 20 +- .../36.AssignTaskToUser.exec | 10 +- .../integration_tests/37.PublishTask.exec | 8 +- .../38.GetAllTaskTemplates.exec | 2 +- .../39.GetAllTaskTemplatesByCreator.exec | 4 +- .../40.GetAllTaskTemplatesByWard.exec | 2 +- .../41.UpdateTaskTemplate.exec | 14 +- .../42.UpdateTaskTemplateSubTask.exec | 14 +- .../43.CreateAndDeleteTaskTemplate.exec | 16 +- ...44.CreateAndDeleteTaskTemplateSubTask.exec | 10 +- services/task-svc/internal/bed/bed.go | 2 +- services/task-svc/internal/patient/patient.go | 2 +- services/task-svc/internal/room/room.go | 2 +- .../internal/task-template/task_template.go | 2 +- services/task-svc/internal/task/task.go | 2 +- services/task-svc/internal/ward/ward.go | 2 +- services/task-svc/main.go | 2 +- .../tasks-svc/internal/patient/api/grpc.go | 2 +- .../internal/patient/api/grpc_test.go | 2 +- .../internal/task/aggregate/actions.go | 2 +- .../internal/task/aggregate/aggregate.go | 2 +- .../internal/task/aggregate/aggregate_test.go | 2 +- services/tasks-svc/internal/task/api/grpc.go | 2 +- .../tasks-svc/internal/task/api/grpc_test.go | 2 +- .../internal/task/commands/v1/create_task.go | 2 +- .../internal/task/events/v1/events.go | 2 +- .../tasks-svc/internal/task/models/task.go | 2 +- .../task_postgres_projection.go | 2 +- services/tasks-svc/main.go | 2 +- .../internal/organization/organization.go | 4 +- services/user-svc/internal/user/user.go | 4 +- services/user-svc/main.go | 10 +- 516 files changed, 51037 insertions(+), 49637 deletions(-) create mode 100644 buf.yaml delete mode 100644 gen/dart/lib/google/protobuf/any.pb.dart delete mode 100644 gen/dart/lib/google/protobuf/any.pbjson.dart delete mode 100644 gen/dart/lib/google/protobuf/empty.pb.dart delete mode 100644 gen/dart/lib/google/protobuf/empty.pbjson.dart rename gen/dart/lib/{proto => }/libs/events/v1/organization_events.pb.dart (96%) rename gen/dart/lib/{proto => }/libs/events/v1/organization_events.pbenum.dart (85%) rename gen/dart/lib/{proto => }/libs/events/v1/organization_events.pbjson.dart (96%) rename gen/dart/lib/{proto => }/libs/events/v1/user_events.pb.dart (97%) rename gen/dart/lib/{proto => }/libs/events/v1/user_events.pbenum.dart (87%) rename gen/dart/lib/{proto => }/libs/events/v1/user_events.pbjson.dart (98%) delete mode 100644 gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pbenum.dart rename gen/dart/lib/{proto => }/services/auth_svc/v1/auth_svc.pb.dart (95%) rename gen/dart/lib/{proto => }/services/auth_svc/v1/auth_svc.pbenum.dart (86%) rename gen/dart/lib/{proto => }/services/auth_svc/v1/auth_svc.pbgrpc.dart (86%) rename gen/dart/lib/{proto => }/services/auth_svc/v1/auth_svc.pbjson.dart (96%) rename gen/dart/lib/{proto => }/services/impulse_svc/v1/impulse_svc.pb.dart (97%) rename gen/dart/lib/{proto => }/services/impulse_svc/v1/impulse_svc.pbenum.dart (98%) rename gen/dart/lib/{proto => }/services/impulse_svc/v1/impulse_svc.pbgrpc.dart (92%) rename gen/dart/lib/{proto => }/services/impulse_svc/v1/impulse_svc.pbjson.dart (74%) rename gen/dart/lib/{proto => }/services/ory_svc/v1/ory_svc.pb.dart (96%) rename gen/dart/lib/{proto => }/services/ory_svc/v1/ory_svc.pbenum.dart (86%) rename gen/dart/lib/{proto => }/services/ory_svc/v1/ory_svc.pbjson.dart (97%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_set_svc.pb.dart (95%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_set_svc.pbenum.dart (83%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_set_svc.pbgrpc.dart (87%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_set_svc.pbjson.dart (97%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_svc.pb.dart (97%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_svc.pbenum.dart (84%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_svc.pbgrpc.dart (90%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_svc.pbjson.dart (56%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_value_svc.pb.dart (97%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_value_svc.pbenum.dart (83%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_value_svc.pbgrpc.dart (88%) rename gen/dart/lib/{proto => }/services/property_svc/v1/property_value_svc.pbjson.dart (68%) create mode 100644 gen/dart/lib/services/property_svc/v1/property_views_svc.pb.dart rename gen/dart/lib/{google/protobuf/any.pbenum.dart => services/property_svc/v1/property_views_svc.pbenum.dart} (84%) create mode 100644 gen/dart/lib/services/property_svc/v1/property_views_svc.pbgrpc.dart create mode 100644 gen/dart/lib/services/property_svc/v1/property_views_svc.pbjson.dart create mode 100644 gen/dart/lib/services/property_svc/v1/types.pb.dart create mode 100644 gen/dart/lib/services/property_svc/v1/types.pbenum.dart create mode 100644 gen/dart/lib/services/property_svc/v1/types.pbjson.dart rename gen/dart/lib/{proto => }/services/task_svc/v1/bed_svc.pb.dart (96%) rename gen/dart/lib/{proto => }/services/task_svc/v1/bed_svc.pbenum.dart (86%) rename gen/dart/lib/{proto => }/services/task_svc/v1/bed_svc.pbgrpc.dart (92%) rename gen/dart/lib/{proto => }/services/task_svc/v1/bed_svc.pbjson.dart (83%) rename gen/dart/lib/{proto => }/services/task_svc/v1/patient_svc.pb.dart (97%) rename gen/dart/lib/{proto => }/services/task_svc/v1/patient_svc.pbenum.dart (98%) rename gen/dart/lib/{proto => }/services/task_svc/v1/patient_svc.pbgrpc.dart (93%) rename gen/dart/lib/{proto => }/services/task_svc/v1/patient_svc.pbjson.dart (71%) rename gen/dart/lib/{proto => }/services/task_svc/v1/room_svc.pb.dart (96%) rename gen/dart/lib/{proto => }/services/task_svc/v1/room_svc.pbenum.dart (86%) rename gen/dart/lib/{proto => }/services/task_svc/v1/room_svc.pbgrpc.dart (92%) rename gen/dart/lib/{proto => }/services/task_svc/v1/room_svc.pbjson.dart (74%) rename gen/dart/lib/{proto => }/services/task_svc/v1/task_svc.pb.dart (96%) rename gen/dart/lib/{proto => }/services/task_svc/v1/task_svc.pbenum.dart (96%) rename gen/dart/lib/{proto => }/services/task_svc/v1/task_svc.pbgrpc.dart (93%) rename gen/dart/lib/{proto => }/services/task_svc/v1/task_svc.pbjson.dart (79%) rename gen/dart/lib/{proto => }/services/task_svc/v1/task_template_svc.pb.dart (96%) rename gen/dart/lib/{proto => }/services/task_svc/v1/task_template_svc.pbenum.dart (84%) rename gen/dart/lib/{proto => }/services/task_svc/v1/task_template_svc.pbgrpc.dart (92%) rename gen/dart/lib/{proto => }/services/task_svc/v1/task_template_svc.pbjson.dart (80%) rename gen/dart/lib/{proto => }/services/task_svc/v1/ward_svc.pb.dart (96%) rename gen/dart/lib/{proto => }/services/task_svc/v1/ward_svc.pbenum.dart (86%) rename gen/dart/lib/{proto => }/services/task_svc/v1/ward_svc.pbgrpc.dart (92%) rename gen/dart/lib/{proto => }/services/task_svc/v1/ward_svc.pbjson.dart (77%) rename gen/dart/lib/{proto => }/services/tasks_svc/v1/patient_svc.pb.dart (96%) rename gen/dart/lib/{google/protobuf/empty.pbenum.dart => services/tasks_svc/v1/patient_svc.pbenum.dart} (86%) rename gen/dart/lib/{proto => }/services/tasks_svc/v1/patient_svc.pbgrpc.dart (92%) rename gen/dart/lib/{proto => }/services/tasks_svc/v1/patient_svc.pbjson.dart (83%) rename gen/dart/lib/{proto => }/services/tasks_svc/v1/task_svc.pb.dart (96%) rename gen/dart/lib/{proto => }/services/tasks_svc/v1/task_svc.pbenum.dart (96%) rename gen/dart/lib/{proto => }/services/tasks_svc/v1/task_svc.pbgrpc.dart (92%) rename gen/dart/lib/{proto => }/services/tasks_svc/v1/task_svc.pbjson.dart (87%) rename gen/dart/lib/{proto => }/services/user_svc/v1/organization_svc.pb.dart (97%) rename gen/dart/lib/{proto => }/services/user_svc/v1/organization_svc.pbenum.dart (96%) rename gen/dart/lib/{proto => }/services/user_svc/v1/organization_svc.pbgrpc.dart (93%) rename gen/dart/lib/{proto => }/services/user_svc/v1/organization_svc.pbjson.dart (80%) rename gen/dart/lib/{proto => }/services/user_svc/v1/user_svc.pb.dart (96%) rename gen/dart/lib/{proto => }/services/user_svc/v1/user_svc.pbenum.dart (86%) rename gen/dart/lib/{proto => }/services/user_svc/v1/user_svc.pbgrpc.dart (91%) rename gen/dart/lib/{proto => }/services/user_svc/v1/user_svc.pbjson.dart (93%) delete mode 100644 gen/go/google/protobuf/any.pb.go delete mode 100644 gen/go/google/protobuf/empty.pb.go create mode 100644 gen/go/libs/events/v1/organization_events.pb.go create mode 100644 gen/go/libs/events/v1/user_events.pb.go delete mode 100644 gen/go/proto/libs/events/v1/organization_events.pb.go delete mode 100644 gen/go/proto/libs/events/v1/user_events.pb.go delete mode 100644 gen/go/proto/services/auth_svc/v1/auth_svc.pb.go delete mode 100644 gen/go/proto/services/ory_svc/v1/ory_svc.pb.go delete mode 100644 gen/go/proto/services/property_svc/v1/property_set_svc.pb.go delete mode 100644 gen/go/proto/services/property_svc/v1/property_views_svc.pb.go delete mode 100644 gen/go/proto/services/property_svc/v1/types.pb.go create mode 100644 gen/go/services/auth_svc/v1/auth_svc.pb.go rename gen/go/{proto => }/services/auth_svc/v1/auth_svc_grpc.pb.go (89%) rename gen/go/{proto => }/services/impulse_svc/v1/impulse_svc.pb.go (56%) rename gen/go/{proto => }/services/impulse_svc/v1/impulse_svc_grpc.pb.go (88%) create mode 100644 gen/go/services/ory_svc/v1/ory_svc.pb.go create mode 100644 gen/go/services/property_svc/v1/property_set_svc.pb.go rename gen/go/{proto => }/services/property_svc/v1/property_set_svc_grpc.pb.go (88%) rename gen/go/{proto => }/services/property_svc/v1/property_svc.pb.go (57%) rename gen/go/{proto => }/services/property_svc/v1/property_svc_grpc.pb.go (88%) rename gen/go/{proto => }/services/property_svc/v1/property_value_svc.pb.go (55%) rename gen/go/{proto => }/services/property_svc/v1/property_value_svc_grpc.pb.go (90%) create mode 100644 gen/go/services/property_svc/v1/property_views_svc.pb.go rename gen/go/{proto => }/services/property_svc/v1/property_views_svc_grpc.pb.go (89%) create mode 100644 gen/go/services/property_svc/v1/types.pb.go rename gen/go/{proto => }/services/task_svc/v1/bed_svc.pb.go (56%) rename gen/go/{proto => }/services/task_svc/v1/bed_svc_grpc.pb.go (88%) rename gen/go/{proto => }/services/task_svc/v1/patient_svc.pb.go (62%) rename gen/go/{proto => }/services/task_svc/v1/patient_svc_grpc.pb.go (88%) rename gen/go/{proto => }/services/task_svc/v1/room_svc.pb.go (59%) rename gen/go/{proto => }/services/task_svc/v1/room_svc_grpc.pb.go (88%) rename gen/go/{proto => }/services/task_svc/v1/task_svc.pb.go (59%) rename gen/go/{proto => }/services/task_svc/v1/task_svc_grpc.pb.go (91%) rename gen/go/{proto => }/services/task_svc/v1/task_template_svc.pb.go (58%) rename gen/go/{proto => }/services/task_svc/v1/task_template_svc_grpc.pb.go (90%) rename gen/go/{proto => }/services/task_svc/v1/ward_svc.pb.go (57%) rename gen/go/{proto => }/services/task_svc/v1/ward_svc_grpc.pb.go (88%) rename gen/go/{proto => }/services/tasks_svc/v1/patient_svc.pb.go (56%) rename gen/go/{proto => }/services/tasks_svc/v1/patient_svc_grpc.pb.go (88%) rename gen/go/{proto => }/services/tasks_svc/v1/task_svc.pb.go (55%) rename gen/go/{proto => }/services/tasks_svc/v1/task_svc_grpc.pb.go (88%) rename gen/go/{proto => }/services/user_svc/v1/organization_svc.pb.go (60%) rename gen/go/{proto => }/services/user_svc/v1/organization_svc_grpc.pb.go (90%) rename gen/go/{proto => }/services/user_svc/v1/user_svc.pb.go (50%) rename gen/go/{proto => }/services/user_svc/v1/user_svc_grpc.pb.go (88%) delete mode 100644 gen/python/google/protobuf/any_pb2.py delete mode 100644 gen/python/google/protobuf/any_pb2_grpc.py delete mode 100644 gen/python/google/protobuf/empty_pb2.py delete mode 100644 gen/python/google/protobuf/empty_pb2_grpc.py create mode 100644 gen/python/libs/events/v1/organization_events_pb2.py rename gen/python/{proto => }/libs/events/v1/organization_events_pb2_grpc.py (100%) create mode 100644 gen/python/libs/events/v1/user_events_pb2.py rename gen/python/{proto => }/libs/events/v1/user_events_pb2_grpc.py (100%) delete mode 100644 gen/python/proto/libs/events/v1/organization_events_pb2.py delete mode 100644 gen/python/proto/libs/events/v1/user_events_pb2.py delete mode 100644 gen/python/proto/services/auth_svc/v1/auth_svc_pb2.py delete mode 100644 gen/python/proto/services/impulse_svc/v1/impulse_svc_pb2.py delete mode 100644 gen/python/proto/services/impulse_svc/v1/impulse_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/ory_svc/v1/ory_svc_pb2.py delete mode 100644 gen/python/proto/services/property_svc/v1/property_set_svc_pb2.py delete mode 100644 gen/python/proto/services/property_svc/v1/property_set_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/property_svc/v1/property_svc_pb2.py delete mode 100644 gen/python/proto/services/property_svc/v1/property_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/property_svc/v1/property_value_svc_pb2.py delete mode 100644 gen/python/proto/services/property_svc/v1/property_value_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/property_svc/v1/property_views_svc_pb2.py delete mode 100644 gen/python/proto/services/property_svc/v1/property_views_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/property_svc/v1/types_pb2.py delete mode 100644 gen/python/proto/services/task_svc/v1/bed_svc_pb2.py delete mode 100644 gen/python/proto/services/task_svc/v1/bed_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/task_svc/v1/patient_svc_pb2.py delete mode 100644 gen/python/proto/services/task_svc/v1/patient_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/task_svc/v1/room_svc_pb2.py delete mode 100644 gen/python/proto/services/task_svc/v1/room_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/task_svc/v1/task_svc_pb2.py delete mode 100644 gen/python/proto/services/task_svc/v1/task_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/task_svc/v1/task_template_svc_pb2.py delete mode 100644 gen/python/proto/services/task_svc/v1/task_template_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/task_svc/v1/ward_svc_pb2.py delete mode 100644 gen/python/proto/services/task_svc/v1/ward_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/tasks_svc/v1/patient_svc_pb2.py delete mode 100644 gen/python/proto/services/tasks_svc/v1/patient_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/tasks_svc/v1/task_svc_pb2.py delete mode 100644 gen/python/proto/services/tasks_svc/v1/task_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/user_svc/v1/organization_svc_pb2.py delete mode 100644 gen/python/proto/services/user_svc/v1/organization_svc_pb2_grpc.py delete mode 100644 gen/python/proto/services/user_svc/v1/user_svc_pb2.py delete mode 100644 gen/python/proto/services/user_svc/v1/user_svc_pb2_grpc.py create mode 100644 gen/python/services/auth_svc/v1/auth_svc_pb2.py rename gen/python/{proto => }/services/auth_svc/v1/auth_svc_pb2_grpc.py (50%) create mode 100644 gen/python/services/impulse_svc/v1/impulse_svc_pb2.py create mode 100644 gen/python/services/impulse_svc/v1/impulse_svc_pb2_grpc.py create mode 100644 gen/python/services/ory_svc/v1/ory_svc_pb2.py rename gen/python/{proto => }/services/ory_svc/v1/ory_svc_pb2_grpc.py (100%) create mode 100644 gen/python/services/property_svc/v1/property_set_svc_pb2.py create mode 100644 gen/python/services/property_svc/v1/property_set_svc_pb2_grpc.py create mode 100644 gen/python/services/property_svc/v1/property_svc_pb2.py create mode 100644 gen/python/services/property_svc/v1/property_svc_pb2_grpc.py create mode 100644 gen/python/services/property_svc/v1/property_value_svc_pb2.py create mode 100644 gen/python/services/property_svc/v1/property_value_svc_pb2_grpc.py create mode 100644 gen/python/services/property_svc/v1/property_views_svc_pb2.py create mode 100644 gen/python/services/property_svc/v1/property_views_svc_pb2_grpc.py create mode 100644 gen/python/services/property_svc/v1/types_pb2.py rename gen/python/{proto => }/services/property_svc/v1/types_pb2_grpc.py (100%) create mode 100644 gen/python/services/task_svc/v1/bed_svc_pb2.py create mode 100644 gen/python/services/task_svc/v1/bed_svc_pb2_grpc.py create mode 100644 gen/python/services/task_svc/v1/patient_svc_pb2.py create mode 100644 gen/python/services/task_svc/v1/patient_svc_pb2_grpc.py create mode 100644 gen/python/services/task_svc/v1/room_svc_pb2.py create mode 100644 gen/python/services/task_svc/v1/room_svc_pb2_grpc.py create mode 100644 gen/python/services/task_svc/v1/task_svc_pb2.py create mode 100644 gen/python/services/task_svc/v1/task_svc_pb2_grpc.py create mode 100644 gen/python/services/task_svc/v1/task_template_svc_pb2.py create mode 100644 gen/python/services/task_svc/v1/task_template_svc_pb2_grpc.py create mode 100644 gen/python/services/task_svc/v1/ward_svc_pb2.py create mode 100644 gen/python/services/task_svc/v1/ward_svc_pb2_grpc.py create mode 100644 gen/python/services/tasks_svc/v1/patient_svc_pb2.py create mode 100644 gen/python/services/tasks_svc/v1/patient_svc_pb2_grpc.py create mode 100644 gen/python/services/tasks_svc/v1/task_svc_pb2.py create mode 100644 gen/python/services/tasks_svc/v1/task_svc_pb2_grpc.py create mode 100644 gen/python/services/user_svc/v1/organization_svc_pb2.py create mode 100644 gen/python/services/user_svc/v1/organization_svc_pb2_grpc.py create mode 100644 gen/python/services/user_svc/v1/user_svc_pb2.py create mode 100644 gen/python/services/user_svc/v1/user_svc_pb2_grpc.py delete mode 100644 gen/ts/google/protobuf/any_pb.d.ts delete mode 100644 gen/ts/google/protobuf/any_pb.js delete mode 100644 gen/ts/google/protobuf/empty_pb.d.ts delete mode 100644 gen/ts/google/protobuf/empty_pb.js rename gen/ts/{proto => }/libs/events/v1/organization_events_pb.d.ts (100%) rename gen/ts/{proto => }/libs/events/v1/organization_events_pb.js (62%) rename gen/ts/{proto => }/libs/events/v1/user_events_pb.d.ts (100%) rename gen/ts/{proto => }/libs/events/v1/user_events_pb.js (65%) delete mode 100644 gen/ts/proto/services/auth_svc/v1/auth_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/impulse_svc/v1/impulse_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/impulse_svc/v1/impulse_svc_grpc_web_pb.js delete mode 100644 gen/ts/proto/services/property_svc/v1/property_set_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/property_svc/v1/property_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/property_svc/v1/property_svc_grpc_web_pb.js delete mode 100644 gen/ts/proto/services/property_svc/v1/property_svc_pb.js delete mode 100644 gen/ts/proto/services/property_svc/v1/property_value_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/property_svc/v1/property_value_svc_pb.js delete mode 100644 gen/ts/proto/services/property_svc/v1/property_views_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/task_svc/v1/bed_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/task_svc/v1/bed_svc_grpc_web_pb.js delete mode 100644 gen/ts/proto/services/task_svc/v1/patient_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/task_svc/v1/patient_svc_grpc_web_pb.js delete mode 100644 gen/ts/proto/services/task_svc/v1/room_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/task_svc/v1/room_svc_grpc_web_pb.js delete mode 100644 gen/ts/proto/services/task_svc/v1/task_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/task_svc/v1/task_svc_grpc_web_pb.js delete mode 100644 gen/ts/proto/services/task_svc/v1/task_template_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/task_svc/v1/task_template_svc_grpc_web_pb.js delete mode 100644 gen/ts/proto/services/task_svc/v1/ward_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/task_svc/v1/ward_svc_grpc_web_pb.js delete mode 100644 gen/ts/proto/services/tasks_svc/v1/patient_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/tasks_svc/v1/patient_svc_grpc_web_pb.js delete mode 100644 gen/ts/proto/services/tasks_svc/v1/task_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/tasks_svc/v1/task_svc_grpc_web_pb.js delete mode 100644 gen/ts/proto/services/user_svc/v1/organization_svc_grpc_web_pb.d.ts delete mode 100644 gen/ts/proto/services/user_svc/v1/organization_svc_grpc_web_pb.js delete mode 100644 gen/ts/proto/services/user_svc/v1/user_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/auth_svc/v1/auth_svc_grpc_web_pb.d.ts rename gen/ts/{proto => }/services/auth_svc/v1/auth_svc_grpc_web_pb.js (57%) rename gen/ts/{proto => }/services/auth_svc/v1/auth_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/auth_svc/v1/auth_svc_pb.js (60%) create mode 100644 gen/ts/services/impulse_svc/v1/impulse_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/impulse_svc/v1/impulse_svc_grpc_web_pb.js rename gen/ts/{proto => }/services/impulse_svc/v1/impulse_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/impulse_svc/v1/impulse_svc_pb.js (57%) rename gen/ts/{proto => }/services/ory_svc/v1/ory_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/ory_svc/v1/ory_svc_pb.js (60%) create mode 100644 gen/ts/services/property_svc/v1/property_set_svc_grpc_web_pb.d.ts rename gen/ts/{proto => }/services/property_svc/v1/property_set_svc_grpc_web_pb.js (51%) rename gen/ts/{proto => }/services/property_svc/v1/property_set_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/property_svc/v1/property_set_svc_pb.js (59%) create mode 100644 gen/ts/services/property_svc/v1/property_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/property_svc/v1/property_svc_grpc_web_pb.js rename gen/ts/{proto => }/services/property_svc/v1/property_svc_pb.d.ts (91%) create mode 100644 gen/ts/services/property_svc/v1/property_svc_pb.js create mode 100644 gen/ts/services/property_svc/v1/property_value_svc_grpc_web_pb.d.ts rename gen/ts/{proto => }/services/property_svc/v1/property_value_svc_grpc_web_pb.js (50%) rename gen/ts/{proto => }/services/property_svc/v1/property_value_svc_pb.d.ts (90%) create mode 100644 gen/ts/services/property_svc/v1/property_value_svc_pb.js create mode 100644 gen/ts/services/property_svc/v1/property_views_svc_grpc_web_pb.d.ts rename gen/ts/{proto => }/services/property_svc/v1/property_views_svc_grpc_web_pb.js (52%) rename gen/ts/{proto => }/services/property_svc/v1/property_views_svc_pb.d.ts (87%) rename gen/ts/{proto => }/services/property_svc/v1/property_views_svc_pb.js (51%) rename gen/ts/{proto => }/services/property_svc/v1/types_pb.d.ts (100%) rename gen/ts/{proto => }/services/property_svc/v1/types_pb.js (66%) create mode 100644 gen/ts/services/task_svc/v1/bed_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/task_svc/v1/bed_svc_grpc_web_pb.js rename gen/ts/{proto => }/services/task_svc/v1/bed_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/task_svc/v1/bed_svc_pb.js (61%) create mode 100644 gen/ts/services/task_svc/v1/patient_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/task_svc/v1/patient_svc_grpc_web_pb.js rename gen/ts/{proto => }/services/task_svc/v1/patient_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/task_svc/v1/patient_svc_pb.js (56%) create mode 100644 gen/ts/services/task_svc/v1/room_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/task_svc/v1/room_svc_grpc_web_pb.js rename gen/ts/{proto => }/services/task_svc/v1/room_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/task_svc/v1/room_svc_pb.js (58%) create mode 100644 gen/ts/services/task_svc/v1/task_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/task_svc/v1/task_svc_grpc_web_pb.js rename gen/ts/{proto => }/services/task_svc/v1/task_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/task_svc/v1/task_svc_pb.js (59%) create mode 100644 gen/ts/services/task_svc/v1/task_template_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/task_svc/v1/task_template_svc_grpc_web_pb.js rename gen/ts/{proto => }/services/task_svc/v1/task_template_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/task_svc/v1/task_template_svc_pb.js (56%) create mode 100644 gen/ts/services/task_svc/v1/ward_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/task_svc/v1/ward_svc_grpc_web_pb.js rename gen/ts/{proto => }/services/task_svc/v1/ward_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/task_svc/v1/ward_svc_pb.js (59%) create mode 100644 gen/ts/services/tasks_svc/v1/patient_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/tasks_svc/v1/patient_svc_grpc_web_pb.js rename gen/ts/{proto => }/services/tasks_svc/v1/patient_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/tasks_svc/v1/patient_svc_pb.js (59%) create mode 100644 gen/ts/services/tasks_svc/v1/task_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/tasks_svc/v1/task_svc_grpc_web_pb.js rename gen/ts/{proto => }/services/tasks_svc/v1/task_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/tasks_svc/v1/task_svc_pb.js (60%) create mode 100644 gen/ts/services/user_svc/v1/organization_svc_grpc_web_pb.d.ts create mode 100644 gen/ts/services/user_svc/v1/organization_svc_grpc_web_pb.js rename gen/ts/{proto => }/services/user_svc/v1/organization_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/user_svc/v1/organization_svc_pb.js (58%) create mode 100644 gen/ts/services/user_svc/v1/user_svc_grpc_web_pb.d.ts rename gen/ts/{proto => }/services/user_svc/v1/user_svc_grpc_web_pb.js (51%) rename gen/ts/{proto => }/services/user_svc/v1/user_svc_pb.d.ts (100%) rename gen/ts/{proto => }/services/user_svc/v1/user_svc_pb.js (60%) delete mode 100644 proto/buf.yaml create mode 100644 services/impulse_svc/gen/libs/events/v1/organization_events_pb2.py rename services/impulse_svc/gen/{proto => }/libs/events/v1/organization_events_pb2_grpc.py (100%) create mode 100644 services/impulse_svc/gen/libs/events/v1/user_events_pb2.py rename services/impulse_svc/gen/{proto => }/libs/events/v1/user_events_pb2_grpc.py (100%) delete mode 100644 services/impulse_svc/gen/proto/libs/events/v1/organization_events_pb2.py delete mode 100644 services/impulse_svc/gen/proto/libs/events/v1/user_events_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/auth_svc/v1/auth_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/impulse_svc/v1/impulse_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/impulse_svc/v1/impulse_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/ory_svc/v1/ory_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/property_svc/v1/property_set_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/property_svc/v1/property_set_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/property_svc/v1/property_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/property_svc/v1/property_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/property_svc/v1/property_value_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/property_svc/v1/property_value_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/property_svc/v1/property_views_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/property_svc/v1/property_views_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/property_svc/v1/types_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/bed_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/bed_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/patient_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/patient_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/room_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/room_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/task_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/task_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/task_template_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/task_template_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/ward_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/task_svc/v1/ward_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/tasks_svc/v1/patient_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/tasks_svc/v1/patient_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/tasks_svc/v1/task_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/tasks_svc/v1/task_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/user_svc/v1/organization_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/user_svc/v1/organization_svc_pb2_grpc.py delete mode 100644 services/impulse_svc/gen/proto/services/user_svc/v1/user_svc_pb2.py delete mode 100644 services/impulse_svc/gen/proto/services/user_svc/v1/user_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/auth_svc/v1/auth_svc_pb2.py rename services/impulse_svc/gen/{proto => }/services/auth_svc/v1/auth_svc_pb2_grpc.py (50%) create mode 100644 services/impulse_svc/gen/services/impulse_svc/v1/impulse_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/impulse_svc/v1/impulse_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/ory_svc/v1/ory_svc_pb2.py rename services/impulse_svc/gen/{proto => }/services/ory_svc/v1/ory_svc_pb2_grpc.py (100%) create mode 100644 services/impulse_svc/gen/services/property_svc/v1/property_set_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/property_svc/v1/property_set_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/property_svc/v1/property_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/property_svc/v1/property_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/property_svc/v1/property_value_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/property_svc/v1/property_value_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/property_svc/v1/property_views_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/property_svc/v1/property_views_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/property_svc/v1/types_pb2.py rename services/impulse_svc/gen/{proto => }/services/property_svc/v1/types_pb2_grpc.py (100%) create mode 100644 services/impulse_svc/gen/services/task_svc/v1/bed_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/task_svc/v1/bed_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/task_svc/v1/patient_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/task_svc/v1/patient_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/task_svc/v1/room_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/task_svc/v1/room_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/task_svc/v1/task_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/task_svc/v1/task_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/task_svc/v1/task_template_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/task_svc/v1/task_template_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/task_svc/v1/ward_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/task_svc/v1/ward_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/tasks_svc/v1/patient_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/tasks_svc/v1/patient_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/tasks_svc/v1/task_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/tasks_svc/v1/task_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/user_svc/v1/organization_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/user_svc/v1/organization_svc_pb2_grpc.py create mode 100644 services/impulse_svc/gen/services/user_svc/v1/user_svc_pb2.py create mode 100644 services/impulse_svc/gen/services/user_svc/v1/user_svc_pb2_grpc.py diff --git a/.github/workflows/buf.yaml b/.github/workflows/buf.yaml index e186f9d15..5468479e5 100644 --- a/.github/workflows/buf.yaml +++ b/.github/workflows/buf.yaml @@ -14,7 +14,7 @@ env: # renovate: datasource=docker depName=golang versioning=docker GO_VERSION: '1.22' # renovate: datasource=github-releases depName=bufbuild/buf - BUF_CLI_VERSION: '1.31.0' + BUF_CLI_VERSION: '1.32.2' # renovate: datasource=github-releases depName=favadi/protoc-go-inject-tag PROTOC_GO_INJECT_TAG_VERSION: '1.4.0' diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index ceb13a4b1..f641f5d25 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -12,7 +12,7 @@ permissions: env: # renovate: dev-tag - DEV_TAG: '7' + DEV_TAG: '8' jobs: diff --git a/.github/workflows/fly-deploy.yaml b/.github/workflows/fly-deploy.yaml index 524c0f1f7..b54339fd1 100644 --- a/.github/workflows/fly-deploy.yaml +++ b/.github/workflows/fly-deploy.yaml @@ -5,7 +5,7 @@ name: 'Deploy to Fly' env: # renovate: datasource=github-releases depName=superfly/flyctl versioning=semver - FLY_CLI_VERSION: '0.2.52' + FLY_CLI_VERSION: '0.2.62' on: workflow_call: diff --git a/.github/workflows/migrations.yaml b/.github/workflows/migrations.yaml index f9af92d90..379d587cd 100644 --- a/.github/workflows/migrations.yaml +++ b/.github/workflows/migrations.yaml @@ -11,7 +11,7 @@ env: # renovate: datasource=github-releases depName=golang-migrate/migrate MIGRATE_VERSION: '4.17.1' # renovate: datasource=github-releases depName=superfly/flyctl versioning=semver - FLY_CLI_VERSION: '0.2.52' + FLY_CLI_VERSION: '0.2.62' # renovate: datasource=github-releases depName=sqlc-dev/sqlc SQLC_VERSION: '1.26.0' diff --git a/.github/workflows/publish-bufs.yaml b/.github/workflows/publish-bufs.yaml index fbbd67144..1580d966e 100644 --- a/.github/workflows/publish-bufs.yaml +++ b/.github/workflows/publish-bufs.yaml @@ -5,14 +5,14 @@ on: branches: [ 'main' ] paths: - proto/**/*.proto - - gen/*/proto/**/* + - gen/**/* env: # renovate: datasource=github-releases depName=bufbuild/buf - BUF_CLI_VERSION: '1.31.0' + BUF_CLI_VERSION: '1.32.2' NODE_VERSION: '18.x' # renovate: datasource=dart-version depName=dart - DART_VERSION: '3.3.4' + DART_VERSION: '3.4.2' jobs: check-preconditions: diff --git a/.gitignore b/.gitignore index 7bc0848c5..5840f4533 100644 --- a/.gitignore +++ b/.gitignore @@ -513,7 +513,6 @@ dist/ downloads/ eggs/ .eggs/ -lib/ lib64/ parts/ sdist/ diff --git a/Dockerfile.apisix b/Dockerfile.apisix index 1e1f60ab5..5b1a1a97a 100644 --- a/Dockerfile.apisix +++ b/Dockerfile.apisix @@ -3,7 +3,7 @@ FROM debian:bookworm AS deps # renovate: datasource=github-releases depName=DarthSim/hivemind ARG HIVEMIND_VERSION=1.1.0 # renovate: datasource=github-releases depName=dapr/dapr -ARG DAPR_VERSION=1.13.2 +ARG DAPR_VERSION=1.13.4 RUN apt update && \ apt install -y wget diff --git a/Dockerfile.impulse-svc b/Dockerfile.impulse-svc index bbb77353d..16800397e 100644 --- a/Dockerfile.impulse-svc +++ b/Dockerfile.impulse-svc @@ -11,7 +11,7 @@ RUN apt update -y && apt-get install python3-dev -y RUN mkdir -p /libs/python/gen COPY libs/python/ /libs/python/ -COPY gen/python/proto /libs/python/gen/proto/ +COPY gen/python /libs/python/gen/ COPY services/impulse_svc/. /app COPY docker-run-migrations-impulse-svc.sh ./run-migrations.sh RUN chmod +x run-migrations.sh diff --git a/Dockerfile.standalone b/Dockerfile.standalone index 909de65e2..7637042ef 100644 --- a/Dockerfile.standalone +++ b/Dockerfile.standalone @@ -32,7 +32,7 @@ ARG HIVEMIND_VERSION=1.1.0 # renovate: datasource=github-releases depName=golang-migrate/migrate ARG MIGRATE_VERSION=4.17.1 # renovate: datasource=github-releases depName=dapr/dapr -ARG DAPR_VERSION=1.13.2 +ARG DAPR_VERSION=1.13.4 RUN apt update && \ apt install -y wget diff --git a/README.md b/README.md index cf7c32eac..30a25cc6e 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ To see what compose actually starts, we recommend a look into the [docker-compos * `services` * `devcontainer` -Of particular interest are the `services` and `devcontainer` containers. The former starts all go services using [air](https://github.com/cosmtrek/air), a tool that automatically recompiles and restarts the service on reload. +Of particular interest are the `services` and `devcontainer` containers. The former starts all go services using [air](https://github.com/air-verse/air), a tool that automatically recompiles and restarts the service on reload. The latter gives you a playground for development with all the tools you need. As it is in the docker network you can use the names of the other (docker compose) services as hostnames (i.e., `postgres` will be resolved to the container in which the postgres instance is running on). **It also has access to docker.** This means you can, for example, read the services logs like this: `docker compose logs services -f`, and start / stop / restart containers. @@ -122,7 +122,7 @@ grpcurl --plaintext \ -H "Authorization: Bearer <...>" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/GetWards + services.task_svc.v1.WardService/GetWards ``` ## Ports diff --git a/buf.gen.yaml b/buf.gen.yaml index 12f85498e..92f46b761 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -1,38 +1,31 @@ -version: v1 +version: v2 managed: enabled: true plugins: - - plugin: buf.build/grpc/go:v1.3.0 + - remote: buf.build/grpc/go:v1.4.0 out: gen/go - opt: - - paths=source_relative - - plugin: buf.build/protocolbuffers/go:v1.32.0 + opt: paths=source_relative + - remote: buf.build/protocolbuffers/go:v1.34.1 out: gen/go opt: paths=source_relative - - - plugin: buf.build/community/pseudomuto-doc:v1.5.1 + - remote: buf.build/community/pseudomuto-doc:v1.5.1 out: proto_docs - - - plugin: buf.build/grpc/web:v1.5.0 + - remote: buf.build/grpc/web:v1.5.0 out: gen/ts opt: - import_style=commonjs+dts - mode=grpcwebtext - - plugin: buf.build/protocolbuffers/js:v3.21.2 + - remote: buf.build/protocolbuffers/js:v3.21.2 out: gen/ts - opt: - - import_style=commonjs,binary - - - plugin: buf.build/protocolbuffers/dart:v21.1.2 + opt: import_style=commonjs,binary + - remote: buf.build/protocolbuffers/dart:v21.1.2 out: gen/dart/lib opt: grpc - - - plugin: buf.build/grpc/python:v1.60.0 + - remote: buf.build/grpc/python:v1.64.1 out: gen/python - - plugin: buf.build/protocolbuffers/python:v25.2 + - remote: buf.build/protocolbuffers/python:v25.2 out: gen/python - - - plugin: buf.build/grpc/python:v1.60.0 + - remote: buf.build/grpc/python:v1.64.1 out: services/impulse_svc/gen - - plugin: buf.build/protocolbuffers/python:v25.2 + - remote: buf.build/protocolbuffers/python:v25.2 out: services/impulse_svc/gen diff --git a/buf.yaml b/buf.yaml new file mode 100644 index 000000000..5cc428920 --- /dev/null +++ b/buf.yaml @@ -0,0 +1,16 @@ +version: v2 +modules: + - path: proto +lint: + use: + - DEFAULT + except: + - FIELD_NOT_REQUIRED + - PACKAGE_NO_IMPORT_CYCLE + disallow_comment_ignores: true +breaking: + use: + - FILE + except: + - EXTENSION_NO_DELETE + - FIELD_SAME_DEFAULT diff --git a/dev/docker-compose.yaml b/dev/docker-compose.yaml index c16869de1..2a16833ee 100644 --- a/dev/docker-compose.yaml +++ b/dev/docker-compose.yaml @@ -93,7 +93,7 @@ services: context: ../images/dev-go-custom args: # renovate: dev-tag - TAG: '7' + TAG: '8' UID: ${UID:-1000} GID: ${GID:-1000} volumes: @@ -126,7 +126,7 @@ services: context: ../images/dev-go-custom args: # renovate: dev-tag - TAG: '7' + TAG: '8' UID: ${UID:-1000} GID: ${GID:-1000} volumes: diff --git a/gen/README.md b/gen/README.md index ab837f2b4..aa884d5b6 100644 --- a/gen/README.md +++ b/gen/README.md @@ -1 +1,2 @@ This directory is mostly auto-generated by buf based on `proto/` using `make proto` + diff --git a/gen/dart/.pubignore b/gen/dart/.pubignore index 740c5c48c..cfe75078a 100644 --- a/gen/dart/.pubignore +++ b/gen/dart/.pubignore @@ -1,3 +1,2 @@ !lib -lib/proto/libs - +lib/libs diff --git a/gen/dart/LICENSE b/gen/dart/LICENSE index a612ad981..2f8ed188e 100644 --- a/gen/dart/LICENSE +++ b/gen/dart/LICENSE @@ -371,3 +371,4 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0. + diff --git a/gen/dart/README.md b/gen/dart/README.md index 50479c6f3..6f7cf1cd1 100644 --- a/gen/dart/README.md +++ b/gen/dart/README.md @@ -1,3 +1,4 @@ -# Helpwave API +# helpwave API auto-generated by buf + diff --git a/gen/dart/lib/google/protobuf/any.pb.dart b/gen/dart/lib/google/protobuf/any.pb.dart deleted file mode 100644 index 1ced4f351..000000000 --- a/gen/dart/lib/google/protobuf/any.pb.dart +++ /dev/null @@ -1,207 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/any.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; -import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; - -/// `Any` contains an arbitrary serialized protocol buffer message along with a -/// URL that describes the type of the serialized message. -/// -/// Protobuf library provides support to pack/unpack Any values in the form -/// of utility functions or additional generated methods of the Any type. -/// -/// Example 1: Pack and unpack a message in C++. -/// -/// Foo foo = ...; -/// Any any; -/// any.PackFrom(foo); -/// ... -/// if (any.UnpackTo(&foo)) { -/// ... -/// } -/// -/// Example 2: Pack and unpack a message in Java. -/// -/// Foo foo = ...; -/// Any any = Any.pack(foo); -/// ... -/// if (any.is(Foo.class)) { -/// foo = any.unpack(Foo.class); -/// } -/// // or ... -/// if (any.isSameTypeAs(Foo.getDefaultInstance())) { -/// foo = any.unpack(Foo.getDefaultInstance()); -/// } -/// -/// Example 3: Pack and unpack a message in Python. -/// -/// foo = Foo(...) -/// any = Any() -/// any.Pack(foo) -/// ... -/// if any.Is(Foo.DESCRIPTOR): -/// any.Unpack(foo) -/// ... -/// -/// Example 4: Pack and unpack a message in Go -/// -/// foo := &pb.Foo{...} -/// any, err := anypb.New(foo) -/// if err != nil { -/// ... -/// } -/// ... -/// foo := &pb.Foo{} -/// if err := any.UnmarshalTo(foo); err != nil { -/// ... -/// } -/// -/// The pack methods provided by protobuf library will by default use -/// 'type.googleapis.com/full.type.name' as the type URL and the unpack -/// methods only use the fully qualified type name after the last '/' -/// in the type URL, for example "foo.bar.com/x/y.z" will yield type -/// name "y.z". -/// -/// JSON -/// -/// The JSON representation of an `Any` value uses the regular -/// representation of the deserialized, embedded message, with an -/// additional field `@type` which contains the type URL. Example: -/// -/// package google.profile; -/// message Person { -/// string first_name = 1; -/// string last_name = 2; -/// } -/// -/// { -/// "@type": "type.googleapis.com/google.profile.Person", -/// "firstName": , -/// "lastName": -/// } -/// -/// If the embedded message type is well-known and has a custom JSON -/// representation, that representation will be embedded adding a field -/// `value` which holds the custom JSON in addition to the `@type` -/// field. Example (for message [google.protobuf.Duration][]): -/// -/// { -/// "@type": "type.googleapis.com/google.protobuf.Duration", -/// "value": "1.212s" -/// } -class Any extends $pb.GeneratedMessage with $mixin.AnyMixin { - factory Any({ - $core.String? typeUrl, - $core.List<$core.int>? value, - }) { - final $result = create(); - if (typeUrl != null) { - $result.typeUrl = typeUrl; - } - if (value != null) { - $result.value = value; - } - return $result; - } - Any._() : super(); - factory Any.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Any.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Any', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.AnyMixin.toProto3JsonHelper, fromProto3Json: $mixin.AnyMixin.fromProto3JsonHelper) - ..aOS(1, _omitFieldNames ? '' : 'typeUrl') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Any clone() => Any()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Any copyWith(void Function(Any) updates) => super.copyWith((message) => updates(message as Any)) as Any; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Any create() => Any._(); - Any createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Any getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Any? _defaultInstance; - - /// A URL/resource name that uniquely identifies the type of the serialized - /// protocol buffer message. This string must contain at least - /// one "/" character. The last segment of the URL's path must represent - /// the fully qualified name of the type (as in - /// `path/google.protobuf.Duration`). The name should be in a canonical form - /// (e.g., leading "." is not accepted). - /// - /// In practice, teams usually precompile into the binary all types that they - /// expect it to use in the context of Any. However, for URLs which use the - /// scheme `http`, `https`, or no scheme, one can optionally set up a type - /// server that maps type URLs to message definitions as follows: - /// - /// * If no scheme is provided, `https` is assumed. - /// * An HTTP GET on the URL must yield a [google.protobuf.Type][] - /// value in binary format, or produce an error. - /// * Applications are allowed to cache lookup results based on the - /// URL, or have them precompiled into a binary to avoid any - /// lookup. Therefore, binary compatibility needs to be preserved - /// on changes to types. (Use versioned type names to manage - /// breaking changes.) - /// - /// Note: this functionality is not currently available in the official - /// protobuf release, and it is not used for type URLs beginning with - /// type.googleapis.com. - /// - /// Schemes other than `http`, `https` (or the empty scheme) might be - /// used with implementation specific semantics. - @$pb.TagNumber(1) - $core.String get typeUrl => $_getSZ(0); - @$pb.TagNumber(1) - set typeUrl($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasTypeUrl() => $_has(0); - @$pb.TagNumber(1) - void clearTypeUrl() => clearField(1); - - /// Must be a valid serialized protocol buffer of the above specified type. - @$pb.TagNumber(2) - $core.List<$core.int> get value => $_getN(1); - @$pb.TagNumber(2) - set value($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(1); - @$pb.TagNumber(2) - void clearValue() => clearField(2); - /// Creates a new [Any] encoding [message]. - /// - /// The [typeUrl] will be [typeUrlPrefix]/`fullName` where `fullName` is - /// the fully qualified name of the type of [message]. - static Any pack($pb.GeneratedMessage message, - {$core.String typeUrlPrefix = 'type.googleapis.com'}) { - final result = create(); - $mixin.AnyMixin.packIntoAny(result, message, - typeUrlPrefix: typeUrlPrefix); - return result; - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/gen/dart/lib/google/protobuf/any.pbjson.dart b/gen/dart/lib/google/protobuf/any.pbjson.dart deleted file mode 100644 index beaeb5fae..000000000 --- a/gen/dart/lib/google/protobuf/any.pbjson.dart +++ /dev/null @@ -1,28 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/any.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use anyDescriptor instead') -const Any$json = { - '1': 'Any', - '2': [ - {'1': 'type_url', '3': 1, '4': 1, '5': 9, '10': 'typeUrl'}, - {'1': 'value', '3': 2, '4': 1, '5': 12, '10': 'value'}, - ], -}; - -/// Descriptor for `Any`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List anyDescriptor = $convert.base64Decode( - 'CgNBbnkSGQoIdHlwZV91cmwYASABKAlSB3R5cGVVcmwSFAoFdmFsdWUYAiABKAxSBXZhbHVl'); - diff --git a/gen/dart/lib/google/protobuf/empty.pb.dart b/gen/dart/lib/google/protobuf/empty.pb.dart deleted file mode 100644 index 05ae77c7c..000000000 --- a/gen/dart/lib/google/protobuf/empty.pb.dart +++ /dev/null @@ -1,56 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/empty.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// A generic empty message that you can re-use to avoid defining duplicated -/// empty messages in your APIs. A typical example is to use it as the request -/// or the response type of an API method. For instance: -/// -/// service Foo { -/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); -/// } -class Empty extends $pb.GeneratedMessage { - factory Empty() => create(); - Empty._() : super(); - factory Empty.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Empty.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Empty', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Empty clone() => Empty()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Empty copyWith(void Function(Empty) updates) => super.copyWith((message) => updates(message as Empty)) as Empty; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Empty create() => Empty._(); - Empty createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Empty getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Empty? _defaultInstance; -} - - -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/gen/dart/lib/google/protobuf/empty.pbjson.dart b/gen/dart/lib/google/protobuf/empty.pbjson.dart deleted file mode 100644 index c7245b67b..000000000 --- a/gen/dart/lib/google/protobuf/empty.pbjson.dart +++ /dev/null @@ -1,24 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/empty.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use emptyDescriptor instead') -const Empty$json = { - '1': 'Empty', -}; - -/// Descriptor for `Empty`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List emptyDescriptor = $convert.base64Decode( - 'CgVFbXB0eQ=='); - diff --git a/gen/dart/lib/proto/libs/events/v1/organization_events.pb.dart b/gen/dart/lib/libs/events/v1/organization_events.pb.dart similarity index 96% rename from gen/dart/lib/proto/libs/events/v1/organization_events.pb.dart rename to gen/dart/lib/libs/events/v1/organization_events.pb.dart index bf331cace..35172b0cf 100644 --- a/gen/dart/lib/proto/libs/events/v1/organization_events.pb.dart +++ b/gen/dart/lib/libs/events/v1/organization_events.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/libs/events/v1/organization_events.proto +// source: libs/events/v1/organization_events.proto // // @dart = 2.12 @@ -32,7 +32,7 @@ class OrganizationCreatedEvent extends $pb.GeneratedMessage { factory OrganizationCreatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory OrganizationCreatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationCreatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.libs.events.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationCreatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.events.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false @@ -95,7 +95,7 @@ class OrganizationDeletedEvent extends $pb.GeneratedMessage { factory OrganizationDeletedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory OrganizationDeletedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationDeletedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.libs.events.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationDeletedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.events.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/libs/events/v1/organization_events.pbenum.dart b/gen/dart/lib/libs/events/v1/organization_events.pbenum.dart similarity index 85% rename from gen/dart/lib/proto/libs/events/v1/organization_events.pbenum.dart rename to gen/dart/lib/libs/events/v1/organization_events.pbenum.dart index a0fdcbff0..ea4795174 100644 --- a/gen/dart/lib/proto/libs/events/v1/organization_events.pbenum.dart +++ b/gen/dart/lib/libs/events/v1/organization_events.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/libs/events/v1/organization_events.proto +// source: libs/events/v1/organization_events.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/libs/events/v1/organization_events.pbjson.dart b/gen/dart/lib/libs/events/v1/organization_events.pbjson.dart similarity index 96% rename from gen/dart/lib/proto/libs/events/v1/organization_events.pbjson.dart rename to gen/dart/lib/libs/events/v1/organization_events.pbjson.dart index caa51a92f..3c8d486d8 100644 --- a/gen/dart/lib/proto/libs/events/v1/organization_events.pbjson.dart +++ b/gen/dart/lib/libs/events/v1/organization_events.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/libs/events/v1/organization_events.proto +// source: libs/events/v1/organization_events.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/libs/events/v1/user_events.pb.dart b/gen/dart/lib/libs/events/v1/user_events.pb.dart similarity index 97% rename from gen/dart/lib/proto/libs/events/v1/user_events.pb.dart rename to gen/dart/lib/libs/events/v1/user_events.pb.dart index ec68ea9c9..b5c91ab77 100644 --- a/gen/dart/lib/proto/libs/events/v1/user_events.pb.dart +++ b/gen/dart/lib/libs/events/v1/user_events.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/libs/events/v1/user_events.proto +// source: libs/events/v1/user_events.proto // // @dart = 2.12 @@ -40,7 +40,7 @@ class UserRegisteredEvent extends $pb.GeneratedMessage { factory UserRegisteredEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UserRegisteredEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserRegisteredEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.libs.events.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserRegisteredEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.events.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'email') ..aOS(3, _omitFieldNames ? '' : 'nickname') @@ -133,7 +133,7 @@ class UserCreatedEvent extends $pb.GeneratedMessage { factory UserCreatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UserCreatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserCreatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.libs.events.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserCreatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.events.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'email') ..aOS(3, _omitFieldNames ? '' : 'nickname') @@ -226,7 +226,7 @@ class UserUpdatedEvent extends $pb.GeneratedMessage { factory UserUpdatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UserUpdatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.libs.events.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.events.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'email') ..aOS(3, _omitFieldNames ? '' : 'nickname') diff --git a/gen/dart/lib/proto/libs/events/v1/user_events.pbenum.dart b/gen/dart/lib/libs/events/v1/user_events.pbenum.dart similarity index 87% rename from gen/dart/lib/proto/libs/events/v1/user_events.pbenum.dart rename to gen/dart/lib/libs/events/v1/user_events.pbenum.dart index ec5fd4e7f..7b7d54029 100644 --- a/gen/dart/lib/proto/libs/events/v1/user_events.pbenum.dart +++ b/gen/dart/lib/libs/events/v1/user_events.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/libs/events/v1/user_events.proto +// source: libs/events/v1/user_events.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/libs/events/v1/user_events.pbjson.dart b/gen/dart/lib/libs/events/v1/user_events.pbjson.dart similarity index 98% rename from gen/dart/lib/proto/libs/events/v1/user_events.pbjson.dart rename to gen/dart/lib/libs/events/v1/user_events.pbjson.dart index 55a966c2d..65c73ea33 100644 --- a/gen/dart/lib/proto/libs/events/v1/user_events.pbjson.dart +++ b/gen/dart/lib/libs/events/v1/user_events.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/libs/events/v1/user_events.proto +// source: libs/events/v1/user_events.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pbenum.dart b/gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pbenum.dart deleted file mode 100644 index 857dee9bd..000000000 --- a/gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/services/tasks_svc/v1/patient_svc.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pb.dart b/gen/dart/lib/services/auth_svc/v1/auth_svc.pb.dart similarity index 95% rename from gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pb.dart rename to gen/dart/lib/services/auth_svc/v1/auth_svc.pb.dart index 426b31e31..b1a8bad7d 100644 --- a/gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pb.dart +++ b/gen/dart/lib/services/auth_svc/v1/auth_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/auth_svc/v1/auth_svc.proto +// source: services/auth_svc/v1/auth_svc.proto // // @dart = 2.12 @@ -20,7 +20,7 @@ class PrelimAuthRequestRequest extends $pb.GeneratedMessage { factory PrelimAuthRequestRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory PrelimAuthRequestRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PrelimAuthRequestRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.auth_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PrelimAuthRequestRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.auth_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -60,7 +60,7 @@ class PrelimAuthRequestResponse extends $pb.GeneratedMessage { factory PrelimAuthRequestResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory PrelimAuthRequestResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PrelimAuthRequestResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.auth_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PrelimAuthRequestResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.auth_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'url') ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pbenum.dart b/gen/dart/lib/services/auth_svc/v1/auth_svc.pbenum.dart similarity index 86% rename from gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pbenum.dart rename to gen/dart/lib/services/auth_svc/v1/auth_svc.pbenum.dart index 3779f5aeb..228667c52 100644 --- a/gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pbenum.dart +++ b/gen/dart/lib/services/auth_svc/v1/auth_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/auth_svc/v1/auth_svc.proto +// source: services/auth_svc/v1/auth_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pbgrpc.dart b/gen/dart/lib/services/auth_svc/v1/auth_svc.pbgrpc.dart similarity index 86% rename from gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pbgrpc.dart rename to gen/dart/lib/services/auth_svc/v1/auth_svc.pbgrpc.dart index 094834d07..14c12c23a 100644 --- a/gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pbgrpc.dart +++ b/gen/dart/lib/services/auth_svc/v1/auth_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/auth_svc/v1/auth_svc.proto +// source: services/auth_svc/v1/auth_svc.proto // // @dart = 2.12 @@ -19,10 +19,10 @@ import 'auth_svc.pb.dart' as $0; export 'auth_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.auth_svc.v1.AuthService') +@$pb.GrpcServiceName('services.auth_svc.v1.AuthService') class AuthServiceClient extends $grpc.Client { static final _$prelimAuthRequest = $grpc.ClientMethod<$0.PrelimAuthRequestRequest, $0.PrelimAuthRequestResponse>( - '/proto.services.auth_svc.v1.AuthService/PrelimAuthRequest', + '/services.auth_svc.v1.AuthService/PrelimAuthRequest', ($0.PrelimAuthRequestRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $0.PrelimAuthRequestResponse.fromBuffer(value)); @@ -37,9 +37,9 @@ class AuthServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.auth_svc.v1.AuthService') +@$pb.GrpcServiceName('services.auth_svc.v1.AuthService') abstract class AuthServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.auth_svc.v1.AuthService'; + $core.String get $name => 'services.auth_svc.v1.AuthService'; AuthServiceBase() { $addMethod($grpc.ServiceMethod<$0.PrelimAuthRequestRequest, $0.PrelimAuthRequestResponse>( diff --git a/gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pbjson.dart b/gen/dart/lib/services/auth_svc/v1/auth_svc.pbjson.dart similarity index 96% rename from gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pbjson.dart rename to gen/dart/lib/services/auth_svc/v1/auth_svc.pbjson.dart index ce1135c26..837e4d8d8 100644 --- a/gen/dart/lib/proto/services/auth_svc/v1/auth_svc.pbjson.dart +++ b/gen/dart/lib/services/auth_svc/v1/auth_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/auth_svc/v1/auth_svc.proto +// source: services/auth_svc/v1/auth_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pb.dart b/gen/dart/lib/services/impulse_svc/v1/impulse_svc.pb.dart similarity index 97% rename from gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pb.dart rename to gen/dart/lib/services/impulse_svc/v1/impulse_svc.pb.dart index 19230bc50..abd71076c 100644 --- a/gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pb.dart +++ b/gen/dart/lib/services/impulse_svc/v1/impulse_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/impulse_svc/v1/impulse_svc.proto +// source: services/impulse_svc/v1/impulse_svc.proto // // @dart = 2.12 @@ -52,7 +52,7 @@ class CreateUserRequest extends $pb.GeneratedMessage { factory CreateUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'username') ..e(2, _omitFieldNames ? '' : 'gender', $pb.PbFieldType.OE, defaultOrMaker: Gender.GENDER_UNSPECIFIED, valueOf: Gender.valueOf, enumValues: Gender.values) ..aOS(3, _omitFieldNames ? '' : 'birthday') @@ -152,7 +152,7 @@ class CreateUserResponse extends $pb.GeneratedMessage { factory CreateUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false ; @@ -226,7 +226,7 @@ class UpdateUserRequest extends $pb.GeneratedMessage { factory UpdateUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..aOS(2, _omitFieldNames ? '' : 'teamId') ..e(3, _omitFieldNames ? '' : 'gender', $pb.PbFieldType.OE, defaultOrMaker: Gender.GENDER_UNSPECIFIED, valueOf: Gender.valueOf, enumValues: Gender.values) @@ -360,7 +360,7 @@ class UpdateUserResponse extends $pb.GeneratedMessage { factory UpdateUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..aOS(2, _omitFieldNames ? '' : 'teamId') ..e(3, _omitFieldNames ? '' : 'gender', $pb.PbFieldType.OE, defaultOrMaker: Gender.GENDER_UNSPECIFIED, valueOf: Gender.valueOf, enumValues: Gender.values) @@ -462,7 +462,7 @@ class GetAllTeamsRequest extends $pb.GeneratedMessage { factory GetAllTeamsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTeamsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTeamsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTeamsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -510,7 +510,7 @@ class GetAllTeamsResponse_Team extends $pb.GeneratedMessage { factory GetAllTeamsResponse_Team.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTeamsResponse_Team.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTeamsResponse.Team', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTeamsResponse.Team', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'teamId') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -580,7 +580,7 @@ class GetAllTeamsResponse extends $pb.GeneratedMessage { factory GetAllTeamsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTeamsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTeamsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTeamsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'teams', $pb.PbFieldType.PM, subBuilder: GetAllTeamsResponse_Team.create) ..hasRequiredFields = false ; @@ -636,7 +636,7 @@ class TrackChallengeRequest extends $pb.GeneratedMessage { factory TrackChallengeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory TrackChallengeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackChallengeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackChallengeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'challengeId') ..aOS(2, _omitFieldNames ? '' : 'userId') ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'score', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) @@ -716,7 +716,7 @@ class TrackChallengeResponse extends $pb.GeneratedMessage { factory TrackChallengeResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory TrackChallengeResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackChallengeResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackChallengeResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'challengeId') ..hasRequiredFields = false ; @@ -758,7 +758,7 @@ class GetActiveChallengesRequest extends $pb.GeneratedMessage { factory GetActiveChallengesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetActiveChallengesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetActiveChallengesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetActiveChallengesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -834,7 +834,7 @@ class GetActiveChallengesResponse_Challenge extends $pb.GeneratedMessage { factory GetActiveChallengesResponse_Challenge.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetActiveChallengesResponse_Challenge.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetActiveChallengesResponse.Challenge', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetActiveChallengesResponse.Challenge', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'challengeId') ..aOS(2, _omitFieldNames ? '' : 'title') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -974,7 +974,7 @@ class GetActiveChallengesResponse extends $pb.GeneratedMessage { factory GetActiveChallengesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetActiveChallengesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetActiveChallengesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetActiveChallengesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'challenges', $pb.PbFieldType.PM, subBuilder: GetActiveChallengesResponse_Challenge.create) ..hasRequiredFields = false ; @@ -1050,7 +1050,7 @@ class UpdateChallengeRequest extends $pb.GeneratedMessage { factory UpdateChallengeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateChallengeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateChallengeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateChallengeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'challengeId') ..aOS(2, _omitFieldNames ? '' : 'title') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -1216,7 +1216,7 @@ class UpdateChallengeResponse extends $pb.GeneratedMessage { factory UpdateChallengeResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateChallengeResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateChallengeResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateChallengeResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'challengeId') ..aOS(2, _omitFieldNames ? '' : 'title') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -1356,7 +1356,7 @@ class GetScoreRequest extends $pb.GeneratedMessage { factory GetScoreRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetScoreRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetScoreRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetScoreRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false ; @@ -1406,7 +1406,7 @@ class GetScoreResponse extends $pb.GeneratedMessage { factory GetScoreResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetScoreResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetScoreResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetScoreResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'score', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..hasRequiredFields = false ; @@ -1456,7 +1456,7 @@ class GetRewardsRequest extends $pb.GeneratedMessage { factory GetRewardsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRewardsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRewardsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRewardsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false ; @@ -1518,7 +1518,7 @@ class GetRewardsResponse_Reward extends $pb.GeneratedMessage { factory GetRewardsResponse_Reward.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRewardsResponse_Reward.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRewardsResponse.Reward', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRewardsResponse.Reward', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'rewardId') ..aOS(2, _omitFieldNames ? '' : 'title') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -1598,7 +1598,7 @@ class GetRewardsResponse extends $pb.GeneratedMessage { factory GetRewardsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRewardsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRewardsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRewardsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'rewards', $pb.PbFieldType.PM, subBuilder: GetRewardsResponse_Reward.create) ..hasRequiredFields = false ; @@ -1634,7 +1634,7 @@ class GetAllRewardsRequest extends $pb.GeneratedMessage { factory GetAllRewardsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllRewardsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllRewardsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllRewardsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1686,7 +1686,7 @@ class GetAllRewardsResponse_Reward extends $pb.GeneratedMessage { factory GetAllRewardsResponse_Reward.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllRewardsResponse_Reward.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllRewardsResponse.Reward', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllRewardsResponse.Reward', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'rewardId') ..aOS(2, _omitFieldNames ? '' : 'title') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -1766,7 +1766,7 @@ class GetAllRewardsResponse extends $pb.GeneratedMessage { factory GetAllRewardsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllRewardsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllRewardsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllRewardsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'rewards', $pb.PbFieldType.PM, subBuilder: GetAllRewardsResponse_Reward.create) ..hasRequiredFields = false ; @@ -1810,7 +1810,7 @@ class StatsForTeamByUserRequest extends $pb.GeneratedMessage { factory StatsForTeamByUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory StatsForTeamByUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StatsForTeamByUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StatsForTeamByUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false ; @@ -1864,7 +1864,7 @@ class StatsForTeamByUserResponse_GenderCount extends $pb.GeneratedMessage { factory StatsForTeamByUserResponse_GenderCount.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory StatsForTeamByUserResponse_GenderCount.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StatsForTeamByUserResponse.GenderCount', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StatsForTeamByUserResponse.GenderCount', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..e(1, _omitFieldNames ? '' : 'gender', $pb.PbFieldType.OE, defaultOrMaker: Gender.GENDER_UNSPECIFIED, valueOf: Gender.valueOf, enumValues: Gender.values) ..a<$core.int>(2, _omitFieldNames ? '' : 'count', $pb.PbFieldType.OU3) ..hasRequiredFields = false @@ -1940,7 +1940,7 @@ class StatsForTeamByUserResponse extends $pb.GeneratedMessage { factory StatsForTeamByUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory StatsForTeamByUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StatsForTeamByUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StatsForTeamByUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'teamId') ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'score', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..pc(3, _omitFieldNames ? '' : 'genderCount', $pb.PbFieldType.PM, subBuilder: StatsForTeamByUserResponse_GenderCount.create) @@ -2024,7 +2024,7 @@ class VerificationRequest extends $pb.GeneratedMessage { factory VerificationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory VerificationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VerificationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VerificationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'challengeId') ..hasRequiredFields = false ; @@ -2082,7 +2082,7 @@ class VerificationResponse_StringVerification extends $pb.GeneratedMessage { factory VerificationResponse_StringVerification.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory VerificationResponse_StringVerification.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VerificationResponse.StringVerification', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VerificationResponse.StringVerification', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'order', $pb.PbFieldType.OU3) ..e(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: StringVerificationType.STRING_VERIFICATION_TYPE_UNSPECIFIED, valueOf: StringVerificationType.valueOf, enumValues: StringVerificationType.values) ..aOS(3, _omitFieldNames ? '' : 'value') @@ -2160,7 +2160,7 @@ class VerificationResponse_IntegerVerification extends $pb.GeneratedMessage { factory VerificationResponse_IntegerVerification.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory VerificationResponse_IntegerVerification.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VerificationResponse.IntegerVerification', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VerificationResponse.IntegerVerification', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'order', $pb.PbFieldType.OU3) ..e(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: IntegerVerificationType.INTEGER_VERIFICATION_TYPE_UNSPECIFIED, valueOf: IntegerVerificationType.valueOf, enumValues: IntegerVerificationType.values) ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) @@ -2234,7 +2234,7 @@ class VerificationResponse extends $pb.GeneratedMessage { factory VerificationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory VerificationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VerificationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.impulse_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VerificationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.impulse_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'stringVerifications', $pb.PbFieldType.PM, subBuilder: VerificationResponse_StringVerification.create) ..pc(2, _omitFieldNames ? '' : 'integerVerifications', $pb.PbFieldType.PM, subBuilder: VerificationResponse_IntegerVerification.create) ..hasRequiredFields = false diff --git a/gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pbenum.dart b/gen/dart/lib/services/impulse_svc/v1/impulse_svc.pbenum.dart similarity index 98% rename from gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pbenum.dart rename to gen/dart/lib/services/impulse_svc/v1/impulse_svc.pbenum.dart index de3c5d336..b7d03ec05 100644 --- a/gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pbenum.dart +++ b/gen/dart/lib/services/impulse_svc/v1/impulse_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/impulse_svc/v1/impulse_svc.proto +// source: services/impulse_svc/v1/impulse_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pbgrpc.dart b/gen/dart/lib/services/impulse_svc/v1/impulse_svc.pbgrpc.dart similarity index 92% rename from gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pbgrpc.dart rename to gen/dart/lib/services/impulse_svc/v1/impulse_svc.pbgrpc.dart index 86ad1ae3a..8f1d03090 100644 --- a/gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pbgrpc.dart +++ b/gen/dart/lib/services/impulse_svc/v1/impulse_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/impulse_svc/v1/impulse_svc.proto +// source: services/impulse_svc/v1/impulse_svc.proto // // @dart = 2.12 @@ -19,46 +19,46 @@ import 'impulse_svc.pb.dart' as $1; export 'impulse_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.impulse_svc.v1.ImpulseService') +@$pb.GrpcServiceName('services.impulse_svc.v1.ImpulseService') class ImpulseServiceClient extends $grpc.Client { static final _$createUser = $grpc.ClientMethod<$1.CreateUserRequest, $1.CreateUserResponse>( - '/proto.services.impulse_svc.v1.ImpulseService/CreateUser', + '/services.impulse_svc.v1.ImpulseService/CreateUser', ($1.CreateUserRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $1.CreateUserResponse.fromBuffer(value)); static final _$updateUser = $grpc.ClientMethod<$1.UpdateUserRequest, $1.UpdateUserResponse>( - '/proto.services.impulse_svc.v1.ImpulseService/UpdateUser', + '/services.impulse_svc.v1.ImpulseService/UpdateUser', ($1.UpdateUserRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $1.UpdateUserResponse.fromBuffer(value)); static final _$trackChallenge = $grpc.ClientMethod<$1.TrackChallengeRequest, $1.TrackChallengeResponse>( - '/proto.services.impulse_svc.v1.ImpulseService/TrackChallenge', + '/services.impulse_svc.v1.ImpulseService/TrackChallenge', ($1.TrackChallengeRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $1.TrackChallengeResponse.fromBuffer(value)); static final _$getActiveChallenges = $grpc.ClientMethod<$1.GetActiveChallengesRequest, $1.GetActiveChallengesResponse>( - '/proto.services.impulse_svc.v1.ImpulseService/GetActiveChallenges', + '/services.impulse_svc.v1.ImpulseService/GetActiveChallenges', ($1.GetActiveChallengesRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $1.GetActiveChallengesResponse.fromBuffer(value)); static final _$getScore = $grpc.ClientMethod<$1.GetScoreRequest, $1.GetScoreResponse>( - '/proto.services.impulse_svc.v1.ImpulseService/GetScore', + '/services.impulse_svc.v1.ImpulseService/GetScore', ($1.GetScoreRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $1.GetScoreResponse.fromBuffer(value)); static final _$getRewards = $grpc.ClientMethod<$1.GetRewardsRequest, $1.GetRewardsResponse>( - '/proto.services.impulse_svc.v1.ImpulseService/GetRewards', + '/services.impulse_svc.v1.ImpulseService/GetRewards', ($1.GetRewardsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $1.GetRewardsResponse.fromBuffer(value)); static final _$getAllRewards = $grpc.ClientMethod<$1.GetAllRewardsRequest, $1.GetAllRewardsResponse>( - '/proto.services.impulse_svc.v1.ImpulseService/GetAllRewards', + '/services.impulse_svc.v1.ImpulseService/GetAllRewards', ($1.GetAllRewardsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $1.GetAllRewardsResponse.fromBuffer(value)); static final _$getAllTeams = $grpc.ClientMethod<$1.GetAllTeamsRequest, $1.GetAllTeamsResponse>( - '/proto.services.impulse_svc.v1.ImpulseService/GetAllTeams', + '/services.impulse_svc.v1.ImpulseService/GetAllTeams', ($1.GetAllTeamsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $1.GetAllTeamsResponse.fromBuffer(value)); static final _$statsForTeamByUser = $grpc.ClientMethod<$1.StatsForTeamByUserRequest, $1.StatsForTeamByUserResponse>( - '/proto.services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', + '/services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', ($1.StatsForTeamByUserRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $1.StatsForTeamByUserResponse.fromBuffer(value)); static final _$verification = $grpc.ClientMethod<$1.VerificationRequest, $1.VerificationResponse>( - '/proto.services.impulse_svc.v1.ImpulseService/Verification', + '/services.impulse_svc.v1.ImpulseService/Verification', ($1.VerificationRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $1.VerificationResponse.fromBuffer(value)); @@ -109,9 +109,9 @@ class ImpulseServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.impulse_svc.v1.ImpulseService') +@$pb.GrpcServiceName('services.impulse_svc.v1.ImpulseService') abstract class ImpulseServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.impulse_svc.v1.ImpulseService'; + $core.String get $name => 'services.impulse_svc.v1.ImpulseService'; ImpulseServiceBase() { $addMethod($grpc.ServiceMethod<$1.CreateUserRequest, $1.CreateUserResponse>( diff --git a/gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pbjson.dart b/gen/dart/lib/services/impulse_svc/v1/impulse_svc.pbjson.dart similarity index 74% rename from gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pbjson.dart rename to gen/dart/lib/services/impulse_svc/v1/impulse_svc.pbjson.dart index 775b665c4..f97421750 100644 --- a/gen/dart/lib/proto/services/impulse_svc/v1/impulse_svc.pbjson.dart +++ b/gen/dart/lib/services/impulse_svc/v1/impulse_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/impulse_svc/v1/impulse_svc.proto +// source: services/impulse_svc/v1/impulse_svc.proto // // @dart = 2.12 @@ -95,7 +95,7 @@ const CreateUserRequest$json = { '1': 'CreateUserRequest', '2': [ {'1': 'username', '3': 1, '4': 1, '5': 9, '10': 'username'}, - {'1': 'gender', '3': 2, '4': 1, '5': 14, '6': '.proto.services.impulse_svc.v1.Gender', '10': 'gender'}, + {'1': 'gender', '3': 2, '4': 1, '5': 14, '6': '.services.impulse_svc.v1.Gender', '10': 'gender'}, {'1': 'birthday', '3': 3, '4': 1, '5': 9, '10': 'birthday'}, {'1': 'pal', '3': 4, '4': 1, '5': 2, '10': 'pal'}, {'1': 'length', '3': 5, '4': 1, '5': 5, '10': 'length'}, @@ -105,10 +105,10 @@ const CreateUserRequest$json = { /// Descriptor for `CreateUserRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List createUserRequestDescriptor = $convert.base64Decode( - 'ChFDcmVhdGVVc2VyUmVxdWVzdBIaCgh1c2VybmFtZRgBIAEoCVIIdXNlcm5hbWUSPQoGZ2VuZG' - 'VyGAIgASgOMiUucHJvdG8uc2VydmljZXMuaW1wdWxzZV9zdmMudjEuR2VuZGVyUgZnZW5kZXIS' - 'GgoIYmlydGhkYXkYAyABKAlSCGJpcnRoZGF5EhAKA3BhbBgEIAEoAlIDcGFsEhYKBmxlbmd0aB' - 'gFIAEoBVIGbGVuZ3RoEhYKBndlaWdodBgGIAEoAlIGd2VpZ2h0'); + 'ChFDcmVhdGVVc2VyUmVxdWVzdBIaCgh1c2VybmFtZRgBIAEoCVIIdXNlcm5hbWUSNwoGZ2VuZG' + 'VyGAIgASgOMh8uc2VydmljZXMuaW1wdWxzZV9zdmMudjEuR2VuZGVyUgZnZW5kZXISGgoIYmly' + 'dGhkYXkYAyABKAlSCGJpcnRoZGF5EhAKA3BhbBgEIAEoAlIDcGFsEhYKBmxlbmd0aBgFIAEoBV' + 'IGbGVuZ3RoEhYKBndlaWdodBgGIAEoAlIGd2VpZ2h0'); @$core.Deprecated('Use createUserResponseDescriptor instead') const CreateUserResponse$json = { @@ -128,7 +128,7 @@ const UpdateUserRequest$json = { '2': [ {'1': 'user_id', '3': 1, '4': 1, '5': 9, '10': 'userId'}, {'1': 'team_id', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'teamId', '17': true}, - {'1': 'gender', '3': 3, '4': 1, '5': 14, '6': '.proto.services.impulse_svc.v1.Gender', '9': 1, '10': 'gender', '17': true}, + {'1': 'gender', '3': 3, '4': 1, '5': 14, '6': '.services.impulse_svc.v1.Gender', '9': 1, '10': 'gender', '17': true}, {'1': 'birthday', '3': 4, '4': 1, '5': 9, '9': 2, '10': 'birthday', '17': true}, {'1': 'pal', '3': 5, '4': 1, '5': 2, '9': 3, '10': 'pal', '17': true}, {'1': 'length', '3': 6, '4': 1, '5': 5, '9': 4, '10': 'length', '17': true}, @@ -147,11 +147,11 @@ const UpdateUserRequest$json = { /// Descriptor for `UpdateUserRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List updateUserRequestDescriptor = $convert.base64Decode( 'ChFVcGRhdGVVc2VyUmVxdWVzdBIXCgd1c2VyX2lkGAEgASgJUgZ1c2VySWQSHAoHdGVhbV9pZB' - 'gCIAEoCUgAUgZ0ZWFtSWSIAQESQgoGZ2VuZGVyGAMgASgOMiUucHJvdG8uc2VydmljZXMuaW1w' - 'dWxzZV9zdmMudjEuR2VuZGVySAFSBmdlbmRlcogBARIfCghiaXJ0aGRheRgEIAEoCUgCUghiaX' - 'J0aGRheYgBARIVCgNwYWwYBSABKAJIA1IDcGFsiAEBEhsKBmxlbmd0aBgGIAEoBUgEUgZsZW5n' - 'dGiIAQESGwoGd2VpZ2h0GAcgASgCSAVSBndlaWdodIgBAUIKCghfdGVhbV9pZEIJCgdfZ2VuZG' - 'VyQgsKCV9iaXJ0aGRheUIGCgRfcGFsQgkKB19sZW5ndGhCCQoHX3dlaWdodA=='); + 'gCIAEoCUgAUgZ0ZWFtSWSIAQESPAoGZ2VuZGVyGAMgASgOMh8uc2VydmljZXMuaW1wdWxzZV9z' + 'dmMudjEuR2VuZGVySAFSBmdlbmRlcogBARIfCghiaXJ0aGRheRgEIAEoCUgCUghiaXJ0aGRheY' + 'gBARIVCgNwYWwYBSABKAJIA1IDcGFsiAEBEhsKBmxlbmd0aBgGIAEoBUgEUgZsZW5ndGiIAQES' + 'GwoGd2VpZ2h0GAcgASgCSAVSBndlaWdodIgBAUIKCghfdGVhbV9pZEIJCgdfZ2VuZGVyQgsKCV' + '9iaXJ0aGRheUIGCgRfcGFsQgkKB19sZW5ndGhCCQoHX3dlaWdodA=='); @$core.Deprecated('Use updateUserResponseDescriptor instead') const UpdateUserResponse$json = { @@ -159,7 +159,7 @@ const UpdateUserResponse$json = { '2': [ {'1': 'user_id', '3': 1, '4': 1, '5': 9, '10': 'userId'}, {'1': 'team_id', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'teamId', '17': true}, - {'1': 'gender', '3': 3, '4': 1, '5': 14, '6': '.proto.services.impulse_svc.v1.Gender', '10': 'gender'}, + {'1': 'gender', '3': 3, '4': 1, '5': 14, '6': '.services.impulse_svc.v1.Gender', '10': 'gender'}, {'1': 'birthday', '3': 4, '4': 1, '5': 9, '10': 'birthday'}, {'1': 'pal', '3': 5, '4': 1, '5': 2, '10': 'pal'}, {'1': 'length', '3': 6, '4': 1, '5': 5, '10': 'length'}, @@ -173,10 +173,10 @@ const UpdateUserResponse$json = { /// Descriptor for `UpdateUserResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List updateUserResponseDescriptor = $convert.base64Decode( 'ChJVcGRhdGVVc2VyUmVzcG9uc2USFwoHdXNlcl9pZBgBIAEoCVIGdXNlcklkEhwKB3RlYW1faW' - 'QYAiABKAlIAFIGdGVhbUlkiAEBEj0KBmdlbmRlchgDIAEoDjIlLnByb3RvLnNlcnZpY2VzLmlt' - 'cHVsc2Vfc3ZjLnYxLkdlbmRlclIGZ2VuZGVyEhoKCGJpcnRoZGF5GAQgASgJUghiaXJ0aGRheR' - 'IQCgNwYWwYBSABKAJSA3BhbBIWCgZsZW5ndGgYBiABKAVSBmxlbmd0aBIWCgZ3ZWlnaHQYByAB' - 'KAJSBndlaWdodEIKCghfdGVhbV9pZA=='); + 'QYAiABKAlIAFIGdGVhbUlkiAEBEjcKBmdlbmRlchgDIAEoDjIfLnNlcnZpY2VzLmltcHVsc2Vf' + 'c3ZjLnYxLkdlbmRlclIGZ2VuZGVyEhoKCGJpcnRoZGF5GAQgASgJUghiaXJ0aGRheRIQCgNwYW' + 'wYBSABKAJSA3BhbBIWCgZsZW5ndGgYBiABKAVSBmxlbmd0aBIWCgZ3ZWlnaHQYByABKAJSBndl' + 'aWdodEIKCghfdGVhbV9pZA=='); @$core.Deprecated('Use getAllTeamsRequestDescriptor instead') const GetAllTeamsRequest$json = { @@ -191,7 +191,7 @@ final $typed_data.Uint8List getAllTeamsRequestDescriptor = $convert.base64Decode const GetAllTeamsResponse$json = { '1': 'GetAllTeamsResponse', '2': [ - {'1': 'teams', '3': 1, '4': 3, '5': 11, '6': '.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team', '10': 'teams'}, + {'1': 'teams', '3': 1, '4': 3, '5': 11, '6': '.services.impulse_svc.v1.GetAllTeamsResponse.Team', '10': 'teams'}, ], '3': [GetAllTeamsResponse_Team$json], }; @@ -208,10 +208,10 @@ const GetAllTeamsResponse_Team$json = { /// Descriptor for `GetAllTeamsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getAllTeamsResponseDescriptor = $convert.base64Decode( - 'ChNHZXRBbGxUZWFtc1Jlc3BvbnNlEk0KBXRlYW1zGAEgAygLMjcucHJvdG8uc2VydmljZXMuaW' - '1wdWxzZV9zdmMudjEuR2V0QWxsVGVhbXNSZXNwb25zZS5UZWFtUgV0ZWFtcxpVCgRUZWFtEhcK' - 'B3RlYW1faWQYASABKAlSBnRlYW1JZBISCgRuYW1lGAIgASgJUgRuYW1lEiAKC2Rlc2NyaXB0aW' - '9uGAMgASgJUgtkZXNjcmlwdGlvbg=='); + 'ChNHZXRBbGxUZWFtc1Jlc3BvbnNlEkcKBXRlYW1zGAEgAygLMjEuc2VydmljZXMuaW1wdWxzZV' + '9zdmMudjEuR2V0QWxsVGVhbXNSZXNwb25zZS5UZWFtUgV0ZWFtcxpVCgRUZWFtEhcKB3RlYW1f' + 'aWQYASABKAlSBnRlYW1JZBISCgRuYW1lGAIgASgJUgRuYW1lEiAKC2Rlc2NyaXB0aW9uGAMgAS' + 'gJUgtkZXNjcmlwdGlvbg=='); @$core.Deprecated('Use trackChallengeRequestDescriptor instead') const TrackChallengeRequest$json = { @@ -256,7 +256,7 @@ final $typed_data.Uint8List getActiveChallengesRequestDescriptor = $convert.base const GetActiveChallengesResponse$json = { '1': 'GetActiveChallengesResponse', '2': [ - {'1': 'challenges', '3': 1, '4': 3, '5': 11, '6': '.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge', '10': 'challenges'}, + {'1': 'challenges', '3': 1, '4': 3, '5': 11, '6': '.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge', '10': 'challenges'}, ], '3': [GetActiveChallengesResponse_Challenge$json], }; @@ -270,8 +270,8 @@ const GetActiveChallengesResponse_Challenge$json = { {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, {'1': 'start_at', '3': 4, '4': 1, '5': 9, '10': 'startAt'}, {'1': 'end_at', '3': 5, '4': 1, '5': 9, '10': 'endAt'}, - {'1': 'category', '3': 6, '4': 1, '5': 14, '6': '.proto.services.impulse_svc.v1.ChallengeCategory', '10': 'category'}, - {'1': 'type', '3': 7, '4': 1, '5': 14, '6': '.proto.services.impulse_svc.v1.ChallengeType', '10': 'type'}, + {'1': 'category', '3': 6, '4': 1, '5': 14, '6': '.services.impulse_svc.v1.ChallengeCategory', '10': 'category'}, + {'1': 'type', '3': 7, '4': 1, '5': 14, '6': '.services.impulse_svc.v1.ChallengeType', '10': 'type'}, {'1': 'threshold', '3': 8, '4': 1, '5': 4, '10': 'threshold'}, {'1': 'points', '3': 9, '4': 1, '5': 4, '10': 'points'}, {'1': 'unit', '3': 10, '4': 1, '5': 9, '10': 'unit'}, @@ -280,16 +280,15 @@ const GetActiveChallengesResponse_Challenge$json = { /// Descriptor for `GetActiveChallengesResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getActiveChallengesResponseDescriptor = $convert.base64Decode( - 'ChtHZXRBY3RpdmVDaGFsbGVuZ2VzUmVzcG9uc2USZAoKY2hhbGxlbmdlcxgBIAMoCzJELnByb3' - 'RvLnNlcnZpY2VzLmltcHVsc2Vfc3ZjLnYxLkdldEFjdGl2ZUNoYWxsZW5nZXNSZXNwb25zZS5D' - 'aGFsbGVuZ2VSCmNoYWxsZW5nZXMa8gIKCUNoYWxsZW5nZRIhCgxjaGFsbGVuZ2VfaWQYASABKA' - 'lSC2NoYWxsZW5nZUlkEhQKBXRpdGxlGAIgASgJUgV0aXRsZRIgCgtkZXNjcmlwdGlvbhgDIAEo' - 'CVILZGVzY3JpcHRpb24SGQoIc3RhcnRfYXQYBCABKAlSB3N0YXJ0QXQSFQoGZW5kX2F0GAUgAS' - 'gJUgVlbmRBdBJMCghjYXRlZ29yeRgGIAEoDjIwLnByb3RvLnNlcnZpY2VzLmltcHVsc2Vfc3Zj' - 'LnYxLkNoYWxsZW5nZUNhdGVnb3J5UghjYXRlZ29yeRJACgR0eXBlGAcgASgOMiwucHJvdG8uc2' - 'VydmljZXMuaW1wdWxzZV9zdmMudjEuQ2hhbGxlbmdlVHlwZVIEdHlwZRIcCgl0aHJlc2hvbGQY' - 'CCABKARSCXRocmVzaG9sZBIWCgZwb2ludHMYCSABKARSBnBvaW50cxISCgR1bml0GAogASgJUg' - 'R1bml0'); + 'ChtHZXRBY3RpdmVDaGFsbGVuZ2VzUmVzcG9uc2USXgoKY2hhbGxlbmdlcxgBIAMoCzI+LnNlcn' + 'ZpY2VzLmltcHVsc2Vfc3ZjLnYxLkdldEFjdGl2ZUNoYWxsZW5nZXNSZXNwb25zZS5DaGFsbGVu' + 'Z2VSCmNoYWxsZW5nZXMa5gIKCUNoYWxsZW5nZRIhCgxjaGFsbGVuZ2VfaWQYASABKAlSC2NoYW' + 'xsZW5nZUlkEhQKBXRpdGxlGAIgASgJUgV0aXRsZRIgCgtkZXNjcmlwdGlvbhgDIAEoCVILZGVz' + 'Y3JpcHRpb24SGQoIc3RhcnRfYXQYBCABKAlSB3N0YXJ0QXQSFQoGZW5kX2F0GAUgASgJUgVlbm' + 'RBdBJGCghjYXRlZ29yeRgGIAEoDjIqLnNlcnZpY2VzLmltcHVsc2Vfc3ZjLnYxLkNoYWxsZW5n' + 'ZUNhdGVnb3J5UghjYXRlZ29yeRI6CgR0eXBlGAcgASgOMiYuc2VydmljZXMuaW1wdWxzZV9zdm' + 'MudjEuQ2hhbGxlbmdlVHlwZVIEdHlwZRIcCgl0aHJlc2hvbGQYCCABKARSCXRocmVzaG9sZBIW' + 'CgZwb2ludHMYCSABKARSBnBvaW50cxISCgR1bml0GAogASgJUgR1bml0'); @$core.Deprecated('Use updateChallengeRequestDescriptor instead') const UpdateChallengeRequest$json = { @@ -300,7 +299,7 @@ const UpdateChallengeRequest$json = { {'1': 'description', '3': 3, '4': 1, '5': 9, '9': 1, '10': 'description', '17': true}, {'1': 'start_at', '3': 4, '4': 1, '5': 9, '9': 2, '10': 'startAt', '17': true}, {'1': 'end_at', '3': 5, '4': 1, '5': 9, '9': 3, '10': 'endAt', '17': true}, - {'1': 'category', '3': 6, '4': 1, '5': 14, '6': '.proto.services.impulse_svc.v1.ChallengeCategory', '9': 4, '10': 'category', '17': true}, + {'1': 'category', '3': 6, '4': 1, '5': 14, '6': '.services.impulse_svc.v1.ChallengeCategory', '9': 4, '10': 'category', '17': true}, {'1': 'threshold', '3': 7, '4': 1, '5': 4, '9': 5, '10': 'threshold', '17': true}, {'1': 'points', '3': 8, '4': 1, '5': 4, '9': 6, '10': 'points', '17': true}, {'1': 'unit', '3': 9, '4': 1, '5': 9, '9': 7, '10': 'unit', '17': true}, @@ -322,12 +321,12 @@ final $typed_data.Uint8List updateChallengeRequestDescriptor = $convert.base64De 'ChZVcGRhdGVDaGFsbGVuZ2VSZXF1ZXN0EiEKDGNoYWxsZW5nZV9pZBgBIAEoCVILY2hhbGxlbm' 'dlSWQSGQoFdGl0bGUYAiABKAlIAFIFdGl0bGWIAQESJQoLZGVzY3JpcHRpb24YAyABKAlIAVIL' 'ZGVzY3JpcHRpb26IAQESHgoIc3RhcnRfYXQYBCABKAlIAlIHc3RhcnRBdIgBARIaCgZlbmRfYX' - 'QYBSABKAlIA1IFZW5kQXSIAQESUQoIY2F0ZWdvcnkYBiABKA4yMC5wcm90by5zZXJ2aWNlcy5p' - 'bXB1bHNlX3N2Yy52MS5DaGFsbGVuZ2VDYXRlZ29yeUgEUghjYXRlZ29yeYgBARIhCgl0aHJlc2' - 'hvbGQYByABKARIBVIJdGhyZXNob2xkiAEBEhsKBnBvaW50cxgIIAEoBEgGUgZwb2ludHOIAQES' - 'FwoEdW5pdBgJIAEoCUgHUgR1bml0iAEBQggKBl90aXRsZUIOCgxfZGVzY3JpcHRpb25CCwoJX3' - 'N0YXJ0X2F0QgkKB19lbmRfYXRCCwoJX2NhdGVnb3J5QgwKCl90aHJlc2hvbGRCCQoHX3BvaW50' - 'c0IHCgVfdW5pdA=='); + 'QYBSABKAlIA1IFZW5kQXSIAQESSwoIY2F0ZWdvcnkYBiABKA4yKi5zZXJ2aWNlcy5pbXB1bHNl' + 'X3N2Yy52MS5DaGFsbGVuZ2VDYXRlZ29yeUgEUghjYXRlZ29yeYgBARIhCgl0aHJlc2hvbGQYBy' + 'ABKARIBVIJdGhyZXNob2xkiAEBEhsKBnBvaW50cxgIIAEoBEgGUgZwb2ludHOIAQESFwoEdW5p' + 'dBgJIAEoCUgHUgR1bml0iAEBQggKBl90aXRsZUIOCgxfZGVzY3JpcHRpb25CCwoJX3N0YXJ0X2' + 'F0QgkKB19lbmRfYXRCCwoJX2NhdGVnb3J5QgwKCl90aHJlc2hvbGRCCQoHX3BvaW50c0IHCgVf' + 'dW5pdA=='); @$core.Deprecated('Use updateChallengeResponseDescriptor instead') const UpdateChallengeResponse$json = { @@ -338,8 +337,8 @@ const UpdateChallengeResponse$json = { {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, {'1': 'start_at', '3': 4, '4': 1, '5': 9, '10': 'startAt'}, {'1': 'end_at', '3': 5, '4': 1, '5': 9, '10': 'endAt'}, - {'1': 'category', '3': 6, '4': 1, '5': 14, '6': '.proto.services.impulse_svc.v1.ChallengeCategory', '10': 'category'}, - {'1': 'type', '3': 7, '4': 1, '5': 14, '6': '.proto.services.impulse_svc.v1.ChallengeType', '10': 'type'}, + {'1': 'category', '3': 6, '4': 1, '5': 14, '6': '.services.impulse_svc.v1.ChallengeCategory', '10': 'category'}, + {'1': 'type', '3': 7, '4': 1, '5': 14, '6': '.services.impulse_svc.v1.ChallengeType', '10': 'type'}, {'1': 'threshold', '3': 8, '4': 1, '5': 4, '10': 'threshold'}, {'1': 'points', '3': 9, '4': 1, '5': 4, '10': 'points'}, {'1': 'unit', '3': 10, '4': 1, '5': 9, '10': 'unit'}, @@ -351,10 +350,10 @@ final $typed_data.Uint8List updateChallengeResponseDescriptor = $convert.base64D 'ChdVcGRhdGVDaGFsbGVuZ2VSZXNwb25zZRIhCgxjaGFsbGVuZ2VfaWQYASABKAlSC2NoYWxsZW' '5nZUlkEhQKBXRpdGxlGAIgASgJUgV0aXRsZRIgCgtkZXNjcmlwdGlvbhgDIAEoCVILZGVzY3Jp' 'cHRpb24SGQoIc3RhcnRfYXQYBCABKAlSB3N0YXJ0QXQSFQoGZW5kX2F0GAUgASgJUgVlbmRBdB' - 'JMCghjYXRlZ29yeRgGIAEoDjIwLnByb3RvLnNlcnZpY2VzLmltcHVsc2Vfc3ZjLnYxLkNoYWxs' - 'ZW5nZUNhdGVnb3J5UghjYXRlZ29yeRJACgR0eXBlGAcgASgOMiwucHJvdG8uc2VydmljZXMuaW' - '1wdWxzZV9zdmMudjEuQ2hhbGxlbmdlVHlwZVIEdHlwZRIcCgl0aHJlc2hvbGQYCCABKARSCXRo' - 'cmVzaG9sZBIWCgZwb2ludHMYCSABKARSBnBvaW50cxISCgR1bml0GAogASgJUgR1bml0'); + 'JGCghjYXRlZ29yeRgGIAEoDjIqLnNlcnZpY2VzLmltcHVsc2Vfc3ZjLnYxLkNoYWxsZW5nZUNh' + 'dGVnb3J5UghjYXRlZ29yeRI6CgR0eXBlGAcgASgOMiYuc2VydmljZXMuaW1wdWxzZV9zdmMudj' + 'EuQ2hhbGxlbmdlVHlwZVIEdHlwZRIcCgl0aHJlc2hvbGQYCCABKARSCXRocmVzaG9sZBIWCgZw' + 'b2ludHMYCSABKARSBnBvaW50cxISCgR1bml0GAogASgJUgR1bml0'); @$core.Deprecated('Use getScoreRequestDescriptor instead') const GetScoreRequest$json = { @@ -396,7 +395,7 @@ final $typed_data.Uint8List getRewardsRequestDescriptor = $convert.base64Decode( const GetRewardsResponse$json = { '1': 'GetRewardsResponse', '2': [ - {'1': 'rewards', '3': 1, '4': 3, '5': 11, '6': '.proto.services.impulse_svc.v1.GetRewardsResponse.Reward', '10': 'rewards'}, + {'1': 'rewards', '3': 1, '4': 3, '5': 11, '6': '.services.impulse_svc.v1.GetRewardsResponse.Reward', '10': 'rewards'}, ], '3': [GetRewardsResponse_Reward$json], }; @@ -414,11 +413,10 @@ const GetRewardsResponse_Reward$json = { /// Descriptor for `GetRewardsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getRewardsResponseDescriptor = $convert.base64Decode( - 'ChJHZXRSZXdhcmRzUmVzcG9uc2USUgoHcmV3YXJkcxgBIAMoCzI4LnByb3RvLnNlcnZpY2VzLm' - 'ltcHVsc2Vfc3ZjLnYxLkdldFJld2FyZHNSZXNwb25zZS5SZXdhcmRSB3Jld2FyZHMadQoGUmV3' - 'YXJkEhsKCXJld2FyZF9pZBgBIAEoCVIIcmV3YXJkSWQSFAoFdGl0bGUYAiABKAlSBXRpdGxlEi' - 'AKC2Rlc2NyaXB0aW9uGAMgASgJUgtkZXNjcmlwdGlvbhIWCgZwb2ludHMYBSABKARSBnBvaW50' - 'cw=='); + 'ChJHZXRSZXdhcmRzUmVzcG9uc2USTAoHcmV3YXJkcxgBIAMoCzIyLnNlcnZpY2VzLmltcHVsc2' + 'Vfc3ZjLnYxLkdldFJld2FyZHNSZXNwb25zZS5SZXdhcmRSB3Jld2FyZHMadQoGUmV3YXJkEhsK' + 'CXJld2FyZF9pZBgBIAEoCVIIcmV3YXJkSWQSFAoFdGl0bGUYAiABKAlSBXRpdGxlEiAKC2Rlc2' + 'NyaXB0aW9uGAMgASgJUgtkZXNjcmlwdGlvbhIWCgZwb2ludHMYBSABKARSBnBvaW50cw=='); @$core.Deprecated('Use getAllRewardsRequestDescriptor instead') const GetAllRewardsRequest$json = { @@ -433,7 +431,7 @@ final $typed_data.Uint8List getAllRewardsRequestDescriptor = $convert.base64Deco const GetAllRewardsResponse$json = { '1': 'GetAllRewardsResponse', '2': [ - {'1': 'rewards', '3': 1, '4': 3, '5': 11, '6': '.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward', '10': 'rewards'}, + {'1': 'rewards', '3': 1, '4': 3, '5': 11, '6': '.services.impulse_svc.v1.GetAllRewardsResponse.Reward', '10': 'rewards'}, ], '3': [GetAllRewardsResponse_Reward$json], }; @@ -451,11 +449,11 @@ const GetAllRewardsResponse_Reward$json = { /// Descriptor for `GetAllRewardsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getAllRewardsResponseDescriptor = $convert.base64Decode( - 'ChVHZXRBbGxSZXdhcmRzUmVzcG9uc2USVQoHcmV3YXJkcxgBIAMoCzI7LnByb3RvLnNlcnZpY2' - 'VzLmltcHVsc2Vfc3ZjLnYxLkdldEFsbFJld2FyZHNSZXNwb25zZS5SZXdhcmRSB3Jld2FyZHMa' - 'dQoGUmV3YXJkEhsKCXJld2FyZF9pZBgBIAEoCVIIcmV3YXJkSWQSFAoFdGl0bGUYAiABKAlSBX' - 'RpdGxlEiAKC2Rlc2NyaXB0aW9uGAMgASgJUgtkZXNjcmlwdGlvbhIWCgZwb2ludHMYBSABKARS' - 'BnBvaW50cw=='); + 'ChVHZXRBbGxSZXdhcmRzUmVzcG9uc2USTwoHcmV3YXJkcxgBIAMoCzI1LnNlcnZpY2VzLmltcH' + 'Vsc2Vfc3ZjLnYxLkdldEFsbFJld2FyZHNSZXNwb25zZS5SZXdhcmRSB3Jld2FyZHMadQoGUmV3' + 'YXJkEhsKCXJld2FyZF9pZBgBIAEoCVIIcmV3YXJkSWQSFAoFdGl0bGUYAiABKAlSBXRpdGxlEi' + 'AKC2Rlc2NyaXB0aW9uGAMgASgJUgtkZXNjcmlwdGlvbhIWCgZwb2ludHMYBSABKARSBnBvaW50' + 'cw=='); @$core.Deprecated('Use statsForTeamByUserRequestDescriptor instead') const StatsForTeamByUserRequest$json = { @@ -475,7 +473,7 @@ const StatsForTeamByUserResponse$json = { '2': [ {'1': 'team_id', '3': 1, '4': 1, '5': 9, '10': 'teamId'}, {'1': 'score', '3': 2, '4': 1, '5': 4, '10': 'score'}, - {'1': 'gender_count', '3': 3, '4': 3, '5': 11, '6': '.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount', '10': 'genderCount'}, + {'1': 'gender_count', '3': 3, '4': 3, '5': 11, '6': '.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount', '10': 'genderCount'}, {'1': 'average_age', '3': 4, '4': 1, '5': 2, '10': 'averageAge'}, {'1': 'user_count', '3': 5, '4': 1, '5': 4, '10': 'userCount'}, ], @@ -486,7 +484,7 @@ const StatsForTeamByUserResponse$json = { const StatsForTeamByUserResponse_GenderCount$json = { '1': 'GenderCount', '2': [ - {'1': 'gender', '3': 1, '4': 1, '5': 14, '6': '.proto.services.impulse_svc.v1.Gender', '10': 'gender'}, + {'1': 'gender', '3': 1, '4': 1, '5': 14, '6': '.services.impulse_svc.v1.Gender', '10': 'gender'}, {'1': 'count', '3': 2, '4': 1, '5': 13, '10': 'count'}, ], }; @@ -494,12 +492,11 @@ const StatsForTeamByUserResponse_GenderCount$json = { /// Descriptor for `StatsForTeamByUserResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List statsForTeamByUserResponseDescriptor = $convert.base64Decode( 'ChpTdGF0c0ZvclRlYW1CeVVzZXJSZXNwb25zZRIXCgd0ZWFtX2lkGAEgASgJUgZ0ZWFtSWQSFA' - 'oFc2NvcmUYAiABKARSBXNjb3JlEmgKDGdlbmRlcl9jb3VudBgDIAMoCzJFLnByb3RvLnNlcnZp' - 'Y2VzLmltcHVsc2Vfc3ZjLnYxLlN0YXRzRm9yVGVhbUJ5VXNlclJlc3BvbnNlLkdlbmRlckNvdW' - '50UgtnZW5kZXJDb3VudBIfCgthdmVyYWdlX2FnZRgEIAEoAlIKYXZlcmFnZUFnZRIdCgp1c2Vy' - 'X2NvdW50GAUgASgEUgl1c2VyQ291bnQaYgoLR2VuZGVyQ291bnQSPQoGZ2VuZGVyGAEgASgOMi' - 'UucHJvdG8uc2VydmljZXMuaW1wdWxzZV9zdmMudjEuR2VuZGVyUgZnZW5kZXISFAoFY291bnQY' - 'AiABKA1SBWNvdW50'); + 'oFc2NvcmUYAiABKARSBXNjb3JlEmIKDGdlbmRlcl9jb3VudBgDIAMoCzI/LnNlcnZpY2VzLmlt' + 'cHVsc2Vfc3ZjLnYxLlN0YXRzRm9yVGVhbUJ5VXNlclJlc3BvbnNlLkdlbmRlckNvdW50UgtnZW' + '5kZXJDb3VudBIfCgthdmVyYWdlX2FnZRgEIAEoAlIKYXZlcmFnZUFnZRIdCgp1c2VyX2NvdW50' + 'GAUgASgEUgl1c2VyQ291bnQaXAoLR2VuZGVyQ291bnQSNwoGZ2VuZGVyGAEgASgOMh8uc2Vydm' + 'ljZXMuaW1wdWxzZV9zdmMudjEuR2VuZGVyUgZnZW5kZXISFAoFY291bnQYAiABKA1SBWNvdW50'); @$core.Deprecated('Use verificationRequestDescriptor instead') const VerificationRequest$json = { @@ -518,8 +515,8 @@ final $typed_data.Uint8List verificationRequestDescriptor = $convert.base64Decod const VerificationResponse$json = { '1': 'VerificationResponse', '2': [ - {'1': 'string_verifications', '3': 1, '4': 3, '5': 11, '6': '.proto.services.impulse_svc.v1.VerificationResponse.StringVerification', '10': 'stringVerifications'}, - {'1': 'integer_verifications', '3': 2, '4': 3, '5': 11, '6': '.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification', '10': 'integerVerifications'}, + {'1': 'string_verifications', '3': 1, '4': 3, '5': 11, '6': '.services.impulse_svc.v1.VerificationResponse.StringVerification', '10': 'stringVerifications'}, + {'1': 'integer_verifications', '3': 2, '4': 3, '5': 11, '6': '.services.impulse_svc.v1.VerificationResponse.IntegerVerification', '10': 'integerVerifications'}, ], '3': [VerificationResponse_StringVerification$json, VerificationResponse_IntegerVerification$json], }; @@ -529,7 +526,7 @@ const VerificationResponse_StringVerification$json = { '1': 'StringVerification', '2': [ {'1': 'order', '3': 1, '4': 1, '5': 13, '10': 'order'}, - {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.proto.services.impulse_svc.v1.StringVerificationType', '10': 'type'}, + {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.services.impulse_svc.v1.StringVerificationType', '10': 'type'}, {'1': 'value', '3': 3, '4': 1, '5': 9, '10': 'value'}, ], }; @@ -539,22 +536,21 @@ const VerificationResponse_IntegerVerification$json = { '1': 'IntegerVerification', '2': [ {'1': 'order', '3': 1, '4': 1, '5': 13, '10': 'order'}, - {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.proto.services.impulse_svc.v1.IntegerVerificationType', '10': 'type'}, + {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.services.impulse_svc.v1.IntegerVerificationType', '10': 'type'}, {'1': 'value', '3': 3, '4': 1, '5': 4, '10': 'value'}, ], }; /// Descriptor for `VerificationResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List verificationResponseDescriptor = $convert.base64Decode( - 'ChRWZXJpZmljYXRpb25SZXNwb25zZRJ5ChRzdHJpbmdfdmVyaWZpY2F0aW9ucxgBIAMoCzJGLn' - 'Byb3RvLnNlcnZpY2VzLmltcHVsc2Vfc3ZjLnYxLlZlcmlmaWNhdGlvblJlc3BvbnNlLlN0cmlu' - 'Z1ZlcmlmaWNhdGlvblITc3RyaW5nVmVyaWZpY2F0aW9ucxJ8ChVpbnRlZ2VyX3ZlcmlmaWNhdG' - 'lvbnMYAiADKAsyRy5wcm90by5zZXJ2aWNlcy5pbXB1bHNlX3N2Yy52MS5WZXJpZmljYXRpb25S' - 'ZXNwb25zZS5JbnRlZ2VyVmVyaWZpY2F0aW9uUhRpbnRlZ2VyVmVyaWZpY2F0aW9ucxqLAQoSU3' - 'RyaW5nVmVyaWZpY2F0aW9uEhQKBW9yZGVyGAEgASgNUgVvcmRlchJJCgR0eXBlGAIgASgOMjUu' - 'cHJvdG8uc2VydmljZXMuaW1wdWxzZV9zdmMudjEuU3RyaW5nVmVyaWZpY2F0aW9uVHlwZVIEdH' - 'lwZRIUCgV2YWx1ZRgDIAEoCVIFdmFsdWUajQEKE0ludGVnZXJWZXJpZmljYXRpb24SFAoFb3Jk' - 'ZXIYASABKA1SBW9yZGVyEkoKBHR5cGUYAiABKA4yNi5wcm90by5zZXJ2aWNlcy5pbXB1bHNlX3' - 'N2Yy52MS5JbnRlZ2VyVmVyaWZpY2F0aW9uVHlwZVIEdHlwZRIUCgV2YWx1ZRgDIAEoBFIFdmFs' - 'dWU='); + 'ChRWZXJpZmljYXRpb25SZXNwb25zZRJzChRzdHJpbmdfdmVyaWZpY2F0aW9ucxgBIAMoCzJALn' + 'NlcnZpY2VzLmltcHVsc2Vfc3ZjLnYxLlZlcmlmaWNhdGlvblJlc3BvbnNlLlN0cmluZ1Zlcmlm' + 'aWNhdGlvblITc3RyaW5nVmVyaWZpY2F0aW9ucxJ2ChVpbnRlZ2VyX3ZlcmlmaWNhdGlvbnMYAi' + 'ADKAsyQS5zZXJ2aWNlcy5pbXB1bHNlX3N2Yy52MS5WZXJpZmljYXRpb25SZXNwb25zZS5JbnRl' + 'Z2VyVmVyaWZpY2F0aW9uUhRpbnRlZ2VyVmVyaWZpY2F0aW9ucxqFAQoSU3RyaW5nVmVyaWZpY2' + 'F0aW9uEhQKBW9yZGVyGAEgASgNUgVvcmRlchJDCgR0eXBlGAIgASgOMi8uc2VydmljZXMuaW1w' + 'dWxzZV9zdmMudjEuU3RyaW5nVmVyaWZpY2F0aW9uVHlwZVIEdHlwZRIUCgV2YWx1ZRgDIAEoCV' + 'IFdmFsdWUahwEKE0ludGVnZXJWZXJpZmljYXRpb24SFAoFb3JkZXIYASABKA1SBW9yZGVyEkQK' + 'BHR5cGUYAiABKA4yMC5zZXJ2aWNlcy5pbXB1bHNlX3N2Yy52MS5JbnRlZ2VyVmVyaWZpY2F0aW' + '9uVHlwZVIEdHlwZRIUCgV2YWx1ZRgDIAEoBFIFdmFsdWU='); diff --git a/gen/dart/lib/proto/services/ory_svc/v1/ory_svc.pb.dart b/gen/dart/lib/services/ory_svc/v1/ory_svc.pb.dart similarity index 96% rename from gen/dart/lib/proto/services/ory_svc/v1/ory_svc.pb.dart rename to gen/dart/lib/services/ory_svc/v1/ory_svc.pb.dart index 956f79a4b..102d3efe7 100644 --- a/gen/dart/lib/proto/services/ory_svc/v1/ory_svc.pb.dart +++ b/gen/dart/lib/services/ory_svc/v1/ory_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/ory_svc/v1/ory_svc.proto +// source: services/ory_svc/v1/ory_svc.proto // // @dart = 2.12 @@ -39,7 +39,7 @@ class AfterRegistrationWebhookPayloadRequest extends $pb.GeneratedMessage { factory AfterRegistrationWebhookPayloadRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AfterRegistrationWebhookPayloadRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AfterRegistrationWebhookPayloadRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.ory_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AfterRegistrationWebhookPayloadRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.ory_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..aOS(2, _omitFieldNames ? '' : 'email') ..aOS(3, _omitFieldNames ? '' : 'nickname') @@ -131,7 +131,7 @@ class AfterSettingsWebhookPayload extends $pb.GeneratedMessage { factory AfterSettingsWebhookPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AfterSettingsWebhookPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AfterSettingsWebhookPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.ory_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AfterSettingsWebhookPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.ory_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..aOS(2, _omitFieldNames ? '' : 'email') ..aOS(3, _omitFieldNames ? '' : 'nickname') diff --git a/gen/dart/lib/proto/services/ory_svc/v1/ory_svc.pbenum.dart b/gen/dart/lib/services/ory_svc/v1/ory_svc.pbenum.dart similarity index 86% rename from gen/dart/lib/proto/services/ory_svc/v1/ory_svc.pbenum.dart rename to gen/dart/lib/services/ory_svc/v1/ory_svc.pbenum.dart index f4b966f04..bfc88856a 100644 --- a/gen/dart/lib/proto/services/ory_svc/v1/ory_svc.pbenum.dart +++ b/gen/dart/lib/services/ory_svc/v1/ory_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/ory_svc/v1/ory_svc.proto +// source: services/ory_svc/v1/ory_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/ory_svc/v1/ory_svc.pbjson.dart b/gen/dart/lib/services/ory_svc/v1/ory_svc.pbjson.dart similarity index 97% rename from gen/dart/lib/proto/services/ory_svc/v1/ory_svc.pbjson.dart rename to gen/dart/lib/services/ory_svc/v1/ory_svc.pbjson.dart index b6703a42f..043998edb 100644 --- a/gen/dart/lib/proto/services/ory_svc/v1/ory_svc.pbjson.dart +++ b/gen/dart/lib/services/ory_svc/v1/ory_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/ory_svc/v1/ory_svc.proto +// source: services/ory_svc/v1/ory_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pb.dart b/gen/dart/lib/services/property_svc/v1/property_set_svc.pb.dart similarity index 95% rename from gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pb.dart rename to gen/dart/lib/services/property_svc/v1/property_set_svc.pb.dart index 86440c88d..37bde0621 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pb.dart +++ b/gen/dart/lib/services/property_svc/v1/property_set_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_set_svc.proto +// source: services/property_svc/v1/property_set_svc.proto // // @dart = 2.12 @@ -29,7 +29,7 @@ class CreatePropertySetRequest extends $pb.GeneratedMessage { factory CreatePropertySetRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreatePropertySetRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertySetRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertySetRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false ; @@ -79,7 +79,7 @@ class CreatePropertySetResponse extends $pb.GeneratedMessage { factory CreatePropertySetResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreatePropertySetResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertySetResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertySetResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -129,7 +129,7 @@ class GetPropertySetRequest extends $pb.GeneratedMessage { factory GetPropertySetRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPropertySetRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertySetRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertySetRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -183,7 +183,7 @@ class GetPropertySetResponse extends $pb.GeneratedMessage { factory GetPropertySetResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPropertySetResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertySetResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertySetResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pbenum.dart b/gen/dart/lib/services/property_svc/v1/property_set_svc.pbenum.dart similarity index 83% rename from gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pbenum.dart rename to gen/dart/lib/services/property_svc/v1/property_set_svc.pbenum.dart index 6fe2b667f..0772902e4 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pbenum.dart +++ b/gen/dart/lib/services/property_svc/v1/property_set_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_set_svc.proto +// source: services/property_svc/v1/property_set_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pbgrpc.dart b/gen/dart/lib/services/property_svc/v1/property_set_svc.pbgrpc.dart similarity index 87% rename from gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pbgrpc.dart rename to gen/dart/lib/services/property_svc/v1/property_set_svc.pbgrpc.dart index 3d764dc98..283101112 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pbgrpc.dart +++ b/gen/dart/lib/services/property_svc/v1/property_set_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_set_svc.proto +// source: services/property_svc/v1/property_set_svc.proto // // @dart = 2.12 @@ -19,14 +19,14 @@ import 'property_set_svc.pb.dart' as $2; export 'property_set_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.property_svc.v1.PropertySetService') +@$pb.GrpcServiceName('services.property_svc.v1.PropertySetService') class PropertySetServiceClient extends $grpc.Client { static final _$createPropertySet = $grpc.ClientMethod<$2.CreatePropertySetRequest, $2.CreatePropertySetResponse>( - '/proto.services.property_svc.v1.PropertySetService/CreatePropertySet', + '/services.property_svc.v1.PropertySetService/CreatePropertySet', ($2.CreatePropertySetRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $2.CreatePropertySetResponse.fromBuffer(value)); static final _$getPropertySet = $grpc.ClientMethod<$2.GetPropertySetRequest, $2.GetPropertySetResponse>( - '/proto.services.property_svc.v1.PropertySetService/GetPropertySet', + '/services.property_svc.v1.PropertySetService/GetPropertySet', ($2.GetPropertySetRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $2.GetPropertySetResponse.fromBuffer(value)); @@ -45,9 +45,9 @@ class PropertySetServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.property_svc.v1.PropertySetService') +@$pb.GrpcServiceName('services.property_svc.v1.PropertySetService') abstract class PropertySetServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.property_svc.v1.PropertySetService'; + $core.String get $name => 'services.property_svc.v1.PropertySetService'; PropertySetServiceBase() { $addMethod($grpc.ServiceMethod<$2.CreatePropertySetRequest, $2.CreatePropertySetResponse>( diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pbjson.dart b/gen/dart/lib/services/property_svc/v1/property_set_svc.pbjson.dart similarity index 97% rename from gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pbjson.dart rename to gen/dart/lib/services/property_svc/v1/property_set_svc.pbjson.dart index 08bc0406b..1b863cd87 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_set_svc.pbjson.dart +++ b/gen/dart/lib/services/property_svc/v1/property_set_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_set_svc.proto +// source: services/property_svc/v1/property_set_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_svc.pb.dart b/gen/dart/lib/services/property_svc/v1/property_svc.pb.dart similarity index 97% rename from gen/dart/lib/proto/services/property_svc/v1/property_svc.pb.dart rename to gen/dart/lib/services/property_svc/v1/property_svc.pb.dart index fa094412d..b3119901e 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_svc.pb.dart +++ b/gen/dart/lib/services/property_svc/v1/property_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_svc.proto +// source: services/property_svc/v1/property_svc.proto // // @dart = 2.12 @@ -33,7 +33,7 @@ class CreatePropertyRequest_SelectData_SelectOption extends $pb.GeneratedMessage factory CreatePropertyRequest_SelectData_SelectOption.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreatePropertyRequest_SelectData_SelectOption.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertyRequest.SelectData.SelectOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertyRequest.SelectData.SelectOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'description') ..hasRequiredFields = false @@ -97,7 +97,7 @@ class CreatePropertyRequest_SelectData extends $pb.GeneratedMessage { factory CreatePropertyRequest_SelectData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreatePropertyRequest_SelectData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertyRequest.SelectData', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertyRequest.SelectData', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'allowFreetext') ..pc(2, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: CreatePropertyRequest_SelectData_SelectOption.create) ..hasRequiredFields = false @@ -182,7 +182,7 @@ class CreatePropertyRequest extends $pb.GeneratedMessage { 9 : CreatePropertyRequest_FieldTypeData.selectData, 0 : CreatePropertyRequest_FieldTypeData.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [9]) ..e<$16.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $16.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $16.SubjectType.valueOf, enumValues: $16.SubjectType.values) ..e<$16.FieldType>(3, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, defaultOrMaker: $16.FieldType.FIELD_TYPE_UNSPECIFIED, valueOf: $16.FieldType.valueOf, enumValues: $16.FieldType.values) @@ -289,7 +289,7 @@ class CreatePropertyResponse extends $pb.GeneratedMessage { factory CreatePropertyResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreatePropertyResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'propertyId') ..hasRequiredFields = false ; @@ -356,7 +356,7 @@ class GetPropertyRequest_ViewSource extends $pb.GeneratedMessage { 2 : GetPropertyRequest_ViewSource_Value.wardId, 0 : GetPropertyRequest_ViewSource_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertyRequest.ViewSource', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertyRequest.ViewSource', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [1, 2]) ..aOB(1, _omitFieldNames ? '' : 'global') ..aOS(2, _omitFieldNames ? '' : 'wardId') @@ -420,7 +420,7 @@ class GetPropertyRequest extends $pb.GeneratedMessage { factory GetPropertyRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPropertyRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -482,7 +482,7 @@ class GetPropertyResponse_SelectData_SelectOption extends $pb.GeneratedMessage { factory GetPropertyResponse_SelectData_SelectOption.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPropertyResponse_SelectData_SelectOption.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertyResponse.SelectData.SelectOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertyResponse.SelectData.SelectOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -566,7 +566,7 @@ class GetPropertyResponse_SelectData extends $pb.GeneratedMessage { factory GetPropertyResponse_SelectData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPropertyResponse_SelectData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertyResponse.SelectData', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertyResponse.SelectData', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'allowFreetext') ..pc(2, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: GetPropertyResponse_SelectData_SelectOption.create) ..hasRequiredFields = false @@ -661,7 +661,7 @@ class GetPropertyResponse extends $pb.GeneratedMessage { 10 : GetPropertyResponse_FieldTypeData.selectData, 0 : GetPropertyResponse_FieldTypeData.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [10]) ..aOS(1, _omitFieldNames ? '' : 'id') ..e<$16.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $16.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $16.SubjectType.valueOf, enumValues: $16.SubjectType.values) @@ -810,7 +810,7 @@ class UpdatePropertyRequest_SelectData_SelectOption extends $pb.GeneratedMessage factory UpdatePropertyRequest_SelectData_SelectOption.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdatePropertyRequest_SelectData_SelectOption.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyRequest.SelectData.SelectOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyRequest.SelectData.SelectOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -898,7 +898,7 @@ class UpdatePropertyRequest_SelectData extends $pb.GeneratedMessage { factory UpdatePropertyRequest_SelectData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdatePropertyRequest_SelectData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyRequest.SelectData', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyRequest.SelectData', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'allowFreetext') ..pPS(2, _omitFieldNames ? '' : 'removeOptions') ..pc(3, _omitFieldNames ? '' : 'upsertOptions', $pb.PbFieldType.PM, subBuilder: UpdatePropertyRequest_SelectData_SelectOption.create) @@ -989,7 +989,7 @@ class UpdatePropertyRequest extends $pb.GeneratedMessage { 10 : UpdatePropertyRequest_FieldTypeData.selectData, 0 : UpdatePropertyRequest_FieldTypeData.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [10]) ..aOS(1, _omitFieldNames ? '' : 'id') ..e<$16.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $16.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $16.SubjectType.valueOf, enumValues: $16.SubjectType.values) @@ -1098,7 +1098,7 @@ class UpdatePropertyResponse extends $pb.GeneratedMessage { factory UpdatePropertyResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdatePropertyResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1138,7 +1138,7 @@ class GetPropertiesBySubjectTypeRequest extends $pb.GeneratedMessage { factory GetPropertiesBySubjectTypeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPropertiesBySubjectTypeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesBySubjectTypeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesBySubjectTypeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..e<$16.SubjectType>(1, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $16.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $16.SubjectType.valueOf, enumValues: $16.SubjectType.values) ..hasRequiredFields = false ; @@ -1200,7 +1200,7 @@ class GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption extend factory GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -1284,7 +1284,7 @@ class GetPropertiesBySubjectTypeResponse_Property_SelectData extends $pb.Generat factory GetPropertiesBySubjectTypeResponse_Property_SelectData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPropertiesBySubjectTypeResponse_Property_SelectData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesBySubjectTypeResponse.Property.SelectData', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesBySubjectTypeResponse.Property.SelectData', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'allowFreetext') ..pc(2, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption.create) ..hasRequiredFields = false @@ -1375,7 +1375,7 @@ class GetPropertiesBySubjectTypeResponse_Property extends $pb.GeneratedMessage { 10 : GetPropertiesBySubjectTypeResponse_Property_FieldTypeData.selectData, 0 : GetPropertiesBySubjectTypeResponse_Property_FieldTypeData.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesBySubjectTypeResponse.Property', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesBySubjectTypeResponse.Property', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [10]) ..aOS(1, _omitFieldNames ? '' : 'id') ..e<$16.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $16.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $16.SubjectType.valueOf, enumValues: $16.SubjectType.values) @@ -1502,7 +1502,7 @@ class GetPropertiesBySubjectTypeResponse extends $pb.GeneratedMessage { factory GetPropertiesBySubjectTypeResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPropertiesBySubjectTypeResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesBySubjectTypeResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesBySubjectTypeResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'properties', $pb.PbFieldType.PM, subBuilder: GetPropertiesBySubjectTypeResponse_Property.create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_svc.pbenum.dart b/gen/dart/lib/services/property_svc/v1/property_svc.pbenum.dart similarity index 84% rename from gen/dart/lib/proto/services/property_svc/v1/property_svc.pbenum.dart rename to gen/dart/lib/services/property_svc/v1/property_svc.pbenum.dart index f677d5f60..c5eb899fd 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_svc.pbenum.dart +++ b/gen/dart/lib/services/property_svc/v1/property_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_svc.proto +// source: services/property_svc/v1/property_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_svc.pbgrpc.dart b/gen/dart/lib/services/property_svc/v1/property_svc.pbgrpc.dart similarity index 90% rename from gen/dart/lib/proto/services/property_svc/v1/property_svc.pbgrpc.dart rename to gen/dart/lib/services/property_svc/v1/property_svc.pbgrpc.dart index fe78008bd..60bb1a485 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_svc.pbgrpc.dart +++ b/gen/dart/lib/services/property_svc/v1/property_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_svc.proto +// source: services/property_svc/v1/property_svc.proto // // @dart = 2.12 @@ -19,22 +19,22 @@ import 'property_svc.pb.dart' as $3; export 'property_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.property_svc.v1.PropertyService') +@$pb.GrpcServiceName('services.property_svc.v1.PropertyService') class PropertyServiceClient extends $grpc.Client { static final _$createProperty = $grpc.ClientMethod<$3.CreatePropertyRequest, $3.CreatePropertyResponse>( - '/proto.services.property_svc.v1.PropertyService/CreateProperty', + '/services.property_svc.v1.PropertyService/CreateProperty', ($3.CreatePropertyRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $3.CreatePropertyResponse.fromBuffer(value)); static final _$getProperty = $grpc.ClientMethod<$3.GetPropertyRequest, $3.GetPropertyResponse>( - '/proto.services.property_svc.v1.PropertyService/GetProperty', + '/services.property_svc.v1.PropertyService/GetProperty', ($3.GetPropertyRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $3.GetPropertyResponse.fromBuffer(value)); static final _$updateProperty = $grpc.ClientMethod<$3.UpdatePropertyRequest, $3.UpdatePropertyResponse>( - '/proto.services.property_svc.v1.PropertyService/UpdateProperty', + '/services.property_svc.v1.PropertyService/UpdateProperty', ($3.UpdatePropertyRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $3.UpdatePropertyResponse.fromBuffer(value)); static final _$getPropertiesBySubjectType = $grpc.ClientMethod<$3.GetPropertiesBySubjectTypeRequest, $3.GetPropertiesBySubjectTypeResponse>( - '/proto.services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', + '/services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', ($3.GetPropertiesBySubjectTypeRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $3.GetPropertiesBySubjectTypeResponse.fromBuffer(value)); @@ -61,9 +61,9 @@ class PropertyServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.property_svc.v1.PropertyService') +@$pb.GrpcServiceName('services.property_svc.v1.PropertyService') abstract class PropertyServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.property_svc.v1.PropertyService'; + $core.String get $name => 'services.property_svc.v1.PropertyService'; PropertyServiceBase() { $addMethod($grpc.ServiceMethod<$3.CreatePropertyRequest, $3.CreatePropertyResponse>( diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_svc.pbjson.dart b/gen/dart/lib/services/property_svc/v1/property_svc.pbjson.dart similarity index 56% rename from gen/dart/lib/proto/services/property_svc/v1/property_svc.pbjson.dart rename to gen/dart/lib/services/property_svc/v1/property_svc.pbjson.dart index d039559f2..ff944f6a5 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_svc.pbjson.dart +++ b/gen/dart/lib/services/property_svc/v1/property_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_svc.proto +// source: services/property_svc/v1/property_svc.proto // // @dart = 2.12 @@ -17,12 +17,12 @@ import 'dart:typed_data' as $typed_data; const CreatePropertyRequest$json = { '1': 'CreatePropertyRequest', '2': [ - {'1': 'subject_type', '3': 2, '4': 1, '5': 14, '6': '.proto.services.property_svc.v1.SubjectType', '10': 'subjectType'}, - {'1': 'field_type', '3': 3, '4': 1, '5': 14, '6': '.proto.services.property_svc.v1.FieldType', '10': 'fieldType'}, + {'1': 'subject_type', '3': 2, '4': 1, '5': 14, '6': '.services.property_svc.v1.SubjectType', '10': 'subjectType'}, + {'1': 'field_type', '3': 3, '4': 1, '5': 14, '6': '.services.property_svc.v1.FieldType', '10': 'fieldType'}, {'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 5, '4': 1, '5': 9, '9': 1, '10': 'description', '17': true}, {'1': 'set_id', '3': 6, '4': 1, '5': 9, '9': 2, '10': 'setId', '17': true}, - {'1': 'select_data', '3': 9, '4': 1, '5': 11, '6': '.proto.services.property_svc.v1.CreatePropertyRequest.SelectData', '9': 0, '10': 'selectData'}, + {'1': 'select_data', '3': 9, '4': 1, '5': 11, '6': '.services.property_svc.v1.CreatePropertyRequest.SelectData', '9': 0, '10': 'selectData'}, ], '3': [CreatePropertyRequest_SelectData$json], '8': [ @@ -37,7 +37,7 @@ const CreatePropertyRequest_SelectData$json = { '1': 'SelectData', '2': [ {'1': 'allow_freetext', '3': 1, '4': 1, '5': 8, '9': 0, '10': 'allowFreetext', '17': true}, - {'1': 'options', '3': 2, '4': 3, '5': 11, '6': '.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption', '10': 'options'}, + {'1': 'options', '3': 2, '4': 3, '5': 11, '6': '.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption', '10': 'options'}, ], '3': [CreatePropertyRequest_SelectData_SelectOption$json], '8': [ @@ -59,19 +59,18 @@ const CreatePropertyRequest_SelectData_SelectOption$json = { /// Descriptor for `CreatePropertyRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List createPropertyRequestDescriptor = $convert.base64Decode( - 'ChVDcmVhdGVQcm9wZXJ0eVJlcXVlc3QSTgoMc3ViamVjdF90eXBlGAIgASgOMisucHJvdG8uc2' - 'VydmljZXMucHJvcGVydHlfc3ZjLnYxLlN1YmplY3RUeXBlUgtzdWJqZWN0VHlwZRJICgpmaWVs' - 'ZF90eXBlGAMgASgOMikucHJvdG8uc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLkZpZWxkVHlwZV' - 'IJZmllbGRUeXBlEhIKBG5hbWUYBCABKAlSBG5hbWUSJQoLZGVzY3JpcHRpb24YBSABKAlIAVIL' - 'ZGVzY3JpcHRpb26IAQESGgoGc2V0X2lkGAYgASgJSAJSBXNldElkiAEBEmMKC3NlbGVjdF9kYX' - 'RhGAkgASgLMkAucHJvdG8uc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLkNyZWF0ZVByb3BlcnR5' - 'UmVxdWVzdC5TZWxlY3REYXRhSABSCnNlbGVjdERhdGEajwIKClNlbGVjdERhdGESKgoOYWxsb3' - 'dfZnJlZXRleHQYASABKAhIAFINYWxsb3dGcmVldGV4dIgBARJnCgdvcHRpb25zGAIgAygLMk0u' - 'cHJvdG8uc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLkNyZWF0ZVByb3BlcnR5UmVxdWVzdC5TZW' - 'xlY3REYXRhLlNlbGVjdE9wdGlvblIHb3B0aW9ucxpZCgxTZWxlY3RPcHRpb24SEgoEbmFtZRgB' - 'IAEoCVIEbmFtZRIlCgtkZXNjcmlwdGlvbhgCIAEoCUgAUgtkZXNjcmlwdGlvbogBAUIOCgxfZG' - 'VzY3JpcHRpb25CEQoPX2FsbG93X2ZyZWV0ZXh0QhEKD2ZpZWxkX3R5cGVfZGF0YUIOCgxfZGVz' - 'Y3JpcHRpb25CCQoHX3NldF9pZA=='); + 'ChVDcmVhdGVQcm9wZXJ0eVJlcXVlc3QSSAoMc3ViamVjdF90eXBlGAIgASgOMiUuc2VydmljZX' + 'MucHJvcGVydHlfc3ZjLnYxLlN1YmplY3RUeXBlUgtzdWJqZWN0VHlwZRJCCgpmaWVsZF90eXBl' + 'GAMgASgOMiMuc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLkZpZWxkVHlwZVIJZmllbGRUeXBlEh' + 'IKBG5hbWUYBCABKAlSBG5hbWUSJQoLZGVzY3JpcHRpb24YBSABKAlIAVILZGVzY3JpcHRpb26I' + 'AQESGgoGc2V0X2lkGAYgASgJSAJSBXNldElkiAEBEl0KC3NlbGVjdF9kYXRhGAkgASgLMjouc2' + 'VydmljZXMucHJvcGVydHlfc3ZjLnYxLkNyZWF0ZVByb3BlcnR5UmVxdWVzdC5TZWxlY3REYXRh' + 'SABSCnNlbGVjdERhdGEaiQIKClNlbGVjdERhdGESKgoOYWxsb3dfZnJlZXRleHQYASABKAhIAF' + 'INYWxsb3dGcmVldGV4dIgBARJhCgdvcHRpb25zGAIgAygLMkcuc2VydmljZXMucHJvcGVydHlf' + 'c3ZjLnYxLkNyZWF0ZVByb3BlcnR5UmVxdWVzdC5TZWxlY3REYXRhLlNlbGVjdE9wdGlvblIHb3' + 'B0aW9ucxpZCgxTZWxlY3RPcHRpb24SEgoEbmFtZRgBIAEoCVIEbmFtZRIlCgtkZXNjcmlwdGlv' + 'bhgCIAEoCUgAUgtkZXNjcmlwdGlvbogBAUIOCgxfZGVzY3JpcHRpb25CEQoPX2FsbG93X2ZyZW' + 'V0ZXh0QhEKD2ZpZWxkX3R5cGVfZGF0YUIOCgxfZGVzY3JpcHRpb25CCQoHX3NldF9pZA=='); @$core.Deprecated('Use createPropertyResponseDescriptor instead') const CreatePropertyResponse$json = { @@ -118,13 +117,13 @@ const GetPropertyResponse$json = { '1': 'GetPropertyResponse', '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'subject_type', '3': 2, '4': 1, '5': 14, '6': '.proto.services.property_svc.v1.SubjectType', '10': 'subjectType'}, - {'1': 'field_type', '3': 3, '4': 1, '5': 14, '6': '.proto.services.property_svc.v1.FieldType', '10': 'fieldType'}, + {'1': 'subject_type', '3': 2, '4': 1, '5': 14, '6': '.services.property_svc.v1.SubjectType', '10': 'subjectType'}, + {'1': 'field_type', '3': 3, '4': 1, '5': 14, '6': '.services.property_svc.v1.FieldType', '10': 'fieldType'}, {'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 5, '4': 1, '5': 9, '9': 1, '10': 'description', '17': true}, {'1': 'is_archived', '3': 6, '4': 1, '5': 8, '10': 'isArchived'}, {'1': 'set_id', '3': 8, '4': 1, '5': 9, '9': 2, '10': 'setId', '17': true}, - {'1': 'select_data', '3': 10, '4': 1, '5': 11, '6': '.proto.services.property_svc.v1.GetPropertyResponse.SelectData', '9': 0, '10': 'selectData'}, + {'1': 'select_data', '3': 10, '4': 1, '5': 11, '6': '.services.property_svc.v1.GetPropertyResponse.SelectData', '9': 0, '10': 'selectData'}, {'1': 'always_include_for_view_source', '3': 11, '4': 1, '5': 8, '9': 3, '10': 'alwaysIncludeForViewSource', '17': true}, ], '3': [GetPropertyResponse_SelectData$json], @@ -141,7 +140,7 @@ const GetPropertyResponse_SelectData$json = { '1': 'SelectData', '2': [ {'1': 'allow_freetext', '3': 1, '4': 1, '5': 8, '9': 0, '10': 'allowFreetext', '17': true}, - {'1': 'options', '3': 2, '4': 3, '5': 11, '6': '.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption', '10': 'options'}, + {'1': 'options', '3': 2, '4': 3, '5': 11, '6': '.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption', '10': 'options'}, ], '3': [GetPropertyResponse_SelectData_SelectOption$json], '8': [ @@ -165,34 +164,34 @@ const GetPropertyResponse_SelectData_SelectOption$json = { /// Descriptor for `GetPropertyResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getPropertyResponseDescriptor = $convert.base64Decode( - 'ChNHZXRQcm9wZXJ0eVJlc3BvbnNlEg4KAmlkGAEgASgJUgJpZBJOCgxzdWJqZWN0X3R5cGUYAi' - 'ABKA4yKy5wcm90by5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuU3ViamVjdFR5cGVSC3N1Ympl' - 'Y3RUeXBlEkgKCmZpZWxkX3R5cGUYAyABKA4yKS5wcm90by5zZXJ2aWNlcy5wcm9wZXJ0eV9zdm' - 'MudjEuRmllbGRUeXBlUglmaWVsZFR5cGUSEgoEbmFtZRgEIAEoCVIEbmFtZRIlCgtkZXNjcmlw' - 'dGlvbhgFIAEoCUgBUgtkZXNjcmlwdGlvbogBARIfCgtpc19hcmNoaXZlZBgGIAEoCFIKaXNBcm' - 'NoaXZlZBIaCgZzZXRfaWQYCCABKAlIAlIFc2V0SWSIAQESYQoLc2VsZWN0X2RhdGEYCiABKAsy' - 'Pi5wcm90by5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuR2V0UHJvcGVydHlSZXNwb25zZS5TZW' - 'xlY3REYXRhSABSCnNlbGVjdERhdGESRwoeYWx3YXlzX2luY2x1ZGVfZm9yX3ZpZXdfc291cmNl' - 'GAsgASgISANSGmFsd2F5c0luY2x1ZGVGb3JWaWV3U291cmNliAEBGrsCCgpTZWxlY3REYXRhEi' - 'oKDmFsbG93X2ZyZWV0ZXh0GAEgASgISABSDWFsbG93RnJlZXRleHSIAQESZQoHb3B0aW9ucxgC' - 'IAMoCzJLLnByb3RvLnNlcnZpY2VzLnByb3BlcnR5X3N2Yy52MS5HZXRQcm9wZXJ0eVJlc3Bvbn' - 'NlLlNlbGVjdERhdGEuU2VsZWN0T3B0aW9uUgdvcHRpb25zGoYBCgxTZWxlY3RPcHRpb24SDgoC' - 'aWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSJQoLZGVzY3JpcHRpb24YAyABKAlIAF' - 'ILZGVzY3JpcHRpb26IAQESGwoJaXNfY3VzdG9tGAQgASgIUghpc0N1c3RvbUIOCgxfZGVzY3Jp' - 'cHRpb25CEQoPX2FsbG93X2ZyZWV0ZXh0QhEKD2ZpZWxkX3R5cGVfZGF0YUIOCgxfZGVzY3JpcH' - 'Rpb25CCQoHX3NldF9pZEIhCh9fYWx3YXlzX2luY2x1ZGVfZm9yX3ZpZXdfc291cmNl'); + 'ChNHZXRQcm9wZXJ0eVJlc3BvbnNlEg4KAmlkGAEgASgJUgJpZBJICgxzdWJqZWN0X3R5cGUYAi' + 'ABKA4yJS5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuU3ViamVjdFR5cGVSC3N1YmplY3RUeXBl' + 'EkIKCmZpZWxkX3R5cGUYAyABKA4yIy5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuRmllbGRUeX' + 'BlUglmaWVsZFR5cGUSEgoEbmFtZRgEIAEoCVIEbmFtZRIlCgtkZXNjcmlwdGlvbhgFIAEoCUgB' + 'UgtkZXNjcmlwdGlvbogBARIfCgtpc19hcmNoaXZlZBgGIAEoCFIKaXNBcmNoaXZlZBIaCgZzZX' + 'RfaWQYCCABKAlIAlIFc2V0SWSIAQESWwoLc2VsZWN0X2RhdGEYCiABKAsyOC5zZXJ2aWNlcy5w' + 'cm9wZXJ0eV9zdmMudjEuR2V0UHJvcGVydHlSZXNwb25zZS5TZWxlY3REYXRhSABSCnNlbGVjdE' + 'RhdGESRwoeYWx3YXlzX2luY2x1ZGVfZm9yX3ZpZXdfc291cmNlGAsgASgISANSGmFsd2F5c0lu' + 'Y2x1ZGVGb3JWaWV3U291cmNliAEBGrUCCgpTZWxlY3REYXRhEioKDmFsbG93X2ZyZWV0ZXh0GA' + 'EgASgISABSDWFsbG93RnJlZXRleHSIAQESXwoHb3B0aW9ucxgCIAMoCzJFLnNlcnZpY2VzLnBy' + 'b3BlcnR5X3N2Yy52MS5HZXRQcm9wZXJ0eVJlc3BvbnNlLlNlbGVjdERhdGEuU2VsZWN0T3B0aW' + '9uUgdvcHRpb25zGoYBCgxTZWxlY3RPcHRpb24SDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiAB' + 'KAlSBG5hbWUSJQoLZGVzY3JpcHRpb24YAyABKAlIAFILZGVzY3JpcHRpb26IAQESGwoJaXNfY3' + 'VzdG9tGAQgASgIUghpc0N1c3RvbUIOCgxfZGVzY3JpcHRpb25CEQoPX2FsbG93X2ZyZWV0ZXh0' + 'QhEKD2ZpZWxkX3R5cGVfZGF0YUIOCgxfZGVzY3JpcHRpb25CCQoHX3NldF9pZEIhCh9fYWx3YX' + 'lzX2luY2x1ZGVfZm9yX3ZpZXdfc291cmNl'); @$core.Deprecated('Use updatePropertyRequestDescriptor instead') const UpdatePropertyRequest$json = { '1': 'UpdatePropertyRequest', '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'subject_type', '3': 2, '4': 1, '5': 14, '6': '.proto.services.property_svc.v1.SubjectType', '9': 1, '10': 'subjectType', '17': true}, + {'1': 'subject_type', '3': 2, '4': 1, '5': 14, '6': '.services.property_svc.v1.SubjectType', '9': 1, '10': 'subjectType', '17': true}, {'1': 'name', '3': 4, '4': 1, '5': 9, '9': 2, '10': 'name', '17': true}, {'1': 'description', '3': 5, '4': 1, '5': 9, '9': 3, '10': 'description', '17': true}, {'1': 'is_archived', '3': 6, '4': 1, '5': 8, '9': 4, '10': 'isArchived', '17': true}, {'1': 'set_id', '3': 8, '4': 1, '5': 9, '9': 5, '10': 'setId', '17': true}, - {'1': 'select_data', '3': 10, '4': 1, '5': 11, '6': '.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData', '9': 0, '10': 'selectData'}, + {'1': 'select_data', '3': 10, '4': 1, '5': 11, '6': '.services.property_svc.v1.UpdatePropertyRequest.SelectData', '9': 0, '10': 'selectData'}, ], '3': [UpdatePropertyRequest_SelectData$json], '8': [ @@ -211,7 +210,7 @@ const UpdatePropertyRequest_SelectData$json = { '2': [ {'1': 'allow_freetext', '3': 1, '4': 1, '5': 8, '9': 0, '10': 'allowFreetext', '17': true}, {'1': 'remove_options', '3': 2, '4': 3, '5': 9, '10': 'removeOptions'}, - {'1': 'upsert_options', '3': 3, '4': 3, '5': 11, '6': '.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption', '10': 'upsertOptions'}, + {'1': 'upsert_options', '3': 3, '4': 3, '5': 11, '6': '.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption', '10': 'upsertOptions'}, ], '3': [UpdatePropertyRequest_SelectData_SelectOption$json], '8': [ @@ -237,22 +236,21 @@ const UpdatePropertyRequest_SelectData_SelectOption$json = { /// Descriptor for `UpdatePropertyRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List updatePropertyRequestDescriptor = $convert.base64Decode( - 'ChVVcGRhdGVQcm9wZXJ0eVJlcXVlc3QSDgoCaWQYASABKAlSAmlkElMKDHN1YmplY3RfdHlwZR' - 'gCIAEoDjIrLnByb3RvLnNlcnZpY2VzLnByb3BlcnR5X3N2Yy52MS5TdWJqZWN0VHlwZUgBUgtz' - 'dWJqZWN0VHlwZYgBARIXCgRuYW1lGAQgASgJSAJSBG5hbWWIAQESJQoLZGVzY3JpcHRpb24YBS' - 'ABKAlIA1ILZGVzY3JpcHRpb26IAQESJAoLaXNfYXJjaGl2ZWQYBiABKAhIBFIKaXNBcmNoaXZl' - 'ZIgBARIaCgZzZXRfaWQYCCABKAlIBVIFc2V0SWSIAQESYwoLc2VsZWN0X2RhdGEYCiABKAsyQC' - '5wcm90by5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuVXBkYXRlUHJvcGVydHlSZXF1ZXN0LlNl' - 'bGVjdERhdGFIAFIKc2VsZWN0RGF0YRqSAwoKU2VsZWN0RGF0YRIqCg5hbGxvd19mcmVldGV4dB' - 'gBIAEoCEgAUg1hbGxvd0ZyZWV0ZXh0iAEBEiUKDnJlbW92ZV9vcHRpb25zGAIgAygJUg1yZW1v' - 'dmVPcHRpb25zEnQKDnVwc2VydF9vcHRpb25zGAMgAygLMk0ucHJvdG8uc2VydmljZXMucHJvcG' - 'VydHlfc3ZjLnYxLlVwZGF0ZVByb3BlcnR5UmVxdWVzdC5TZWxlY3REYXRhLlNlbGVjdE9wdGlv' - 'blINdXBzZXJ0T3B0aW9ucxqnAQoMU2VsZWN0T3B0aW9uEg4KAmlkGAEgASgJUgJpZBIXCgRuYW' - '1lGAIgASgJSABSBG5hbWWIAQESJQoLZGVzY3JpcHRpb24YAyABKAlIAVILZGVzY3JpcHRpb26I' - 'AQESIAoJaXNfY3VzdG9tGAQgASgISAJSCGlzQ3VzdG9tiAEBQgcKBV9uYW1lQg4KDF9kZXNjcm' - 'lwdGlvbkIMCgpfaXNfY3VzdG9tQhEKD19hbGxvd19mcmVldGV4dEIRCg9maWVsZF90eXBlX2Rh' - 'dGFCDwoNX3N1YmplY3RfdHlwZUIHCgVfbmFtZUIOCgxfZGVzY3JpcHRpb25CDgoMX2lzX2FyY2' - 'hpdmVkQgkKB19zZXRfaWQ='); + 'ChVVcGRhdGVQcm9wZXJ0eVJlcXVlc3QSDgoCaWQYASABKAlSAmlkEk0KDHN1YmplY3RfdHlwZR' + 'gCIAEoDjIlLnNlcnZpY2VzLnByb3BlcnR5X3N2Yy52MS5TdWJqZWN0VHlwZUgBUgtzdWJqZWN0' + 'VHlwZYgBARIXCgRuYW1lGAQgASgJSAJSBG5hbWWIAQESJQoLZGVzY3JpcHRpb24YBSABKAlIA1' + 'ILZGVzY3JpcHRpb26IAQESJAoLaXNfYXJjaGl2ZWQYBiABKAhIBFIKaXNBcmNoaXZlZIgBARIa' + 'CgZzZXRfaWQYCCABKAlIBVIFc2V0SWSIAQESXQoLc2VsZWN0X2RhdGEYCiABKAsyOi5zZXJ2aW' + 'Nlcy5wcm9wZXJ0eV9zdmMudjEuVXBkYXRlUHJvcGVydHlSZXF1ZXN0LlNlbGVjdERhdGFIAFIK' + 'c2VsZWN0RGF0YRqMAwoKU2VsZWN0RGF0YRIqCg5hbGxvd19mcmVldGV4dBgBIAEoCEgAUg1hbG' + 'xvd0ZyZWV0ZXh0iAEBEiUKDnJlbW92ZV9vcHRpb25zGAIgAygJUg1yZW1vdmVPcHRpb25zEm4K' + 'DnVwc2VydF9vcHRpb25zGAMgAygLMkcuc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLlVwZGF0ZV' + 'Byb3BlcnR5UmVxdWVzdC5TZWxlY3REYXRhLlNlbGVjdE9wdGlvblINdXBzZXJ0T3B0aW9ucxqn' + 'AQoMU2VsZWN0T3B0aW9uEg4KAmlkGAEgASgJUgJpZBIXCgRuYW1lGAIgASgJSABSBG5hbWWIAQ' + 'ESJQoLZGVzY3JpcHRpb24YAyABKAlIAVILZGVzY3JpcHRpb26IAQESIAoJaXNfY3VzdG9tGAQg' + 'ASgISAJSCGlzQ3VzdG9tiAEBQgcKBV9uYW1lQg4KDF9kZXNjcmlwdGlvbkIMCgpfaXNfY3VzdG' + '9tQhEKD19hbGxvd19mcmVldGV4dEIRCg9maWVsZF90eXBlX2RhdGFCDwoNX3N1YmplY3RfdHlw' + 'ZUIHCgVfbmFtZUIOCgxfZGVzY3JpcHRpb25CDgoMX2lzX2FyY2hpdmVkQgkKB19zZXRfaWQ='); @$core.Deprecated('Use updatePropertyResponseDescriptor instead') const UpdatePropertyResponse$json = { @@ -267,21 +265,20 @@ final $typed_data.Uint8List updatePropertyResponseDescriptor = $convert.base64De const GetPropertiesBySubjectTypeRequest$json = { '1': 'GetPropertiesBySubjectTypeRequest', '2': [ - {'1': 'subject_type', '3': 1, '4': 1, '5': 14, '6': '.proto.services.property_svc.v1.SubjectType', '10': 'subjectType'}, + {'1': 'subject_type', '3': 1, '4': 1, '5': 14, '6': '.services.property_svc.v1.SubjectType', '10': 'subjectType'}, ], }; /// Descriptor for `GetPropertiesBySubjectTypeRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getPropertiesBySubjectTypeRequestDescriptor = $convert.base64Decode( - 'CiFHZXRQcm9wZXJ0aWVzQnlTdWJqZWN0VHlwZVJlcXVlc3QSTgoMc3ViamVjdF90eXBlGAEgAS' - 'gOMisucHJvdG8uc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLlN1YmplY3RUeXBlUgtzdWJqZWN0' - 'VHlwZQ=='); + 'CiFHZXRQcm9wZXJ0aWVzQnlTdWJqZWN0VHlwZVJlcXVlc3QSSAoMc3ViamVjdF90eXBlGAEgAS' + 'gOMiUuc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLlN1YmplY3RUeXBlUgtzdWJqZWN0VHlwZQ=='); @$core.Deprecated('Use getPropertiesBySubjectTypeResponseDescriptor instead') const GetPropertiesBySubjectTypeResponse$json = { '1': 'GetPropertiesBySubjectTypeResponse', '2': [ - {'1': 'properties', '3': 1, '4': 3, '5': 11, '6': '.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property', '10': 'properties'}, + {'1': 'properties', '3': 1, '4': 3, '5': 11, '6': '.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property', '10': 'properties'}, ], '3': [GetPropertiesBySubjectTypeResponse_Property$json], }; @@ -291,13 +288,13 @@ const GetPropertiesBySubjectTypeResponse_Property$json = { '1': 'Property', '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'subject_type', '3': 2, '4': 1, '5': 14, '6': '.proto.services.property_svc.v1.SubjectType', '10': 'subjectType'}, - {'1': 'field_type', '3': 3, '4': 1, '5': 14, '6': '.proto.services.property_svc.v1.FieldType', '10': 'fieldType'}, + {'1': 'subject_type', '3': 2, '4': 1, '5': 14, '6': '.services.property_svc.v1.SubjectType', '10': 'subjectType'}, + {'1': 'field_type', '3': 3, '4': 1, '5': 14, '6': '.services.property_svc.v1.FieldType', '10': 'fieldType'}, {'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 5, '4': 1, '5': 9, '9': 1, '10': 'description', '17': true}, {'1': 'is_archived', '3': 6, '4': 1, '5': 8, '10': 'isArchived'}, {'1': 'set_id', '3': 8, '4': 1, '5': 9, '9': 2, '10': 'setId', '17': true}, - {'1': 'select_data', '3': 10, '4': 1, '5': 11, '6': '.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData', '9': 0, '10': 'selectData'}, + {'1': 'select_data', '3': 10, '4': 1, '5': 11, '6': '.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData', '9': 0, '10': 'selectData'}, ], '3': [GetPropertiesBySubjectTypeResponse_Property_SelectData$json], '8': [ @@ -312,7 +309,7 @@ const GetPropertiesBySubjectTypeResponse_Property_SelectData$json = { '1': 'SelectData', '2': [ {'1': 'allow_freetext', '3': 1, '4': 1, '5': 8, '9': 0, '10': 'allowFreetext', '17': true}, - {'1': 'options', '3': 2, '4': 3, '5': 11, '6': '.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption', '10': 'options'}, + {'1': 'options', '3': 2, '4': 3, '5': 11, '6': '.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption', '10': 'options'}, ], '3': [GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption$json], '8': [ @@ -336,22 +333,21 @@ const GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption$json = /// Descriptor for `GetPropertiesBySubjectTypeResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getPropertiesBySubjectTypeResponseDescriptor = $convert.base64Decode( - 'CiJHZXRQcm9wZXJ0aWVzQnlTdWJqZWN0VHlwZVJlc3BvbnNlEmsKCnByb3BlcnRpZXMYASADKA' - 'sySy5wcm90by5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuR2V0UHJvcGVydGllc0J5U3ViamVj' - 'dFR5cGVSZXNwb25zZS5Qcm9wZXJ0eVIKcHJvcGVydGllcxqrBgoIUHJvcGVydHkSDgoCaWQYAS' - 'ABKAlSAmlkEk4KDHN1YmplY3RfdHlwZRgCIAEoDjIrLnByb3RvLnNlcnZpY2VzLnByb3BlcnR5' - 'X3N2Yy52MS5TdWJqZWN0VHlwZVILc3ViamVjdFR5cGUSSAoKZmllbGRfdHlwZRgDIAEoDjIpLn' - 'Byb3RvLnNlcnZpY2VzLnByb3BlcnR5X3N2Yy52MS5GaWVsZFR5cGVSCWZpZWxkVHlwZRISCgRu' - 'YW1lGAQgASgJUgRuYW1lEiUKC2Rlc2NyaXB0aW9uGAUgASgJSAFSC2Rlc2NyaXB0aW9uiAEBEh' - '8KC2lzX2FyY2hpdmVkGAYgASgIUgppc0FyY2hpdmVkEhoKBnNldF9pZBgIIAEoCUgCUgVzZXRJ' - 'ZIgBARJ5CgtzZWxlY3RfZGF0YRgKIAEoCzJWLnByb3RvLnNlcnZpY2VzLnByb3BlcnR5X3N2Yy' - '52MS5HZXRQcm9wZXJ0aWVzQnlTdWJqZWN0VHlwZVJlc3BvbnNlLlByb3BlcnR5LlNlbGVjdERh' - 'dGFIAFIKc2VsZWN0RGF0YRrTAgoKU2VsZWN0RGF0YRIqCg5hbGxvd19mcmVldGV4dBgBIAEoCE' - 'gAUg1hbGxvd0ZyZWV0ZXh0iAEBEn0KB29wdGlvbnMYAiADKAsyYy5wcm90by5zZXJ2aWNlcy5w' - 'cm9wZXJ0eV9zdmMudjEuR2V0UHJvcGVydGllc0J5U3ViamVjdFR5cGVSZXNwb25zZS5Qcm9wZX' - 'J0eS5TZWxlY3REYXRhLlNlbGVjdE9wdGlvblIHb3B0aW9ucxqGAQoMU2VsZWN0T3B0aW9uEg4K' - 'AmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEiUKC2Rlc2NyaXB0aW9uGAMgASgJSA' - 'BSC2Rlc2NyaXB0aW9uiAEBEhsKCWlzX2N1c3RvbRgEIAEoCFIIaXNDdXN0b21CDgoMX2Rlc2Ny' - 'aXB0aW9uQhEKD19hbGxvd19mcmVldGV4dEIRCg9maWVsZF90eXBlX2RhdGFCDgoMX2Rlc2NyaX' - 'B0aW9uQgkKB19zZXRfaWQ='); + 'CiJHZXRQcm9wZXJ0aWVzQnlTdWJqZWN0VHlwZVJlc3BvbnNlEmUKCnByb3BlcnRpZXMYASADKA' + 'syRS5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuR2V0UHJvcGVydGllc0J5U3ViamVjdFR5cGVS' + 'ZXNwb25zZS5Qcm9wZXJ0eVIKcHJvcGVydGllcxqTBgoIUHJvcGVydHkSDgoCaWQYASABKAlSAm' + 'lkEkgKDHN1YmplY3RfdHlwZRgCIAEoDjIlLnNlcnZpY2VzLnByb3BlcnR5X3N2Yy52MS5TdWJq' + 'ZWN0VHlwZVILc3ViamVjdFR5cGUSQgoKZmllbGRfdHlwZRgDIAEoDjIjLnNlcnZpY2VzLnByb3' + 'BlcnR5X3N2Yy52MS5GaWVsZFR5cGVSCWZpZWxkVHlwZRISCgRuYW1lGAQgASgJUgRuYW1lEiUK' + 'C2Rlc2NyaXB0aW9uGAUgASgJSAFSC2Rlc2NyaXB0aW9uiAEBEh8KC2lzX2FyY2hpdmVkGAYgAS' + 'gIUgppc0FyY2hpdmVkEhoKBnNldF9pZBgIIAEoCUgCUgVzZXRJZIgBARJzCgtzZWxlY3RfZGF0' + 'YRgKIAEoCzJQLnNlcnZpY2VzLnByb3BlcnR5X3N2Yy52MS5HZXRQcm9wZXJ0aWVzQnlTdWJqZW' + 'N0VHlwZVJlc3BvbnNlLlByb3BlcnR5LlNlbGVjdERhdGFIAFIKc2VsZWN0RGF0YRrNAgoKU2Vs' + 'ZWN0RGF0YRIqCg5hbGxvd19mcmVldGV4dBgBIAEoCEgAUg1hbGxvd0ZyZWV0ZXh0iAEBEncKB2' + '9wdGlvbnMYAiADKAsyXS5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuR2V0UHJvcGVydGllc0J5' + 'U3ViamVjdFR5cGVSZXNwb25zZS5Qcm9wZXJ0eS5TZWxlY3REYXRhLlNlbGVjdE9wdGlvblIHb3' + 'B0aW9ucxqGAQoMU2VsZWN0T3B0aW9uEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRu' + 'YW1lEiUKC2Rlc2NyaXB0aW9uGAMgASgJSABSC2Rlc2NyaXB0aW9uiAEBEhsKCWlzX2N1c3RvbR' + 'gEIAEoCFIIaXNDdXN0b21CDgoMX2Rlc2NyaXB0aW9uQhEKD19hbGxvd19mcmVldGV4dEIRCg9m' + 'aWVsZF90eXBlX2RhdGFCDgoMX2Rlc2NyaXB0aW9uQgkKB19zZXRfaWQ='); diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pb.dart b/gen/dart/lib/services/property_svc/v1/property_value_svc.pb.dart similarity index 97% rename from gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pb.dart rename to gen/dart/lib/services/property_svc/v1/property_value_svc.pb.dart index c958626d5..4626fbb4d 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pb.dart +++ b/gen/dart/lib/services/property_svc/v1/property_value_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_value_svc.proto +// source: services/property_svc/v1/property_value_svc.proto // // @dart = 2.12 @@ -13,7 +13,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../../google/protobuf/timestamp.pb.dart' as $17; +import '../../../google/protobuf/timestamp.pb.dart' as $17; import 'types.pb.dart' as $16; import 'types.pbenum.dart' as $16; @@ -80,7 +80,7 @@ class AttachPropertyValueRequest extends $pb.GeneratedMessage { 8 : AttachPropertyValueRequest_Value.selectValue, 0 : AttachPropertyValueRequest_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttachPropertyValueRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttachPropertyValueRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [3, 4, 5, 6, 7, 8]) ..aOS(1, _omitFieldNames ? '' : 'subjectId') ..aOS(2, _omitFieldNames ? '' : 'propertyId') @@ -208,7 +208,7 @@ class AttachPropertyValueResponse extends $pb.GeneratedMessage { factory AttachPropertyValueResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AttachPropertyValueResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttachPropertyValueResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttachPropertyValueResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'propertyValueId') ..hasRequiredFields = false ; @@ -262,7 +262,7 @@ class TaskPropertyMatcher extends $pb.GeneratedMessage { factory TaskPropertyMatcher.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory TaskPropertyMatcher.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskPropertyMatcher', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskPropertyMatcher', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'wardId') ..aOS(2, _omitFieldNames ? '' : 'taskId') ..hasRequiredFields = false @@ -331,7 +331,7 @@ class GetAttachedPropertyValuesRequest extends $pb.GeneratedMessage { 1 : GetAttachedPropertyValuesRequest_Matcher.taskMatcher, 0 : GetAttachedPropertyValuesRequest_Matcher.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAttachedPropertyValuesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAttachedPropertyValuesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [1]) ..aOM(1, _omitFieldNames ? '' : 'taskMatcher', subBuilder: TaskPropertyMatcher.create) ..hasRequiredFields = false @@ -446,7 +446,7 @@ class GetAttachedPropertyValuesResponse_Value extends $pb.GeneratedMessage { 11 : GetAttachedPropertyValuesResponse_Value_Value.selectValue, 0 : GetAttachedPropertyValuesResponse_Value_Value.notSet }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAttachedPropertyValuesResponse.Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAttachedPropertyValuesResponse.Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [6, 7, 8, 9, 10, 11]) ..aOS(1, _omitFieldNames ? '' : 'propertyId') ..e<$16.FieldType>(2, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, defaultOrMaker: $16.FieldType.FIELD_TYPE_UNSPECIFIED, valueOf: $16.FieldType.valueOf, enumValues: $16.FieldType.values) @@ -604,7 +604,7 @@ class GetAttachedPropertyValuesResponse extends $pb.GeneratedMessage { factory GetAttachedPropertyValuesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAttachedPropertyValuesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAttachedPropertyValuesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAttachedPropertyValuesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.PM, subBuilder: GetAttachedPropertyValuesResponse_Value.create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pbenum.dart b/gen/dart/lib/services/property_svc/v1/property_value_svc.pbenum.dart similarity index 83% rename from gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pbenum.dart rename to gen/dart/lib/services/property_svc/v1/property_value_svc.pbenum.dart index ba713983d..22242191b 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pbenum.dart +++ b/gen/dart/lib/services/property_svc/v1/property_value_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_value_svc.proto +// source: services/property_svc/v1/property_value_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pbgrpc.dart b/gen/dart/lib/services/property_svc/v1/property_value_svc.pbgrpc.dart similarity index 88% rename from gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pbgrpc.dart rename to gen/dart/lib/services/property_svc/v1/property_value_svc.pbgrpc.dart index 520abb25e..74ec2f7ed 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pbgrpc.dart +++ b/gen/dart/lib/services/property_svc/v1/property_value_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_value_svc.proto +// source: services/property_svc/v1/property_value_svc.proto // // @dart = 2.12 @@ -19,14 +19,14 @@ import 'property_value_svc.pb.dart' as $4; export 'property_value_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.property_svc.v1.PropertyValueService') +@$pb.GrpcServiceName('services.property_svc.v1.PropertyValueService') class PropertyValueServiceClient extends $grpc.Client { static final _$attachPropertyValue = $grpc.ClientMethod<$4.AttachPropertyValueRequest, $4.AttachPropertyValueResponse>( - '/proto.services.property_svc.v1.PropertyValueService/AttachPropertyValue', + '/services.property_svc.v1.PropertyValueService/AttachPropertyValue', ($4.AttachPropertyValueRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $4.AttachPropertyValueResponse.fromBuffer(value)); static final _$getAttachedPropertyValues = $grpc.ClientMethod<$4.GetAttachedPropertyValuesRequest, $4.GetAttachedPropertyValuesResponse>( - '/proto.services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', + '/services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', ($4.GetAttachedPropertyValuesRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $4.GetAttachedPropertyValuesResponse.fromBuffer(value)); @@ -45,9 +45,9 @@ class PropertyValueServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.property_svc.v1.PropertyValueService') +@$pb.GrpcServiceName('services.property_svc.v1.PropertyValueService') abstract class PropertyValueServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.property_svc.v1.PropertyValueService'; + $core.String get $name => 'services.property_svc.v1.PropertyValueService'; PropertyValueServiceBase() { $addMethod($grpc.ServiceMethod<$4.AttachPropertyValueRequest, $4.AttachPropertyValueResponse>( diff --git a/gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pbjson.dart b/gen/dart/lib/services/property_svc/v1/property_value_svc.pbjson.dart similarity index 68% rename from gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pbjson.dart rename to gen/dart/lib/services/property_svc/v1/property_value_svc.pbjson.dart index 2a106d78c..622ea03ec 100644 --- a/gen/dart/lib/proto/services/property_svc/v1/property_value_svc.pbjson.dart +++ b/gen/dart/lib/services/property_svc/v1/property_value_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/property_svc/v1/property_value_svc.proto +// source: services/property_svc/v1/property_value_svc.proto // // @dart = 2.12 @@ -22,7 +22,7 @@ const AttachPropertyValueRequest$json = { {'1': 'text_value', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'textValue'}, {'1': 'number_value', '3': 4, '4': 1, '5': 1, '9': 0, '10': 'numberValue'}, {'1': 'bool_value', '3': 5, '4': 1, '5': 8, '9': 0, '10': 'boolValue'}, - {'1': 'date_value', '3': 6, '4': 1, '5': 11, '6': '.proto.services.property_svc.v1.Date', '9': 0, '10': 'dateValue'}, + {'1': 'date_value', '3': 6, '4': 1, '5': 11, '6': '.services.property_svc.v1.Date', '9': 0, '10': 'dateValue'}, {'1': 'date_time_value', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '9': 0, '10': 'dateTimeValue'}, {'1': 'select_value', '3': 8, '4': 1, '5': 9, '9': 0, '10': 'selectValue'}, ], @@ -36,10 +36,10 @@ final $typed_data.Uint8List attachPropertyValueRequestDescriptor = $convert.base 'ChpBdHRhY2hQcm9wZXJ0eVZhbHVlUmVxdWVzdBIdCgpzdWJqZWN0X2lkGAEgASgJUglzdWJqZW' 'N0SWQSHwoLcHJvcGVydHlfaWQYAiABKAlSCnByb3BlcnR5SWQSHwoKdGV4dF92YWx1ZRgDIAEo' 'CUgAUgl0ZXh0VmFsdWUSIwoMbnVtYmVyX3ZhbHVlGAQgASgBSABSC251bWJlclZhbHVlEh8KCm' - 'Jvb2xfdmFsdWUYBSABKAhIAFIJYm9vbFZhbHVlEkUKCmRhdGVfdmFsdWUYBiABKAsyJC5wcm90' - 'by5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuRGF0ZUgAUglkYXRlVmFsdWUSRAoPZGF0ZV90aW' - '1lX3ZhbHVlGAcgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAUg1kYXRlVGltZVZh' - 'bHVlEiMKDHNlbGVjdF92YWx1ZRgIIAEoCUgAUgtzZWxlY3RWYWx1ZUIHCgV2YWx1ZQ=='); + 'Jvb2xfdmFsdWUYBSABKAhIAFIJYm9vbFZhbHVlEj8KCmRhdGVfdmFsdWUYBiABKAsyHi5zZXJ2' + 'aWNlcy5wcm9wZXJ0eV9zdmMudjEuRGF0ZUgAUglkYXRlVmFsdWUSRAoPZGF0ZV90aW1lX3ZhbH' + 'VlGAcgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAUg1kYXRlVGltZVZhbHVlEiMK' + 'DHNlbGVjdF92YWx1ZRgIIAEoCUgAUgtzZWxlY3RWYWx1ZUIHCgV2YWx1ZQ=='); @$core.Deprecated('Use attachPropertyValueResponseDescriptor instead') const AttachPropertyValueResponse$json = { @@ -76,7 +76,7 @@ final $typed_data.Uint8List taskPropertyMatcherDescriptor = $convert.base64Decod const GetAttachedPropertyValuesRequest$json = { '1': 'GetAttachedPropertyValuesRequest', '2': [ - {'1': 'task_matcher', '3': 1, '4': 1, '5': 11, '6': '.proto.services.property_svc.v1.TaskPropertyMatcher', '9': 0, '10': 'taskMatcher'}, + {'1': 'task_matcher', '3': 1, '4': 1, '5': 11, '6': '.services.property_svc.v1.TaskPropertyMatcher', '9': 0, '10': 'taskMatcher'}, ], '8': [ {'1': 'matcher'}, @@ -85,15 +85,15 @@ const GetAttachedPropertyValuesRequest$json = { /// Descriptor for `GetAttachedPropertyValuesRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getAttachedPropertyValuesRequestDescriptor = $convert.base64Decode( - 'CiBHZXRBdHRhY2hlZFByb3BlcnR5VmFsdWVzUmVxdWVzdBJYCgx0YXNrX21hdGNoZXIYASABKA' - 'syMy5wcm90by5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuVGFza1Byb3BlcnR5TWF0Y2hlckgA' - 'Ugt0YXNrTWF0Y2hlckIJCgdtYXRjaGVy'); + 'CiBHZXRBdHRhY2hlZFByb3BlcnR5VmFsdWVzUmVxdWVzdBJSCgx0YXNrX21hdGNoZXIYASABKA' + 'syLS5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuVGFza1Byb3BlcnR5TWF0Y2hlckgAUgt0YXNr' + 'TWF0Y2hlckIJCgdtYXRjaGVy'); @$core.Deprecated('Use getAttachedPropertyValuesResponseDescriptor instead') const GetAttachedPropertyValuesResponse$json = { '1': 'GetAttachedPropertyValuesResponse', '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value', '10': 'values'}, + {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value', '10': 'values'}, ], '3': [GetAttachedPropertyValuesResponse_Value$json], }; @@ -103,14 +103,14 @@ const GetAttachedPropertyValuesResponse_Value$json = { '1': 'Value', '2': [ {'1': 'property_id', '3': 1, '4': 1, '5': 9, '10': 'propertyId'}, - {'1': 'field_type', '3': 2, '4': 1, '5': 14, '6': '.proto.services.property_svc.v1.FieldType', '10': 'fieldType'}, + {'1': 'field_type', '3': 2, '4': 1, '5': 14, '6': '.services.property_svc.v1.FieldType', '10': 'fieldType'}, {'1': 'name', '3': 3, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 4, '4': 1, '5': 9, '9': 1, '10': 'description', '17': true}, {'1': 'is_archived', '3': 5, '4': 1, '5': 8, '10': 'isArchived'}, {'1': 'text_value', '3': 6, '4': 1, '5': 9, '9': 0, '10': 'textValue'}, {'1': 'number_value', '3': 7, '4': 1, '5': 1, '9': 0, '10': 'numberValue'}, {'1': 'bool_value', '3': 8, '4': 1, '5': 8, '9': 0, '10': 'boolValue'}, - {'1': 'date_value', '3': 9, '4': 1, '5': 11, '6': '.proto.services.property_svc.v1.Date', '9': 0, '10': 'dateValue'}, + {'1': 'date_value', '3': 9, '4': 1, '5': 11, '6': '.services.property_svc.v1.Date', '9': 0, '10': 'dateValue'}, {'1': 'date_time_value', '3': 10, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '9': 0, '10': 'dateTimeValue'}, {'1': 'select_value', '3': 11, '4': 1, '5': 9, '9': 0, '10': 'selectValue'}, ], @@ -122,16 +122,16 @@ const GetAttachedPropertyValuesResponse_Value$json = { /// Descriptor for `GetAttachedPropertyValuesResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getAttachedPropertyValuesResponseDescriptor = $convert.base64Decode( - 'CiFHZXRBdHRhY2hlZFByb3BlcnR5VmFsdWVzUmVzcG9uc2USXwoGdmFsdWVzGAEgAygLMkcucH' - 'JvdG8uc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLkdldEF0dGFjaGVkUHJvcGVydHlWYWx1ZXNS' - 'ZXNwb25zZS5WYWx1ZVIGdmFsdWVzGoAECgVWYWx1ZRIfCgtwcm9wZXJ0eV9pZBgBIAEoCVIKcH' - 'JvcGVydHlJZBJICgpmaWVsZF90eXBlGAIgASgOMikucHJvdG8uc2VydmljZXMucHJvcGVydHlf' - 'c3ZjLnYxLkZpZWxkVHlwZVIJZmllbGRUeXBlEhIKBG5hbWUYAyABKAlSBG5hbWUSJQoLZGVzY3' - 'JpcHRpb24YBCABKAlIAVILZGVzY3JpcHRpb26IAQESHwoLaXNfYXJjaGl2ZWQYBSABKAhSCmlz' - 'QXJjaGl2ZWQSHwoKdGV4dF92YWx1ZRgGIAEoCUgAUgl0ZXh0VmFsdWUSIwoMbnVtYmVyX3ZhbH' - 'VlGAcgASgBSABSC251bWJlclZhbHVlEh8KCmJvb2xfdmFsdWUYCCABKAhIAFIJYm9vbFZhbHVl' - 'EkUKCmRhdGVfdmFsdWUYCSABKAsyJC5wcm90by5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuRG' - 'F0ZUgAUglkYXRlVmFsdWUSRAoPZGF0ZV90aW1lX3ZhbHVlGAogASgLMhouZ29vZ2xlLnByb3Rv' - 'YnVmLlRpbWVzdGFtcEgAUg1kYXRlVGltZVZhbHVlEiMKDHNlbGVjdF92YWx1ZRgLIAEoCUgAUg' - 'tzZWxlY3RWYWx1ZUIHCgV2YWx1ZUIOCgxfZGVzY3JpcHRpb24='); + 'CiFHZXRBdHRhY2hlZFByb3BlcnR5VmFsdWVzUmVzcG9uc2USWQoGdmFsdWVzGAEgAygLMkEuc2' + 'VydmljZXMucHJvcGVydHlfc3ZjLnYxLkdldEF0dGFjaGVkUHJvcGVydHlWYWx1ZXNSZXNwb25z' + 'ZS5WYWx1ZVIGdmFsdWVzGvQDCgVWYWx1ZRIfCgtwcm9wZXJ0eV9pZBgBIAEoCVIKcHJvcGVydH' + 'lJZBJCCgpmaWVsZF90eXBlGAIgASgOMiMuc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLkZpZWxk' + 'VHlwZVIJZmllbGRUeXBlEhIKBG5hbWUYAyABKAlSBG5hbWUSJQoLZGVzY3JpcHRpb24YBCABKA' + 'lIAVILZGVzY3JpcHRpb26IAQESHwoLaXNfYXJjaGl2ZWQYBSABKAhSCmlzQXJjaGl2ZWQSHwoK' + 'dGV4dF92YWx1ZRgGIAEoCUgAUgl0ZXh0VmFsdWUSIwoMbnVtYmVyX3ZhbHVlGAcgASgBSABSC2' + '51bWJlclZhbHVlEh8KCmJvb2xfdmFsdWUYCCABKAhIAFIJYm9vbFZhbHVlEj8KCmRhdGVfdmFs' + 'dWUYCSABKAsyHi5zZXJ2aWNlcy5wcm9wZXJ0eV9zdmMudjEuRGF0ZUgAUglkYXRlVmFsdWUSRA' + 'oPZGF0ZV90aW1lX3ZhbHVlGAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAUg1k' + 'YXRlVGltZVZhbHVlEiMKDHNlbGVjdF92YWx1ZRgLIAEoCUgAUgtzZWxlY3RWYWx1ZUIHCgV2YW' + 'x1ZUIOCgxfZGVzY3JpcHRpb24='); diff --git a/gen/dart/lib/services/property_svc/v1/property_views_svc.pb.dart b/gen/dart/lib/services/property_svc/v1/property_views_svc.pb.dart new file mode 100644 index 000000000..61f2b0bfb --- /dev/null +++ b/gen/dart/lib/services/property_svc/v1/property_views_svc.pb.dart @@ -0,0 +1,207 @@ +// +// Generated code. Do not modify. +// source: services/property_svc/v1/property_views_svc.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +import 'property_value_svc.pb.dart' as $4; + +class FilterUpdate extends $pb.GeneratedMessage { + factory FilterUpdate({ + $core.Iterable<$core.String>? appendToAlwaysInclude, + $core.Iterable<$core.String>? removeFromAlwaysInclude, + $core.Iterable<$core.String>? appendToDontAlwaysInclude, + $core.Iterable<$core.String>? removeFromDontAlwaysInclude, + }) { + final $result = create(); + if (appendToAlwaysInclude != null) { + $result.appendToAlwaysInclude.addAll(appendToAlwaysInclude); + } + if (removeFromAlwaysInclude != null) { + $result.removeFromAlwaysInclude.addAll(removeFromAlwaysInclude); + } + if (appendToDontAlwaysInclude != null) { + $result.appendToDontAlwaysInclude.addAll(appendToDontAlwaysInclude); + } + if (removeFromDontAlwaysInclude != null) { + $result.removeFromDontAlwaysInclude.addAll(removeFromDontAlwaysInclude); + } + return $result; + } + FilterUpdate._() : super(); + factory FilterUpdate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FilterUpdate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FilterUpdate', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'appendToAlwaysInclude') + ..pPS(2, _omitFieldNames ? '' : 'removeFromAlwaysInclude') + ..pPS(3, _omitFieldNames ? '' : 'appendToDontAlwaysInclude') + ..pPS(4, _omitFieldNames ? '' : 'removeFromDontAlwaysInclude') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FilterUpdate clone() => FilterUpdate()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FilterUpdate copyWith(void Function(FilterUpdate) updates) => super.copyWith((message) => updates(message as FilterUpdate)) as FilterUpdate; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FilterUpdate create() => FilterUpdate._(); + FilterUpdate createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FilterUpdate getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FilterUpdate? _defaultInstance; + + /// append property_id to the always_include list + /// this means the property is shown, unless a more specific rule (including itself) + /// puts it in its dont_always_include list + @$pb.TagNumber(1) + $core.List<$core.String> get appendToAlwaysInclude => $_getList(0); + + /// remove property_id to the always_include list, also see append_to_always_include + @$pb.TagNumber(2) + $core.List<$core.String> get removeFromAlwaysInclude => $_getList(1); + + /// append property_id to the dont_always_include list, also see append_to_always_include + @$pb.TagNumber(3) + $core.List<$core.String> get appendToDontAlwaysInclude => $_getList(2); + + /// remove property_id to the dont_always_include list, also see append_to_always_include + @$pb.TagNumber(4) + $core.List<$core.String> get removeFromDontAlwaysInclude => $_getList(3); +} + +enum UpdatePropertyViewRuleRequest_Matcher { + taskMatcher, + notSet +} + +class UpdatePropertyViewRuleRequest extends $pb.GeneratedMessage { + factory UpdatePropertyViewRuleRequest({ + FilterUpdate? filterUpdate, + $4.TaskPropertyMatcher? taskMatcher, + }) { + final $result = create(); + if (filterUpdate != null) { + $result.filterUpdate = filterUpdate; + } + if (taskMatcher != null) { + $result.taskMatcher = taskMatcher; + } + return $result; + } + UpdatePropertyViewRuleRequest._() : super(); + factory UpdatePropertyViewRuleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UpdatePropertyViewRuleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, UpdatePropertyViewRuleRequest_Matcher> _UpdatePropertyViewRuleRequest_MatcherByTag = { + 2 : UpdatePropertyViewRuleRequest_Matcher.taskMatcher, + 0 : UpdatePropertyViewRuleRequest_Matcher.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyViewRuleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) + ..oo(0, [2]) + ..aOM(1, _omitFieldNames ? '' : 'filterUpdate', subBuilder: FilterUpdate.create) + ..aOM<$4.TaskPropertyMatcher>(2, _omitFieldNames ? '' : 'taskMatcher', subBuilder: $4.TaskPropertyMatcher.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UpdatePropertyViewRuleRequest clone() => UpdatePropertyViewRuleRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdatePropertyViewRuleRequest copyWith(void Function(UpdatePropertyViewRuleRequest) updates) => super.copyWith((message) => updates(message as UpdatePropertyViewRuleRequest)) as UpdatePropertyViewRuleRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdatePropertyViewRuleRequest create() => UpdatePropertyViewRuleRequest._(); + UpdatePropertyViewRuleRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpdatePropertyViewRuleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdatePropertyViewRuleRequest? _defaultInstance; + + UpdatePropertyViewRuleRequest_Matcher whichMatcher() => _UpdatePropertyViewRuleRequest_MatcherByTag[$_whichOneof(0)]!; + void clearMatcher() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + FilterUpdate get filterUpdate => $_getN(0); + @$pb.TagNumber(1) + set filterUpdate(FilterUpdate v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasFilterUpdate() => $_has(0); + @$pb.TagNumber(1) + void clearFilterUpdate() => clearField(1); + @$pb.TagNumber(1) + FilterUpdate ensureFilterUpdate() => $_ensure(0); + + @$pb.TagNumber(2) + $4.TaskPropertyMatcher get taskMatcher => $_getN(1); + @$pb.TagNumber(2) + set taskMatcher($4.TaskPropertyMatcher v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasTaskMatcher() => $_has(1); + @$pb.TagNumber(2) + void clearTaskMatcher() => clearField(2); + @$pb.TagNumber(2) + $4.TaskPropertyMatcher ensureTaskMatcher() => $_ensure(1); +} + +class UpdatePropertyViewRuleResponse extends $pb.GeneratedMessage { + factory UpdatePropertyViewRuleResponse() => create(); + UpdatePropertyViewRuleResponse._() : super(); + factory UpdatePropertyViewRuleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UpdatePropertyViewRuleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyViewRuleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UpdatePropertyViewRuleResponse clone() => UpdatePropertyViewRuleResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdatePropertyViewRuleResponse copyWith(void Function(UpdatePropertyViewRuleResponse) updates) => super.copyWith((message) => updates(message as UpdatePropertyViewRuleResponse)) as UpdatePropertyViewRuleResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdatePropertyViewRuleResponse create() => UpdatePropertyViewRuleResponse._(); + UpdatePropertyViewRuleResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpdatePropertyViewRuleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdatePropertyViewRuleResponse? _defaultInstance; +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/gen/dart/lib/google/protobuf/any.pbenum.dart b/gen/dart/lib/services/property_svc/v1/property_views_svc.pbenum.dart similarity index 84% rename from gen/dart/lib/google/protobuf/any.pbenum.dart rename to gen/dart/lib/services/property_svc/v1/property_views_svc.pbenum.dart index effdb4759..b1df721de 100644 --- a/gen/dart/lib/google/protobuf/any.pbenum.dart +++ b/gen/dart/lib/services/property_svc/v1/property_views_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: google/protobuf/any.proto +// source: services/property_svc/v1/property_views_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/services/property_svc/v1/property_views_svc.pbgrpc.dart b/gen/dart/lib/services/property_svc/v1/property_views_svc.pbgrpc.dart new file mode 100644 index 000000000..b36b83aad --- /dev/null +++ b/gen/dart/lib/services/property_svc/v1/property_views_svc.pbgrpc.dart @@ -0,0 +1,59 @@ +// +// Generated code. Do not modify. +// source: services/property_svc/v1/property_views_svc.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:async' as $async; +import 'dart:core' as $core; + +import 'package:grpc/service_api.dart' as $grpc; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'property_views_svc.pb.dart' as $5; + +export 'property_views_svc.pb.dart'; + +@$pb.GrpcServiceName('services.property_svc.v1.PropertyViewsService') +class PropertyViewsServiceClient extends $grpc.Client { + static final _$updatePropertyViewRule = $grpc.ClientMethod<$5.UpdatePropertyViewRuleRequest, $5.UpdatePropertyViewRuleResponse>( + '/services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', + ($5.UpdatePropertyViewRuleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $5.UpdatePropertyViewRuleResponse.fromBuffer(value)); + + PropertyViewsServiceClient($grpc.ClientChannel channel, + {$grpc.CallOptions? options, + $core.Iterable<$grpc.ClientInterceptor>? interceptors}) + : super(channel, options: options, + interceptors: interceptors); + + $grpc.ResponseFuture<$5.UpdatePropertyViewRuleResponse> updatePropertyViewRule($5.UpdatePropertyViewRuleRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$updatePropertyViewRule, request, options: options); + } +} + +@$pb.GrpcServiceName('services.property_svc.v1.PropertyViewsService') +abstract class PropertyViewsServiceBase extends $grpc.Service { + $core.String get $name => 'services.property_svc.v1.PropertyViewsService'; + + PropertyViewsServiceBase() { + $addMethod($grpc.ServiceMethod<$5.UpdatePropertyViewRuleRequest, $5.UpdatePropertyViewRuleResponse>( + 'UpdatePropertyViewRule', + updatePropertyViewRule_Pre, + false, + false, + ($core.List<$core.int> value) => $5.UpdatePropertyViewRuleRequest.fromBuffer(value), + ($5.UpdatePropertyViewRuleResponse value) => value.writeToBuffer())); + } + + $async.Future<$5.UpdatePropertyViewRuleResponse> updatePropertyViewRule_Pre($grpc.ServiceCall call, $async.Future<$5.UpdatePropertyViewRuleRequest> request) async { + return updatePropertyViewRule(call, await request); + } + + $async.Future<$5.UpdatePropertyViewRuleResponse> updatePropertyViewRule($grpc.ServiceCall call, $5.UpdatePropertyViewRuleRequest request); +} diff --git a/gen/dart/lib/services/property_svc/v1/property_views_svc.pbjson.dart b/gen/dart/lib/services/property_svc/v1/property_views_svc.pbjson.dart new file mode 100644 index 000000000..17e95c898 --- /dev/null +++ b/gen/dart/lib/services/property_svc/v1/property_views_svc.pbjson.dart @@ -0,0 +1,62 @@ +// +// Generated code. Do not modify. +// source: services/property_svc/v1/property_views_svc.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use filterUpdateDescriptor instead') +const FilterUpdate$json = { + '1': 'FilterUpdate', + '2': [ + {'1': 'append_to_always_include', '3': 1, '4': 3, '5': 9, '10': 'appendToAlwaysInclude'}, + {'1': 'remove_from_always_include', '3': 2, '4': 3, '5': 9, '10': 'removeFromAlwaysInclude'}, + {'1': 'append_to_dont_always_include', '3': 3, '4': 3, '5': 9, '10': 'appendToDontAlwaysInclude'}, + {'1': 'remove_from_dont_always_include', '3': 4, '4': 3, '5': 9, '10': 'removeFromDontAlwaysInclude'}, + ], +}; + +/// Descriptor for `FilterUpdate`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List filterUpdateDescriptor = $convert.base64Decode( + 'CgxGaWx0ZXJVcGRhdGUSNwoYYXBwZW5kX3RvX2Fsd2F5c19pbmNsdWRlGAEgAygJUhVhcHBlbm' + 'RUb0Fsd2F5c0luY2x1ZGUSOwoacmVtb3ZlX2Zyb21fYWx3YXlzX2luY2x1ZGUYAiADKAlSF3Jl' + 'bW92ZUZyb21BbHdheXNJbmNsdWRlEkAKHWFwcGVuZF90b19kb250X2Fsd2F5c19pbmNsdWRlGA' + 'MgAygJUhlhcHBlbmRUb0RvbnRBbHdheXNJbmNsdWRlEkQKH3JlbW92ZV9mcm9tX2RvbnRfYWx3' + 'YXlzX2luY2x1ZGUYBCADKAlSG3JlbW92ZUZyb21Eb250QWx3YXlzSW5jbHVkZQ=='); + +@$core.Deprecated('Use updatePropertyViewRuleRequestDescriptor instead') +const UpdatePropertyViewRuleRequest$json = { + '1': 'UpdatePropertyViewRuleRequest', + '2': [ + {'1': 'filter_update', '3': 1, '4': 1, '5': 11, '6': '.services.property_svc.v1.FilterUpdate', '10': 'filterUpdate'}, + {'1': 'task_matcher', '3': 2, '4': 1, '5': 11, '6': '.services.property_svc.v1.TaskPropertyMatcher', '9': 0, '10': 'taskMatcher'}, + ], + '8': [ + {'1': 'matcher'}, + ], +}; + +/// Descriptor for `UpdatePropertyViewRuleRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updatePropertyViewRuleRequestDescriptor = $convert.base64Decode( + 'Ch1VcGRhdGVQcm9wZXJ0eVZpZXdSdWxlUmVxdWVzdBJLCg1maWx0ZXJfdXBkYXRlGAEgASgLMi' + 'Yuc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLkZpbHRlclVwZGF0ZVIMZmlsdGVyVXBkYXRlElIK' + 'DHRhc2tfbWF0Y2hlchgCIAEoCzItLnNlcnZpY2VzLnByb3BlcnR5X3N2Yy52MS5UYXNrUHJvcG' + 'VydHlNYXRjaGVySABSC3Rhc2tNYXRjaGVyQgkKB21hdGNoZXI='); + +@$core.Deprecated('Use updatePropertyViewRuleResponseDescriptor instead') +const UpdatePropertyViewRuleResponse$json = { + '1': 'UpdatePropertyViewRuleResponse', +}; + +/// Descriptor for `UpdatePropertyViewRuleResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updatePropertyViewRuleResponseDescriptor = $convert.base64Decode( + 'Ch5VcGRhdGVQcm9wZXJ0eVZpZXdSdWxlUmVzcG9uc2U='); + diff --git a/gen/dart/lib/services/property_svc/v1/types.pb.dart b/gen/dart/lib/services/property_svc/v1/types.pb.dart new file mode 100644 index 000000000..b0857a41b --- /dev/null +++ b/gen/dart/lib/services/property_svc/v1/types.pb.dart @@ -0,0 +1,98 @@ +// +// Generated code. Do not modify. +// source: services/property_svc/v1/types.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +export 'types.pbenum.dart'; + +class Date extends $pb.GeneratedMessage { + factory Date({ + $core.int? day, + $core.int? month, + $core.int? year, + }) { + final $result = create(); + if (day != null) { + $result.day = day; + } + if (month != null) { + $result.month = month; + } + if (year != null) { + $result.year = year; + } + return $result; + } + Date._() : super(); + factory Date.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Date.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Date', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'day', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'month', $pb.PbFieldType.O3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'year', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Date clone() => Date()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Date copyWith(void Function(Date) updates) => super.copyWith((message) => updates(message as Date)) as Date; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Date create() => Date._(); + Date createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Date getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Date? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get day => $_getIZ(0); + @$pb.TagNumber(1) + set day($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasDay() => $_has(0); + @$pb.TagNumber(1) + void clearDay() => clearField(1); + + @$pb.TagNumber(2) + $core.int get month => $_getIZ(1); + @$pb.TagNumber(2) + set month($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasMonth() => $_has(1); + @$pb.TagNumber(2) + void clearMonth() => clearField(2); + + @$pb.TagNumber(3) + $core.int get year => $_getIZ(2); + @$pb.TagNumber(3) + set year($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasYear() => $_has(2); + @$pb.TagNumber(3) + void clearYear() => clearField(3); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/gen/dart/lib/services/property_svc/v1/types.pbenum.dart b/gen/dart/lib/services/property_svc/v1/types.pbenum.dart new file mode 100644 index 000000000..9ba07b681 --- /dev/null +++ b/gen/dart/lib/services/property_svc/v1/types.pbenum.dart @@ -0,0 +1,59 @@ +// +// Generated code. Do not modify. +// source: services/property_svc/v1/types.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +class SubjectType extends $pb.ProtobufEnum { + static const SubjectType SUBJECT_TYPE_UNSPECIFIED = SubjectType._(0, _omitEnumNames ? '' : 'SUBJECT_TYPE_UNSPECIFIED'); + static const SubjectType SUBJECT_TYPE_PATIENT = SubjectType._(1, _omitEnumNames ? '' : 'SUBJECT_TYPE_PATIENT'); + static const SubjectType SUBJECT_TYPE_TASK = SubjectType._(2, _omitEnumNames ? '' : 'SUBJECT_TYPE_TASK'); + + static const $core.List values = [ + SUBJECT_TYPE_UNSPECIFIED, + SUBJECT_TYPE_PATIENT, + SUBJECT_TYPE_TASK, + ]; + + static final $core.Map<$core.int, SubjectType> _byValue = $pb.ProtobufEnum.initByValue(values); + static SubjectType? valueOf($core.int value) => _byValue[value]; + + const SubjectType._($core.int v, $core.String n) : super(v, n); +} + +class FieldType extends $pb.ProtobufEnum { + static const FieldType FIELD_TYPE_UNSPECIFIED = FieldType._(0, _omitEnumNames ? '' : 'FIELD_TYPE_UNSPECIFIED'); + static const FieldType FIELD_TYPE_TEXT = FieldType._(1, _omitEnumNames ? '' : 'FIELD_TYPE_TEXT'); + static const FieldType FIELD_TYPE_NUMBER = FieldType._(2, _omitEnumNames ? '' : 'FIELD_TYPE_NUMBER'); + static const FieldType FIELD_TYPE_CHECKBOX = FieldType._(3, _omitEnumNames ? '' : 'FIELD_TYPE_CHECKBOX'); + static const FieldType FIELD_TYPE_DATE = FieldType._(4, _omitEnumNames ? '' : 'FIELD_TYPE_DATE'); + static const FieldType FIELD_TYPE_DATE_TIME = FieldType._(5, _omitEnumNames ? '' : 'FIELD_TYPE_DATE_TIME'); + static const FieldType FIELD_TYPE_SELECT = FieldType._(6, _omitEnumNames ? '' : 'FIELD_TYPE_SELECT'); + + static const $core.List values = [ + FIELD_TYPE_UNSPECIFIED, + FIELD_TYPE_TEXT, + FIELD_TYPE_NUMBER, + FIELD_TYPE_CHECKBOX, + FIELD_TYPE_DATE, + FIELD_TYPE_DATE_TIME, + FIELD_TYPE_SELECT, + ]; + + static final $core.Map<$core.int, FieldType> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldType? valueOf($core.int value) => _byValue[value]; + + const FieldType._($core.int v, $core.String n) : super(v, n); +} + + +const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/gen/dart/lib/services/property_svc/v1/types.pbjson.dart b/gen/dart/lib/services/property_svc/v1/types.pbjson.dart new file mode 100644 index 000000000..7e4d62f60 --- /dev/null +++ b/gen/dart/lib/services/property_svc/v1/types.pbjson.dart @@ -0,0 +1,66 @@ +// +// Generated code. Do not modify. +// source: services/property_svc/v1/types.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use subjectTypeDescriptor instead') +const SubjectType$json = { + '1': 'SubjectType', + '2': [ + {'1': 'SUBJECT_TYPE_UNSPECIFIED', '2': 0}, + {'1': 'SUBJECT_TYPE_PATIENT', '2': 1}, + {'1': 'SUBJECT_TYPE_TASK', '2': 2}, + ], +}; + +/// Descriptor for `SubjectType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List subjectTypeDescriptor = $convert.base64Decode( + 'CgtTdWJqZWN0VHlwZRIcChhTVUJKRUNUX1RZUEVfVU5TUEVDSUZJRUQQABIYChRTVUJKRUNUX1' + 'RZUEVfUEFUSUVOVBABEhUKEVNVQkpFQ1RfVFlQRV9UQVNLEAI='); + +@$core.Deprecated('Use fieldTypeDescriptor instead') +const FieldType$json = { + '1': 'FieldType', + '2': [ + {'1': 'FIELD_TYPE_UNSPECIFIED', '2': 0}, + {'1': 'FIELD_TYPE_TEXT', '2': 1}, + {'1': 'FIELD_TYPE_NUMBER', '2': 2}, + {'1': 'FIELD_TYPE_CHECKBOX', '2': 3}, + {'1': 'FIELD_TYPE_DATE', '2': 4}, + {'1': 'FIELD_TYPE_DATE_TIME', '2': 5}, + {'1': 'FIELD_TYPE_SELECT', '2': 6}, + ], +}; + +/// Descriptor for `FieldType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List fieldTypeDescriptor = $convert.base64Decode( + 'CglGaWVsZFR5cGUSGgoWRklFTERfVFlQRV9VTlNQRUNJRklFRBAAEhMKD0ZJRUxEX1RZUEVfVE' + 'VYVBABEhUKEUZJRUxEX1RZUEVfTlVNQkVSEAISFwoTRklFTERfVFlQRV9DSEVDS0JPWBADEhMK' + 'D0ZJRUxEX1RZUEVfREFURRAEEhgKFEZJRUxEX1RZUEVfREFURV9USU1FEAUSFQoRRklFTERfVF' + 'lQRV9TRUxFQ1QQBg=='); + +@$core.Deprecated('Use dateDescriptor instead') +const Date$json = { + '1': 'Date', + '2': [ + {'1': 'day', '3': 1, '4': 1, '5': 5, '10': 'day'}, + {'1': 'month', '3': 2, '4': 1, '5': 5, '10': 'month'}, + {'1': 'year', '3': 3, '4': 1, '5': 5, '10': 'year'}, + ], +}; + +/// Descriptor for `Date`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dateDescriptor = $convert.base64Decode( + 'CgREYXRlEhAKA2RheRgBIAEoBVIDZGF5EhQKBW1vbnRoGAIgASgFUgVtb250aBISCgR5ZWFyGA' + 'MgASgFUgR5ZWFy'); + diff --git a/gen/dart/lib/proto/services/task_svc/v1/bed_svc.pb.dart b/gen/dart/lib/services/task_svc/v1/bed_svc.pb.dart similarity index 96% rename from gen/dart/lib/proto/services/task_svc/v1/bed_svc.pb.dart rename to gen/dart/lib/services/task_svc/v1/bed_svc.pb.dart index 00da699e5..a3dd7e81e 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/bed_svc.pb.dart +++ b/gen/dart/lib/services/task_svc/v1/bed_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/bed_svc.proto +// source: services/task_svc/v1/bed_svc.proto // // @dart = 2.12 @@ -31,7 +31,7 @@ class CreateBedRequest extends $pb.GeneratedMessage { factory CreateBedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateBedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'roomId') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -91,7 +91,7 @@ class CreateBedResponse extends $pb.GeneratedMessage { factory CreateBedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -145,7 +145,7 @@ class BulkCreateBedsRequest extends $pb.GeneratedMessage { factory BulkCreateBedsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory BulkCreateBedsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BulkCreateBedsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BulkCreateBedsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'roomId') ..a<$core.int>(2, _omitFieldNames ? '' : 'amountOfBeds', $pb.PbFieldType.OU3) ..hasRequiredFields = false @@ -209,7 +209,7 @@ class BulkCreateBedsResponse_Bed extends $pb.GeneratedMessage { factory BulkCreateBedsResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory BulkCreateBedsResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BulkCreateBedsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BulkCreateBedsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -269,7 +269,7 @@ class BulkCreateBedsResponse extends $pb.GeneratedMessage { factory BulkCreateBedsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory BulkCreateBedsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BulkCreateBedsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BulkCreateBedsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'beds', $pb.PbFieldType.PM, subBuilder: BulkCreateBedsResponse_Bed.create) ..hasRequiredFields = false ; @@ -313,7 +313,7 @@ class GetBedRequest extends $pb.GeneratedMessage { factory GetBedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -371,7 +371,7 @@ class GetBedResponse extends $pb.GeneratedMessage { factory GetBedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'roomId') ..aOS(3, _omitFieldNames ? '' : 'name') @@ -441,7 +441,7 @@ class GetBedByPatientRequest extends $pb.GeneratedMessage { factory GetBedByPatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedByPatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedByPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedByPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'patientId') ..hasRequiredFields = false ; @@ -499,7 +499,7 @@ class GetBedByPatientResponse_Room extends $pb.GeneratedMessage { factory GetBedByPatientResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedByPatientResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedByPatientResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedByPatientResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'wardId') @@ -573,7 +573,7 @@ class GetBedByPatientResponse_Bed extends $pb.GeneratedMessage { factory GetBedByPatientResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedByPatientResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedByPatientResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedByPatientResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -637,7 +637,7 @@ class GetBedByPatientResponse extends $pb.GeneratedMessage { factory GetBedByPatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedByPatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedByPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedByPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOM(1, _omitFieldNames ? '' : 'room', subBuilder: GetBedByPatientResponse_Room.create) ..aOM(2, _omitFieldNames ? '' : 'bed', subBuilder: GetBedByPatientResponse_Bed.create) ..hasRequiredFields = false @@ -693,7 +693,7 @@ class GetBedsRequest extends $pb.GeneratedMessage { factory GetBedsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -741,7 +741,7 @@ class GetBedsResponse_Bed extends $pb.GeneratedMessage { factory GetBedsResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedsResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'roomId') ..aOS(3, _omitFieldNames ? '' : 'name') @@ -811,7 +811,7 @@ class GetBedsResponse extends $pb.GeneratedMessage { factory GetBedsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'beds', $pb.PbFieldType.PM, subBuilder: GetBedsResponse_Bed.create) ..hasRequiredFields = false ; @@ -855,7 +855,7 @@ class GetBedsByRoomRequest extends $pb.GeneratedMessage { factory GetBedsByRoomRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedsByRoomRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsByRoomRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsByRoomRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'roomId') ..hasRequiredFields = false ; @@ -909,7 +909,7 @@ class GetBedsByRoomResponse_Bed extends $pb.GeneratedMessage { factory GetBedsByRoomResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedsByRoomResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsByRoomResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsByRoomResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -969,7 +969,7 @@ class GetBedsByRoomResponse extends $pb.GeneratedMessage { factory GetBedsByRoomResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetBedsByRoomResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsByRoomResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBedsByRoomResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'beds', $pb.PbFieldType.PM, subBuilder: GetBedsByRoomResponse_Bed.create) ..hasRequiredFields = false ; @@ -1021,7 +1021,7 @@ class UpdateBedRequest extends $pb.GeneratedMessage { factory UpdateBedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateBedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'roomId') ..aOS(3, _omitFieldNames ? '' : 'name') @@ -1083,7 +1083,7 @@ class UpdateBedResponse extends $pb.GeneratedMessage { factory UpdateBedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1123,7 +1123,7 @@ class DeleteBedRequest extends $pb.GeneratedMessage { factory DeleteBedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteBedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -1165,7 +1165,7 @@ class DeleteBedResponse extends $pb.GeneratedMessage { factory DeleteBedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/task_svc/v1/bed_svc.pbenum.dart b/gen/dart/lib/services/task_svc/v1/bed_svc.pbenum.dart similarity index 86% rename from gen/dart/lib/proto/services/task_svc/v1/bed_svc.pbenum.dart rename to gen/dart/lib/services/task_svc/v1/bed_svc.pbenum.dart index 6006e444b..0ce4f6046 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/bed_svc.pbenum.dart +++ b/gen/dart/lib/services/task_svc/v1/bed_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/bed_svc.proto +// source: services/task_svc/v1/bed_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/task_svc/v1/bed_svc.pbgrpc.dart b/gen/dart/lib/services/task_svc/v1/bed_svc.pbgrpc.dart similarity index 92% rename from gen/dart/lib/proto/services/task_svc/v1/bed_svc.pbgrpc.dart rename to gen/dart/lib/services/task_svc/v1/bed_svc.pbgrpc.dart index d196da3d8..7c60580e5 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/bed_svc.pbgrpc.dart +++ b/gen/dart/lib/services/task_svc/v1/bed_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/bed_svc.proto +// source: services/task_svc/v1/bed_svc.proto // // @dart = 2.12 @@ -19,38 +19,38 @@ import 'bed_svc.pb.dart' as $6; export 'bed_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.task_svc.v1.BedService') +@$pb.GrpcServiceName('services.task_svc.v1.BedService') class BedServiceClient extends $grpc.Client { static final _$createBed = $grpc.ClientMethod<$6.CreateBedRequest, $6.CreateBedResponse>( - '/proto.services.task_svc.v1.BedService/CreateBed', + '/services.task_svc.v1.BedService/CreateBed', ($6.CreateBedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $6.CreateBedResponse.fromBuffer(value)); static final _$bulkCreateBeds = $grpc.ClientMethod<$6.BulkCreateBedsRequest, $6.BulkCreateBedsResponse>( - '/proto.services.task_svc.v1.BedService/BulkCreateBeds', + '/services.task_svc.v1.BedService/BulkCreateBeds', ($6.BulkCreateBedsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $6.BulkCreateBedsResponse.fromBuffer(value)); static final _$getBed = $grpc.ClientMethod<$6.GetBedRequest, $6.GetBedResponse>( - '/proto.services.task_svc.v1.BedService/GetBed', + '/services.task_svc.v1.BedService/GetBed', ($6.GetBedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $6.GetBedResponse.fromBuffer(value)); static final _$getBedByPatient = $grpc.ClientMethod<$6.GetBedByPatientRequest, $6.GetBedByPatientResponse>( - '/proto.services.task_svc.v1.BedService/GetBedByPatient', + '/services.task_svc.v1.BedService/GetBedByPatient', ($6.GetBedByPatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $6.GetBedByPatientResponse.fromBuffer(value)); static final _$getBeds = $grpc.ClientMethod<$6.GetBedsRequest, $6.GetBedsResponse>( - '/proto.services.task_svc.v1.BedService/GetBeds', + '/services.task_svc.v1.BedService/GetBeds', ($6.GetBedsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $6.GetBedsResponse.fromBuffer(value)); static final _$getBedsByRoom = $grpc.ClientMethod<$6.GetBedsByRoomRequest, $6.GetBedsByRoomResponse>( - '/proto.services.task_svc.v1.BedService/GetBedsByRoom', + '/services.task_svc.v1.BedService/GetBedsByRoom', ($6.GetBedsByRoomRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $6.GetBedsByRoomResponse.fromBuffer(value)); static final _$updateBed = $grpc.ClientMethod<$6.UpdateBedRequest, $6.UpdateBedResponse>( - '/proto.services.task_svc.v1.BedService/UpdateBed', + '/services.task_svc.v1.BedService/UpdateBed', ($6.UpdateBedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $6.UpdateBedResponse.fromBuffer(value)); static final _$deleteBed = $grpc.ClientMethod<$6.DeleteBedRequest, $6.DeleteBedResponse>( - '/proto.services.task_svc.v1.BedService/DeleteBed', + '/services.task_svc.v1.BedService/DeleteBed', ($6.DeleteBedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $6.DeleteBedResponse.fromBuffer(value)); @@ -93,9 +93,9 @@ class BedServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.task_svc.v1.BedService') +@$pb.GrpcServiceName('services.task_svc.v1.BedService') abstract class BedServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.task_svc.v1.BedService'; + $core.String get $name => 'services.task_svc.v1.BedService'; BedServiceBase() { $addMethod($grpc.ServiceMethod<$6.CreateBedRequest, $6.CreateBedResponse>( diff --git a/gen/dart/lib/proto/services/task_svc/v1/bed_svc.pbjson.dart b/gen/dart/lib/services/task_svc/v1/bed_svc.pbjson.dart similarity index 83% rename from gen/dart/lib/proto/services/task_svc/v1/bed_svc.pbjson.dart rename to gen/dart/lib/services/task_svc/v1/bed_svc.pbjson.dart index c1ecfb200..8bdbbbc1c 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/bed_svc.pbjson.dart +++ b/gen/dart/lib/services/task_svc/v1/bed_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/bed_svc.proto +// source: services/task_svc/v1/bed_svc.proto // // @dart = 2.12 @@ -57,7 +57,7 @@ final $typed_data.Uint8List bulkCreateBedsRequestDescriptor = $convert.base64Dec const BulkCreateBedsResponse$json = { '1': 'BulkCreateBedsResponse', '2': [ - {'1': 'beds', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed', '10': 'beds'}, + {'1': 'beds', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.BulkCreateBedsResponse.Bed', '10': 'beds'}, ], '3': [BulkCreateBedsResponse_Bed$json], }; @@ -73,9 +73,9 @@ const BulkCreateBedsResponse_Bed$json = { /// Descriptor for `BulkCreateBedsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List bulkCreateBedsResponseDescriptor = $convert.base64Decode( - 'ChZCdWxrQ3JlYXRlQmVkc1Jlc3BvbnNlEkoKBGJlZHMYASADKAsyNi5wcm90by5zZXJ2aWNlcy' - '50YXNrX3N2Yy52MS5CdWxrQ3JlYXRlQmVkc1Jlc3BvbnNlLkJlZFIEYmVkcxopCgNCZWQSDgoC' - 'aWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWU='); + 'ChZCdWxrQ3JlYXRlQmVkc1Jlc3BvbnNlEkQKBGJlZHMYASADKAsyMC5zZXJ2aWNlcy50YXNrX3' + 'N2Yy52MS5CdWxrQ3JlYXRlQmVkc1Jlc3BvbnNlLkJlZFIEYmVkcxopCgNCZWQSDgoCaWQYASAB' + 'KAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWU='); @$core.Deprecated('Use getBedRequestDescriptor instead') const GetBedRequest$json = { @@ -121,8 +121,8 @@ final $typed_data.Uint8List getBedByPatientRequestDescriptor = $convert.base64De const GetBedByPatientResponse$json = { '1': 'GetBedByPatientResponse', '2': [ - {'1': 'room', '3': 1, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetBedByPatientResponse.Room', '9': 0, '10': 'room', '17': true}, - {'1': 'bed', '3': 2, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetBedByPatientResponse.Bed', '9': 1, '10': 'bed', '17': true}, + {'1': 'room', '3': 1, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetBedByPatientResponse.Room', '9': 0, '10': 'room', '17': true}, + {'1': 'bed', '3': 2, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetBedByPatientResponse.Bed', '9': 1, '10': 'bed', '17': true}, ], '3': [GetBedByPatientResponse_Room$json, GetBedByPatientResponse_Bed$json], '8': [ @@ -152,12 +152,12 @@ const GetBedByPatientResponse_Bed$json = { /// Descriptor for `GetBedByPatientResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getBedByPatientResponseDescriptor = $convert.base64Decode( - 'ChdHZXRCZWRCeVBhdGllbnRSZXNwb25zZRJRCgRyb29tGAEgASgLMjgucHJvdG8uc2VydmljZX' - 'MudGFza19zdmMudjEuR2V0QmVkQnlQYXRpZW50UmVzcG9uc2UuUm9vbUgAUgRyb29tiAEBEk4K' - 'A2JlZBgCIAEoCzI3LnByb3RvLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldEJlZEJ5UGF0aWVudF' - 'Jlc3BvbnNlLkJlZEgBUgNiZWSIAQEaQwoEUm9vbRIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgC' - 'IAEoCVIEbmFtZRIXCgd3YXJkX2lkGAMgASgJUgZ3YXJkSWQaKQoDQmVkEg4KAmlkGAEgASgJUg' - 'JpZBISCgRuYW1lGAIgASgJUgRuYW1lQgcKBV9yb29tQgYKBF9iZWQ='); + 'ChdHZXRCZWRCeVBhdGllbnRSZXNwb25zZRJLCgRyb29tGAEgASgLMjIuc2VydmljZXMudGFza1' + '9zdmMudjEuR2V0QmVkQnlQYXRpZW50UmVzcG9uc2UuUm9vbUgAUgRyb29tiAEBEkgKA2JlZBgC' + 'IAEoCzIxLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldEJlZEJ5UGF0aWVudFJlc3BvbnNlLkJlZE' + 'gBUgNiZWSIAQEaQwoEUm9vbRIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRIX' + 'Cgd3YXJkX2lkGAMgASgJUgZ3YXJkSWQaKQoDQmVkEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGA' + 'IgASgJUgRuYW1lQgcKBV9yb29tQgYKBF9iZWQ='); @$core.Deprecated('Use getBedsRequestDescriptor instead') const GetBedsRequest$json = { @@ -172,7 +172,7 @@ final $typed_data.Uint8List getBedsRequestDescriptor = $convert.base64Decode( const GetBedsResponse$json = { '1': 'GetBedsResponse', '2': [ - {'1': 'beds', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetBedsResponse.Bed', '10': 'beds'}, + {'1': 'beds', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetBedsResponse.Bed', '10': 'beds'}, ], '3': [GetBedsResponse_Bed$json], }; @@ -189,9 +189,9 @@ const GetBedsResponse_Bed$json = { /// Descriptor for `GetBedsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getBedsResponseDescriptor = $convert.base64Decode( - 'Cg9HZXRCZWRzUmVzcG9uc2USQwoEYmVkcxgBIAMoCzIvLnByb3RvLnNlcnZpY2VzLnRhc2tfc3' - 'ZjLnYxLkdldEJlZHNSZXNwb25zZS5CZWRSBGJlZHMaQgoDQmVkEg4KAmlkGAEgASgJUgJpZBIX' - 'Cgdyb29tX2lkGAIgASgJUgZyb29tSWQSEgoEbmFtZRgDIAEoCVIEbmFtZQ=='); + 'Cg9HZXRCZWRzUmVzcG9uc2USPQoEYmVkcxgBIAMoCzIpLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLk' + 'dldEJlZHNSZXNwb25zZS5CZWRSBGJlZHMaQgoDQmVkEg4KAmlkGAEgASgJUgJpZBIXCgdyb29t' + 'X2lkGAIgASgJUgZyb29tSWQSEgoEbmFtZRgDIAEoCVIEbmFtZQ=='); @$core.Deprecated('Use getBedsByRoomRequestDescriptor instead') const GetBedsByRoomRequest$json = { @@ -209,7 +209,7 @@ final $typed_data.Uint8List getBedsByRoomRequestDescriptor = $convert.base64Deco const GetBedsByRoomResponse$json = { '1': 'GetBedsByRoomResponse', '2': [ - {'1': 'beds', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed', '10': 'beds'}, + {'1': 'beds', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetBedsByRoomResponse.Bed', '10': 'beds'}, ], '3': [GetBedsByRoomResponse_Bed$json], }; @@ -225,9 +225,9 @@ const GetBedsByRoomResponse_Bed$json = { /// Descriptor for `GetBedsByRoomResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getBedsByRoomResponseDescriptor = $convert.base64Decode( - 'ChVHZXRCZWRzQnlSb29tUmVzcG9uc2USSQoEYmVkcxgBIAMoCzI1LnByb3RvLnNlcnZpY2VzLn' - 'Rhc2tfc3ZjLnYxLkdldEJlZHNCeVJvb21SZXNwb25zZS5CZWRSBGJlZHMaKQoDQmVkEg4KAmlk' - 'GAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1l'); + 'ChVHZXRCZWRzQnlSb29tUmVzcG9uc2USQwoEYmVkcxgBIAMoCzIvLnNlcnZpY2VzLnRhc2tfc3' + 'ZjLnYxLkdldEJlZHNCeVJvb21SZXNwb25zZS5CZWRSBGJlZHMaKQoDQmVkEg4KAmlkGAEgASgJ' + 'UgJpZBISCgRuYW1lGAIgASgJUgRuYW1l'); @$core.Deprecated('Use updateBedRequestDescriptor instead') const UpdateBedRequest$json = { diff --git a/gen/dart/lib/proto/services/task_svc/v1/patient_svc.pb.dart b/gen/dart/lib/services/task_svc/v1/patient_svc.pb.dart similarity index 97% rename from gen/dart/lib/proto/services/task_svc/v1/patient_svc.pb.dart rename to gen/dart/lib/services/task_svc/v1/patient_svc.pb.dart index bf196b11b..1239e78c2 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/patient_svc.pb.dart +++ b/gen/dart/lib/services/task_svc/v1/patient_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/patient_svc.proto +// source: services/task_svc/v1/patient_svc.proto // // @dart = 2.12 @@ -35,7 +35,7 @@ class CreatePatientRequest extends $pb.GeneratedMessage { factory CreatePatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreatePatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOS(2, _omitFieldNames ? '' : 'notes') ..hasRequiredFields = false @@ -95,7 +95,7 @@ class CreatePatientResponse extends $pb.GeneratedMessage { factory CreatePatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreatePatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -145,7 +145,7 @@ class GetPatientRequest extends $pb.GeneratedMessage { factory GetPatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -203,7 +203,7 @@ class GetPatientResponse_Room extends $pb.GeneratedMessage { factory GetPatientResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'wardId') @@ -277,7 +277,7 @@ class GetPatientResponse_Bed extends $pb.GeneratedMessage { factory GetPatientResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -365,7 +365,7 @@ class GetPatientResponse extends $pb.GeneratedMessage { factory GetPatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOS(3, _omitFieldNames ? '' : 'notes') @@ -489,7 +489,7 @@ class DeletePatientRequest extends $pb.GeneratedMessage { factory DeletePatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeletePatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -531,7 +531,7 @@ class DeletePatientResponse extends $pb.GeneratedMessage { factory DeletePatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeletePatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -571,7 +571,7 @@ class GetPatientByBedRequest extends $pb.GeneratedMessage { factory GetPatientByBedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientByBedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientByBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientByBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'bedId') ..hasRequiredFields = false ; @@ -633,7 +633,7 @@ class GetPatientByBedResponse extends $pb.GeneratedMessage { factory GetPatientByBedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientByBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientByBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientByBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOS(3, _omitFieldNames ? '' : 'notes') @@ -713,7 +713,7 @@ class GetPatientsByWardRequest extends $pb.GeneratedMessage { factory GetPatientsByWardRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientsByWardRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientsByWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientsByWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'wardId') ..hasRequiredFields = false ; @@ -775,7 +775,7 @@ class GetPatientsByWardResponse_Patient extends $pb.GeneratedMessage { factory GetPatientsByWardResponse_Patient.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientsByWardResponse_Patient.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientsByWardResponse.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientsByWardResponse.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOS(3, _omitFieldNames ? '' : 'notes') @@ -855,7 +855,7 @@ class GetPatientsByWardResponse extends $pb.GeneratedMessage { factory GetPatientsByWardResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientsByWardResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientsByWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientsByWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'patients', $pb.PbFieldType.PM, subBuilder: GetPatientsByWardResponse_Patient.create) ..hasRequiredFields = false ; @@ -899,7 +899,7 @@ class GetPatientAssignmentByWardRequest extends $pb.GeneratedMessage { factory GetPatientAssignmentByWardRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientAssignmentByWardRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientAssignmentByWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientAssignmentByWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'wardId') ..hasRequiredFields = false ; @@ -953,7 +953,7 @@ class GetPatientAssignmentByWardResponse_Room_Bed_Patient extends $pb.GeneratedM factory GetPatientAssignmentByWardResponse_Room_Bed_Patient.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientAssignmentByWardResponse_Room_Bed_Patient.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientAssignmentByWardResponse.Room.Bed.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientAssignmentByWardResponse.Room.Bed.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -1021,7 +1021,7 @@ class GetPatientAssignmentByWardResponse_Room_Bed extends $pb.GeneratedMessage { factory GetPatientAssignmentByWardResponse_Room_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientAssignmentByWardResponse_Room_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientAssignmentByWardResponse.Room.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientAssignmentByWardResponse.Room.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOM(3, _omitFieldNames ? '' : 'patient', subBuilder: GetPatientAssignmentByWardResponse_Room_Bed_Patient.create) @@ -1101,7 +1101,7 @@ class GetPatientAssignmentByWardResponse_Room extends $pb.GeneratedMessage { factory GetPatientAssignmentByWardResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientAssignmentByWardResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientAssignmentByWardResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientAssignmentByWardResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..pc(3, _omitFieldNames ? '' : 'beds', $pb.PbFieldType.PM, subBuilder: GetPatientAssignmentByWardResponse_Room_Bed.create) @@ -1165,7 +1165,7 @@ class GetPatientAssignmentByWardResponse extends $pb.GeneratedMessage { factory GetPatientAssignmentByWardResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientAssignmentByWardResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientAssignmentByWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientAssignmentByWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'rooms', $pb.PbFieldType.PM, subBuilder: GetPatientAssignmentByWardResponse_Room.create) ..hasRequiredFields = false ; @@ -1201,7 +1201,7 @@ class GetRecentPatientsRequest extends $pb.GeneratedMessage { factory GetRecentPatientsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentPatientsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1245,7 +1245,7 @@ class GetRecentPatientsResponse_Bed extends $pb.GeneratedMessage { factory GetRecentPatientsResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentPatientsResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -1313,7 +1313,7 @@ class GetRecentPatientsResponse_Room extends $pb.GeneratedMessage { factory GetRecentPatientsResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentPatientsResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'wardId') @@ -1395,7 +1395,7 @@ class GetRecentPatientsResponse_PatientWithRoomAndBed extends $pb.GeneratedMessa factory GetRecentPatientsResponse_PatientWithRoomAndBed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentPatientsResponse_PatientWithRoomAndBed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.PatientWithRoomAndBed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.PatientWithRoomAndBed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOM(3, _omitFieldNames ? '' : 'room', subBuilder: GetRecentPatientsResponse_Room.create) @@ -1479,7 +1479,7 @@ class GetRecentPatientsResponse extends $pb.GeneratedMessage { factory GetRecentPatientsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentPatientsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'recentPatients', $pb.PbFieldType.PM, subBuilder: GetRecentPatientsResponse_PatientWithRoomAndBed.create) ..hasRequiredFields = false ; @@ -1531,7 +1531,7 @@ class UpdatePatientRequest extends $pb.GeneratedMessage { factory UpdatePatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdatePatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOS(3, _omitFieldNames ? '' : 'notes') @@ -1593,7 +1593,7 @@ class UpdatePatientResponse extends $pb.GeneratedMessage { factory UpdatePatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdatePatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1637,7 +1637,7 @@ class AssignBedRequest extends $pb.GeneratedMessage { factory AssignBedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AssignBedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'bedId') ..hasRequiredFields = false @@ -1689,7 +1689,7 @@ class AssignBedResponse extends $pb.GeneratedMessage { factory AssignBedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AssignBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1729,7 +1729,7 @@ class UnassignBedRequest extends $pb.GeneratedMessage { factory UnassignBedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UnassignBedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -1771,7 +1771,7 @@ class UnassignBedResponse extends $pb.GeneratedMessage { factory UnassignBedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UnassignBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1811,7 +1811,7 @@ class DischargePatientRequest extends $pb.GeneratedMessage { factory DischargePatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DischargePatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DischargePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DischargePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -1853,7 +1853,7 @@ class DischargePatientResponse extends $pb.GeneratedMessage { factory DischargePatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DischargePatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DischargePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DischargePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1893,7 +1893,7 @@ class GetPatientDetailsRequest extends $pb.GeneratedMessage { factory GetPatientDetailsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientDetailsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -1951,7 +1951,7 @@ class GetPatientDetailsResponse_Room extends $pb.GeneratedMessage { factory GetPatientDetailsResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientDetailsResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'wardId') @@ -2025,7 +2025,7 @@ class GetPatientDetailsResponse_Bed extends $pb.GeneratedMessage { factory GetPatientDetailsResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientDetailsResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -2093,7 +2093,7 @@ class GetPatientDetailsResponse_Task_SubTask extends $pb.GeneratedMessage { factory GetPatientDetailsResponse_Task_SubTask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientDetailsResponse_Task_SubTask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsResponse.Task.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsResponse.Task.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOB(3, _omitFieldNames ? '' : 'done') @@ -2191,7 +2191,7 @@ class GetPatientDetailsResponse_Task extends $pb.GeneratedMessage { factory GetPatientDetailsResponse_Task.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientDetailsResponse_Task.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsResponse.Task', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsResponse.Task', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -2339,7 +2339,7 @@ class GetPatientDetailsResponse extends $pb.GeneratedMessage { factory GetPatientDetailsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientDetailsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientDetailsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'humanReadableIdentifier') @@ -2472,7 +2472,7 @@ class GetPatientListRequest extends $pb.GeneratedMessage { factory GetPatientListRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientListRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'wardId') ..hasRequiredFields = false ; @@ -2534,7 +2534,7 @@ class GetPatientListResponse_Patient extends $pb.GeneratedMessage { factory GetPatientListResponse_Patient.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientListResponse_Patient.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOS(3, _omitFieldNames ? '' : 'notes') @@ -2612,7 +2612,7 @@ class GetPatientListResponse_Bed extends $pb.GeneratedMessage { factory GetPatientListResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientListResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -2680,7 +2680,7 @@ class GetPatientListResponse_Room extends $pb.GeneratedMessage { factory GetPatientListResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientListResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'wardId') @@ -2770,7 +2770,7 @@ class GetPatientListResponse_PatientWithRoomAndBed extends $pb.GeneratedMessage factory GetPatientListResponse_PatientWithRoomAndBed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientListResponse_PatientWithRoomAndBed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.PatientWithRoomAndBed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.PatientWithRoomAndBed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOM(3, _omitFieldNames ? '' : 'room', subBuilder: GetPatientListResponse_Room.create) @@ -2876,7 +2876,7 @@ class GetPatientListResponse_Task_SubTask extends $pb.GeneratedMessage { factory GetPatientListResponse_Task_SubTask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientListResponse_Task_SubTask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.Task.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.Task.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOB(3, _omitFieldNames ? '' : 'done') @@ -2974,7 +2974,7 @@ class GetPatientListResponse_Task extends $pb.GeneratedMessage { factory GetPatientListResponse_Task.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientListResponse_Task.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.Task', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse.Task', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -3096,7 +3096,7 @@ class GetPatientListResponse extends $pb.GeneratedMessage { factory GetPatientListResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientListResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientListResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'active', $pb.PbFieldType.PM, subBuilder: GetPatientListResponse_PatientWithRoomAndBed.create) ..pc(2, _omitFieldNames ? '' : 'unassignedPatients', $pb.PbFieldType.PM, subBuilder: GetPatientListResponse_Patient.create) ..pc(3, _omitFieldNames ? '' : 'dischargedPatients', $pb.PbFieldType.PM, subBuilder: GetPatientListResponse_Patient.create) @@ -3148,7 +3148,7 @@ class ReadmitPatientRequest extends $pb.GeneratedMessage { factory ReadmitPatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory ReadmitPatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadmitPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadmitPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'patientId') ..hasRequiredFields = false ; @@ -3190,7 +3190,7 @@ class ReadmitPatientResponse extends $pb.GeneratedMessage { factory ReadmitPatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory ReadmitPatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadmitPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadmitPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/task_svc/v1/patient_svc.pbenum.dart b/gen/dart/lib/services/task_svc/v1/patient_svc.pbenum.dart similarity index 98% rename from gen/dart/lib/proto/services/task_svc/v1/patient_svc.pbenum.dart rename to gen/dart/lib/services/task_svc/v1/patient_svc.pbenum.dart index 4547f2eb9..76c60751e 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/patient_svc.pbenum.dart +++ b/gen/dart/lib/services/task_svc/v1/patient_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/patient_svc.proto +// source: services/task_svc/v1/patient_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/task_svc/v1/patient_svc.pbgrpc.dart b/gen/dart/lib/services/task_svc/v1/patient_svc.pbgrpc.dart similarity index 93% rename from gen/dart/lib/proto/services/task_svc/v1/patient_svc.pbgrpc.dart rename to gen/dart/lib/services/task_svc/v1/patient_svc.pbgrpc.dart index 2d8e1d37a..79a248bd3 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/patient_svc.pbgrpc.dart +++ b/gen/dart/lib/services/task_svc/v1/patient_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/patient_svc.proto +// source: services/task_svc/v1/patient_svc.proto // // @dart = 2.12 @@ -19,62 +19,62 @@ import 'patient_svc.pb.dart' as $7; export 'patient_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.task_svc.v1.PatientService') +@$pb.GrpcServiceName('services.task_svc.v1.PatientService') class PatientServiceClient extends $grpc.Client { static final _$createPatient = $grpc.ClientMethod<$7.CreatePatientRequest, $7.CreatePatientResponse>( - '/proto.services.task_svc.v1.PatientService/CreatePatient', + '/services.task_svc.v1.PatientService/CreatePatient', ($7.CreatePatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.CreatePatientResponse.fromBuffer(value)); static final _$getPatient = $grpc.ClientMethod<$7.GetPatientRequest, $7.GetPatientResponse>( - '/proto.services.task_svc.v1.PatientService/GetPatient', + '/services.task_svc.v1.PatientService/GetPatient', ($7.GetPatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.GetPatientResponse.fromBuffer(value)); static final _$getPatientByBed = $grpc.ClientMethod<$7.GetPatientByBedRequest, $7.GetPatientByBedResponse>( - '/proto.services.task_svc.v1.PatientService/GetPatientByBed', + '/services.task_svc.v1.PatientService/GetPatientByBed', ($7.GetPatientByBedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.GetPatientByBedResponse.fromBuffer(value)); static final _$getPatientsByWard = $grpc.ClientMethod<$7.GetPatientsByWardRequest, $7.GetPatientsByWardResponse>( - '/proto.services.task_svc.v1.PatientService/GetPatientsByWard', + '/services.task_svc.v1.PatientService/GetPatientsByWard', ($7.GetPatientsByWardRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.GetPatientsByWardResponse.fromBuffer(value)); static final _$getPatientAssignmentByWard = $grpc.ClientMethod<$7.GetPatientAssignmentByWardRequest, $7.GetPatientAssignmentByWardResponse>( - '/proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard', + '/services.task_svc.v1.PatientService/GetPatientAssignmentByWard', ($7.GetPatientAssignmentByWardRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.GetPatientAssignmentByWardResponse.fromBuffer(value)); static final _$getRecentPatients = $grpc.ClientMethod<$7.GetRecentPatientsRequest, $7.GetRecentPatientsResponse>( - '/proto.services.task_svc.v1.PatientService/GetRecentPatients', + '/services.task_svc.v1.PatientService/GetRecentPatients', ($7.GetRecentPatientsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.GetRecentPatientsResponse.fromBuffer(value)); static final _$updatePatient = $grpc.ClientMethod<$7.UpdatePatientRequest, $7.UpdatePatientResponse>( - '/proto.services.task_svc.v1.PatientService/UpdatePatient', + '/services.task_svc.v1.PatientService/UpdatePatient', ($7.UpdatePatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.UpdatePatientResponse.fromBuffer(value)); static final _$assignBed = $grpc.ClientMethod<$7.AssignBedRequest, $7.AssignBedResponse>( - '/proto.services.task_svc.v1.PatientService/AssignBed', + '/services.task_svc.v1.PatientService/AssignBed', ($7.AssignBedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.AssignBedResponse.fromBuffer(value)); static final _$unassignBed = $grpc.ClientMethod<$7.UnassignBedRequest, $7.UnassignBedResponse>( - '/proto.services.task_svc.v1.PatientService/UnassignBed', + '/services.task_svc.v1.PatientService/UnassignBed', ($7.UnassignBedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.UnassignBedResponse.fromBuffer(value)); static final _$dischargePatient = $grpc.ClientMethod<$7.DischargePatientRequest, $7.DischargePatientResponse>( - '/proto.services.task_svc.v1.PatientService/DischargePatient', + '/services.task_svc.v1.PatientService/DischargePatient', ($7.DischargePatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.DischargePatientResponse.fromBuffer(value)); static final _$getPatientDetails = $grpc.ClientMethod<$7.GetPatientDetailsRequest, $7.GetPatientDetailsResponse>( - '/proto.services.task_svc.v1.PatientService/GetPatientDetails', + '/services.task_svc.v1.PatientService/GetPatientDetails', ($7.GetPatientDetailsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.GetPatientDetailsResponse.fromBuffer(value)); static final _$getPatientList = $grpc.ClientMethod<$7.GetPatientListRequest, $7.GetPatientListResponse>( - '/proto.services.task_svc.v1.PatientService/GetPatientList', + '/services.task_svc.v1.PatientService/GetPatientList', ($7.GetPatientListRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.GetPatientListResponse.fromBuffer(value)); static final _$deletePatient = $grpc.ClientMethod<$7.DeletePatientRequest, $7.DeletePatientResponse>( - '/proto.services.task_svc.v1.PatientService/DeletePatient', + '/services.task_svc.v1.PatientService/DeletePatient', ($7.DeletePatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.DeletePatientResponse.fromBuffer(value)); static final _$readmitPatient = $grpc.ClientMethod<$7.ReadmitPatientRequest, $7.ReadmitPatientResponse>( - '/proto.services.task_svc.v1.PatientService/ReadmitPatient', + '/services.task_svc.v1.PatientService/ReadmitPatient', ($7.ReadmitPatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $7.ReadmitPatientResponse.fromBuffer(value)); @@ -141,9 +141,9 @@ class PatientServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.task_svc.v1.PatientService') +@$pb.GrpcServiceName('services.task_svc.v1.PatientService') abstract class PatientServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.task_svc.v1.PatientService'; + $core.String get $name => 'services.task_svc.v1.PatientService'; PatientServiceBase() { $addMethod($grpc.ServiceMethod<$7.CreatePatientRequest, $7.CreatePatientResponse>( diff --git a/gen/dart/lib/proto/services/task_svc/v1/patient_svc.pbjson.dart b/gen/dart/lib/services/task_svc/v1/patient_svc.pbjson.dart similarity index 71% rename from gen/dart/lib/proto/services/task_svc/v1/patient_svc.pbjson.dart rename to gen/dart/lib/services/task_svc/v1/patient_svc.pbjson.dart index c3384b2c3..742d61717 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/patient_svc.pbjson.dart +++ b/gen/dart/lib/services/task_svc/v1/patient_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/patient_svc.proto +// source: services/task_svc/v1/patient_svc.proto // // @dart = 2.12 @@ -78,8 +78,8 @@ const GetPatientResponse$json = { '10': 'wardId', '17': true, }, - {'1': 'room', '3': 7, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientResponse.Room', '9': 2, '10': 'room', '17': true}, - {'1': 'bed', '3': 8, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientResponse.Bed', '9': 3, '10': 'bed', '17': true}, + {'1': 'room', '3': 7, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetPatientResponse.Room', '9': 2, '10': 'room', '17': true}, + {'1': 'bed', '3': 8, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetPatientResponse.Bed', '9': 3, '10': 'bed', '17': true}, ], '3': [GetPatientResponse_Room$json, GetPatientResponse_Bed$json], '8': [ @@ -114,12 +114,12 @@ final $typed_data.Uint8List getPatientResponseDescriptor = $convert.base64Decode 'ChJHZXRQYXRpZW50UmVzcG9uc2USDgoCaWQYASABKAlSAmlkEjoKGWh1bWFuX3JlYWRhYmxlX2' 'lkZW50aWZpZXIYAiABKAlSF2h1bWFuUmVhZGFibGVJZGVudGlmaWVyEhQKBW5vdGVzGAMgASgJ' 'UgVub3RlcxIeCgZiZWRfaWQYBCABKAlCAhgBSABSBWJlZElkiAEBEiAKB3dhcmRfaWQYBSABKA' - 'lCAhgBSAFSBndhcmRJZIgBARJMCgRyb29tGAcgASgLMjMucHJvdG8uc2VydmljZXMudGFza19z' - 'dmMudjEuR2V0UGF0aWVudFJlc3BvbnNlLlJvb21IAlIEcm9vbYgBARJJCgNiZWQYCCABKAsyMi' - '5wcm90by5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRQYXRpZW50UmVzcG9uc2UuQmVkSANSA2Jl' - 'ZIgBARpDCgRSb29tEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEhcKB3dhcm' - 'RfaWQYAyABKAlSBndhcmRJZBopCgNCZWQSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlS' - 'BG5hbWVCCQoHX2JlZF9pZEIKCghfd2FyZF9pZEIHCgVfcm9vbUIGCgRfYmVk'); + 'lCAhgBSAFSBndhcmRJZIgBARJGCgRyb29tGAcgASgLMi0uc2VydmljZXMudGFza19zdmMudjEu' + 'R2V0UGF0aWVudFJlc3BvbnNlLlJvb21IAlIEcm9vbYgBARJDCgNiZWQYCCABKAsyLC5zZXJ2aW' + 'Nlcy50YXNrX3N2Yy52MS5HZXRQYXRpZW50UmVzcG9uc2UuQmVkSANSA2JlZIgBARpDCgRSb29t' + 'Eg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEhcKB3dhcmRfaWQYAyABKAlSBn' + 'dhcmRJZBopCgNCZWQSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWVCCQoHX2Jl' + 'ZF9pZEIKCghfd2FyZF9pZEIHCgVfcm9vbUIGCgRfYmVk'); @$core.Deprecated('Use deletePatientRequestDescriptor instead') const DeletePatientRequest$json = { @@ -190,7 +190,7 @@ final $typed_data.Uint8List getPatientsByWardRequestDescriptor = $convert.base64 const GetPatientsByWardResponse$json = { '1': 'GetPatientsByWardResponse', '2': [ - {'1': 'patients', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient', '10': 'patients'}, + {'1': 'patients', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetPatientsByWardResponse.Patient', '10': 'patients'}, ], '3': [GetPatientsByWardResponse_Patient$json], }; @@ -211,11 +211,11 @@ const GetPatientsByWardResponse_Patient$json = { /// Descriptor for `GetPatientsByWardResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getPatientsByWardResponseDescriptor = $convert.base64Decode( - 'ChlHZXRQYXRpZW50c0J5V2FyZFJlc3BvbnNlElkKCHBhdGllbnRzGAEgAygLMj0ucHJvdG8uc2' - 'VydmljZXMudGFza19zdmMudjEuR2V0UGF0aWVudHNCeVdhcmRSZXNwb25zZS5QYXRpZW50Ughw' - 'YXRpZW50cxqSAQoHUGF0aWVudBIOCgJpZBgBIAEoCVICaWQSOgoZaHVtYW5fcmVhZGFibGVfaW' - 'RlbnRpZmllchgCIAEoCVIXaHVtYW5SZWFkYWJsZUlkZW50aWZpZXISFAoFbm90ZXMYAyABKAlS' - 'BW5vdGVzEhoKBmJlZF9pZBgEIAEoCUgAUgViZWRJZIgBAUIJCgdfYmVkX2lk'); + 'ChlHZXRQYXRpZW50c0J5V2FyZFJlc3BvbnNlElMKCHBhdGllbnRzGAEgAygLMjcuc2VydmljZX' + 'MudGFza19zdmMudjEuR2V0UGF0aWVudHNCeVdhcmRSZXNwb25zZS5QYXRpZW50UghwYXRpZW50' + 'cxqSAQoHUGF0aWVudBIOCgJpZBgBIAEoCVICaWQSOgoZaHVtYW5fcmVhZGFibGVfaWRlbnRpZm' + 'llchgCIAEoCVIXaHVtYW5SZWFkYWJsZUlkZW50aWZpZXISFAoFbm90ZXMYAyABKAlSBW5vdGVz' + 'EhoKBmJlZF9pZBgEIAEoCUgAUgViZWRJZIgBAUIJCgdfYmVkX2lk'); @$core.Deprecated('Use getPatientAssignmentByWardRequestDescriptor instead') const GetPatientAssignmentByWardRequest$json = { @@ -234,7 +234,7 @@ final $typed_data.Uint8List getPatientAssignmentByWardRequestDescriptor = $conve const GetPatientAssignmentByWardResponse$json = { '1': 'GetPatientAssignmentByWardResponse', '2': [ - {'1': 'rooms', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room', '10': 'rooms'}, + {'1': 'rooms', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room', '10': 'rooms'}, ], '3': [GetPatientAssignmentByWardResponse_Room$json], }; @@ -245,7 +245,7 @@ const GetPatientAssignmentByWardResponse_Room$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed', '10': 'beds'}, + {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed', '10': 'beds'}, ], '3': [GetPatientAssignmentByWardResponse_Room_Bed$json], }; @@ -256,7 +256,7 @@ const GetPatientAssignmentByWardResponse_Room_Bed$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'patient', '3': 3, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient', '9': 0, '10': 'patient', '17': true}, + {'1': 'patient', '3': 3, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient', '9': 0, '10': 'patient', '17': true}, ], '3': [GetPatientAssignmentByWardResponse_Room_Bed_Patient$json], '8': [ @@ -275,15 +275,15 @@ const GetPatientAssignmentByWardResponse_Room_Bed_Patient$json = { /// Descriptor for `GetPatientAssignmentByWardResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getPatientAssignmentByWardResponseDescriptor = $convert.base64Decode( - 'CiJHZXRQYXRpZW50QXNzaWdubWVudEJ5V2FyZFJlc3BvbnNlElkKBXJvb21zGAEgAygLMkMucH' - 'JvdG8uc2VydmljZXMudGFza19zdmMudjEuR2V0UGF0aWVudEFzc2lnbm1lbnRCeVdhcmRSZXNw' - 'b25zZS5Sb29tUgVyb29tcxreAgoEUm9vbRIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCV' - 'IEbmFtZRJbCgRiZWRzGAMgAygLMkcucHJvdG8uc2VydmljZXMudGFza19zdmMudjEuR2V0UGF0' - 'aWVudEFzc2lnbm1lbnRCeVdhcmRSZXNwb25zZS5Sb29tLkJlZFIEYmVkcxrUAQoDQmVkEg4KAm' - 'lkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEm4KB3BhdGllbnQYAyABKAsyTy5wcm90' - 'by5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRQYXRpZW50QXNzaWdubWVudEJ5V2FyZFJlc3Bvbn' - 'NlLlJvb20uQmVkLlBhdGllbnRIAFIHcGF0aWVudIgBARotCgdQYXRpZW50Eg4KAmlkGAEgASgJ' - 'UgJpZBISCgRuYW1lGAIgASgJUgRuYW1lQgoKCF9wYXRpZW50'); + 'CiJHZXRQYXRpZW50QXNzaWdubWVudEJ5V2FyZFJlc3BvbnNlElMKBXJvb21zGAEgAygLMj0uc2' + 'VydmljZXMudGFza19zdmMudjEuR2V0UGF0aWVudEFzc2lnbm1lbnRCeVdhcmRSZXNwb25zZS5S' + 'b29tUgVyb29tcxrSAgoEUm9vbRIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZR' + 'JVCgRiZWRzGAMgAygLMkEuc2VydmljZXMudGFza19zdmMudjEuR2V0UGF0aWVudEFzc2lnbm1l' + 'bnRCeVdhcmRSZXNwb25zZS5Sb29tLkJlZFIEYmVkcxrOAQoDQmVkEg4KAmlkGAEgASgJUgJpZB' + 'ISCgRuYW1lGAIgASgJUgRuYW1lEmgKB3BhdGllbnQYAyABKAsySS5zZXJ2aWNlcy50YXNrX3N2' + 'Yy52MS5HZXRQYXRpZW50QXNzaWdubWVudEJ5V2FyZFJlc3BvbnNlLlJvb20uQmVkLlBhdGllbn' + 'RIAFIHcGF0aWVudIgBARotCgdQYXRpZW50Eg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJ' + 'UgRuYW1lQgoKCF9wYXRpZW50'); @$core.Deprecated('Use getRecentPatientsRequestDescriptor instead') const GetRecentPatientsRequest$json = { @@ -298,7 +298,7 @@ final $typed_data.Uint8List getRecentPatientsRequestDescriptor = $convert.base64 const GetRecentPatientsResponse$json = { '1': 'GetRecentPatientsResponse', '2': [ - {'1': 'recent_patients', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed', '10': 'recentPatients'}, + {'1': 'recent_patients', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed', '10': 'recentPatients'}, ], '3': [GetRecentPatientsResponse_Bed$json, GetRecentPatientsResponse_Room$json, GetRecentPatientsResponse_PatientWithRoomAndBed$json], }; @@ -328,23 +328,22 @@ const GetRecentPatientsResponse_PatientWithRoomAndBed$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'human_readable_identifier', '3': 2, '4': 1, '5': 9, '10': 'humanReadableIdentifier'}, - {'1': 'room', '3': 3, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetRecentPatientsResponse.Room', '10': 'room'}, - {'1': 'bed', '3': 4, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed', '10': 'bed'}, + {'1': 'room', '3': 3, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetRecentPatientsResponse.Room', '10': 'room'}, + {'1': 'bed', '3': 4, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetRecentPatientsResponse.Bed', '10': 'bed'}, ], }; /// Descriptor for `GetRecentPatientsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getRecentPatientsResponseDescriptor = $convert.base64Decode( - 'ChlHZXRSZWNlbnRQYXRpZW50c1Jlc3BvbnNlEnQKD3JlY2VudF9wYXRpZW50cxgBIAMoCzJLLn' - 'Byb3RvLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFJlY2VudFBhdGllbnRzUmVzcG9uc2UuUGF0' - 'aWVudFdpdGhSb29tQW5kQmVkUg5yZWNlbnRQYXRpZW50cxopCgNCZWQSDgoCaWQYASABKAlSAm' - 'lkEhIKBG5hbWUYAiABKAlSBG5hbWUaQwoEUm9vbRIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgC' - 'IAEoCVIEbmFtZRIXCgd3YXJkX2lkGAMgASgJUgZ3YXJkSWQagAIKFVBhdGllbnRXaXRoUm9vbU' - 'FuZEJlZBIOCgJpZBgBIAEoCVICaWQSOgoZaHVtYW5fcmVhZGFibGVfaWRlbnRpZmllchgCIAEo' - 'CVIXaHVtYW5SZWFkYWJsZUlkZW50aWZpZXISTgoEcm9vbRgDIAEoCzI6LnByb3RvLnNlcnZpY2' - 'VzLnRhc2tfc3ZjLnYxLkdldFJlY2VudFBhdGllbnRzUmVzcG9uc2UuUm9vbVIEcm9vbRJLCgNi' - 'ZWQYBCABKAsyOS5wcm90by5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRSZWNlbnRQYXRpZW50c1' - 'Jlc3BvbnNlLkJlZFIDYmVk'); + 'ChlHZXRSZWNlbnRQYXRpZW50c1Jlc3BvbnNlEm4KD3JlY2VudF9wYXRpZW50cxgBIAMoCzJFLn' + 'NlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFJlY2VudFBhdGllbnRzUmVzcG9uc2UuUGF0aWVudFdp' + 'dGhSb29tQW5kQmVkUg5yZWNlbnRQYXRpZW50cxopCgNCZWQSDgoCaWQYASABKAlSAmlkEhIKBG' + '5hbWUYAiABKAlSBG5hbWUaQwoEUm9vbRIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIE' + 'bmFtZRIXCgd3YXJkX2lkGAMgASgJUgZ3YXJkSWQa9AEKFVBhdGllbnRXaXRoUm9vbUFuZEJlZB' + 'IOCgJpZBgBIAEoCVICaWQSOgoZaHVtYW5fcmVhZGFibGVfaWRlbnRpZmllchgCIAEoCVIXaHVt' + 'YW5SZWFkYWJsZUlkZW50aWZpZXISSAoEcm9vbRgDIAEoCzI0LnNlcnZpY2VzLnRhc2tfc3ZjLn' + 'YxLkdldFJlY2VudFBhdGllbnRzUmVzcG9uc2UuUm9vbVIEcm9vbRJFCgNiZWQYBCABKAsyMy5z' + 'ZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRSZWNlbnRQYXRpZW50c1Jlc3BvbnNlLkJlZFIDYmVk'); @$core.Deprecated('Use updatePatientRequestDescriptor instead') const UpdatePatientRequest$json = { @@ -461,7 +460,7 @@ const GetPatientDetailsResponse$json = { {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'human_readable_identifier', '3': 3, '4': 1, '5': 9, '10': 'humanReadableIdentifier'}, {'1': 'notes', '3': 4, '4': 1, '5': 9, '10': 'notes'}, - {'1': 'tasks', '3': 5, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientDetailsResponse.Task', '10': 'tasks'}, + {'1': 'tasks', '3': 5, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetPatientDetailsResponse.Task', '10': 'tasks'}, { '1': 'ward_id', '3': 6, @@ -472,8 +471,8 @@ const GetPatientDetailsResponse$json = { '10': 'wardId', '17': true, }, - {'1': 'room', '3': 7, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientDetailsResponse.Room', '9': 1, '10': 'room', '17': true}, - {'1': 'bed', '3': 8, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed', '9': 2, '10': 'bed', '17': true}, + {'1': 'room', '3': 7, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetPatientDetailsResponse.Room', '9': 1, '10': 'room', '17': true}, + {'1': 'bed', '3': 8, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetPatientDetailsResponse.Bed', '9': 2, '10': 'bed', '17': true}, {'1': 'is_discharged', '3': 9, '4': 1, '5': 8, '10': 'isDischarged'}, ], '3': [GetPatientDetailsResponse_Room$json, GetPatientDetailsResponse_Bed$json, GetPatientDetailsResponse_Task$json], @@ -511,11 +510,11 @@ const GetPatientDetailsResponse_Task$json = { {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, - {'1': 'status', '3': 4, '4': 1, '5': 14, '6': '.proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus', '10': 'status'}, + {'1': 'status', '3': 4, '4': 1, '5': 14, '6': '.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus', '10': 'status'}, {'1': 'assigned_user_id', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'assignedUserId', '17': true}, {'1': 'patient_id', '3': 6, '4': 1, '5': 9, '10': 'patientId'}, {'1': 'public', '3': 7, '4': 1, '5': 8, '10': 'public'}, - {'1': 'subtasks', '3': 8, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask', '10': 'subtasks'}, + {'1': 'subtasks', '3': 8, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask', '10': 'subtasks'}, ], '3': [GetPatientDetailsResponse_Task_SubTask$json], '8': [ @@ -548,26 +547,25 @@ const GetPatientDetailsResponse_TaskStatus$json = { final $typed_data.Uint8List getPatientDetailsResponseDescriptor = $convert.base64Decode( 'ChlHZXRQYXRpZW50RGV0YWlsc1Jlc3BvbnNlEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgAS' 'gJUgRuYW1lEjoKGWh1bWFuX3JlYWRhYmxlX2lkZW50aWZpZXIYAyABKAlSF2h1bWFuUmVhZGFi' - 'bGVJZGVudGlmaWVyEhQKBW5vdGVzGAQgASgJUgVub3RlcxJQCgV0YXNrcxgFIAMoCzI6LnByb3' - 'RvLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFBhdGllbnREZXRhaWxzUmVzcG9uc2UuVGFza1IF' - 'dGFza3MSIAoHd2FyZF9pZBgGIAEoCUICGAFIAFIGd2FyZElkiAEBElMKBHJvb20YByABKAsyOi' - '5wcm90by5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRQYXRpZW50RGV0YWlsc1Jlc3BvbnNlLlJv' - 'b21IAVIEcm9vbYgBARJQCgNiZWQYCCABKAsyOS5wcm90by5zZXJ2aWNlcy50YXNrX3N2Yy52MS' - '5HZXRQYXRpZW50RGV0YWlsc1Jlc3BvbnNlLkJlZEgCUgNiZWSIAQESIwoNaXNfZGlzY2hhcmdl' - 'ZBgJIAEoCFIMaXNEaXNjaGFyZ2VkGkMKBFJvb20SDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAi' - 'ABKAlSBG5hbWUSFwoHd2FyZF9pZBgDIAEoCVIGd2FyZElkGikKA0JlZBIOCgJpZBgBIAEoCVIC' - 'aWQSEgoEbmFtZRgCIAEoCVIEbmFtZRrEAwoEVGFzaxIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZR' - 'gCIAEoCVIEbmFtZRIgCgtkZXNjcmlwdGlvbhgDIAEoCVILZGVzY3JpcHRpb24SWAoGc3RhdHVz' - 'GAQgASgOMkAucHJvdG8uc2VydmljZXMudGFza19zdmMudjEuR2V0UGF0aWVudERldGFpbHNSZX' - 'Nwb25zZS5UYXNrU3RhdHVzUgZzdGF0dXMSLQoQYXNzaWduZWRfdXNlcl9pZBgFIAEoCUgAUg5h' - 'c3NpZ25lZFVzZXJJZIgBARIdCgpwYXRpZW50X2lkGAYgASgJUglwYXRpZW50SWQSFgoGcHVibG' - 'ljGAcgASgIUgZwdWJsaWMSXgoIc3VidGFza3MYCCADKAsyQi5wcm90by5zZXJ2aWNlcy50YXNr' - 'X3N2Yy52MS5HZXRQYXRpZW50RGV0YWlsc1Jlc3BvbnNlLlRhc2suU3ViVGFza1IIc3VidGFza3' - 'MaQQoHU3ViVGFzaxIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRISCgRkb25l' - 'GAMgASgIUgRkb25lQhMKEV9hc3NpZ25lZF91c2VyX2lkInIKClRhc2tTdGF0dXMSGwoXVEFTS1' - '9TVEFUVVNfVU5TUEVDSUZJRUQQABIUChBUQVNLX1NUQVRVU19UT0RPEAESGwoXVEFTS19TVEFU' - 'VVNfSU5fUFJPR1JFU1MQAhIUChBUQVNLX1NUQVRVU19ET05FEANCCgoIX3dhcmRfaWRCBwoFX3' - 'Jvb21CBgoEX2JlZA=='); + 'bGVJZGVudGlmaWVyEhQKBW5vdGVzGAQgASgJUgVub3RlcxJKCgV0YXNrcxgFIAMoCzI0LnNlcn' + 'ZpY2VzLnRhc2tfc3ZjLnYxLkdldFBhdGllbnREZXRhaWxzUmVzcG9uc2UuVGFza1IFdGFza3MS' + 'IAoHd2FyZF9pZBgGIAEoCUICGAFIAFIGd2FyZElkiAEBEk0KBHJvb20YByABKAsyNC5zZXJ2aW' + 'Nlcy50YXNrX3N2Yy52MS5HZXRQYXRpZW50RGV0YWlsc1Jlc3BvbnNlLlJvb21IAVIEcm9vbYgB' + 'ARJKCgNiZWQYCCABKAsyMy5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRQYXRpZW50RGV0YWlsc1' + 'Jlc3BvbnNlLkJlZEgCUgNiZWSIAQESIwoNaXNfZGlzY2hhcmdlZBgJIAEoCFIMaXNEaXNjaGFy' + 'Z2VkGkMKBFJvb20SDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSFwoHd2FyZF' + '9pZBgDIAEoCVIGd2FyZElkGikKA0JlZBIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIE' + 'bmFtZRq4AwoEVGFzaxIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRIgCgtkZX' + 'NjcmlwdGlvbhgDIAEoCVILZGVzY3JpcHRpb24SUgoGc3RhdHVzGAQgASgOMjouc2VydmljZXMu' + 'dGFza19zdmMudjEuR2V0UGF0aWVudERldGFpbHNSZXNwb25zZS5UYXNrU3RhdHVzUgZzdGF0dX' + 'MSLQoQYXNzaWduZWRfdXNlcl9pZBgFIAEoCUgAUg5hc3NpZ25lZFVzZXJJZIgBARIdCgpwYXRp' + 'ZW50X2lkGAYgASgJUglwYXRpZW50SWQSFgoGcHVibGljGAcgASgIUgZwdWJsaWMSWAoIc3VidG' + 'Fza3MYCCADKAsyPC5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRQYXRpZW50RGV0YWlsc1Jlc3Bv' + 'bnNlLlRhc2suU3ViVGFza1IIc3VidGFza3MaQQoHU3ViVGFzaxIOCgJpZBgBIAEoCVICaWQSEg' + 'oEbmFtZRgCIAEoCVIEbmFtZRISCgRkb25lGAMgASgIUgRkb25lQhMKEV9hc3NpZ25lZF91c2Vy' + 'X2lkInIKClRhc2tTdGF0dXMSGwoXVEFTS19TVEFUVVNfVU5TUEVDSUZJRUQQABIUChBUQVNLX1' + 'NUQVRVU19UT0RPEAESGwoXVEFTS19TVEFUVVNfSU5fUFJPR1JFU1MQAhIUChBUQVNLX1NUQVRV' + 'U19ET05FEANCCgoIX3dhcmRfaWRCBwoFX3Jvb21CBgoEX2JlZA=='); @$core.Deprecated('Use getPatientListRequestDescriptor instead') const GetPatientListRequest$json = { @@ -589,9 +587,9 @@ final $typed_data.Uint8List getPatientListRequestDescriptor = $convert.base64Dec const GetPatientListResponse$json = { '1': 'GetPatientListResponse', '2': [ - {'1': 'active', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed', '10': 'active'}, - {'1': 'unassigned_patients', '3': 2, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientListResponse.Patient', '10': 'unassignedPatients'}, - {'1': 'discharged_patients', '3': 3, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientListResponse.Patient', '10': 'dischargedPatients'}, + {'1': 'active', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed', '10': 'active'}, + {'1': 'unassigned_patients', '3': 2, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetPatientListResponse.Patient', '10': 'unassignedPatients'}, + {'1': 'discharged_patients', '3': 3, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetPatientListResponse.Patient', '10': 'dischargedPatients'}, ], '3': [GetPatientListResponse_Patient$json, GetPatientListResponse_Bed$json, GetPatientListResponse_Room$json, GetPatientListResponse_PatientWithRoomAndBed$json, GetPatientListResponse_Task$json], '4': [GetPatientListResponse_TaskStatus$json], @@ -604,7 +602,7 @@ const GetPatientListResponse_Patient$json = { {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'human_readable_identifier', '3': 2, '4': 1, '5': 9, '10': 'humanReadableIdentifier'}, {'1': 'notes', '3': 3, '4': 1, '5': 9, '10': 'notes'}, - {'1': 'tasks', '3': 4, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientListResponse.Task', '10': 'tasks'}, + {'1': 'tasks', '3': 4, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetPatientListResponse.Task', '10': 'tasks'}, ], }; @@ -633,10 +631,10 @@ const GetPatientListResponse_PatientWithRoomAndBed$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'human_readable_identifier', '3': 2, '4': 1, '5': 9, '10': 'humanReadableIdentifier'}, - {'1': 'room', '3': 3, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientListResponse.Room', '10': 'room'}, - {'1': 'bed', '3': 4, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientListResponse.Bed', '10': 'bed'}, + {'1': 'room', '3': 3, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetPatientListResponse.Room', '10': 'room'}, + {'1': 'bed', '3': 4, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetPatientListResponse.Bed', '10': 'bed'}, {'1': 'notes', '3': 5, '4': 1, '5': 9, '10': 'notes'}, - {'1': 'tasks', '3': 6, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientListResponse.Task', '10': 'tasks'}, + {'1': 'tasks', '3': 6, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetPatientListResponse.Task', '10': 'tasks'}, ], }; @@ -647,11 +645,11 @@ const GetPatientListResponse_Task$json = { {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, - {'1': 'status', '3': 4, '4': 1, '5': 14, '6': '.proto.services.task_svc.v1.GetPatientListResponse.TaskStatus', '10': 'status'}, + {'1': 'status', '3': 4, '4': 1, '5': 14, '6': '.services.task_svc.v1.GetPatientListResponse.TaskStatus', '10': 'status'}, {'1': 'assigned_user_id', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'assignedUserId', '17': true}, {'1': 'patient_id', '3': 6, '4': 1, '5': 9, '10': 'patientId'}, {'1': 'public', '3': 7, '4': 1, '5': 8, '10': 'public'}, - {'1': 'subtasks', '3': 8, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask', '10': 'subtasks'}, + {'1': 'subtasks', '3': 8, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetPatientListResponse.Task.SubTask', '10': 'subtasks'}, ], '3': [GetPatientListResponse_Task_SubTask$json], '8': [ @@ -682,35 +680,34 @@ const GetPatientListResponse_TaskStatus$json = { /// Descriptor for `GetPatientListResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getPatientListResponseDescriptor = $convert.base64Decode( - 'ChZHZXRQYXRpZW50TGlzdFJlc3BvbnNlEmAKBmFjdGl2ZRgBIAMoCzJILnByb3RvLnNlcnZpY2' - 'VzLnRhc2tfc3ZjLnYxLkdldFBhdGllbnRMaXN0UmVzcG9uc2UuUGF0aWVudFdpdGhSb29tQW5k' - 'QmVkUgZhY3RpdmUSawoTdW5hc3NpZ25lZF9wYXRpZW50cxgCIAMoCzI6LnByb3RvLnNlcnZpY2' - 'VzLnRhc2tfc3ZjLnYxLkdldFBhdGllbnRMaXN0UmVzcG9uc2UuUGF0aWVudFISdW5hc3NpZ25l' - 'ZFBhdGllbnRzEmsKE2Rpc2NoYXJnZWRfcGF0aWVudHMYAyADKAsyOi5wcm90by5zZXJ2aWNlcy' - '50YXNrX3N2Yy52MS5HZXRQYXRpZW50TGlzdFJlc3BvbnNlLlBhdGllbnRSEmRpc2NoYXJnZWRQ' - 'YXRpZW50cxq6AQoHUGF0aWVudBIOCgJpZBgBIAEoCVICaWQSOgoZaHVtYW5fcmVhZGFibGVfaW' - 'RlbnRpZmllchgCIAEoCVIXaHVtYW5SZWFkYWJsZUlkZW50aWZpZXISFAoFbm90ZXMYAyABKAlS' - 'BW5vdGVzEk0KBXRhc2tzGAQgAygLMjcucHJvdG8uc2VydmljZXMudGFza19zdmMudjEuR2V0UG' - 'F0aWVudExpc3RSZXNwb25zZS5UYXNrUgV0YXNrcxopCgNCZWQSDgoCaWQYASABKAlSAmlkEhIK' - 'BG5hbWUYAiABKAlSBG5hbWUaQwoEUm9vbRIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCV' - 'IEbmFtZRIXCgd3YXJkX2lkGAMgASgJUgZ3YXJkSWQa3wIKFVBhdGllbnRXaXRoUm9vbUFuZEJl' - 'ZBIOCgJpZBgBIAEoCVICaWQSOgoZaHVtYW5fcmVhZGFibGVfaWRlbnRpZmllchgCIAEoCVIXaH' - 'VtYW5SZWFkYWJsZUlkZW50aWZpZXISSwoEcm9vbRgDIAEoCzI3LnByb3RvLnNlcnZpY2VzLnRh' - 'c2tfc3ZjLnYxLkdldFBhdGllbnRMaXN0UmVzcG9uc2UuUm9vbVIEcm9vbRJICgNiZWQYBCABKA' - 'syNi5wcm90by5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRQYXRpZW50TGlzdFJlc3BvbnNlLkJl' - 'ZFIDYmVkEhQKBW5vdGVzGAUgASgJUgVub3RlcxJNCgV0YXNrcxgGIAMoCzI3LnByb3RvLnNlcn' - 'ZpY2VzLnRhc2tfc3ZjLnYxLkdldFBhdGllbnRMaXN0UmVzcG9uc2UuVGFza1IFdGFza3MavgMK' - 'BFRhc2sSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb2' - '4YAyABKAlSC2Rlc2NyaXB0aW9uElUKBnN0YXR1cxgEIAEoDjI9LnByb3RvLnNlcnZpY2VzLnRh' - 'c2tfc3ZjLnYxLkdldFBhdGllbnRMaXN0UmVzcG9uc2UuVGFza1N0YXR1c1IGc3RhdHVzEi0KEG' - 'Fzc2lnbmVkX3VzZXJfaWQYBSABKAlIAFIOYXNzaWduZWRVc2VySWSIAQESHQoKcGF0aWVudF9p' - 'ZBgGIAEoCVIJcGF0aWVudElkEhYKBnB1YmxpYxgHIAEoCFIGcHVibGljElsKCHN1YnRhc2tzGA' - 'ggAygLMj8ucHJvdG8uc2VydmljZXMudGFza19zdmMudjEuR2V0UGF0aWVudExpc3RSZXNwb25z' - 'ZS5UYXNrLlN1YlRhc2tSCHN1YnRhc2tzGkEKB1N1YlRhc2sSDgoCaWQYASABKAlSAmlkEhIKBG' - '5hbWUYAiABKAlSBG5hbWUSEgoEZG9uZRgDIAEoCFIEZG9uZUITChFfYXNzaWduZWRfdXNlcl9p' - 'ZCJyCgpUYXNrU3RhdHVzEhsKF1RBU0tfU1RBVFVTX1VOU1BFQ0lGSUVEEAASFAoQVEFTS19TVE' - 'FUVVNfVE9ETxABEhsKF1RBU0tfU1RBVFVTX0lOX1BST0dSRVNTEAISFAoQVEFTS19TVEFUVVNf' - 'RE9ORRAD'); + 'ChZHZXRQYXRpZW50TGlzdFJlc3BvbnNlEloKBmFjdGl2ZRgBIAMoCzJCLnNlcnZpY2VzLnRhc2' + 'tfc3ZjLnYxLkdldFBhdGllbnRMaXN0UmVzcG9uc2UuUGF0aWVudFdpdGhSb29tQW5kQmVkUgZh' + 'Y3RpdmUSZQoTdW5hc3NpZ25lZF9wYXRpZW50cxgCIAMoCzI0LnNlcnZpY2VzLnRhc2tfc3ZjLn' + 'YxLkdldFBhdGllbnRMaXN0UmVzcG9uc2UuUGF0aWVudFISdW5hc3NpZ25lZFBhdGllbnRzEmUK' + 'E2Rpc2NoYXJnZWRfcGF0aWVudHMYAyADKAsyNC5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRQYX' + 'RpZW50TGlzdFJlc3BvbnNlLlBhdGllbnRSEmRpc2NoYXJnZWRQYXRpZW50cxq0AQoHUGF0aWVu' + 'dBIOCgJpZBgBIAEoCVICaWQSOgoZaHVtYW5fcmVhZGFibGVfaWRlbnRpZmllchgCIAEoCVIXaH' + 'VtYW5SZWFkYWJsZUlkZW50aWZpZXISFAoFbm90ZXMYAyABKAlSBW5vdGVzEkcKBXRhc2tzGAQg' + 'AygLMjEuc2VydmljZXMudGFza19zdmMudjEuR2V0UGF0aWVudExpc3RSZXNwb25zZS5UYXNrUg' + 'V0YXNrcxopCgNCZWQSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUaQwoEUm9v' + 'bRIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRIXCgd3YXJkX2lkGAMgASgJUg' + 'Z3YXJkSWQazQIKFVBhdGllbnRXaXRoUm9vbUFuZEJlZBIOCgJpZBgBIAEoCVICaWQSOgoZaHVt' + 'YW5fcmVhZGFibGVfaWRlbnRpZmllchgCIAEoCVIXaHVtYW5SZWFkYWJsZUlkZW50aWZpZXISRQ' + 'oEcm9vbRgDIAEoCzIxLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFBhdGllbnRMaXN0UmVzcG9u' + 'c2UuUm9vbVIEcm9vbRJCCgNiZWQYBCABKAsyMC5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRQYX' + 'RpZW50TGlzdFJlc3BvbnNlLkJlZFIDYmVkEhQKBW5vdGVzGAUgASgJUgVub3RlcxJHCgV0YXNr' + 'cxgGIAMoCzIxLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFBhdGllbnRMaXN0UmVzcG9uc2UuVG' + 'Fza1IFdGFza3MasgMKBFRhc2sSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUS' + 'IAoLZGVzY3JpcHRpb24YAyABKAlSC2Rlc2NyaXB0aW9uEk8KBnN0YXR1cxgEIAEoDjI3LnNlcn' + 'ZpY2VzLnRhc2tfc3ZjLnYxLkdldFBhdGllbnRMaXN0UmVzcG9uc2UuVGFza1N0YXR1c1IGc3Rh' + 'dHVzEi0KEGFzc2lnbmVkX3VzZXJfaWQYBSABKAlIAFIOYXNzaWduZWRVc2VySWSIAQESHQoKcG' + 'F0aWVudF9pZBgGIAEoCVIJcGF0aWVudElkEhYKBnB1YmxpYxgHIAEoCFIGcHVibGljElUKCHN1' + 'YnRhc2tzGAggAygLMjkuc2VydmljZXMudGFza19zdmMudjEuR2V0UGF0aWVudExpc3RSZXNwb2' + '5zZS5UYXNrLlN1YlRhc2tSCHN1YnRhc2tzGkEKB1N1YlRhc2sSDgoCaWQYASABKAlSAmlkEhIK' + 'BG5hbWUYAiABKAlSBG5hbWUSEgoEZG9uZRgDIAEoCFIEZG9uZUITChFfYXNzaWduZWRfdXNlcl' + '9pZCJyCgpUYXNrU3RhdHVzEhsKF1RBU0tfU1RBVFVTX1VOU1BFQ0lGSUVEEAASFAoQVEFTS19T' + 'VEFUVVNfVE9ETxABEhsKF1RBU0tfU1RBVFVTX0lOX1BST0dSRVNTEAISFAoQVEFTS19TVEFUVV' + 'NfRE9ORRAD'); @$core.Deprecated('Use readmitPatientRequestDescriptor instead') const ReadmitPatientRequest$json = { diff --git a/gen/dart/lib/proto/services/task_svc/v1/room_svc.pb.dart b/gen/dart/lib/services/task_svc/v1/room_svc.pb.dart similarity index 96% rename from gen/dart/lib/proto/services/task_svc/v1/room_svc.pb.dart rename to gen/dart/lib/services/task_svc/v1/room_svc.pb.dart index ef948bb2f..2c137efd3 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/room_svc.pb.dart +++ b/gen/dart/lib/services/task_svc/v1/room_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/room_svc.proto +// source: services/task_svc/v1/room_svc.proto // // @dart = 2.12 @@ -31,7 +31,7 @@ class CreateRoomRequest extends $pb.GeneratedMessage { factory CreateRoomRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateRoomRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateRoomRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateRoomRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'wardId') ..hasRequiredFields = false @@ -91,7 +91,7 @@ class CreateRoomResponse extends $pb.GeneratedMessage { factory CreateRoomResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateRoomResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateRoomResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateRoomResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -141,7 +141,7 @@ class GetRoomRequest extends $pb.GeneratedMessage { factory GetRoomRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -195,7 +195,7 @@ class GetRoomResponse_Bed extends $pb.GeneratedMessage { factory GetRoomResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -271,7 +271,7 @@ class GetRoomResponse extends $pb.GeneratedMessage { factory GetRoomResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..pc(3, _omitFieldNames ? '' : 'beds', $pb.PbFieldType.PM, subBuilder: GetRoomResponse_Bed.create) @@ -347,7 +347,7 @@ class GetRoomsRequest extends $pb.GeneratedMessage { factory GetRoomsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -391,7 +391,7 @@ class GetRoomsResponse_Room_Bed extends $pb.GeneratedMessage { factory GetRoomsResponse_Room_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomsResponse_Room_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsResponse.Room.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsResponse.Room.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -467,7 +467,7 @@ class GetRoomsResponse_Room extends $pb.GeneratedMessage { factory GetRoomsResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomsResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..pc(3, _omitFieldNames ? '' : 'beds', $pb.PbFieldType.PM, subBuilder: GetRoomsResponse_Room_Bed.create) @@ -551,7 +551,7 @@ class GetRoomsResponse extends $pb.GeneratedMessage { factory GetRoomsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'rooms', $pb.PbFieldType.PM, subBuilder: GetRoomsResponse_Room.create) ..hasRequiredFields = false ; @@ -595,7 +595,7 @@ class GetRoomsByWardRequest extends $pb.GeneratedMessage { factory GetRoomsByWardRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomsByWardRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsByWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsByWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'wardId') ..hasRequiredFields = false ; @@ -649,7 +649,7 @@ class GetRoomsByWardResponse_Room_Bed extends $pb.GeneratedMessage { factory GetRoomsByWardResponse_Room_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomsByWardResponse_Room_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsByWardResponse.Room.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsByWardResponse.Room.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -725,7 +725,7 @@ class GetRoomsByWardResponse_Room extends $pb.GeneratedMessage { factory GetRoomsByWardResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomsByWardResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsByWardResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsByWardResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..pc(3, _omitFieldNames ? '' : 'beds', $pb.PbFieldType.PM, subBuilder: GetRoomsByWardResponse_Room_Bed.create) @@ -809,7 +809,7 @@ class GetRoomsByWardResponse extends $pb.GeneratedMessage { factory GetRoomsByWardResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomsByWardResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsByWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomsByWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'rooms', $pb.PbFieldType.PM, subBuilder: GetRoomsByWardResponse_Room.create) ..hasRequiredFields = false ; @@ -857,7 +857,7 @@ class UpdateRoomRequest extends $pb.GeneratedMessage { factory UpdateRoomRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateRoomRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRoomRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRoomRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -909,7 +909,7 @@ class UpdateRoomResponse extends $pb.GeneratedMessage { factory UpdateRoomResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateRoomResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRoomResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRoomResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -949,7 +949,7 @@ class DeleteRoomRequest extends $pb.GeneratedMessage { factory DeleteRoomRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteRoomRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRoomRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRoomRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -991,7 +991,7 @@ class DeleteRoomResponse extends $pb.GeneratedMessage { factory DeleteRoomResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteRoomResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRoomResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRoomResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1031,7 +1031,7 @@ class GetRoomOverviewsByWardRequest extends $pb.GeneratedMessage { factory GetRoomOverviewsByWardRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomOverviewsByWardRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomOverviewsByWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomOverviewsByWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -1097,7 +1097,7 @@ class GetRoomOverviewsByWardResponse_Room_Bed_Patient extends $pb.GeneratedMessa factory GetRoomOverviewsByWardResponse_Room_Bed_Patient.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomOverviewsByWardResponse_Room_Bed_Patient.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomOverviewsByWardResponse.Room.Bed.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomOverviewsByWardResponse.Room.Bed.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'humanReadableIdentifier') ..a<$core.int>(3, _omitFieldNames ? '' : 'tasksUnscheduled', $pb.PbFieldType.OU3) @@ -1195,7 +1195,7 @@ class GetRoomOverviewsByWardResponse_Room_Bed extends $pb.GeneratedMessage { factory GetRoomOverviewsByWardResponse_Room_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomOverviewsByWardResponse_Room_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomOverviewsByWardResponse.Room.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomOverviewsByWardResponse.Room.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOM(2, _omitFieldNames ? '' : 'patient', subBuilder: GetRoomOverviewsByWardResponse_Room_Bed_Patient.create) ..aOS(3, _omitFieldNames ? '' : 'name') @@ -1275,7 +1275,7 @@ class GetRoomOverviewsByWardResponse_Room extends $pb.GeneratedMessage { factory GetRoomOverviewsByWardResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomOverviewsByWardResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomOverviewsByWardResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomOverviewsByWardResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..pc(3, _omitFieldNames ? '' : 'beds', $pb.PbFieldType.PM, subBuilder: GetRoomOverviewsByWardResponse_Room_Bed.create) @@ -1339,7 +1339,7 @@ class GetRoomOverviewsByWardResponse extends $pb.GeneratedMessage { factory GetRoomOverviewsByWardResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRoomOverviewsByWardResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomOverviewsByWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoomOverviewsByWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'rooms', $pb.PbFieldType.PM, subBuilder: GetRoomOverviewsByWardResponse_Room.create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/task_svc/v1/room_svc.pbenum.dart b/gen/dart/lib/services/task_svc/v1/room_svc.pbenum.dart similarity index 86% rename from gen/dart/lib/proto/services/task_svc/v1/room_svc.pbenum.dart rename to gen/dart/lib/services/task_svc/v1/room_svc.pbenum.dart index 2203a3288..c2414fd11 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/room_svc.pbenum.dart +++ b/gen/dart/lib/services/task_svc/v1/room_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/room_svc.proto +// source: services/task_svc/v1/room_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/task_svc/v1/room_svc.pbgrpc.dart b/gen/dart/lib/services/task_svc/v1/room_svc.pbgrpc.dart similarity index 92% rename from gen/dart/lib/proto/services/task_svc/v1/room_svc.pbgrpc.dart rename to gen/dart/lib/services/task_svc/v1/room_svc.pbgrpc.dart index f12dbf764..f75a8cffd 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/room_svc.pbgrpc.dart +++ b/gen/dart/lib/services/task_svc/v1/room_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/room_svc.proto +// source: services/task_svc/v1/room_svc.proto // // @dart = 2.12 @@ -19,34 +19,34 @@ import 'room_svc.pb.dart' as $8; export 'room_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.task_svc.v1.RoomService') +@$pb.GrpcServiceName('services.task_svc.v1.RoomService') class RoomServiceClient extends $grpc.Client { static final _$createRoom = $grpc.ClientMethod<$8.CreateRoomRequest, $8.CreateRoomResponse>( - '/proto.services.task_svc.v1.RoomService/CreateRoom', + '/services.task_svc.v1.RoomService/CreateRoom', ($8.CreateRoomRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $8.CreateRoomResponse.fromBuffer(value)); static final _$getRoom = $grpc.ClientMethod<$8.GetRoomRequest, $8.GetRoomResponse>( - '/proto.services.task_svc.v1.RoomService/GetRoom', + '/services.task_svc.v1.RoomService/GetRoom', ($8.GetRoomRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $8.GetRoomResponse.fromBuffer(value)); static final _$getRooms = $grpc.ClientMethod<$8.GetRoomsRequest, $8.GetRoomsResponse>( - '/proto.services.task_svc.v1.RoomService/GetRooms', + '/services.task_svc.v1.RoomService/GetRooms', ($8.GetRoomsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $8.GetRoomsResponse.fromBuffer(value)); static final _$getRoomsByWard = $grpc.ClientMethod<$8.GetRoomsByWardRequest, $8.GetRoomsByWardResponse>( - '/proto.services.task_svc.v1.RoomService/GetRoomsByWard', + '/services.task_svc.v1.RoomService/GetRoomsByWard', ($8.GetRoomsByWardRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $8.GetRoomsByWardResponse.fromBuffer(value)); static final _$updateRoom = $grpc.ClientMethod<$8.UpdateRoomRequest, $8.UpdateRoomResponse>( - '/proto.services.task_svc.v1.RoomService/UpdateRoom', + '/services.task_svc.v1.RoomService/UpdateRoom', ($8.UpdateRoomRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $8.UpdateRoomResponse.fromBuffer(value)); static final _$deleteRoom = $grpc.ClientMethod<$8.DeleteRoomRequest, $8.DeleteRoomResponse>( - '/proto.services.task_svc.v1.RoomService/DeleteRoom', + '/services.task_svc.v1.RoomService/DeleteRoom', ($8.DeleteRoomRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $8.DeleteRoomResponse.fromBuffer(value)); static final _$getRoomOverviewsByWard = $grpc.ClientMethod<$8.GetRoomOverviewsByWardRequest, $8.GetRoomOverviewsByWardResponse>( - '/proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard', + '/services.task_svc.v1.RoomService/GetRoomOverviewsByWard', ($8.GetRoomOverviewsByWardRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $8.GetRoomOverviewsByWardResponse.fromBuffer(value)); @@ -85,9 +85,9 @@ class RoomServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.task_svc.v1.RoomService') +@$pb.GrpcServiceName('services.task_svc.v1.RoomService') abstract class RoomServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.task_svc.v1.RoomService'; + $core.String get $name => 'services.task_svc.v1.RoomService'; RoomServiceBase() { $addMethod($grpc.ServiceMethod<$8.CreateRoomRequest, $8.CreateRoomResponse>( diff --git a/gen/dart/lib/proto/services/task_svc/v1/room_svc.pbjson.dart b/gen/dart/lib/services/task_svc/v1/room_svc.pbjson.dart similarity index 74% rename from gen/dart/lib/proto/services/task_svc/v1/room_svc.pbjson.dart rename to gen/dart/lib/services/task_svc/v1/room_svc.pbjson.dart index 0fe88cc18..ea2d867be 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/room_svc.pbjson.dart +++ b/gen/dart/lib/services/task_svc/v1/room_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/room_svc.proto +// source: services/task_svc/v1/room_svc.proto // // @dart = 2.12 @@ -57,7 +57,7 @@ const GetRoomResponse$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetRoomResponse.Bed', '10': 'beds'}, + {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetRoomResponse.Bed', '10': 'beds'}, {'1': 'organization_id', '3': 4, '4': 1, '5': 9, '10': 'organizationId'}, {'1': 'ward_id', '3': 5, '4': 1, '5': 9, '10': 'wardId'}, ], @@ -75,11 +75,11 @@ const GetRoomResponse_Bed$json = { /// Descriptor for `GetRoomResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getRoomResponseDescriptor = $convert.base64Decode( - 'Cg9HZXRSb29tUmVzcG9uc2USDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSQw' - 'oEYmVkcxgDIAMoCzIvLnByb3RvLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFJvb21SZXNwb25z' - 'ZS5CZWRSBGJlZHMSJwoPb3JnYW5pemF0aW9uX2lkGAQgASgJUg5vcmdhbml6YXRpb25JZBIXCg' - 'd3YXJkX2lkGAUgASgJUgZ3YXJkSWQaKQoDQmVkEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIg' - 'ASgJUgRuYW1l'); + 'Cg9HZXRSb29tUmVzcG9uc2USDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSPQ' + 'oEYmVkcxgDIAMoCzIpLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFJvb21SZXNwb25zZS5CZWRS' + 'BGJlZHMSJwoPb3JnYW5pemF0aW9uX2lkGAQgASgJUg5vcmdhbml6YXRpb25JZBIXCgd3YXJkX2' + 'lkGAUgASgJUgZ3YXJkSWQaKQoDQmVkEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRu' + 'YW1l'); @$core.Deprecated('Use getRoomsRequestDescriptor instead') const GetRoomsRequest$json = { @@ -94,7 +94,7 @@ final $typed_data.Uint8List getRoomsRequestDescriptor = $convert.base64Decode( const GetRoomsResponse$json = { '1': 'GetRoomsResponse', '2': [ - {'1': 'rooms', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetRoomsResponse.Room', '10': 'rooms'}, + {'1': 'rooms', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetRoomsResponse.Room', '10': 'rooms'}, ], '3': [GetRoomsResponse_Room$json], }; @@ -105,7 +105,7 @@ const GetRoomsResponse_Room$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed', '10': 'beds'}, + {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetRoomsResponse.Room.Bed', '10': 'beds'}, {'1': 'organization_id', '3': 4, '4': 1, '5': 9, '10': 'organizationId'}, {'1': 'ward_id', '3': 5, '4': 1, '5': 9, '10': 'wardId'}, ], @@ -123,12 +123,12 @@ const GetRoomsResponse_Room_Bed$json = { /// Descriptor for `GetRoomsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getRoomsResponseDescriptor = $convert.base64Decode( - 'ChBHZXRSb29tc1Jlc3BvbnNlEkcKBXJvb21zGAEgAygLMjEucHJvdG8uc2VydmljZXMudGFza1' - '9zdmMudjEuR2V0Um9vbXNSZXNwb25zZS5Sb29tUgVyb29tcxriAQoEUm9vbRIOCgJpZBgBIAEo' - 'CVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRJJCgRiZWRzGAMgAygLMjUucHJvdG8uc2VydmljZX' - 'MudGFza19zdmMudjEuR2V0Um9vbXNSZXNwb25zZS5Sb29tLkJlZFIEYmVkcxInCg9vcmdhbml6' - 'YXRpb25faWQYBCABKAlSDm9yZ2FuaXphdGlvbklkEhcKB3dhcmRfaWQYBSABKAlSBndhcmRJZB' - 'opCgNCZWQSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWU='); + 'ChBHZXRSb29tc1Jlc3BvbnNlEkEKBXJvb21zGAEgAygLMisuc2VydmljZXMudGFza19zdmMudj' + 'EuR2V0Um9vbXNSZXNwb25zZS5Sb29tUgVyb29tcxrcAQoEUm9vbRIOCgJpZBgBIAEoCVICaWQS' + 'EgoEbmFtZRgCIAEoCVIEbmFtZRJDCgRiZWRzGAMgAygLMi8uc2VydmljZXMudGFza19zdmMudj' + 'EuR2V0Um9vbXNSZXNwb25zZS5Sb29tLkJlZFIEYmVkcxInCg9vcmdhbml6YXRpb25faWQYBCAB' + 'KAlSDm9yZ2FuaXphdGlvbklkEhcKB3dhcmRfaWQYBSABKAlSBndhcmRJZBopCgNCZWQSDgoCaW' + 'QYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWU='); @$core.Deprecated('Use getRoomsByWardRequestDescriptor instead') const GetRoomsByWardRequest$json = { @@ -146,7 +146,7 @@ final $typed_data.Uint8List getRoomsByWardRequestDescriptor = $convert.base64Dec const GetRoomsByWardResponse$json = { '1': 'GetRoomsByWardResponse', '2': [ - {'1': 'rooms', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetRoomsByWardResponse.Room', '10': 'rooms'}, + {'1': 'rooms', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetRoomsByWardResponse.Room', '10': 'rooms'}, ], '3': [GetRoomsByWardResponse_Room$json], }; @@ -157,7 +157,7 @@ const GetRoomsByWardResponse_Room$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed', '10': 'beds'}, + {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed', '10': 'beds'}, {'1': 'organization_id', '3': 4, '4': 1, '5': 9, '10': 'organizationId'}, {'1': 'ward_id', '3': 5, '4': 1, '5': 9, '10': 'wardId'}, ], @@ -175,13 +175,12 @@ const GetRoomsByWardResponse_Room_Bed$json = { /// Descriptor for `GetRoomsByWardResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getRoomsByWardResponseDescriptor = $convert.base64Decode( - 'ChZHZXRSb29tc0J5V2FyZFJlc3BvbnNlEk0KBXJvb21zGAEgAygLMjcucHJvdG8uc2VydmljZX' - 'MudGFza19zdmMudjEuR2V0Um9vbXNCeVdhcmRSZXNwb25zZS5Sb29tUgVyb29tcxroAQoEUm9v' - 'bRIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRJPCgRiZWRzGAMgAygLMjsucH' - 'JvdG8uc2VydmljZXMudGFza19zdmMudjEuR2V0Um9vbXNCeVdhcmRSZXNwb25zZS5Sb29tLkJl' - 'ZFIEYmVkcxInCg9vcmdhbml6YXRpb25faWQYBCABKAlSDm9yZ2FuaXphdGlvbklkEhcKB3dhcm' - 'RfaWQYBSABKAlSBndhcmRJZBopCgNCZWQSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlS' - 'BG5hbWU='); + 'ChZHZXRSb29tc0J5V2FyZFJlc3BvbnNlEkcKBXJvb21zGAEgAygLMjEuc2VydmljZXMudGFza1' + '9zdmMudjEuR2V0Um9vbXNCeVdhcmRSZXNwb25zZS5Sb29tUgVyb29tcxriAQoEUm9vbRIOCgJp' + 'ZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRJJCgRiZWRzGAMgAygLMjUuc2VydmljZX' + 'MudGFza19zdmMudjEuR2V0Um9vbXNCeVdhcmRSZXNwb25zZS5Sb29tLkJlZFIEYmVkcxInCg9v' + 'cmdhbml6YXRpb25faWQYBCABKAlSDm9yZ2FuaXphdGlvbklkEhcKB3dhcmRfaWQYBSABKAlSBn' + 'dhcmRJZBopCgNCZWQSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWU='); @$core.Deprecated('Use updateRoomRequestDescriptor instead') const UpdateRoomRequest$json = { @@ -246,7 +245,7 @@ final $typed_data.Uint8List getRoomOverviewsByWardRequestDescriptor = $convert.b const GetRoomOverviewsByWardResponse$json = { '1': 'GetRoomOverviewsByWardResponse', '2': [ - {'1': 'rooms', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room', '10': 'rooms'}, + {'1': 'rooms', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room', '10': 'rooms'}, ], '3': [GetRoomOverviewsByWardResponse_Room$json], }; @@ -257,7 +256,7 @@ const GetRoomOverviewsByWardResponse_Room$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed', '10': 'beds'}, + {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed', '10': 'beds'}, ], '3': [GetRoomOverviewsByWardResponse_Room_Bed$json], }; @@ -268,7 +267,7 @@ const GetRoomOverviewsByWardResponse_Room_Bed$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 3, '4': 1, '5': 9, '10': 'name'}, - {'1': 'patient', '3': 2, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient', '9': 0, '10': 'patient', '17': true}, + {'1': 'patient', '3': 2, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient', '9': 0, '10': 'patient', '17': true}, ], '3': [GetRoomOverviewsByWardResponse_Room_Bed_Patient$json], '8': [ @@ -290,16 +289,15 @@ const GetRoomOverviewsByWardResponse_Room_Bed_Patient$json = { /// Descriptor for `GetRoomOverviewsByWardResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getRoomOverviewsByWardResponseDescriptor = $convert.base64Decode( - 'Ch5HZXRSb29tT3ZlcnZpZXdzQnlXYXJkUmVzcG9uc2USVQoFcm9vbXMYASADKAsyPy5wcm90by' - '5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRSb29tT3ZlcnZpZXdzQnlXYXJkUmVzcG9uc2UuUm9v' - 'bVIFcm9vbXMa9wMKBFJvb20SDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSVw' - 'oEYmVkcxgDIAMoCzJDLnByb3RvLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFJvb21PdmVydmll' - 'd3NCeVdhcmRSZXNwb25zZS5Sb29tLkJlZFIEYmVkcxrxAgoDQmVkEg4KAmlkGAEgASgJUgJpZB' - 'ISCgRuYW1lGAMgASgJUgRuYW1lEmoKB3BhdGllbnQYAiABKAsySy5wcm90by5zZXJ2aWNlcy50' - 'YXNrX3N2Yy52MS5HZXRSb29tT3ZlcnZpZXdzQnlXYXJkUmVzcG9uc2UuUm9vbS5CZWQuUGF0aW' - 'VudEgAUgdwYXRpZW50iAEBGs0BCgdQYXRpZW50Eg4KAmlkGAEgASgJUgJpZBI6ChlodW1hbl9y' - 'ZWFkYWJsZV9pZGVudGlmaWVyGAIgASgJUhdodW1hblJlYWRhYmxlSWRlbnRpZmllchIrChF0YX' - 'Nrc191bnNjaGVkdWxlZBgDIAEoDVIQdGFza3NVbnNjaGVkdWxlZBIqChF0YXNrc19pbl9wcm9n' - 'cmVzcxgEIAEoDVIPdGFza3NJblByb2dyZXNzEh0KCnRhc2tzX2RvbmUYBSABKA1SCXRhc2tzRG' - '9uZUIKCghfcGF0aWVudA=='); + 'Ch5HZXRSb29tT3ZlcnZpZXdzQnlXYXJkUmVzcG9uc2USTwoFcm9vbXMYASADKAsyOS5zZXJ2aW' + 'Nlcy50YXNrX3N2Yy52MS5HZXRSb29tT3ZlcnZpZXdzQnlXYXJkUmVzcG9uc2UuUm9vbVIFcm9v' + 'bXMa6wMKBFJvb20SDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSUQoEYmVkcx' + 'gDIAMoCzI9LnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFJvb21PdmVydmlld3NCeVdhcmRSZXNw' + 'b25zZS5Sb29tLkJlZFIEYmVkcxrrAgoDQmVkEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAMgAS' + 'gJUgRuYW1lEmQKB3BhdGllbnQYAiABKAsyRS5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRSb29t' + 'T3ZlcnZpZXdzQnlXYXJkUmVzcG9uc2UuUm9vbS5CZWQuUGF0aWVudEgAUgdwYXRpZW50iAEBGs' + '0BCgdQYXRpZW50Eg4KAmlkGAEgASgJUgJpZBI6ChlodW1hbl9yZWFkYWJsZV9pZGVudGlmaWVy' + 'GAIgASgJUhdodW1hblJlYWRhYmxlSWRlbnRpZmllchIrChF0YXNrc191bnNjaGVkdWxlZBgDIA' + 'EoDVIQdGFza3NVbnNjaGVkdWxlZBIqChF0YXNrc19pbl9wcm9ncmVzcxgEIAEoDVIPdGFza3NJ' + 'blByb2dyZXNzEh0KCnRhc2tzX2RvbmUYBSABKA1SCXRhc2tzRG9uZUIKCghfcGF0aWVudA=='); diff --git a/gen/dart/lib/proto/services/task_svc/v1/task_svc.pb.dart b/gen/dart/lib/services/task_svc/v1/task_svc.pb.dart similarity index 96% rename from gen/dart/lib/proto/services/task_svc/v1/task_svc.pb.dart rename to gen/dart/lib/services/task_svc/v1/task_svc.pb.dart index ad665ee91..1a9045820 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/task_svc.pb.dart +++ b/gen/dart/lib/services/task_svc/v1/task_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/task_svc.proto +// source: services/task_svc/v1/task_svc.proto // // @dart = 2.12 @@ -13,7 +13,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../../google/protobuf/timestamp.pb.dart' as $17; +import '../../../google/protobuf/timestamp.pb.dart' as $17; import 'task_svc.pbenum.dart'; export 'task_svc.pbenum.dart'; @@ -52,7 +52,7 @@ class CreateTaskRequest extends $pb.GeneratedMessage { factory CreateTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'description') ..aOS(3, _omitFieldNames ? '' : 'patientId') @@ -154,7 +154,7 @@ class CreateTaskResponse extends $pb.GeneratedMessage { factory CreateTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -204,7 +204,7 @@ class GetTaskRequest extends $pb.GeneratedMessage { factory GetTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -266,7 +266,7 @@ class GetTaskResponse_SubTask extends $pb.GeneratedMessage { factory GetTaskResponse_SubTask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTaskResponse_SubTask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskResponse.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskResponse.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOB(3, _omitFieldNames ? '' : 'done') @@ -350,7 +350,7 @@ class GetTaskResponse_Patient extends $pb.GeneratedMessage { factory GetTaskResponse_Patient.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTaskResponse_Patient.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskResponse.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskResponse.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -450,7 +450,7 @@ class GetTaskResponse extends $pb.GeneratedMessage { factory GetTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -598,7 +598,7 @@ class GetTasksByPatientRequest extends $pb.GeneratedMessage { factory GetTasksByPatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTasksByPatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'patientId') ..hasRequiredFields = false ; @@ -660,7 +660,7 @@ class GetTasksByPatientResponse_Task_SubTask extends $pb.GeneratedMessage { factory GetTasksByPatientResponse_Task_SubTask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTasksByPatientResponse_Task_SubTask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientResponse.Task.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientResponse.Task.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOB(3, _omitFieldNames ? '' : 'done') @@ -776,7 +776,7 @@ class GetTasksByPatientResponse_Task extends $pb.GeneratedMessage { factory GetTasksByPatientResponse_Task.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTasksByPatientResponse_Task.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientResponse.Task', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientResponse.Task', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -912,7 +912,7 @@ class GetTasksByPatientResponse extends $pb.GeneratedMessage { factory GetTasksByPatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTasksByPatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'tasks', $pb.PbFieldType.PM, subBuilder: GetTasksByPatientResponse_Task.create) ..hasRequiredFields = false ; @@ -956,7 +956,7 @@ class GetTasksByPatientSortedByStatusRequest extends $pb.GeneratedMessage { factory GetTasksByPatientSortedByStatusRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTasksByPatientSortedByStatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientSortedByStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientSortedByStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'patientId') ..hasRequiredFields = false ; @@ -1018,7 +1018,7 @@ class GetTasksByPatientSortedByStatusResponse_Task_SubTask extends $pb.Generated factory GetTasksByPatientSortedByStatusResponse_Task_SubTask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTasksByPatientSortedByStatusResponse_Task_SubTask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientSortedByStatusResponse.Task.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientSortedByStatusResponse.Task.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOB(3, _omitFieldNames ? '' : 'done') @@ -1130,7 +1130,7 @@ class GetTasksByPatientSortedByStatusResponse_Task extends $pb.GeneratedMessage factory GetTasksByPatientSortedByStatusResponse_Task.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTasksByPatientSortedByStatusResponse_Task.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientSortedByStatusResponse.Task', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientSortedByStatusResponse.Task', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -1264,7 +1264,7 @@ class GetTasksByPatientSortedByStatusResponse extends $pb.GeneratedMessage { factory GetTasksByPatientSortedByStatusResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTasksByPatientSortedByStatusResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientSortedByStatusResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTasksByPatientSortedByStatusResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'todo', $pb.PbFieldType.PM, subBuilder: GetTasksByPatientSortedByStatusResponse_Task.create) ..pc(2, _omitFieldNames ? '' : 'inProgress', $pb.PbFieldType.PM, subBuilder: GetTasksByPatientSortedByStatusResponse_Task.create) ..pc(3, _omitFieldNames ? '' : 'done', $pb.PbFieldType.PM, subBuilder: GetTasksByPatientSortedByStatusResponse_Task.create) @@ -1308,7 +1308,7 @@ class GetAssignedTasksRequest extends $pb.GeneratedMessage { factory GetAssignedTasksRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAssignedTasksRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAssignedTasksRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAssignedTasksRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1352,7 +1352,7 @@ class GetAssignedTasksResponse_Task_Patient extends $pb.GeneratedMessage { factory GetAssignedTasksResponse_Task_Patient.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAssignedTasksResponse_Task_Patient.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAssignedTasksResponse.Task.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAssignedTasksResponse.Task.Patient', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -1424,7 +1424,7 @@ class GetAssignedTasksResponse_Task_SubTask extends $pb.GeneratedMessage { factory GetAssignedTasksResponse_Task_SubTask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAssignedTasksResponse_Task_SubTask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAssignedTasksResponse.Task.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAssignedTasksResponse.Task.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOB(3, _omitFieldNames ? '' : 'done') @@ -1540,7 +1540,7 @@ class GetAssignedTasksResponse_Task extends $pb.GeneratedMessage { factory GetAssignedTasksResponse_Task.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAssignedTasksResponse_Task.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAssignedTasksResponse.Task', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAssignedTasksResponse.Task', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -1678,7 +1678,7 @@ class GetAssignedTasksResponse extends $pb.GeneratedMessage { factory GetAssignedTasksResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAssignedTasksResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAssignedTasksResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAssignedTasksResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'tasks', $pb.PbFieldType.PM, subBuilder: GetAssignedTasksResponse_Task.create) ..hasRequiredFields = false ; @@ -1738,7 +1738,7 @@ class UpdateTaskRequest extends $pb.GeneratedMessage { factory UpdateTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -1822,7 +1822,7 @@ class UpdateTaskResponse extends $pb.GeneratedMessage { factory UpdateTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1870,7 +1870,7 @@ class AddSubTaskRequest extends $pb.GeneratedMessage { factory AddSubTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AddSubTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'taskId') ..aOB(3, _omitFieldNames ? '' : 'done') @@ -1940,7 +1940,7 @@ class AddSubTaskResponse extends $pb.GeneratedMessage { factory AddSubTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AddSubTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -1990,7 +1990,7 @@ class RemoveSubTaskRequest extends $pb.GeneratedMessage { factory RemoveSubTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory RemoveSubTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -2032,7 +2032,7 @@ class RemoveSubTaskResponse extends $pb.GeneratedMessage { factory RemoveSubTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory RemoveSubTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2076,7 +2076,7 @@ class UpdateSubTaskRequest extends $pb.GeneratedMessage { factory UpdateSubTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateSubTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -2128,7 +2128,7 @@ class UpdateSubTaskResponse extends $pb.GeneratedMessage { factory UpdateSubTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateSubTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2168,7 +2168,7 @@ class SubTaskToToDoRequest extends $pb.GeneratedMessage { factory SubTaskToToDoRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory SubTaskToToDoRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubTaskToToDoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubTaskToToDoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -2210,7 +2210,7 @@ class SubTaskToToDoResponse extends $pb.GeneratedMessage { factory SubTaskToToDoResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory SubTaskToToDoResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubTaskToToDoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubTaskToToDoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2250,7 +2250,7 @@ class SubTaskToDoneRequest extends $pb.GeneratedMessage { factory SubTaskToDoneRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory SubTaskToDoneRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubTaskToDoneRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubTaskToDoneRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -2292,7 +2292,7 @@ class SubTaskToDoneResponse extends $pb.GeneratedMessage { factory SubTaskToDoneResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory SubTaskToDoneResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubTaskToDoneResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubTaskToDoneResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2332,7 +2332,7 @@ class TaskToToDoRequest extends $pb.GeneratedMessage { factory TaskToToDoRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory TaskToToDoRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToToDoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToToDoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -2374,7 +2374,7 @@ class TaskToToDoResponse extends $pb.GeneratedMessage { factory TaskToToDoResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory TaskToToDoResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToToDoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToToDoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2414,7 +2414,7 @@ class TaskToInProgressRequest extends $pb.GeneratedMessage { factory TaskToInProgressRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory TaskToInProgressRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToInProgressRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToInProgressRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -2456,7 +2456,7 @@ class TaskToInProgressResponse extends $pb.GeneratedMessage { factory TaskToInProgressResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory TaskToInProgressResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToInProgressResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToInProgressResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2496,7 +2496,7 @@ class TaskToDoneRequest extends $pb.GeneratedMessage { factory TaskToDoneRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory TaskToDoneRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToDoneRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToDoneRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -2538,7 +2538,7 @@ class TaskToDoneResponse extends $pb.GeneratedMessage { factory TaskToDoneResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory TaskToDoneResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToDoneResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TaskToDoneResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2582,7 +2582,7 @@ class AssignTaskToUserRequest extends $pb.GeneratedMessage { factory AssignTaskToUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AssignTaskToUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignTaskToUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignTaskToUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false @@ -2634,7 +2634,7 @@ class AssignTaskToUserResponse extends $pb.GeneratedMessage { factory AssignTaskToUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AssignTaskToUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignTaskToUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignTaskToUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2674,7 +2674,7 @@ class UnassignTaskFromUserRequest extends $pb.GeneratedMessage { factory UnassignTaskFromUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UnassignTaskFromUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignTaskFromUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignTaskFromUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -2716,7 +2716,7 @@ class UnassignTaskFromUserResponse extends $pb.GeneratedMessage { factory UnassignTaskFromUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UnassignTaskFromUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignTaskFromUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignTaskFromUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2756,7 +2756,7 @@ class PublishTaskRequest extends $pb.GeneratedMessage { factory PublishTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory PublishTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PublishTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PublishTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -2798,7 +2798,7 @@ class PublishTaskResponse extends $pb.GeneratedMessage { factory PublishTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory PublishTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PublishTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PublishTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2838,7 +2838,7 @@ class UnpublishTaskRequest extends $pb.GeneratedMessage { factory UnpublishTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UnpublishTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnpublishTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnpublishTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -2880,7 +2880,7 @@ class UnpublishTaskResponse extends $pb.GeneratedMessage { factory UnpublishTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UnpublishTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnpublishTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnpublishTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2920,7 +2920,7 @@ class DeleteTaskRequest extends $pb.GeneratedMessage { factory DeleteTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -2962,7 +2962,7 @@ class DeleteTaskResponse extends $pb.GeneratedMessage { factory DeleteTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/task_svc/v1/task_svc.pbenum.dart b/gen/dart/lib/services/task_svc/v1/task_svc.pbenum.dart similarity index 96% rename from gen/dart/lib/proto/services/task_svc/v1/task_svc.pbenum.dart rename to gen/dart/lib/services/task_svc/v1/task_svc.pbenum.dart index 013e9ed42..c35d41161 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/task_svc.pbenum.dart +++ b/gen/dart/lib/services/task_svc/v1/task_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/task_svc.proto +// source: services/task_svc/v1/task_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/task_svc/v1/task_svc.pbgrpc.dart b/gen/dart/lib/services/task_svc/v1/task_svc.pbgrpc.dart similarity index 93% rename from gen/dart/lib/proto/services/task_svc/v1/task_svc.pbgrpc.dart rename to gen/dart/lib/services/task_svc/v1/task_svc.pbgrpc.dart index 767d383e3..f9880e518 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/task_svc.pbgrpc.dart +++ b/gen/dart/lib/services/task_svc/v1/task_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/task_svc.proto +// source: services/task_svc/v1/task_svc.proto // // @dart = 2.12 @@ -19,82 +19,82 @@ import 'task_svc.pb.dart' as $9; export 'task_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.task_svc.v1.TaskService') +@$pb.GrpcServiceName('services.task_svc.v1.TaskService') class TaskServiceClient extends $grpc.Client { static final _$createTask = $grpc.ClientMethod<$9.CreateTaskRequest, $9.CreateTaskResponse>( - '/proto.services.task_svc.v1.TaskService/CreateTask', + '/services.task_svc.v1.TaskService/CreateTask', ($9.CreateTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.CreateTaskResponse.fromBuffer(value)); static final _$getTask = $grpc.ClientMethod<$9.GetTaskRequest, $9.GetTaskResponse>( - '/proto.services.task_svc.v1.TaskService/GetTask', + '/services.task_svc.v1.TaskService/GetTask', ($9.GetTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.GetTaskResponse.fromBuffer(value)); static final _$getTasksByPatient = $grpc.ClientMethod<$9.GetTasksByPatientRequest, $9.GetTasksByPatientResponse>( - '/proto.services.task_svc.v1.TaskService/GetTasksByPatient', + '/services.task_svc.v1.TaskService/GetTasksByPatient', ($9.GetTasksByPatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.GetTasksByPatientResponse.fromBuffer(value)); static final _$getTasksByPatientSortedByStatus = $grpc.ClientMethod<$9.GetTasksByPatientSortedByStatusRequest, $9.GetTasksByPatientSortedByStatusResponse>( - '/proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', + '/services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', ($9.GetTasksByPatientSortedByStatusRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.GetTasksByPatientSortedByStatusResponse.fromBuffer(value)); static final _$getAssignedTasks = $grpc.ClientMethod<$9.GetAssignedTasksRequest, $9.GetAssignedTasksResponse>( - '/proto.services.task_svc.v1.TaskService/GetAssignedTasks', + '/services.task_svc.v1.TaskService/GetAssignedTasks', ($9.GetAssignedTasksRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.GetAssignedTasksResponse.fromBuffer(value)); static final _$updateTask = $grpc.ClientMethod<$9.UpdateTaskRequest, $9.UpdateTaskResponse>( - '/proto.services.task_svc.v1.TaskService/UpdateTask', + '/services.task_svc.v1.TaskService/UpdateTask', ($9.UpdateTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.UpdateTaskResponse.fromBuffer(value)); static final _$addSubTask = $grpc.ClientMethod<$9.AddSubTaskRequest, $9.AddSubTaskResponse>( - '/proto.services.task_svc.v1.TaskService/AddSubTask', + '/services.task_svc.v1.TaskService/AddSubTask', ($9.AddSubTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.AddSubTaskResponse.fromBuffer(value)); static final _$removeSubTask = $grpc.ClientMethod<$9.RemoveSubTaskRequest, $9.RemoveSubTaskResponse>( - '/proto.services.task_svc.v1.TaskService/RemoveSubTask', + '/services.task_svc.v1.TaskService/RemoveSubTask', ($9.RemoveSubTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.RemoveSubTaskResponse.fromBuffer(value)); static final _$updateSubTask = $grpc.ClientMethod<$9.UpdateSubTaskRequest, $9.UpdateSubTaskResponse>( - '/proto.services.task_svc.v1.TaskService/UpdateSubTask', + '/services.task_svc.v1.TaskService/UpdateSubTask', ($9.UpdateSubTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.UpdateSubTaskResponse.fromBuffer(value)); static final _$subTaskToToDo = $grpc.ClientMethod<$9.SubTaskToToDoRequest, $9.SubTaskToToDoResponse>( - '/proto.services.task_svc.v1.TaskService/SubTaskToToDo', + '/services.task_svc.v1.TaskService/SubTaskToToDo', ($9.SubTaskToToDoRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.SubTaskToToDoResponse.fromBuffer(value)); static final _$subTaskToDone = $grpc.ClientMethod<$9.SubTaskToDoneRequest, $9.SubTaskToDoneResponse>( - '/proto.services.task_svc.v1.TaskService/SubTaskToDone', + '/services.task_svc.v1.TaskService/SubTaskToDone', ($9.SubTaskToDoneRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.SubTaskToDoneResponse.fromBuffer(value)); static final _$taskToToDo = $grpc.ClientMethod<$9.TaskToToDoRequest, $9.TaskToToDoResponse>( - '/proto.services.task_svc.v1.TaskService/TaskToToDo', + '/services.task_svc.v1.TaskService/TaskToToDo', ($9.TaskToToDoRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.TaskToToDoResponse.fromBuffer(value)); static final _$taskToInProgress = $grpc.ClientMethod<$9.TaskToInProgressRequest, $9.TaskToInProgressResponse>( - '/proto.services.task_svc.v1.TaskService/TaskToInProgress', + '/services.task_svc.v1.TaskService/TaskToInProgress', ($9.TaskToInProgressRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.TaskToInProgressResponse.fromBuffer(value)); static final _$taskToDone = $grpc.ClientMethod<$9.TaskToDoneRequest, $9.TaskToDoneResponse>( - '/proto.services.task_svc.v1.TaskService/TaskToDone', + '/services.task_svc.v1.TaskService/TaskToDone', ($9.TaskToDoneRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.TaskToDoneResponse.fromBuffer(value)); static final _$assignTaskToUser = $grpc.ClientMethod<$9.AssignTaskToUserRequest, $9.AssignTaskToUserResponse>( - '/proto.services.task_svc.v1.TaskService/AssignTaskToUser', + '/services.task_svc.v1.TaskService/AssignTaskToUser', ($9.AssignTaskToUserRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.AssignTaskToUserResponse.fromBuffer(value)); static final _$unassignTaskFromUser = $grpc.ClientMethod<$9.UnassignTaskFromUserRequest, $9.UnassignTaskFromUserResponse>( - '/proto.services.task_svc.v1.TaskService/UnassignTaskFromUser', + '/services.task_svc.v1.TaskService/UnassignTaskFromUser', ($9.UnassignTaskFromUserRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.UnassignTaskFromUserResponse.fromBuffer(value)); static final _$publishTask = $grpc.ClientMethod<$9.PublishTaskRequest, $9.PublishTaskResponse>( - '/proto.services.task_svc.v1.TaskService/PublishTask', + '/services.task_svc.v1.TaskService/PublishTask', ($9.PublishTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.PublishTaskResponse.fromBuffer(value)); static final _$unpublishTask = $grpc.ClientMethod<$9.UnpublishTaskRequest, $9.UnpublishTaskResponse>( - '/proto.services.task_svc.v1.TaskService/UnpublishTask', + '/services.task_svc.v1.TaskService/UnpublishTask', ($9.UnpublishTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.UnpublishTaskResponse.fromBuffer(value)); static final _$deleteTask = $grpc.ClientMethod<$9.DeleteTaskRequest, $9.DeleteTaskResponse>( - '/proto.services.task_svc.v1.TaskService/DeleteTask', + '/services.task_svc.v1.TaskService/DeleteTask', ($9.DeleteTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.DeleteTaskResponse.fromBuffer(value)); @@ -181,9 +181,9 @@ class TaskServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.task_svc.v1.TaskService') +@$pb.GrpcServiceName('services.task_svc.v1.TaskService') abstract class TaskServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.task_svc.v1.TaskService'; + $core.String get $name => 'services.task_svc.v1.TaskService'; TaskServiceBase() { $addMethod($grpc.ServiceMethod<$9.CreateTaskRequest, $9.CreateTaskResponse>( diff --git a/gen/dart/lib/proto/services/task_svc/v1/task_svc.pbjson.dart b/gen/dart/lib/services/task_svc/v1/task_svc.pbjson.dart similarity index 79% rename from gen/dart/lib/proto/services/task_svc/v1/task_svc.pbjson.dart rename to gen/dart/lib/services/task_svc/v1/task_svc.pbjson.dart index c7d3f2c95..3019b4775 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/task_svc.pbjson.dart +++ b/gen/dart/lib/services/task_svc/v1/task_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/task_svc.proto +// source: services/task_svc/v1/task_svc.proto // // @dart = 2.12 @@ -39,7 +39,7 @@ const CreateTaskRequest$json = { {'1': 'patient_id', '3': 3, '4': 1, '5': 9, '10': 'patientId'}, {'1': 'public', '3': 4, '4': 1, '5': 8, '10': 'public'}, {'1': 'due_at', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'dueAt'}, - {'1': 'initial_status', '3': 6, '4': 1, '5': 14, '6': '.proto.services.task_svc.v1.TaskStatus', '9': 1, '10': 'initialStatus', '17': true}, + {'1': 'initial_status', '3': 6, '4': 1, '5': 14, '6': '.services.task_svc.v1.TaskStatus', '9': 1, '10': 'initialStatus', '17': true}, ], '8': [ {'1': '_description'}, @@ -52,9 +52,9 @@ final $typed_data.Uint8List createTaskRequestDescriptor = $convert.base64Decode( 'ChFDcmVhdGVUYXNrUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEiUKC2Rlc2NyaXB0aW9uGA' 'IgASgJSABSC2Rlc2NyaXB0aW9uiAEBEh0KCnBhdGllbnRfaWQYAyABKAlSCXBhdGllbnRJZBIW' 'CgZwdWJsaWMYBCABKAhSBnB1YmxpYxIxCgZkdWVfYXQYBSABKAsyGi5nb29nbGUucHJvdG9idW' - 'YuVGltZXN0YW1wUgVkdWVBdBJSCg5pbml0aWFsX3N0YXR1cxgGIAEoDjImLnByb3RvLnNlcnZp' - 'Y2VzLnRhc2tfc3ZjLnYxLlRhc2tTdGF0dXNIAVINaW5pdGlhbFN0YXR1c4gBAUIOCgxfZGVzY3' - 'JpcHRpb25CEQoPX2luaXRpYWxfc3RhdHVz'); + 'YuVGltZXN0YW1wUgVkdWVBdBJMCg5pbml0aWFsX3N0YXR1cxgGIAEoDjIgLnNlcnZpY2VzLnRh' + 'c2tfc3ZjLnYxLlRhc2tTdGF0dXNIAVINaW5pdGlhbFN0YXR1c4gBAUIOCgxfZGVzY3JpcHRpb2' + '5CEQoPX2luaXRpYWxfc3RhdHVz'); @$core.Deprecated('Use createTaskResponseDescriptor instead') const CreateTaskResponse$json = { @@ -87,13 +87,13 @@ const GetTaskResponse$json = { {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, - {'1': 'status', '3': 4, '4': 1, '5': 14, '6': '.proto.services.task_svc.v1.TaskStatus', '10': 'status'}, + {'1': 'status', '3': 4, '4': 1, '5': 14, '6': '.services.task_svc.v1.TaskStatus', '10': 'status'}, {'1': 'assigned_user_id', '3': 5, '4': 1, '5': 9, '10': 'assignedUserId'}, - {'1': 'patient', '3': 6, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetTaskResponse.Patient', '10': 'patient'}, + {'1': 'patient', '3': 6, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetTaskResponse.Patient', '10': 'patient'}, {'1': 'public', '3': 7, '4': 1, '5': 8, '10': 'public'}, {'1': 'due_at', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'dueAt'}, {'1': 'created_by', '3': 9, '4': 1, '5': 9, '10': 'createdBy'}, - {'1': 'subtasks', '3': 10, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetTaskResponse.SubTask', '10': 'subtasks'}, + {'1': 'subtasks', '3': 10, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetTaskResponse.SubTask', '10': 'subtasks'}, {'1': 'organization_id', '3': 11, '4': 1, '5': 9, '10': 'organizationId'}, ], '3': [GetTaskResponse_SubTask$json, GetTaskResponse_Patient$json], @@ -122,17 +122,17 @@ const GetTaskResponse_Patient$json = { /// Descriptor for `GetTaskResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getTaskResponseDescriptor = $convert.base64Decode( 'Cg9HZXRUYXNrUmVzcG9uc2USDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSIA' - 'oLZGVzY3JpcHRpb24YAyABKAlSC2Rlc2NyaXB0aW9uEj4KBnN0YXR1cxgEIAEoDjImLnByb3Rv' - 'LnNlcnZpY2VzLnRhc2tfc3ZjLnYxLlRhc2tTdGF0dXNSBnN0YXR1cxIoChBhc3NpZ25lZF91c2' - 'VyX2lkGAUgASgJUg5hc3NpZ25lZFVzZXJJZBJNCgdwYXRpZW50GAYgASgLMjMucHJvdG8uc2Vy' - 'dmljZXMudGFza19zdmMudjEuR2V0VGFza1Jlc3BvbnNlLlBhdGllbnRSB3BhdGllbnQSFgoGcH' - 'VibGljGAcgASgIUgZwdWJsaWMSMQoGZHVlX2F0GAggASgLMhouZ29vZ2xlLnByb3RvYnVmLlRp' - 'bWVzdGFtcFIFZHVlQXQSHQoKY3JlYXRlZF9ieRgJIAEoCVIJY3JlYXRlZEJ5Ek8KCHN1YnRhc2' - 'tzGAogAygLMjMucHJvdG8uc2VydmljZXMudGFza19zdmMudjEuR2V0VGFza1Jlc3BvbnNlLlN1' - 'YlRhc2tSCHN1YnRhc2tzEicKD29yZ2FuaXphdGlvbl9pZBgLIAEoCVIOb3JnYW5pemF0aW9uSW' - 'QaYAoHU3ViVGFzaxIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRISCgRkb25l' - 'GAMgASgIUgRkb25lEh0KCmNyZWF0ZWRfYnkYBCABKAlSCWNyZWF0ZWRCeRotCgdQYXRpZW50Eg' - '4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1l'); + 'oLZGVzY3JpcHRpb24YAyABKAlSC2Rlc2NyaXB0aW9uEjgKBnN0YXR1cxgEIAEoDjIgLnNlcnZp' + 'Y2VzLnRhc2tfc3ZjLnYxLlRhc2tTdGF0dXNSBnN0YXR1cxIoChBhc3NpZ25lZF91c2VyX2lkGA' + 'UgASgJUg5hc3NpZ25lZFVzZXJJZBJHCgdwYXRpZW50GAYgASgLMi0uc2VydmljZXMudGFza19z' + 'dmMudjEuR2V0VGFza1Jlc3BvbnNlLlBhdGllbnRSB3BhdGllbnQSFgoGcHVibGljGAcgASgIUg' + 'ZwdWJsaWMSMQoGZHVlX2F0GAggASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFIFZHVl' + 'QXQSHQoKY3JlYXRlZF9ieRgJIAEoCVIJY3JlYXRlZEJ5EkkKCHN1YnRhc2tzGAogAygLMi0uc2' + 'VydmljZXMudGFza19zdmMudjEuR2V0VGFza1Jlc3BvbnNlLlN1YlRhc2tSCHN1YnRhc2tzEicK' + 'D29yZ2FuaXphdGlvbl9pZBgLIAEoCVIOb3JnYW5pemF0aW9uSWQaYAoHU3ViVGFzaxIOCgJpZB' + 'gBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRISCgRkb25lGAMgASgIUgRkb25lEh0KCmNy' + 'ZWF0ZWRfYnkYBCABKAlSCWNyZWF0ZWRCeRotCgdQYXRpZW50Eg4KAmlkGAEgASgJUgJpZBISCg' + 'RuYW1lGAIgASgJUgRuYW1l'); @$core.Deprecated('Use getTasksByPatientRequestDescriptor instead') const GetTasksByPatientRequest$json = { @@ -151,7 +151,7 @@ final $typed_data.Uint8List getTasksByPatientRequestDescriptor = $convert.base64 const GetTasksByPatientResponse$json = { '1': 'GetTasksByPatientResponse', '2': [ - {'1': 'tasks', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetTasksByPatientResponse.Task', '10': 'tasks'}, + {'1': 'tasks', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetTasksByPatientResponse.Task', '10': 'tasks'}, ], '3': [GetTasksByPatientResponse_Task$json], }; @@ -163,13 +163,13 @@ const GetTasksByPatientResponse_Task$json = { {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, - {'1': 'status', '3': 4, '4': 1, '5': 14, '6': '.proto.services.task_svc.v1.TaskStatus', '10': 'status'}, + {'1': 'status', '3': 4, '4': 1, '5': 14, '6': '.services.task_svc.v1.TaskStatus', '10': 'status'}, {'1': 'assigned_user_id', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'assignedUserId', '17': true}, {'1': 'patient_id', '3': 6, '4': 1, '5': 9, '10': 'patientId'}, {'1': 'public', '3': 7, '4': 1, '5': 8, '10': 'public'}, {'1': 'due_at', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'dueAt'}, {'1': 'created_by', '3': 9, '4': 1, '5': 9, '10': 'createdBy'}, - {'1': 'subtasks', '3': 10, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask', '10': 'subtasks'}, + {'1': 'subtasks', '3': 10, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask', '10': 'subtasks'}, ], '3': [GetTasksByPatientResponse_Task_SubTask$json], '8': [ @@ -190,18 +190,18 @@ const GetTasksByPatientResponse_Task_SubTask$json = { /// Descriptor for `GetTasksByPatientResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getTasksByPatientResponseDescriptor = $convert.base64Decode( - 'ChlHZXRUYXNrc0J5UGF0aWVudFJlc3BvbnNlElAKBXRhc2tzGAEgAygLMjoucHJvdG8uc2Vydm' - 'ljZXMudGFza19zdmMudjEuR2V0VGFza3NCeVBhdGllbnRSZXNwb25zZS5UYXNrUgV0YXNrcxqb' - 'BAoEVGFzaxIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRIgCgtkZXNjcmlwdG' - 'lvbhgDIAEoCVILZGVzY3JpcHRpb24SPgoGc3RhdHVzGAQgASgOMiYucHJvdG8uc2VydmljZXMu' - 'dGFza19zdmMudjEuVGFza1N0YXR1c1IGc3RhdHVzEi0KEGFzc2lnbmVkX3VzZXJfaWQYBSABKA' - 'lIAFIOYXNzaWduZWRVc2VySWSIAQESHQoKcGF0aWVudF9pZBgGIAEoCVIJcGF0aWVudElkEhYK' - 'BnB1YmxpYxgHIAEoCFIGcHVibGljEjEKBmR1ZV9hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi' - '5UaW1lc3RhbXBSBWR1ZUF0Eh0KCmNyZWF0ZWRfYnkYCSABKAlSCWNyZWF0ZWRCeRJeCghzdWJ0' - 'YXNrcxgKIAMoCzJCLnByb3RvLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFRhc2tzQnlQYXRpZW' - '50UmVzcG9uc2UuVGFzay5TdWJUYXNrUghzdWJ0YXNrcxpgCgdTdWJUYXNrEg4KAmlkGAEgASgJ' - 'UgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEhIKBGRvbmUYAyABKAhSBGRvbmUSHQoKY3JlYXRlZF' - '9ieRgEIAEoCVIJY3JlYXRlZEJ5QhMKEV9hc3NpZ25lZF91c2VyX2lk'); + 'ChlHZXRUYXNrc0J5UGF0aWVudFJlc3BvbnNlEkoKBXRhc2tzGAEgAygLMjQuc2VydmljZXMudG' + 'Fza19zdmMudjEuR2V0VGFza3NCeVBhdGllbnRSZXNwb25zZS5UYXNrUgV0YXNrcxqPBAoEVGFz' + 'axIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRIgCgtkZXNjcmlwdGlvbhgDIA' + 'EoCVILZGVzY3JpcHRpb24SOAoGc3RhdHVzGAQgASgOMiAuc2VydmljZXMudGFza19zdmMudjEu' + 'VGFza1N0YXR1c1IGc3RhdHVzEi0KEGFzc2lnbmVkX3VzZXJfaWQYBSABKAlIAFIOYXNzaWduZW' + 'RVc2VySWSIAQESHQoKcGF0aWVudF9pZBgGIAEoCVIJcGF0aWVudElkEhYKBnB1YmxpYxgHIAEo' + 'CFIGcHVibGljEjEKBmR1ZV9hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSBW' + 'R1ZUF0Eh0KCmNyZWF0ZWRfYnkYCSABKAlSCWNyZWF0ZWRCeRJYCghzdWJ0YXNrcxgKIAMoCzI8' + 'LnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFRhc2tzQnlQYXRpZW50UmVzcG9uc2UuVGFzay5TdW' + 'JUYXNrUghzdWJ0YXNrcxpgCgdTdWJUYXNrEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJ' + 'UgRuYW1lEhIKBGRvbmUYAyABKAhSBGRvbmUSHQoKY3JlYXRlZF9ieRgEIAEoCVIJY3JlYXRlZE' + 'J5QhMKEV9hc3NpZ25lZF91c2VyX2lk'); @$core.Deprecated('Use getTasksByPatientSortedByStatusRequestDescriptor instead') const GetTasksByPatientSortedByStatusRequest$json = { @@ -220,9 +220,9 @@ final $typed_data.Uint8List getTasksByPatientSortedByStatusRequestDescriptor = $ const GetTasksByPatientSortedByStatusResponse$json = { '1': 'GetTasksByPatientSortedByStatusResponse', '2': [ - {'1': 'todo', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task', '10': 'todo'}, - {'1': 'in_progress', '3': 2, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task', '10': 'inProgress'}, - {'1': 'done', '3': 3, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task', '10': 'done'}, + {'1': 'todo', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task', '10': 'todo'}, + {'1': 'in_progress', '3': 2, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task', '10': 'inProgress'}, + {'1': 'done', '3': 3, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task', '10': 'done'}, ], '3': [GetTasksByPatientSortedByStatusResponse_Task$json], }; @@ -239,7 +239,7 @@ const GetTasksByPatientSortedByStatusResponse_Task$json = { {'1': 'public', '3': 7, '4': 1, '5': 8, '10': 'public'}, {'1': 'due_at', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'dueAt'}, {'1': 'created_by', '3': 9, '4': 1, '5': 9, '10': 'createdBy'}, - {'1': 'subtasks', '3': 10, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask', '10': 'subtasks'}, + {'1': 'subtasks', '3': 10, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask', '10': 'subtasks'}, ], '3': [GetTasksByPatientSortedByStatusResponse_Task_SubTask$json], '8': [ @@ -260,21 +260,21 @@ const GetTasksByPatientSortedByStatusResponse_Task_SubTask$json = { /// Descriptor for `GetTasksByPatientSortedByStatusResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getTasksByPatientSortedByStatusResponseDescriptor = $convert.base64Decode( - 'CidHZXRUYXNrc0J5UGF0aWVudFNvcnRlZEJ5U3RhdHVzUmVzcG9uc2USXAoEdG9kbxgBIAMoCz' - 'JILnByb3RvLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFRhc2tzQnlQYXRpZW50U29ydGVkQnlT' - 'dGF0dXNSZXNwb25zZS5UYXNrUgR0b2RvEmkKC2luX3Byb2dyZXNzGAIgAygLMkgucHJvdG8uc2' - 'VydmljZXMudGFza19zdmMudjEuR2V0VGFza3NCeVBhdGllbnRTb3J0ZWRCeVN0YXR1c1Jlc3Bv' - 'bnNlLlRhc2tSCmluUHJvZ3Jlc3MSXAoEZG9uZRgDIAMoCzJILnByb3RvLnNlcnZpY2VzLnRhc2' - 'tfc3ZjLnYxLkdldFRhc2tzQnlQYXRpZW50U29ydGVkQnlTdGF0dXNSZXNwb25zZS5UYXNrUgRk' - 'b25lGukDCgRUYXNrEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEiAKC2Rlc2' - 'NyaXB0aW9uGAMgASgJUgtkZXNjcmlwdGlvbhItChBhc3NpZ25lZF91c2VyX2lkGAUgASgJSABS' - 'DmFzc2lnbmVkVXNlcklkiAEBEh0KCnBhdGllbnRfaWQYBiABKAlSCXBhdGllbnRJZBIWCgZwdW' - 'JsaWMYByABKAhSBnB1YmxpYxIxCgZkdWVfYXQYCCABKAsyGi5nb29nbGUucHJvdG9idWYuVGlt' - 'ZXN0YW1wUgVkdWVBdBIdCgpjcmVhdGVkX2J5GAkgASgJUgljcmVhdGVkQnkSbAoIc3VidGFza3' - 'MYCiADKAsyUC5wcm90by5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRUYXNrc0J5UGF0aWVudFNv' - 'cnRlZEJ5U3RhdHVzUmVzcG9uc2UuVGFzay5TdWJUYXNrUghzdWJ0YXNrcxpgCgdTdWJUYXNrEg' - '4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEhIKBGRvbmUYAyABKAhSBGRvbmUS' - 'HQoKY3JlYXRlZF9ieRgEIAEoCVIJY3JlYXRlZEJ5QhMKEV9hc3NpZ25lZF91c2VyX2lk'); + 'CidHZXRUYXNrc0J5UGF0aWVudFNvcnRlZEJ5U3RhdHVzUmVzcG9uc2USVgoEdG9kbxgBIAMoCz' + 'JCLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFRhc2tzQnlQYXRpZW50U29ydGVkQnlTdGF0dXNS' + 'ZXNwb25zZS5UYXNrUgR0b2RvEmMKC2luX3Byb2dyZXNzGAIgAygLMkIuc2VydmljZXMudGFza1' + '9zdmMudjEuR2V0VGFza3NCeVBhdGllbnRTb3J0ZWRCeVN0YXR1c1Jlc3BvbnNlLlRhc2tSCmlu' + 'UHJvZ3Jlc3MSVgoEZG9uZRgDIAMoCzJCLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFRhc2tzQn' + 'lQYXRpZW50U29ydGVkQnlTdGF0dXNSZXNwb25zZS5UYXNrUgRkb25lGuMDCgRUYXNrEg4KAmlk' + 'GAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEiAKC2Rlc2NyaXB0aW9uGAMgASgJUgtkZX' + 'NjcmlwdGlvbhItChBhc3NpZ25lZF91c2VyX2lkGAUgASgJSABSDmFzc2lnbmVkVXNlcklkiAEB' + 'Eh0KCnBhdGllbnRfaWQYBiABKAlSCXBhdGllbnRJZBIWCgZwdWJsaWMYByABKAhSBnB1YmxpYx' + 'IxCgZkdWVfYXQYCCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgVkdWVBdBIdCgpj' + 'cmVhdGVkX2J5GAkgASgJUgljcmVhdGVkQnkSZgoIc3VidGFza3MYCiADKAsySi5zZXJ2aWNlcy' + '50YXNrX3N2Yy52MS5HZXRUYXNrc0J5UGF0aWVudFNvcnRlZEJ5U3RhdHVzUmVzcG9uc2UuVGFz' + 'ay5TdWJUYXNrUghzdWJ0YXNrcxpgCgdTdWJUYXNrEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGA' + 'IgASgJUgRuYW1lEhIKBGRvbmUYAyABKAhSBGRvbmUSHQoKY3JlYXRlZF9ieRgEIAEoCVIJY3Jl' + 'YXRlZEJ5QhMKEV9hc3NpZ25lZF91c2VyX2lk'); @$core.Deprecated('Use getAssignedTasksRequestDescriptor instead') const GetAssignedTasksRequest$json = { @@ -289,7 +289,7 @@ final $typed_data.Uint8List getAssignedTasksRequestDescriptor = $convert.base64D const GetAssignedTasksResponse$json = { '1': 'GetAssignedTasksResponse', '2': [ - {'1': 'tasks', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetAssignedTasksResponse.Task', '10': 'tasks'}, + {'1': 'tasks', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetAssignedTasksResponse.Task', '10': 'tasks'}, ], '3': [GetAssignedTasksResponse_Task$json], }; @@ -301,13 +301,13 @@ const GetAssignedTasksResponse_Task$json = { {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, - {'1': 'status', '3': 4, '4': 1, '5': 14, '6': '.proto.services.task_svc.v1.TaskStatus', '10': 'status'}, + {'1': 'status', '3': 4, '4': 1, '5': 14, '6': '.services.task_svc.v1.TaskStatus', '10': 'status'}, {'1': 'assigned_user_id', '3': 5, '4': 1, '5': 9, '10': 'assignedUserId'}, - {'1': 'patient', '3': 6, '4': 1, '5': 11, '6': '.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient', '10': 'patient'}, + {'1': 'patient', '3': 6, '4': 1, '5': 11, '6': '.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient', '10': 'patient'}, {'1': 'public', '3': 7, '4': 1, '5': 8, '10': 'public'}, {'1': 'due_at', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'dueAt'}, {'1': 'created_by', '3': 9, '4': 1, '5': 9, '10': 'createdBy'}, - {'1': 'subtasks', '3': 10, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask', '10': 'subtasks'}, + {'1': 'subtasks', '3': 10, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask', '10': 'subtasks'}, ], '3': [GetAssignedTasksResponse_Task_Patient$json, GetAssignedTasksResponse_Task_SubTask$json], }; @@ -334,20 +334,19 @@ const GetAssignedTasksResponse_Task_SubTask$json = { /// Descriptor for `GetAssignedTasksResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getAssignedTasksResponseDescriptor = $convert.base64Decode( - 'ChhHZXRBc3NpZ25lZFRhc2tzUmVzcG9uc2USTwoFdGFza3MYASADKAsyOS5wcm90by5zZXJ2aW' - 'Nlcy50YXNrX3N2Yy52MS5HZXRBc3NpZ25lZFRhc2tzUmVzcG9uc2UuVGFza1IFdGFza3Ma7QQK' - 'BFRhc2sSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb2' - '4YAyABKAlSC2Rlc2NyaXB0aW9uEj4KBnN0YXR1cxgEIAEoDjImLnByb3RvLnNlcnZpY2VzLnRh' - 'c2tfc3ZjLnYxLlRhc2tTdGF0dXNSBnN0YXR1cxIoChBhc3NpZ25lZF91c2VyX2lkGAUgASgJUg' - '5hc3NpZ25lZFVzZXJJZBJbCgdwYXRpZW50GAYgASgLMkEucHJvdG8uc2VydmljZXMudGFza19z' - 'dmMudjEuR2V0QXNzaWduZWRUYXNrc1Jlc3BvbnNlLlRhc2suUGF0aWVudFIHcGF0aWVudBIWCg' - 'ZwdWJsaWMYByABKAhSBnB1YmxpYxIxCgZkdWVfYXQYCCABKAsyGi5nb29nbGUucHJvdG9idWYu' - 'VGltZXN0YW1wUgVkdWVBdBIdCgpjcmVhdGVkX2J5GAkgASgJUgljcmVhdGVkQnkSXQoIc3VidG' - 'Fza3MYCiADKAsyQS5wcm90by5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRBc3NpZ25lZFRhc2tz' - 'UmVzcG9uc2UuVGFzay5TdWJUYXNrUghzdWJ0YXNrcxotCgdQYXRpZW50Eg4KAmlkGAEgASgJUg' - 'JpZBISCgRuYW1lGAIgASgJUgRuYW1lGmAKB1N1YlRhc2sSDgoCaWQYASABKAlSAmlkEhIKBG5h' - 'bWUYAiABKAlSBG5hbWUSEgoEZG9uZRgDIAEoCFIEZG9uZRIdCgpjcmVhdGVkX2J5GAQgASgJUg' - 'ljcmVhdGVkQnk='); + 'ChhHZXRBc3NpZ25lZFRhc2tzUmVzcG9uc2USSQoFdGFza3MYASADKAsyMy5zZXJ2aWNlcy50YX' + 'NrX3N2Yy52MS5HZXRBc3NpZ25lZFRhc2tzUmVzcG9uc2UuVGFza1IFdGFza3Ma2wQKBFRhc2sS' + 'DgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb24YAyABKA' + 'lSC2Rlc2NyaXB0aW9uEjgKBnN0YXR1cxgEIAEoDjIgLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLlRh' + 'c2tTdGF0dXNSBnN0YXR1cxIoChBhc3NpZ25lZF91c2VyX2lkGAUgASgJUg5hc3NpZ25lZFVzZX' + 'JJZBJVCgdwYXRpZW50GAYgASgLMjsuc2VydmljZXMudGFza19zdmMudjEuR2V0QXNzaWduZWRU' + 'YXNrc1Jlc3BvbnNlLlRhc2suUGF0aWVudFIHcGF0aWVudBIWCgZwdWJsaWMYByABKAhSBnB1Ym' + 'xpYxIxCgZkdWVfYXQYCCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgVkdWVBdBId' + 'CgpjcmVhdGVkX2J5GAkgASgJUgljcmVhdGVkQnkSVwoIc3VidGFza3MYCiADKAsyOy5zZXJ2aW' + 'Nlcy50YXNrX3N2Yy52MS5HZXRBc3NpZ25lZFRhc2tzUmVzcG9uc2UuVGFzay5TdWJUYXNrUghz' + 'dWJ0YXNrcxotCgdQYXRpZW50Eg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lGm' + 'AKB1N1YlRhc2sSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSEgoEZG9uZRgD' + 'IAEoCFIEZG9uZRIdCgpjcmVhdGVkX2J5GAQgASgJUgljcmVhdGVkQnk='); @$core.Deprecated('Use updateTaskRequestDescriptor instead') const UpdateTaskRequest$json = { diff --git a/gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pb.dart b/gen/dart/lib/services/task_svc/v1/task_template_svc.pb.dart similarity index 96% rename from gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pb.dart rename to gen/dart/lib/services/task_svc/v1/task_template_svc.pb.dart index 05ea7a7bf..c089e4465 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pb.dart +++ b/gen/dart/lib/services/task_svc/v1/task_template_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/task_template_svc.proto +// source: services/task_svc/v1/task_template_svc.proto // // @dart = 2.12 @@ -27,7 +27,7 @@ class CreateTaskTemplateRequest_SubTask extends $pb.GeneratedMessage { factory CreateTaskTemplateRequest_SubTask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateTaskTemplateRequest_SubTask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskTemplateRequest.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskTemplateRequest.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false ; @@ -89,7 +89,7 @@ class CreateTaskTemplateRequest extends $pb.GeneratedMessage { factory CreateTaskTemplateRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateTaskTemplateRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskTemplateRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskTemplateRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'description') ..aOS(4, _omitFieldNames ? '' : 'wardId') @@ -163,7 +163,7 @@ class CreateTaskTemplateResponse extends $pb.GeneratedMessage { factory CreateTaskTemplateResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateTaskTemplateResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskTemplateResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskTemplateResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -205,7 +205,7 @@ class GetAllTaskTemplatesRequest extends $pb.GeneratedMessage { factory GetAllTaskTemplatesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -253,7 +253,7 @@ class GetAllTaskTemplatesResponse_TaskTemplate_SubTask extends $pb.GeneratedMess factory GetAllTaskTemplatesResponse_TaskTemplate_SubTask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesResponse_TaskTemplate_SubTask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesResponse.TaskTemplate.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesResponse.TaskTemplate.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'taskTemplateId') ..aOS(3, _omitFieldNames ? '' : 'name') @@ -343,7 +343,7 @@ class GetAllTaskTemplatesResponse_TaskTemplate extends $pb.GeneratedMessage { factory GetAllTaskTemplatesResponse_TaskTemplate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesResponse_TaskTemplate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesResponse.TaskTemplate', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesResponse.TaskTemplate', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -437,7 +437,7 @@ class GetAllTaskTemplatesResponse extends $pb.GeneratedMessage { factory GetAllTaskTemplatesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'templates', $pb.PbFieldType.PM, subBuilder: GetAllTaskTemplatesResponse_TaskTemplate.create) ..hasRequiredFields = false ; @@ -481,7 +481,7 @@ class DeleteTaskTemplateRequest extends $pb.GeneratedMessage { factory DeleteTaskTemplateRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteTaskTemplateRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskTemplateRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskTemplateRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -523,7 +523,7 @@ class DeleteTaskTemplateResponse extends $pb.GeneratedMessage { factory DeleteTaskTemplateResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteTaskTemplateResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskTemplateResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskTemplateResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -563,7 +563,7 @@ class DeleteTaskTemplateSubTaskRequest extends $pb.GeneratedMessage { factory DeleteTaskTemplateSubTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteTaskTemplateSubTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskTemplateSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskTemplateSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -605,7 +605,7 @@ class DeleteTaskTemplateSubTaskResponse extends $pb.GeneratedMessage { factory DeleteTaskTemplateSubTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteTaskTemplateSubTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskTemplateSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTaskTemplateSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -653,7 +653,7 @@ class UpdateTaskTemplateRequest extends $pb.GeneratedMessage { factory UpdateTaskTemplateRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateTaskTemplateRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskTemplateRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskTemplateRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -715,7 +715,7 @@ class UpdateTaskTemplateResponse extends $pb.GeneratedMessage { factory UpdateTaskTemplateResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateTaskTemplateResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskTemplateResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskTemplateResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -759,7 +759,7 @@ class UpdateTaskTemplateSubTaskRequest extends $pb.GeneratedMessage { factory UpdateTaskTemplateSubTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateTaskTemplateSubTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskTemplateSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskTemplateSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'subtaskId') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -811,7 +811,7 @@ class UpdateTaskTemplateSubTaskResponse extends $pb.GeneratedMessage { factory UpdateTaskTemplateSubTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateTaskTemplateSubTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskTemplateSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskTemplateSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -855,7 +855,7 @@ class CreateTaskTemplateSubTaskRequest extends $pb.GeneratedMessage { factory CreateTaskTemplateSubTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateTaskTemplateSubTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskTemplateSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskTemplateSubTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'taskTemplateId') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -915,7 +915,7 @@ class CreateTaskTemplateSubTaskResponse extends $pb.GeneratedMessage { factory CreateTaskTemplateSubTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateTaskTemplateSubTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskTemplateSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskTemplateSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -969,7 +969,7 @@ class GetAllTaskTemplatesByCreatorRequest extends $pb.GeneratedMessage { factory GetAllTaskTemplatesByCreatorRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesByCreatorRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByCreatorRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByCreatorRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'createdBy') ..aOB(2, _omitFieldNames ? '' : 'privateOnly') ..hasRequiredFields = false @@ -1037,7 +1037,7 @@ class GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask extends $pb.Gene factory GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'taskTemplateId') ..aOS(3, _omitFieldNames ? '' : 'name') @@ -1123,7 +1123,7 @@ class GetAllTaskTemplatesByCreatorResponse_TaskTemplate extends $pb.GeneratedMes factory GetAllTaskTemplatesByCreatorResponse_TaskTemplate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesByCreatorResponse_TaskTemplate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByCreatorResponse.TaskTemplate', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByCreatorResponse.TaskTemplate', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -1207,7 +1207,7 @@ class GetAllTaskTemplatesByCreatorResponse extends $pb.GeneratedMessage { factory GetAllTaskTemplatesByCreatorResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesByCreatorResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByCreatorResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByCreatorResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'templates', $pb.PbFieldType.PM, subBuilder: GetAllTaskTemplatesByCreatorResponse_TaskTemplate.create) ..hasRequiredFields = false ; @@ -1251,7 +1251,7 @@ class GetAllTaskTemplatesByWardRequest extends $pb.GeneratedMessage { factory GetAllTaskTemplatesByWardRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesByWardRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'wardId') ..hasRequiredFields = false ; @@ -1309,7 +1309,7 @@ class GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask extends $pb.Generat factory GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'taskTemplateId') ..aOS(3, _omitFieldNames ? '' : 'name') @@ -1399,7 +1399,7 @@ class GetAllTaskTemplatesByWardResponse_TaskTemplate extends $pb.GeneratedMessag factory GetAllTaskTemplatesByWardResponse_TaskTemplate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesByWardResponse_TaskTemplate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByWardResponse.TaskTemplate', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByWardResponse.TaskTemplate', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -1493,7 +1493,7 @@ class GetAllTaskTemplatesByWardResponse extends $pb.GeneratedMessage { factory GetAllTaskTemplatesByWardResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetAllTaskTemplatesByWardResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllTaskTemplatesByWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'templates', $pb.PbFieldType.PM, subBuilder: GetAllTaskTemplatesByWardResponse_TaskTemplate.create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pbenum.dart b/gen/dart/lib/services/task_svc/v1/task_template_svc.pbenum.dart similarity index 84% rename from gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pbenum.dart rename to gen/dart/lib/services/task_svc/v1/task_template_svc.pbenum.dart index 4b4cb5f72..364422588 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pbenum.dart +++ b/gen/dart/lib/services/task_svc/v1/task_template_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/task_template_svc.proto +// source: services/task_svc/v1/task_template_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pbgrpc.dart b/gen/dart/lib/services/task_svc/v1/task_template_svc.pbgrpc.dart similarity index 92% rename from gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pbgrpc.dart rename to gen/dart/lib/services/task_svc/v1/task_template_svc.pbgrpc.dart index 46a38e0c3..16d2a35db 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pbgrpc.dart +++ b/gen/dart/lib/services/task_svc/v1/task_template_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/task_template_svc.proto +// source: services/task_svc/v1/task_template_svc.proto // // @dart = 2.12 @@ -19,42 +19,42 @@ import 'task_template_svc.pb.dart' as $10; export 'task_template_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.task_svc.v1.TaskTemplateService') +@$pb.GrpcServiceName('services.task_svc.v1.TaskTemplateService') class TaskTemplateServiceClient extends $grpc.Client { static final _$createTaskTemplate = $grpc.ClientMethod<$10.CreateTaskTemplateRequest, $10.CreateTaskTemplateResponse>( - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', ($10.CreateTaskTemplateRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $10.CreateTaskTemplateResponse.fromBuffer(value)); static final _$getAllTaskTemplates = $grpc.ClientMethod<$10.GetAllTaskTemplatesRequest, $10.GetAllTaskTemplatesResponse>( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', ($10.GetAllTaskTemplatesRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $10.GetAllTaskTemplatesResponse.fromBuffer(value)); static final _$deleteTaskTemplate = $grpc.ClientMethod<$10.DeleteTaskTemplateRequest, $10.DeleteTaskTemplateResponse>( - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', ($10.DeleteTaskTemplateRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $10.DeleteTaskTemplateResponse.fromBuffer(value)); static final _$deleteTaskTemplateSubTask = $grpc.ClientMethod<$10.DeleteTaskTemplateSubTaskRequest, $10.DeleteTaskTemplateSubTaskResponse>( - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', ($10.DeleteTaskTemplateSubTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $10.DeleteTaskTemplateSubTaskResponse.fromBuffer(value)); static final _$updateTaskTemplate = $grpc.ClientMethod<$10.UpdateTaskTemplateRequest, $10.UpdateTaskTemplateResponse>( - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', ($10.UpdateTaskTemplateRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $10.UpdateTaskTemplateResponse.fromBuffer(value)); static final _$updateTaskTemplateSubTask = $grpc.ClientMethod<$10.UpdateTaskTemplateSubTaskRequest, $10.UpdateTaskTemplateSubTaskResponse>( - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', ($10.UpdateTaskTemplateSubTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $10.UpdateTaskTemplateSubTaskResponse.fromBuffer(value)); static final _$createTaskTemplateSubTask = $grpc.ClientMethod<$10.CreateTaskTemplateSubTaskRequest, $10.CreateTaskTemplateSubTaskResponse>( - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', ($10.CreateTaskTemplateSubTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $10.CreateTaskTemplateSubTaskResponse.fromBuffer(value)); static final _$getAllTaskTemplatesByCreator = $grpc.ClientMethod<$10.GetAllTaskTemplatesByCreatorRequest, $10.GetAllTaskTemplatesByCreatorResponse>( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', ($10.GetAllTaskTemplatesByCreatorRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $10.GetAllTaskTemplatesByCreatorResponse.fromBuffer(value)); static final _$getAllTaskTemplatesByWard = $grpc.ClientMethod<$10.GetAllTaskTemplatesByWardRequest, $10.GetAllTaskTemplatesByWardResponse>( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', ($10.GetAllTaskTemplatesByWardRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $10.GetAllTaskTemplatesByWardResponse.fromBuffer(value)); @@ -101,9 +101,9 @@ class TaskTemplateServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.task_svc.v1.TaskTemplateService') +@$pb.GrpcServiceName('services.task_svc.v1.TaskTemplateService') abstract class TaskTemplateServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.task_svc.v1.TaskTemplateService'; + $core.String get $name => 'services.task_svc.v1.TaskTemplateService'; TaskTemplateServiceBase() { $addMethod($grpc.ServiceMethod<$10.CreateTaskTemplateRequest, $10.CreateTaskTemplateResponse>( diff --git a/gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pbjson.dart b/gen/dart/lib/services/task_svc/v1/task_template_svc.pbjson.dart similarity index 80% rename from gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pbjson.dart rename to gen/dart/lib/services/task_svc/v1/task_template_svc.pbjson.dart index 934404a85..a52eebb1b 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/task_template_svc.pbjson.dart +++ b/gen/dart/lib/services/task_svc/v1/task_template_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/task_template_svc.proto +// source: services/task_svc/v1/task_template_svc.proto // // @dart = 2.12 @@ -20,7 +20,7 @@ const CreateTaskTemplateRequest$json = { {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'description', '17': true}, {'1': 'ward_id', '3': 4, '4': 1, '5': 9, '9': 1, '10': 'wardId', '17': true}, - {'1': 'subtasks', '3': 5, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask', '10': 'subtasks'}, + {'1': 'subtasks', '3': 5, '4': 3, '5': 11, '6': '.services.task_svc.v1.CreateTaskTemplateRequest.SubTask', '10': 'subtasks'}, ], '3': [CreateTaskTemplateRequest_SubTask$json], '8': [ @@ -41,9 +41,9 @@ const CreateTaskTemplateRequest_SubTask$json = { final $typed_data.Uint8List createTaskTemplateRequestDescriptor = $convert.base64Decode( 'ChlDcmVhdGVUYXNrVGVtcGxhdGVSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSJQoLZGVzY3' 'JpcHRpb24YAiABKAlIAFILZGVzY3JpcHRpb26IAQESHAoHd2FyZF9pZBgEIAEoCUgBUgZ3YXJk' - 'SWSIAQESWQoIc3VidGFza3MYBSADKAsyPS5wcm90by5zZXJ2aWNlcy50YXNrX3N2Yy52MS5Dcm' - 'VhdGVUYXNrVGVtcGxhdGVSZXF1ZXN0LlN1YlRhc2tSCHN1YnRhc2tzGh0KB1N1YlRhc2sSEgoE' - 'bmFtZRgBIAEoCVIEbmFtZUIOCgxfZGVzY3JpcHRpb25CCgoIX3dhcmRfaWQ='); + 'SWSIAQESUwoIc3VidGFza3MYBSADKAsyNy5zZXJ2aWNlcy50YXNrX3N2Yy52MS5DcmVhdGVUYX' + 'NrVGVtcGxhdGVSZXF1ZXN0LlN1YlRhc2tSCHN1YnRhc2tzGh0KB1N1YlRhc2sSEgoEbmFtZRgB' + 'IAEoCVIEbmFtZUIOCgxfZGVzY3JpcHRpb25CCgoIX3dhcmRfaWQ='); @$core.Deprecated('Use createTaskTemplateResponseDescriptor instead') const CreateTaskTemplateResponse$json = { @@ -70,7 +70,7 @@ final $typed_data.Uint8List getAllTaskTemplatesRequestDescriptor = $convert.base const GetAllTaskTemplatesResponse$json = { '1': 'GetAllTaskTemplatesResponse', '2': [ - {'1': 'templates', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate', '10': 'templates'}, + {'1': 'templates', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate', '10': 'templates'}, ], '3': [GetAllTaskTemplatesResponse_TaskTemplate$json], }; @@ -84,7 +84,7 @@ const GetAllTaskTemplatesResponse_TaskTemplate$json = { {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, {'1': 'is_public', '3': 4, '4': 1, '5': 8, '10': 'isPublic'}, {'1': 'created_by', '3': 6, '4': 1, '5': 9, '10': 'createdBy'}, - {'1': 'subtasks', '3': 7, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask', '10': 'subtasks'}, + {'1': 'subtasks', '3': 7, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask', '10': 'subtasks'}, ], '3': [GetAllTaskTemplatesResponse_TaskTemplate_SubTask$json], }; @@ -101,15 +101,15 @@ const GetAllTaskTemplatesResponse_TaskTemplate_SubTask$json = { /// Descriptor for `GetAllTaskTemplatesResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getAllTaskTemplatesResponseDescriptor = $convert.base64Decode( - 'ChtHZXRBbGxUYXNrVGVtcGxhdGVzUmVzcG9uc2USYgoJdGVtcGxhdGVzGAEgAygLMkQucHJvdG' - '8uc2VydmljZXMudGFza19zdmMudjEuR2V0QWxsVGFza1RlbXBsYXRlc1Jlc3BvbnNlLlRhc2tU' - 'ZW1wbGF0ZVIJdGVtcGxhdGVzGtMCCgxUYXNrVGVtcGxhdGUSDgoCaWQYASABKAlSAmlkEhIKBG' - '5hbWUYAiABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb24YAyABKAlSC2Rlc2NyaXB0aW9uEhsKCWlz' - 'X3B1YmxpYxgEIAEoCFIIaXNQdWJsaWMSHQoKY3JlYXRlZF9ieRgGIAEoCVIJY3JlYXRlZEJ5Em' - 'gKCHN1YnRhc2tzGAcgAygLMkwucHJvdG8uc2VydmljZXMudGFza19zdmMudjEuR2V0QWxsVGFz' - 'a1RlbXBsYXRlc1Jlc3BvbnNlLlRhc2tUZW1wbGF0ZS5TdWJUYXNrUghzdWJ0YXNrcxpXCgdTdW' - 'JUYXNrEg4KAmlkGAEgASgJUgJpZBIoChB0YXNrX3RlbXBsYXRlX2lkGAIgASgJUg50YXNrVGVt' - 'cGxhdGVJZBISCgRuYW1lGAMgASgJUgRuYW1l'); + 'ChtHZXRBbGxUYXNrVGVtcGxhdGVzUmVzcG9uc2USXAoJdGVtcGxhdGVzGAEgAygLMj4uc2Vydm' + 'ljZXMudGFza19zdmMudjEuR2V0QWxsVGFza1RlbXBsYXRlc1Jlc3BvbnNlLlRhc2tUZW1wbGF0' + 'ZVIJdGVtcGxhdGVzGs0CCgxUYXNrVGVtcGxhdGUSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAi' + 'ABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb24YAyABKAlSC2Rlc2NyaXB0aW9uEhsKCWlzX3B1Ymxp' + 'YxgEIAEoCFIIaXNQdWJsaWMSHQoKY3JlYXRlZF9ieRgGIAEoCVIJY3JlYXRlZEJ5EmIKCHN1Yn' + 'Rhc2tzGAcgAygLMkYuc2VydmljZXMudGFza19zdmMudjEuR2V0QWxsVGFza1RlbXBsYXRlc1Jl' + 'c3BvbnNlLlRhc2tUZW1wbGF0ZS5TdWJUYXNrUghzdWJ0YXNrcxpXCgdTdWJUYXNrEg4KAmlkGA' + 'EgASgJUgJpZBIoChB0YXNrX3RlbXBsYXRlX2lkGAIgASgJUg50YXNrVGVtcGxhdGVJZBISCgRu' + 'YW1lGAMgASgJUgRuYW1l'); @$core.Deprecated('Use deleteTaskTemplateRequestDescriptor instead') const DeleteTaskTemplateRequest$json = { @@ -256,7 +256,7 @@ final $typed_data.Uint8List getAllTaskTemplatesByCreatorRequestDescriptor = $con const GetAllTaskTemplatesByCreatorResponse$json = { '1': 'GetAllTaskTemplatesByCreatorResponse', '2': [ - {'1': 'templates', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate', '10': 'templates'}, + {'1': 'templates', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate', '10': 'templates'}, ], '3': [GetAllTaskTemplatesByCreatorResponse_TaskTemplate$json], }; @@ -269,7 +269,7 @@ const GetAllTaskTemplatesByCreatorResponse_TaskTemplate$json = { {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, {'1': 'is_public', '3': 4, '4': 1, '5': 8, '10': 'isPublic'}, - {'1': 'subtasks', '3': 7, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask', '10': 'subtasks'}, + {'1': 'subtasks', '3': 7, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask', '10': 'subtasks'}, ], '3': [GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask$json], }; @@ -286,15 +286,15 @@ const GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask$json = { /// Descriptor for `GetAllTaskTemplatesByCreatorResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getAllTaskTemplatesByCreatorResponseDescriptor = $convert.base64Decode( - 'CiRHZXRBbGxUYXNrVGVtcGxhdGVzQnlDcmVhdG9yUmVzcG9uc2USawoJdGVtcGxhdGVzGAEgAy' - 'gLMk0ucHJvdG8uc2VydmljZXMudGFza19zdmMudjEuR2V0QWxsVGFza1RlbXBsYXRlc0J5Q3Jl' - 'YXRvclJlc3BvbnNlLlRhc2tUZW1wbGF0ZVIJdGVtcGxhdGVzGr0CCgxUYXNrVGVtcGxhdGUSDg' - 'oCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb24YAyABKAlS' - 'C2Rlc2NyaXB0aW9uEhsKCWlzX3B1YmxpYxgEIAEoCFIIaXNQdWJsaWMScQoIc3VidGFza3MYBy' - 'ADKAsyVS5wcm90by5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRBbGxUYXNrVGVtcGxhdGVzQnlD' - 'cmVhdG9yUmVzcG9uc2UuVGFza1RlbXBsYXRlLlN1YlRhc2tSCHN1YnRhc2tzGlcKB1N1YlRhc2' - 'sSDgoCaWQYASABKAlSAmlkEigKEHRhc2tfdGVtcGxhdGVfaWQYAiABKAlSDnRhc2tUZW1wbGF0' - 'ZUlkEhIKBG5hbWUYAyABKAlSBG5hbWU='); + 'CiRHZXRBbGxUYXNrVGVtcGxhdGVzQnlDcmVhdG9yUmVzcG9uc2USZQoJdGVtcGxhdGVzGAEgAy' + 'gLMkcuc2VydmljZXMudGFza19zdmMudjEuR2V0QWxsVGFza1RlbXBsYXRlc0J5Q3JlYXRvclJl' + 'c3BvbnNlLlRhc2tUZW1wbGF0ZVIJdGVtcGxhdGVzGrcCCgxUYXNrVGVtcGxhdGUSDgoCaWQYAS' + 'ABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb24YAyABKAlSC2Rlc2Ny' + 'aXB0aW9uEhsKCWlzX3B1YmxpYxgEIAEoCFIIaXNQdWJsaWMSawoIc3VidGFza3MYByADKAsyTy' + '5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRBbGxUYXNrVGVtcGxhdGVzQnlDcmVhdG9yUmVzcG9u' + 'c2UuVGFza1RlbXBsYXRlLlN1YlRhc2tSCHN1YnRhc2tzGlcKB1N1YlRhc2sSDgoCaWQYASABKA' + 'lSAmlkEigKEHRhc2tfdGVtcGxhdGVfaWQYAiABKAlSDnRhc2tUZW1wbGF0ZUlkEhIKBG5hbWUY' + 'AyABKAlSBG5hbWU='); @$core.Deprecated('Use getAllTaskTemplatesByWardRequestDescriptor instead') const GetAllTaskTemplatesByWardRequest$json = { @@ -313,7 +313,7 @@ final $typed_data.Uint8List getAllTaskTemplatesByWardRequestDescriptor = $conver const GetAllTaskTemplatesByWardResponse$json = { '1': 'GetAllTaskTemplatesByWardResponse', '2': [ - {'1': 'templates', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate', '10': 'templates'}, + {'1': 'templates', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate', '10': 'templates'}, ], '3': [GetAllTaskTemplatesByWardResponse_TaskTemplate$json], }; @@ -327,7 +327,7 @@ const GetAllTaskTemplatesByWardResponse_TaskTemplate$json = { {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, {'1': 'is_public', '3': 4, '4': 1, '5': 8, '10': 'isPublic'}, {'1': 'created_by', '3': 6, '4': 1, '5': 9, '10': 'createdBy'}, - {'1': 'subtasks', '3': 7, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask', '10': 'subtasks'}, + {'1': 'subtasks', '3': 7, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask', '10': 'subtasks'}, ], '3': [GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask$json], }; @@ -344,13 +344,13 @@ const GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask$json = { /// Descriptor for `GetAllTaskTemplatesByWardResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getAllTaskTemplatesByWardResponseDescriptor = $convert.base64Decode( - 'CiFHZXRBbGxUYXNrVGVtcGxhdGVzQnlXYXJkUmVzcG9uc2USaAoJdGVtcGxhdGVzGAEgAygLMk' - 'oucHJvdG8uc2VydmljZXMudGFza19zdmMudjEuR2V0QWxsVGFza1RlbXBsYXRlc0J5V2FyZFJl' - 'c3BvbnNlLlRhc2tUZW1wbGF0ZVIJdGVtcGxhdGVzGtkCCgxUYXNrVGVtcGxhdGUSDgoCaWQYAS' - 'ABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb24YAyABKAlSC2Rlc2Ny' - 'aXB0aW9uEhsKCWlzX3B1YmxpYxgEIAEoCFIIaXNQdWJsaWMSHQoKY3JlYXRlZF9ieRgGIAEoCV' - 'IJY3JlYXRlZEJ5Em4KCHN1YnRhc2tzGAcgAygLMlIucHJvdG8uc2VydmljZXMudGFza19zdmMu' - 'djEuR2V0QWxsVGFza1RlbXBsYXRlc0J5V2FyZFJlc3BvbnNlLlRhc2tUZW1wbGF0ZS5TdWJUYX' - 'NrUghzdWJ0YXNrcxpXCgdTdWJUYXNrEg4KAmlkGAEgASgJUgJpZBIoChB0YXNrX3RlbXBsYXRl' - 'X2lkGAIgASgJUg50YXNrVGVtcGxhdGVJZBISCgRuYW1lGAMgASgJUgRuYW1l'); + 'CiFHZXRBbGxUYXNrVGVtcGxhdGVzQnlXYXJkUmVzcG9uc2USYgoJdGVtcGxhdGVzGAEgAygLMk' + 'Quc2VydmljZXMudGFza19zdmMudjEuR2V0QWxsVGFza1RlbXBsYXRlc0J5V2FyZFJlc3BvbnNl' + 'LlRhc2tUZW1wbGF0ZVIJdGVtcGxhdGVzGtMCCgxUYXNrVGVtcGxhdGUSDgoCaWQYASABKAlSAm' + 'lkEhIKBG5hbWUYAiABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb24YAyABKAlSC2Rlc2NyaXB0aW9u' + 'EhsKCWlzX3B1YmxpYxgEIAEoCFIIaXNQdWJsaWMSHQoKY3JlYXRlZF9ieRgGIAEoCVIJY3JlYX' + 'RlZEJ5EmgKCHN1YnRhc2tzGAcgAygLMkwuc2VydmljZXMudGFza19zdmMudjEuR2V0QWxsVGFz' + 'a1RlbXBsYXRlc0J5V2FyZFJlc3BvbnNlLlRhc2tUZW1wbGF0ZS5TdWJUYXNrUghzdWJ0YXNrcx' + 'pXCgdTdWJUYXNrEg4KAmlkGAEgASgJUgJpZBIoChB0YXNrX3RlbXBsYXRlX2lkGAIgASgJUg50' + 'YXNrVGVtcGxhdGVJZBISCgRuYW1lGAMgASgJUgRuYW1l'); diff --git a/gen/dart/lib/proto/services/task_svc/v1/ward_svc.pb.dart b/gen/dart/lib/services/task_svc/v1/ward_svc.pb.dart similarity index 96% rename from gen/dart/lib/proto/services/task_svc/v1/ward_svc.pb.dart rename to gen/dart/lib/services/task_svc/v1/ward_svc.pb.dart index b2bd75551..f51144f1e 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/ward_svc.pb.dart +++ b/gen/dart/lib/services/task_svc/v1/ward_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/ward_svc.proto +// source: services/task_svc/v1/ward_svc.proto // // @dart = 2.12 @@ -27,7 +27,7 @@ class CreateWardRequest extends $pb.GeneratedMessage { factory CreateWardRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateWardRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false ; @@ -77,7 +77,7 @@ class CreateWardResponse extends $pb.GeneratedMessage { factory CreateWardResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateWardResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -127,7 +127,7 @@ class GetWardRequest extends $pb.GeneratedMessage { factory GetWardRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -185,7 +185,7 @@ class GetWardResponse extends $pb.GeneratedMessage { factory GetWardResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'organizationId') @@ -247,7 +247,7 @@ class GetWardsRequest extends $pb.GeneratedMessage { factory GetWardsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -291,7 +291,7 @@ class GetWardsResponse_Ward extends $pb.GeneratedMessage { factory GetWardsResponse_Ward.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardsResponse_Ward.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardsResponse.Ward', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardsResponse.Ward', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -351,7 +351,7 @@ class GetWardsResponse extends $pb.GeneratedMessage { factory GetWardsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'wards', $pb.PbFieldType.PM, subBuilder: GetWardsResponse_Ward.create) ..hasRequiredFields = false ; @@ -387,7 +387,7 @@ class GetRecentWardsRequest extends $pb.GeneratedMessage { factory GetRecentWardsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentWardsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentWardsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentWardsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -447,7 +447,7 @@ class GetRecentWardsResponse_Ward extends $pb.GeneratedMessage { factory GetRecentWardsResponse_Ward.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentWardsResponse_Ward.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentWardsResponse.Ward', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentWardsResponse.Ward', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..a<$core.int>(3, _omitFieldNames ? '' : 'bedCount', $pb.PbFieldType.OU3) @@ -547,7 +547,7 @@ class GetRecentWardsResponse extends $pb.GeneratedMessage { factory GetRecentWardsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentWardsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentWardsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentWardsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'wards', $pb.PbFieldType.PM, subBuilder: GetRecentWardsResponse_Ward.create) ..hasRequiredFields = false ; @@ -595,7 +595,7 @@ class UpdateWardRequest extends $pb.GeneratedMessage { factory UpdateWardRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateWardRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -647,7 +647,7 @@ class UpdateWardResponse extends $pb.GeneratedMessage { factory UpdateWardResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateWardResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -687,7 +687,7 @@ class DeleteWardRequest extends $pb.GeneratedMessage { factory DeleteWardRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteWardRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteWardRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -729,7 +729,7 @@ class DeleteWardResponse extends $pb.GeneratedMessage { factory DeleteWardResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteWardResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -769,7 +769,7 @@ class GetWardDetailsRequest extends $pb.GeneratedMessage { factory GetWardDetailsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardDetailsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -823,7 +823,7 @@ class GetWardDetailsResponse_Bed extends $pb.GeneratedMessage { factory GetWardDetailsResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardDetailsResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -887,7 +887,7 @@ class GetWardDetailsResponse_Subtask extends $pb.GeneratedMessage { factory GetWardDetailsResponse_Subtask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardDetailsResponse_Subtask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsResponse.Subtask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsResponse.Subtask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -955,7 +955,7 @@ class GetWardDetailsResponse_Room extends $pb.GeneratedMessage { factory GetWardDetailsResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardDetailsResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..pc(3, _omitFieldNames ? '' : 'beds', $pb.PbFieldType.PM, subBuilder: GetWardDetailsResponse_Bed.create) @@ -1027,7 +1027,7 @@ class GetWardDetailsResponse_TaskTemplate extends $pb.GeneratedMessage { factory GetWardDetailsResponse_TaskTemplate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardDetailsResponse_TaskTemplate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsResponse.TaskTemplate', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsResponse.TaskTemplate', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..pc(3, _omitFieldNames ? '' : 'subtasks', $pb.PbFieldType.PM, subBuilder: GetWardDetailsResponse_Subtask.create) @@ -1103,7 +1103,7 @@ class GetWardDetailsResponse extends $pb.GeneratedMessage { factory GetWardDetailsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardDetailsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardDetailsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..pc(3, _omitFieldNames ? '' : 'rooms', $pb.PbFieldType.PM, subBuilder: GetWardDetailsResponse_Room.create) @@ -1163,7 +1163,7 @@ class GetWardOverviewsRequest extends $pb.GeneratedMessage { factory GetWardOverviewsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardOverviewsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardOverviewsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardOverviewsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1223,7 +1223,7 @@ class GetWardOverviewsResponse_Ward extends $pb.GeneratedMessage { factory GetWardOverviewsResponse_Ward.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardOverviewsResponse_Ward.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardOverviewsResponse.Ward', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardOverviewsResponse.Ward', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..a<$core.int>(3, _omitFieldNames ? '' : 'bedCount', $pb.PbFieldType.OU3) @@ -1323,7 +1323,7 @@ class GetWardOverviewsResponse extends $pb.GeneratedMessage { factory GetWardOverviewsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetWardOverviewsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardOverviewsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.task_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWardOverviewsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.task_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'wards', $pb.PbFieldType.PM, subBuilder: GetWardOverviewsResponse_Ward.create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/task_svc/v1/ward_svc.pbenum.dart b/gen/dart/lib/services/task_svc/v1/ward_svc.pbenum.dart similarity index 86% rename from gen/dart/lib/proto/services/task_svc/v1/ward_svc.pbenum.dart rename to gen/dart/lib/services/task_svc/v1/ward_svc.pbenum.dart index ea5e963ab..13fb26aa2 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/ward_svc.pbenum.dart +++ b/gen/dart/lib/services/task_svc/v1/ward_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/ward_svc.proto +// source: services/task_svc/v1/ward_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/task_svc/v1/ward_svc.pbgrpc.dart b/gen/dart/lib/services/task_svc/v1/ward_svc.pbgrpc.dart similarity index 92% rename from gen/dart/lib/proto/services/task_svc/v1/ward_svc.pbgrpc.dart rename to gen/dart/lib/services/task_svc/v1/ward_svc.pbgrpc.dart index fcacad3d3..416b25ecd 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/ward_svc.pbgrpc.dart +++ b/gen/dart/lib/services/task_svc/v1/ward_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/ward_svc.proto +// source: services/task_svc/v1/ward_svc.proto // // @dart = 2.12 @@ -19,38 +19,38 @@ import 'ward_svc.pb.dart' as $11; export 'ward_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.task_svc.v1.WardService') +@$pb.GrpcServiceName('services.task_svc.v1.WardService') class WardServiceClient extends $grpc.Client { static final _$createWard = $grpc.ClientMethod<$11.CreateWardRequest, $11.CreateWardResponse>( - '/proto.services.task_svc.v1.WardService/CreateWard', + '/services.task_svc.v1.WardService/CreateWard', ($11.CreateWardRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $11.CreateWardResponse.fromBuffer(value)); static final _$getWard = $grpc.ClientMethod<$11.GetWardRequest, $11.GetWardResponse>( - '/proto.services.task_svc.v1.WardService/GetWard', + '/services.task_svc.v1.WardService/GetWard', ($11.GetWardRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $11.GetWardResponse.fromBuffer(value)); static final _$getWards = $grpc.ClientMethod<$11.GetWardsRequest, $11.GetWardsResponse>( - '/proto.services.task_svc.v1.WardService/GetWards', + '/services.task_svc.v1.WardService/GetWards', ($11.GetWardsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $11.GetWardsResponse.fromBuffer(value)); static final _$getRecentWards = $grpc.ClientMethod<$11.GetRecentWardsRequest, $11.GetRecentWardsResponse>( - '/proto.services.task_svc.v1.WardService/GetRecentWards', + '/services.task_svc.v1.WardService/GetRecentWards', ($11.GetRecentWardsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $11.GetRecentWardsResponse.fromBuffer(value)); static final _$updateWard = $grpc.ClientMethod<$11.UpdateWardRequest, $11.UpdateWardResponse>( - '/proto.services.task_svc.v1.WardService/UpdateWard', + '/services.task_svc.v1.WardService/UpdateWard', ($11.UpdateWardRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $11.UpdateWardResponse.fromBuffer(value)); static final _$deleteWard = $grpc.ClientMethod<$11.DeleteWardRequest, $11.DeleteWardResponse>( - '/proto.services.task_svc.v1.WardService/DeleteWard', + '/services.task_svc.v1.WardService/DeleteWard', ($11.DeleteWardRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $11.DeleteWardResponse.fromBuffer(value)); static final _$getWardOverviews = $grpc.ClientMethod<$11.GetWardOverviewsRequest, $11.GetWardOverviewsResponse>( - '/proto.services.task_svc.v1.WardService/GetWardOverviews', + '/services.task_svc.v1.WardService/GetWardOverviews', ($11.GetWardOverviewsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $11.GetWardOverviewsResponse.fromBuffer(value)); static final _$getWardDetails = $grpc.ClientMethod<$11.GetWardDetailsRequest, $11.GetWardDetailsResponse>( - '/proto.services.task_svc.v1.WardService/GetWardDetails', + '/services.task_svc.v1.WardService/GetWardDetails', ($11.GetWardDetailsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $11.GetWardDetailsResponse.fromBuffer(value)); @@ -93,9 +93,9 @@ class WardServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.task_svc.v1.WardService') +@$pb.GrpcServiceName('services.task_svc.v1.WardService') abstract class WardServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.task_svc.v1.WardService'; + $core.String get $name => 'services.task_svc.v1.WardService'; WardServiceBase() { $addMethod($grpc.ServiceMethod<$11.CreateWardRequest, $11.CreateWardResponse>( diff --git a/gen/dart/lib/proto/services/task_svc/v1/ward_svc.pbjson.dart b/gen/dart/lib/services/task_svc/v1/ward_svc.pbjson.dart similarity index 77% rename from gen/dart/lib/proto/services/task_svc/v1/ward_svc.pbjson.dart rename to gen/dart/lib/services/task_svc/v1/ward_svc.pbjson.dart index 26a3181dd..15ef18b0b 100644 --- a/gen/dart/lib/proto/services/task_svc/v1/ward_svc.pbjson.dart +++ b/gen/dart/lib/services/task_svc/v1/ward_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/task_svc/v1/ward_svc.proto +// source: services/task_svc/v1/ward_svc.proto // // @dart = 2.12 @@ -77,7 +77,7 @@ final $typed_data.Uint8List getWardsRequestDescriptor = $convert.base64Decode( const GetWardsResponse$json = { '1': 'GetWardsResponse', '2': [ - {'1': 'wards', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetWardsResponse.Ward', '10': 'wards'}, + {'1': 'wards', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetWardsResponse.Ward', '10': 'wards'}, ], '3': [GetWardsResponse_Ward$json], }; @@ -93,9 +93,9 @@ const GetWardsResponse_Ward$json = { /// Descriptor for `GetWardsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getWardsResponseDescriptor = $convert.base64Decode( - 'ChBHZXRXYXJkc1Jlc3BvbnNlEkcKBXdhcmRzGAEgAygLMjEucHJvdG8uc2VydmljZXMudGFza1' - '9zdmMudjEuR2V0V2FyZHNSZXNwb25zZS5XYXJkUgV3YXJkcxoqCgRXYXJkEg4KAmlkGAEgASgJ' - 'UgJpZBISCgRuYW1lGAIgASgJUgRuYW1l'); + 'ChBHZXRXYXJkc1Jlc3BvbnNlEkEKBXdhcmRzGAEgAygLMisuc2VydmljZXMudGFza19zdmMudj' + 'EuR2V0V2FyZHNSZXNwb25zZS5XYXJkUgV3YXJkcxoqCgRXYXJkEg4KAmlkGAEgASgJUgJpZBIS' + 'CgRuYW1lGAIgASgJUgRuYW1l'); @$core.Deprecated('Use getRecentWardsRequestDescriptor instead') const GetRecentWardsRequest$json = { @@ -110,7 +110,7 @@ final $typed_data.Uint8List getRecentWardsRequestDescriptor = $convert.base64Dec const GetRecentWardsResponse$json = { '1': 'GetRecentWardsResponse', '2': [ - {'1': 'wards', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetRecentWardsResponse.Ward', '10': 'wards'}, + {'1': 'wards', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetRecentWardsResponse.Ward', '10': 'wards'}, ], '3': [GetRecentWardsResponse_Ward$json], }; @@ -130,12 +130,12 @@ const GetRecentWardsResponse_Ward$json = { /// Descriptor for `GetRecentWardsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getRecentWardsResponseDescriptor = $convert.base64Decode( - 'ChZHZXRSZWNlbnRXYXJkc1Jlc3BvbnNlEk0KBXdhcmRzGAEgAygLMjcucHJvdG8uc2VydmljZX' - 'MudGFza19zdmMudjEuR2V0UmVjZW50V2FyZHNSZXNwb25zZS5XYXJkUgV3YXJkcxqxAQoEV2Fy' - 'ZBIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRIbCgliZWRfY291bnQYAyABKA' - '1SCGJlZENvdW50Eh0KCnRhc2tzX3RvZG8YBCABKA1SCXRhc2tzVG9kbxIqChF0YXNrc19pbl9w' - 'cm9ncmVzcxgFIAEoDVIPdGFza3NJblByb2dyZXNzEh0KCnRhc2tzX2RvbmUYBiABKA1SCXRhc2' - 'tzRG9uZQ=='); + 'ChZHZXRSZWNlbnRXYXJkc1Jlc3BvbnNlEkcKBXdhcmRzGAEgAygLMjEuc2VydmljZXMudGFza1' + '9zdmMudjEuR2V0UmVjZW50V2FyZHNSZXNwb25zZS5XYXJkUgV3YXJkcxqxAQoEV2FyZBIOCgJp' + 'ZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRIbCgliZWRfY291bnQYAyABKA1SCGJlZE' + 'NvdW50Eh0KCnRhc2tzX3RvZG8YBCABKA1SCXRhc2tzVG9kbxIqChF0YXNrc19pbl9wcm9ncmVz' + 'cxgFIAEoDVIPdGFza3NJblByb2dyZXNzEh0KCnRhc2tzX2RvbmUYBiABKA1SCXRhc2tzRG9uZQ' + '=='); @$core.Deprecated('Use updateWardRequestDescriptor instead') const UpdateWardRequest$json = { @@ -202,8 +202,8 @@ const GetWardDetailsResponse$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'rooms', '3': 3, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetWardDetailsResponse.Room', '10': 'rooms'}, - {'1': 'task_templates', '3': 4, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate', '10': 'taskTemplates'}, + {'1': 'rooms', '3': 3, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetWardDetailsResponse.Room', '10': 'rooms'}, + {'1': 'task_templates', '3': 4, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate', '10': 'taskTemplates'}, ], '3': [GetWardDetailsResponse_Bed$json, GetWardDetailsResponse_Subtask$json, GetWardDetailsResponse_Room$json, GetWardDetailsResponse_TaskTemplate$json], }; @@ -232,7 +232,7 @@ const GetWardDetailsResponse_Room$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetWardDetailsResponse.Bed', '10': 'beds'}, + {'1': 'beds', '3': 3, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetWardDetailsResponse.Bed', '10': 'beds'}, ], }; @@ -242,23 +242,23 @@ const GetWardDetailsResponse_TaskTemplate$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'subtasks', '3': 3, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask', '10': 'subtasks'}, + {'1': 'subtasks', '3': 3, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetWardDetailsResponse.Subtask', '10': 'subtasks'}, ], }; /// Descriptor for `GetWardDetailsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getWardDetailsResponseDescriptor = $convert.base64Decode( 'ChZHZXRXYXJkRGV0YWlsc1Jlc3BvbnNlEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUg' - 'RuYW1lEk0KBXJvb21zGAMgAygLMjcucHJvdG8uc2VydmljZXMudGFza19zdmMudjEuR2V0V2Fy' - 'ZERldGFpbHNSZXNwb25zZS5Sb29tUgVyb29tcxJmCg50YXNrX3RlbXBsYXRlcxgEIAMoCzI/Ln' - 'Byb3RvLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFdhcmREZXRhaWxzUmVzcG9uc2UuVGFza1Rl' - 'bXBsYXRlUg10YXNrVGVtcGxhdGVzGikKA0JlZBIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIA' - 'EoCVIEbmFtZRotCgdTdWJ0YXNrEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1l' - 'GnYKBFJvb20SDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSSgoEYmVkcxgDIA' - 'MoCzI2LnByb3RvLnNlcnZpY2VzLnRhc2tfc3ZjLnYxLkdldFdhcmREZXRhaWxzUmVzcG9uc2Uu' - 'QmVkUgRiZWRzGooBCgxUYXNrVGVtcGxhdGUSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKA' - 'lSBG5hbWUSVgoIc3VidGFza3MYAyADKAsyOi5wcm90by5zZXJ2aWNlcy50YXNrX3N2Yy52MS5H' - 'ZXRXYXJkRGV0YWlsc1Jlc3BvbnNlLlN1YnRhc2tSCHN1YnRhc2tz'); + 'RuYW1lEkcKBXJvb21zGAMgAygLMjEuc2VydmljZXMudGFza19zdmMudjEuR2V0V2FyZERldGFp' + 'bHNSZXNwb25zZS5Sb29tUgVyb29tcxJgCg50YXNrX3RlbXBsYXRlcxgEIAMoCzI5LnNlcnZpY2' + 'VzLnRhc2tfc3ZjLnYxLkdldFdhcmREZXRhaWxzUmVzcG9uc2UuVGFza1RlbXBsYXRlUg10YXNr' + 'VGVtcGxhdGVzGikKA0JlZBIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRotCg' + 'dTdWJ0YXNrEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lGnAKBFJvb20SDgoC' + 'aWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSRAoEYmVkcxgDIAMoCzIwLnNlcnZpY2' + 'VzLnRhc2tfc3ZjLnYxLkdldFdhcmREZXRhaWxzUmVzcG9uc2UuQmVkUgRiZWRzGoQBCgxUYXNr' + 'VGVtcGxhdGUSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSUAoIc3VidGFza3' + 'MYAyADKAsyNC5zZXJ2aWNlcy50YXNrX3N2Yy52MS5HZXRXYXJkRGV0YWlsc1Jlc3BvbnNlLlN1' + 'YnRhc2tSCHN1YnRhc2tz'); @$core.Deprecated('Use getWardOverviewsRequestDescriptor instead') const GetWardOverviewsRequest$json = { @@ -273,7 +273,7 @@ final $typed_data.Uint8List getWardOverviewsRequestDescriptor = $convert.base64D const GetWardOverviewsResponse$json = { '1': 'GetWardOverviewsResponse', '2': [ - {'1': 'wards', '3': 1, '4': 3, '5': 11, '6': '.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward', '10': 'wards'}, + {'1': 'wards', '3': 1, '4': 3, '5': 11, '6': '.services.task_svc.v1.GetWardOverviewsResponse.Ward', '10': 'wards'}, ], '3': [GetWardOverviewsResponse_Ward$json], }; @@ -293,10 +293,10 @@ const GetWardOverviewsResponse_Ward$json = { /// Descriptor for `GetWardOverviewsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getWardOverviewsResponseDescriptor = $convert.base64Decode( - 'ChhHZXRXYXJkT3ZlcnZpZXdzUmVzcG9uc2USTwoFd2FyZHMYASADKAsyOS5wcm90by5zZXJ2aW' - 'Nlcy50YXNrX3N2Yy52MS5HZXRXYXJkT3ZlcnZpZXdzUmVzcG9uc2UuV2FyZFIFd2FyZHMasQEK' - 'BFdhcmQSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSGwoJYmVkX2NvdW50GA' - 'MgASgNUghiZWRDb3VudBIdCgp0YXNrc190b2RvGAQgASgNUgl0YXNrc1RvZG8SKgoRdGFza3Nf' - 'aW5fcHJvZ3Jlc3MYBSABKA1SD3Rhc2tzSW5Qcm9ncmVzcxIdCgp0YXNrc19kb25lGAYgASgNUg' - 'l0YXNrc0RvbmU='); + 'ChhHZXRXYXJkT3ZlcnZpZXdzUmVzcG9uc2USSQoFd2FyZHMYASADKAsyMy5zZXJ2aWNlcy50YX' + 'NrX3N2Yy52MS5HZXRXYXJkT3ZlcnZpZXdzUmVzcG9uc2UuV2FyZFIFd2FyZHMasQEKBFdhcmQS' + 'DgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSGwoJYmVkX2NvdW50GAMgASgNUg' + 'hiZWRDb3VudBIdCgp0YXNrc190b2RvGAQgASgNUgl0YXNrc1RvZG8SKgoRdGFza3NfaW5fcHJv' + 'Z3Jlc3MYBSABKA1SD3Rhc2tzSW5Qcm9ncmVzcxIdCgp0YXNrc19kb25lGAYgASgNUgl0YXNrc0' + 'RvbmU='); diff --git a/gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pb.dart b/gen/dart/lib/services/tasks_svc/v1/patient_svc.pb.dart similarity index 96% rename from gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pb.dart rename to gen/dart/lib/services/tasks_svc/v1/patient_svc.pb.dart index 7ff6a7239..5f87c5351 100644 --- a/gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pb.dart +++ b/gen/dart/lib/services/tasks_svc/v1/patient_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/tasks_svc/v1/patient_svc.proto +// source: services/tasks_svc/v1/patient_svc.proto // // @dart = 2.12 @@ -31,7 +31,7 @@ class CreatePatientRequest extends $pb.GeneratedMessage { factory CreatePatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreatePatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOS(2, _omitFieldNames ? '' : 'notes') ..hasRequiredFields = false @@ -91,7 +91,7 @@ class CreatePatientResponse extends $pb.GeneratedMessage { factory CreatePatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreatePatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -141,7 +141,7 @@ class GetPatientRequest extends $pb.GeneratedMessage { factory GetPatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -199,7 +199,7 @@ class GetPatientResponse_Room extends $pb.GeneratedMessage { factory GetPatientResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'wardId') @@ -273,7 +273,7 @@ class GetPatientResponse_Bed extends $pb.GeneratedMessage { factory GetPatientResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -357,7 +357,7 @@ class GetPatientResponse extends $pb.GeneratedMessage { factory GetPatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetPatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOS(3, _omitFieldNames ? '' : 'notes') @@ -463,7 +463,7 @@ class GetRecentPatientsRequest extends $pb.GeneratedMessage { factory GetRecentPatientsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentPatientsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -507,7 +507,7 @@ class GetRecentPatientsResponse_Bed extends $pb.GeneratedMessage { factory GetRecentPatientsResponse_Bed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentPatientsResponse_Bed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.Bed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false @@ -575,7 +575,7 @@ class GetRecentPatientsResponse_Room extends $pb.GeneratedMessage { factory GetRecentPatientsResponse_Room.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentPatientsResponse_Room.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.Room', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'wardId') @@ -657,7 +657,7 @@ class GetRecentPatientsResponse_PatientWithRoomAndBed extends $pb.GeneratedMessa factory GetRecentPatientsResponse_PatientWithRoomAndBed.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentPatientsResponse_PatientWithRoomAndBed.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.PatientWithRoomAndBed', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse.PatientWithRoomAndBed', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOM(3, _omitFieldNames ? '' : 'room', subBuilder: GetRecentPatientsResponse_Room.create) @@ -741,7 +741,7 @@ class GetRecentPatientsResponse extends $pb.GeneratedMessage { factory GetRecentPatientsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetRecentPatientsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRecentPatientsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'recentPatients', $pb.PbFieldType.PM, subBuilder: GetRecentPatientsResponse_PatientWithRoomAndBed.create) ..hasRequiredFields = false ; @@ -793,7 +793,7 @@ class UpdatePatientRequest extends $pb.GeneratedMessage { factory UpdatePatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdatePatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'humanReadableIdentifier') ..aOS(3, _omitFieldNames ? '' : 'notes') @@ -855,7 +855,7 @@ class UpdatePatientResponse extends $pb.GeneratedMessage { factory UpdatePatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdatePatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -899,7 +899,7 @@ class AssignBedRequest extends $pb.GeneratedMessage { factory AssignBedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AssignBedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'bedId') ..hasRequiredFields = false @@ -951,7 +951,7 @@ class AssignBedResponse extends $pb.GeneratedMessage { factory AssignBedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AssignBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -991,7 +991,7 @@ class UnassignBedRequest extends $pb.GeneratedMessage { factory UnassignBedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UnassignBedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignBedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -1033,7 +1033,7 @@ class UnassignBedResponse extends $pb.GeneratedMessage { factory UnassignBedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UnassignBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1073,7 +1073,7 @@ class DischargePatientRequest extends $pb.GeneratedMessage { factory DischargePatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DischargePatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DischargePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DischargePatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -1115,7 +1115,7 @@ class DischargePatientResponse extends $pb.GeneratedMessage { factory DischargePatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DischargePatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DischargePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DischargePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1155,7 +1155,7 @@ class ReadmitPatientRequest extends $pb.GeneratedMessage { factory ReadmitPatientRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory ReadmitPatientRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadmitPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadmitPatientRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'patientId') ..hasRequiredFields = false ; @@ -1197,7 +1197,7 @@ class ReadmitPatientResponse extends $pb.GeneratedMessage { factory ReadmitPatientResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory ReadmitPatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadmitPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadmitPatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/google/protobuf/empty.pbenum.dart b/gen/dart/lib/services/tasks_svc/v1/patient_svc.pbenum.dart similarity index 86% rename from gen/dart/lib/google/protobuf/empty.pbenum.dart rename to gen/dart/lib/services/tasks_svc/v1/patient_svc.pbenum.dart index 510bac1d0..86e73c0e6 100644 --- a/gen/dart/lib/google/protobuf/empty.pbenum.dart +++ b/gen/dart/lib/services/tasks_svc/v1/patient_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: google/protobuf/empty.proto +// source: services/tasks_svc/v1/patient_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pbgrpc.dart b/gen/dart/lib/services/tasks_svc/v1/patient_svc.pbgrpc.dart similarity index 92% rename from gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pbgrpc.dart rename to gen/dart/lib/services/tasks_svc/v1/patient_svc.pbgrpc.dart index 3add07b5a..3766114fb 100644 --- a/gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pbgrpc.dart +++ b/gen/dart/lib/services/tasks_svc/v1/patient_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/tasks_svc/v1/patient_svc.proto +// source: services/tasks_svc/v1/patient_svc.proto // // @dart = 2.12 @@ -19,38 +19,38 @@ import 'patient_svc.pb.dart' as $12; export 'patient_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.tasks_svc.v1.PatientService') +@$pb.GrpcServiceName('services.tasks_svc.v1.PatientService') class PatientServiceClient extends $grpc.Client { static final _$createPatient = $grpc.ClientMethod<$12.CreatePatientRequest, $12.CreatePatientResponse>( - '/proto.services.tasks_svc.v1.PatientService/CreatePatient', + '/services.tasks_svc.v1.PatientService/CreatePatient', ($12.CreatePatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $12.CreatePatientResponse.fromBuffer(value)); static final _$getPatient = $grpc.ClientMethod<$12.GetPatientRequest, $12.GetPatientResponse>( - '/proto.services.tasks_svc.v1.PatientService/GetPatient', + '/services.tasks_svc.v1.PatientService/GetPatient', ($12.GetPatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $12.GetPatientResponse.fromBuffer(value)); static final _$getRecentPatients = $grpc.ClientMethod<$12.GetRecentPatientsRequest, $12.GetRecentPatientsResponse>( - '/proto.services.tasks_svc.v1.PatientService/GetRecentPatients', + '/services.tasks_svc.v1.PatientService/GetRecentPatients', ($12.GetRecentPatientsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $12.GetRecentPatientsResponse.fromBuffer(value)); static final _$updatePatient = $grpc.ClientMethod<$12.UpdatePatientRequest, $12.UpdatePatientResponse>( - '/proto.services.tasks_svc.v1.PatientService/UpdatePatient', + '/services.tasks_svc.v1.PatientService/UpdatePatient', ($12.UpdatePatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $12.UpdatePatientResponse.fromBuffer(value)); static final _$assignBed = $grpc.ClientMethod<$12.AssignBedRequest, $12.AssignBedResponse>( - '/proto.services.tasks_svc.v1.PatientService/AssignBed', + '/services.tasks_svc.v1.PatientService/AssignBed', ($12.AssignBedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $12.AssignBedResponse.fromBuffer(value)); static final _$unassignBed = $grpc.ClientMethod<$12.UnassignBedRequest, $12.UnassignBedResponse>( - '/proto.services.tasks_svc.v1.PatientService/UnassignBed', + '/services.tasks_svc.v1.PatientService/UnassignBed', ($12.UnassignBedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $12.UnassignBedResponse.fromBuffer(value)); static final _$dischargePatient = $grpc.ClientMethod<$12.DischargePatientRequest, $12.DischargePatientResponse>( - '/proto.services.tasks_svc.v1.PatientService/DischargePatient', + '/services.tasks_svc.v1.PatientService/DischargePatient', ($12.DischargePatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $12.DischargePatientResponse.fromBuffer(value)); static final _$readmitPatient = $grpc.ClientMethod<$12.ReadmitPatientRequest, $12.ReadmitPatientResponse>( - '/proto.services.tasks_svc.v1.PatientService/ReadmitPatient', + '/services.tasks_svc.v1.PatientService/ReadmitPatient', ($12.ReadmitPatientRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $12.ReadmitPatientResponse.fromBuffer(value)); @@ -93,9 +93,9 @@ class PatientServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.tasks_svc.v1.PatientService') +@$pb.GrpcServiceName('services.tasks_svc.v1.PatientService') abstract class PatientServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.tasks_svc.v1.PatientService'; + $core.String get $name => 'services.tasks_svc.v1.PatientService'; PatientServiceBase() { $addMethod($grpc.ServiceMethod<$12.CreatePatientRequest, $12.CreatePatientResponse>( diff --git a/gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pbjson.dart b/gen/dart/lib/services/tasks_svc/v1/patient_svc.pbjson.dart similarity index 83% rename from gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pbjson.dart rename to gen/dart/lib/services/tasks_svc/v1/patient_svc.pbjson.dart index b3a887acb..b4dcc7f45 100644 --- a/gen/dart/lib/proto/services/tasks_svc/v1/patient_svc.pbjson.dart +++ b/gen/dart/lib/services/tasks_svc/v1/patient_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/tasks_svc/v1/patient_svc.proto +// source: services/tasks_svc/v1/patient_svc.proto // // @dart = 2.12 @@ -64,8 +64,8 @@ const GetPatientResponse$json = { {'1': 'notes', '3': 3, '4': 1, '5': 9, '10': 'notes'}, {'1': 'bed_id', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'bedId', '17': true}, {'1': 'ward_id', '3': 5, '4': 1, '5': 9, '9': 1, '10': 'wardId', '17': true}, - {'1': 'room', '3': 7, '4': 1, '5': 11, '6': '.proto.services.tasks_svc.v1.GetPatientResponse.Room', '9': 2, '10': 'room', '17': true}, - {'1': 'bed', '3': 8, '4': 1, '5': 11, '6': '.proto.services.tasks_svc.v1.GetPatientResponse.Bed', '9': 3, '10': 'bed', '17': true}, + {'1': 'room', '3': 7, '4': 1, '5': 11, '6': '.services.tasks_svc.v1.GetPatientResponse.Room', '9': 2, '10': 'room', '17': true}, + {'1': 'bed', '3': 8, '4': 1, '5': 11, '6': '.services.tasks_svc.v1.GetPatientResponse.Bed', '9': 3, '10': 'bed', '17': true}, ], '3': [GetPatientResponse_Room$json, GetPatientResponse_Bed$json], '8': [ @@ -100,12 +100,12 @@ final $typed_data.Uint8List getPatientResponseDescriptor = $convert.base64Decode 'ChJHZXRQYXRpZW50UmVzcG9uc2USDgoCaWQYASABKAlSAmlkEjoKGWh1bWFuX3JlYWRhYmxlX2' 'lkZW50aWZpZXIYAiABKAlSF2h1bWFuUmVhZGFibGVJZGVudGlmaWVyEhQKBW5vdGVzGAMgASgJ' 'UgVub3RlcxIaCgZiZWRfaWQYBCABKAlIAFIFYmVkSWSIAQESHAoHd2FyZF9pZBgFIAEoCUgBUg' - 'Z3YXJkSWSIAQESTQoEcm9vbRgHIAEoCzI0LnByb3RvLnNlcnZpY2VzLnRhc2tzX3N2Yy52MS5H' - 'ZXRQYXRpZW50UmVzcG9uc2UuUm9vbUgCUgRyb29tiAEBEkoKA2JlZBgIIAEoCzIzLnByb3RvLn' - 'NlcnZpY2VzLnRhc2tzX3N2Yy52MS5HZXRQYXRpZW50UmVzcG9uc2UuQmVkSANSA2JlZIgBARpD' - 'CgRSb29tEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEhcKB3dhcmRfaWQYAy' - 'ABKAlSBndhcmRJZBopCgNCZWQSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWVC' - 'CQoHX2JlZF9pZEIKCghfd2FyZF9pZEIHCgVfcm9vbUIGCgRfYmVk'); + 'Z3YXJkSWSIAQESRwoEcm9vbRgHIAEoCzIuLnNlcnZpY2VzLnRhc2tzX3N2Yy52MS5HZXRQYXRp' + 'ZW50UmVzcG9uc2UuUm9vbUgCUgRyb29tiAEBEkQKA2JlZBgIIAEoCzItLnNlcnZpY2VzLnRhc2' + 'tzX3N2Yy52MS5HZXRQYXRpZW50UmVzcG9uc2UuQmVkSANSA2JlZIgBARpDCgRSb29tEg4KAmlk' + 'GAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEhcKB3dhcmRfaWQYAyABKAlSBndhcmRJZB' + 'opCgNCZWQSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWVCCQoHX2JlZF9pZEIK' + 'Cghfd2FyZF9pZEIHCgVfcm9vbUIGCgRfYmVk'); @$core.Deprecated('Use getRecentPatientsRequestDescriptor instead') const GetRecentPatientsRequest$json = { @@ -120,7 +120,7 @@ final $typed_data.Uint8List getRecentPatientsRequestDescriptor = $convert.base64 const GetRecentPatientsResponse$json = { '1': 'GetRecentPatientsResponse', '2': [ - {'1': 'recent_patients', '3': 1, '4': 3, '5': 11, '6': '.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed', '10': 'recentPatients'}, + {'1': 'recent_patients', '3': 1, '4': 3, '5': 11, '6': '.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed', '10': 'recentPatients'}, ], '3': [GetRecentPatientsResponse_Bed$json, GetRecentPatientsResponse_Room$json, GetRecentPatientsResponse_PatientWithRoomAndBed$json], }; @@ -150,23 +150,23 @@ const GetRecentPatientsResponse_PatientWithRoomAndBed$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'human_readable_identifier', '3': 2, '4': 1, '5': 9, '10': 'humanReadableIdentifier'}, - {'1': 'room', '3': 3, '4': 1, '5': 11, '6': '.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room', '10': 'room'}, - {'1': 'bed', '3': 4, '4': 1, '5': 11, '6': '.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed', '10': 'bed'}, + {'1': 'room', '3': 3, '4': 1, '5': 11, '6': '.services.tasks_svc.v1.GetRecentPatientsResponse.Room', '10': 'room'}, + {'1': 'bed', '3': 4, '4': 1, '5': 11, '6': '.services.tasks_svc.v1.GetRecentPatientsResponse.Bed', '10': 'bed'}, ], }; /// Descriptor for `GetRecentPatientsResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getRecentPatientsResponseDescriptor = $convert.base64Decode( - 'ChlHZXRSZWNlbnRQYXRpZW50c1Jlc3BvbnNlEnUKD3JlY2VudF9wYXRpZW50cxgBIAMoCzJMLn' - 'Byb3RvLnNlcnZpY2VzLnRhc2tzX3N2Yy52MS5HZXRSZWNlbnRQYXRpZW50c1Jlc3BvbnNlLlBh' - 'dGllbnRXaXRoUm9vbUFuZEJlZFIOcmVjZW50UGF0aWVudHMaKQoDQmVkEg4KAmlkGAEgASgJUg' - 'JpZBISCgRuYW1lGAIgASgJUgRuYW1lGkMKBFJvb20SDgoCaWQYASABKAlSAmlkEhIKBG5hbWUY' - 'AiABKAlSBG5hbWUSFwoHd2FyZF9pZBgDIAEoCVIGd2FyZElkGoICChVQYXRpZW50V2l0aFJvb2' - '1BbmRCZWQSDgoCaWQYASABKAlSAmlkEjoKGWh1bWFuX3JlYWRhYmxlX2lkZW50aWZpZXIYAiAB' - 'KAlSF2h1bWFuUmVhZGFibGVJZGVudGlmaWVyEk8KBHJvb20YAyABKAsyOy5wcm90by5zZXJ2aW' - 'Nlcy50YXNrc19zdmMudjEuR2V0UmVjZW50UGF0aWVudHNSZXNwb25zZS5Sb29tUgRyb29tEkwK' - 'A2JlZBgEIAEoCzI6LnByb3RvLnNlcnZpY2VzLnRhc2tzX3N2Yy52MS5HZXRSZWNlbnRQYXRpZW' - '50c1Jlc3BvbnNlLkJlZFIDYmVk'); + 'ChlHZXRSZWNlbnRQYXRpZW50c1Jlc3BvbnNlEm8KD3JlY2VudF9wYXRpZW50cxgBIAMoCzJGLn' + 'NlcnZpY2VzLnRhc2tzX3N2Yy52MS5HZXRSZWNlbnRQYXRpZW50c1Jlc3BvbnNlLlBhdGllbnRX' + 'aXRoUm9vbUFuZEJlZFIOcmVjZW50UGF0aWVudHMaKQoDQmVkEg4KAmlkGAEgASgJUgJpZBISCg' + 'RuYW1lGAIgASgJUgRuYW1lGkMKBFJvb20SDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlS' + 'BG5hbWUSFwoHd2FyZF9pZBgDIAEoCVIGd2FyZElkGvYBChVQYXRpZW50V2l0aFJvb21BbmRCZW' + 'QSDgoCaWQYASABKAlSAmlkEjoKGWh1bWFuX3JlYWRhYmxlX2lkZW50aWZpZXIYAiABKAlSF2h1' + 'bWFuUmVhZGFibGVJZGVudGlmaWVyEkkKBHJvb20YAyABKAsyNS5zZXJ2aWNlcy50YXNrc19zdm' + 'MudjEuR2V0UmVjZW50UGF0aWVudHNSZXNwb25zZS5Sb29tUgRyb29tEkYKA2JlZBgEIAEoCzI0' + 'LnNlcnZpY2VzLnRhc2tzX3N2Yy52MS5HZXRSZWNlbnRQYXRpZW50c1Jlc3BvbnNlLkJlZFIDYm' + 'Vk'); @$core.Deprecated('Use updatePatientRequestDescriptor instead') const UpdatePatientRequest$json = { diff --git a/gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pb.dart b/gen/dart/lib/services/tasks_svc/v1/task_svc.pb.dart similarity index 96% rename from gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pb.dart rename to gen/dart/lib/services/tasks_svc/v1/task_svc.pb.dart index d58b7d933..6fd8b2089 100644 --- a/gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pb.dart +++ b/gen/dart/lib/services/tasks_svc/v1/task_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/tasks_svc/v1/task_svc.proto +// source: services/tasks_svc/v1/task_svc.proto // // @dart = 2.12 @@ -13,7 +13,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../../google/protobuf/timestamp.pb.dart' as $17; +import '../../../google/protobuf/timestamp.pb.dart' as $17; import 'task_svc.pbenum.dart'; export 'task_svc.pbenum.dart'; @@ -52,7 +52,7 @@ class CreateTaskRequest extends $pb.GeneratedMessage { factory CreateTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'description') ..aOS(3, _omitFieldNames ? '' : 'patientId') @@ -154,7 +154,7 @@ class CreateTaskResponse extends $pb.GeneratedMessage { factory CreateTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -216,7 +216,7 @@ class UpdateTaskRequest extends $pb.GeneratedMessage { factory UpdateTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -290,7 +290,7 @@ class UpdateTaskResponse extends $pb.GeneratedMessage { factory UpdateTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -330,7 +330,7 @@ class GetTaskRequest extends $pb.GeneratedMessage { factory GetTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -388,7 +388,7 @@ class GetTaskResponse_Subtask extends $pb.GeneratedMessage { factory GetTaskResponse_Subtask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTaskResponse_Subtask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskResponse.Subtask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskResponse.Subtask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOB(3, _omitFieldNames ? '' : 'done') @@ -482,7 +482,7 @@ class GetTaskResponse extends $pb.GeneratedMessage { factory GetTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') @@ -586,7 +586,7 @@ class AssignTaskRequest extends $pb.GeneratedMessage { factory AssignTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AssignTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'taskId') ..aOS(2, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false @@ -638,7 +638,7 @@ class AssignTaskResponse extends $pb.GeneratedMessage { factory AssignTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AssignTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -682,7 +682,7 @@ class UnassignTaskRequest extends $pb.GeneratedMessage { factory UnassignTaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UnassignTaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignTaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'taskId') ..aOS(2, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false @@ -734,7 +734,7 @@ class UnassignTaskResponse extends $pb.GeneratedMessage { factory UnassignTaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UnassignTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -774,7 +774,7 @@ class CreateSubtaskRequest_Subtask extends $pb.GeneratedMessage { factory CreateSubtaskRequest_Subtask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateSubtaskRequest_Subtask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSubtaskRequest.Subtask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSubtaskRequest.Subtask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false ; @@ -828,7 +828,7 @@ class CreateSubtaskRequest extends $pb.GeneratedMessage { factory CreateSubtaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateSubtaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSubtaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSubtaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'taskId') ..aOM(2, _omitFieldNames ? '' : 'subtask', subBuilder: CreateSubtaskRequest_Subtask.create) ..hasRequiredFields = false @@ -890,7 +890,7 @@ class CreateSubtaskResponse extends $pb.GeneratedMessage { factory CreateSubtaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateSubtaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSubtaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSubtaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'subtaskId') ..hasRequiredFields = false ; @@ -940,7 +940,7 @@ class UpdateSubtaskRequest_Subtask extends $pb.GeneratedMessage { factory UpdateSubtaskRequest_Subtask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateSubtaskRequest_Subtask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubtaskRequest.Subtask', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubtaskRequest.Subtask', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false ; @@ -998,7 +998,7 @@ class UpdateSubtaskRequest extends $pb.GeneratedMessage { factory UpdateSubtaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateSubtaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubtaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubtaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'taskId') ..aOS(2, _omitFieldNames ? '' : 'subtaskId') ..aOM(3, _omitFieldNames ? '' : 'subtask', subBuilder: UpdateSubtaskRequest_Subtask.create) @@ -1062,7 +1062,7 @@ class UpdateSubtaskResponse extends $pb.GeneratedMessage { factory UpdateSubtaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateSubtaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubtaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubtaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1106,7 +1106,7 @@ class CompleteSubtaskRequest extends $pb.GeneratedMessage { factory CompleteSubtaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CompleteSubtaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CompleteSubtaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CompleteSubtaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'taskId') ..aOS(2, _omitFieldNames ? '' : 'subtaskId') ..hasRequiredFields = false @@ -1158,7 +1158,7 @@ class CompleteSubtaskResponse extends $pb.GeneratedMessage { factory CompleteSubtaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CompleteSubtaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CompleteSubtaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CompleteSubtaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1202,7 +1202,7 @@ class UncompleteSubtaskRequest extends $pb.GeneratedMessage { factory UncompleteSubtaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UncompleteSubtaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UncompleteSubtaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UncompleteSubtaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'taskId') ..aOS(2, _omitFieldNames ? '' : 'subtaskId') ..hasRequiredFields = false @@ -1254,7 +1254,7 @@ class UncompleteSubtaskResponse extends $pb.GeneratedMessage { factory UncompleteSubtaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UncompleteSubtaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UncompleteSubtaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UncompleteSubtaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1298,7 +1298,7 @@ class DeleteSubtaskRequest extends $pb.GeneratedMessage { factory DeleteSubtaskRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteSubtaskRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSubtaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSubtaskRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'taskId') ..aOS(2, _omitFieldNames ? '' : 'subtaskId') ..hasRequiredFields = false @@ -1350,7 +1350,7 @@ class DeleteSubtaskResponse extends $pb.GeneratedMessage { factory DeleteSubtaskResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteSubtaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSubtaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.tasks_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSubtaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pbenum.dart b/gen/dart/lib/services/tasks_svc/v1/task_svc.pbenum.dart similarity index 96% rename from gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pbenum.dart rename to gen/dart/lib/services/tasks_svc/v1/task_svc.pbenum.dart index 667c1db9b..b66c7e352 100644 --- a/gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pbenum.dart +++ b/gen/dart/lib/services/tasks_svc/v1/task_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/tasks_svc/v1/task_svc.proto +// source: services/tasks_svc/v1/task_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pbgrpc.dart b/gen/dart/lib/services/tasks_svc/v1/task_svc.pbgrpc.dart similarity index 92% rename from gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pbgrpc.dart rename to gen/dart/lib/services/tasks_svc/v1/task_svc.pbgrpc.dart index 3823980f4..ba51204cd 100644 --- a/gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pbgrpc.dart +++ b/gen/dart/lib/services/tasks_svc/v1/task_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/tasks_svc/v1/task_svc.proto +// source: services/tasks_svc/v1/task_svc.proto // // @dart = 2.12 @@ -19,46 +19,46 @@ import 'task_svc.pb.dart' as $13; export 'task_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.tasks_svc.v1.TaskService') +@$pb.GrpcServiceName('services.tasks_svc.v1.TaskService') class TaskServiceClient extends $grpc.Client { static final _$createTask = $grpc.ClientMethod<$13.CreateTaskRequest, $13.CreateTaskResponse>( - '/proto.services.tasks_svc.v1.TaskService/CreateTask', + '/services.tasks_svc.v1.TaskService/CreateTask', ($13.CreateTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $13.CreateTaskResponse.fromBuffer(value)); static final _$updateTask = $grpc.ClientMethod<$13.UpdateTaskRequest, $13.UpdateTaskResponse>( - '/proto.services.tasks_svc.v1.TaskService/UpdateTask', + '/services.tasks_svc.v1.TaskService/UpdateTask', ($13.UpdateTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $13.UpdateTaskResponse.fromBuffer(value)); static final _$getTask = $grpc.ClientMethod<$13.GetTaskRequest, $13.GetTaskResponse>( - '/proto.services.tasks_svc.v1.TaskService/GetTask', + '/services.tasks_svc.v1.TaskService/GetTask', ($13.GetTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $13.GetTaskResponse.fromBuffer(value)); static final _$assignTask = $grpc.ClientMethod<$13.AssignTaskRequest, $13.AssignTaskResponse>( - '/proto.services.tasks_svc.v1.TaskService/AssignTask', + '/services.tasks_svc.v1.TaskService/AssignTask', ($13.AssignTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $13.AssignTaskResponse.fromBuffer(value)); static final _$unassignTask = $grpc.ClientMethod<$13.UnassignTaskRequest, $13.UnassignTaskResponse>( - '/proto.services.tasks_svc.v1.TaskService/UnassignTask', + '/services.tasks_svc.v1.TaskService/UnassignTask', ($13.UnassignTaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $13.UnassignTaskResponse.fromBuffer(value)); static final _$createSubtask = $grpc.ClientMethod<$13.CreateSubtaskRequest, $13.CreateSubtaskResponse>( - '/proto.services.tasks_svc.v1.TaskService/CreateSubtask', + '/services.tasks_svc.v1.TaskService/CreateSubtask', ($13.CreateSubtaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $13.CreateSubtaskResponse.fromBuffer(value)); static final _$updateSubtask = $grpc.ClientMethod<$13.UpdateSubtaskRequest, $13.UpdateSubtaskResponse>( - '/proto.services.tasks_svc.v1.TaskService/UpdateSubtask', + '/services.tasks_svc.v1.TaskService/UpdateSubtask', ($13.UpdateSubtaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $13.UpdateSubtaskResponse.fromBuffer(value)); static final _$completeSubtask = $grpc.ClientMethod<$13.CompleteSubtaskRequest, $13.CompleteSubtaskResponse>( - '/proto.services.tasks_svc.v1.TaskService/CompleteSubtask', + '/services.tasks_svc.v1.TaskService/CompleteSubtask', ($13.CompleteSubtaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $13.CompleteSubtaskResponse.fromBuffer(value)); static final _$uncompleteSubtask = $grpc.ClientMethod<$13.UncompleteSubtaskRequest, $13.UncompleteSubtaskResponse>( - '/proto.services.tasks_svc.v1.TaskService/UncompleteSubtask', + '/services.tasks_svc.v1.TaskService/UncompleteSubtask', ($13.UncompleteSubtaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $13.UncompleteSubtaskResponse.fromBuffer(value)); static final _$deleteSubtask = $grpc.ClientMethod<$13.DeleteSubtaskRequest, $13.DeleteSubtaskResponse>( - '/proto.services.tasks_svc.v1.TaskService/DeleteSubtask', + '/services.tasks_svc.v1.TaskService/DeleteSubtask', ($13.DeleteSubtaskRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $13.DeleteSubtaskResponse.fromBuffer(value)); @@ -109,9 +109,9 @@ class TaskServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.tasks_svc.v1.TaskService') +@$pb.GrpcServiceName('services.tasks_svc.v1.TaskService') abstract class TaskServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.tasks_svc.v1.TaskService'; + $core.String get $name => 'services.tasks_svc.v1.TaskService'; TaskServiceBase() { $addMethod($grpc.ServiceMethod<$13.CreateTaskRequest, $13.CreateTaskResponse>( diff --git a/gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pbjson.dart b/gen/dart/lib/services/tasks_svc/v1/task_svc.pbjson.dart similarity index 87% rename from gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pbjson.dart rename to gen/dart/lib/services/tasks_svc/v1/task_svc.pbjson.dart index a15214e55..b1d0fee7e 100644 --- a/gen/dart/lib/proto/services/tasks_svc/v1/task_svc.pbjson.dart +++ b/gen/dart/lib/services/tasks_svc/v1/task_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/tasks_svc/v1/task_svc.proto +// source: services/tasks_svc/v1/task_svc.proto // // @dart = 2.12 @@ -39,7 +39,7 @@ const CreateTaskRequest$json = { {'1': 'patient_id', '3': 3, '4': 1, '5': 9, '10': 'patientId'}, {'1': 'public', '3': 4, '4': 1, '5': 8, '9': 1, '10': 'public', '17': true}, {'1': 'due_at', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'dueAt'}, - {'1': 'initial_status', '3': 6, '4': 1, '5': 14, '6': '.proto.services.tasks_svc.v1.TaskStatus', '9': 2, '10': 'initialStatus', '17': true}, + {'1': 'initial_status', '3': 6, '4': 1, '5': 14, '6': '.services.tasks_svc.v1.TaskStatus', '9': 2, '10': 'initialStatus', '17': true}, ], '8': [ {'1': '_description'}, @@ -53,9 +53,9 @@ final $typed_data.Uint8List createTaskRequestDescriptor = $convert.base64Decode( 'ChFDcmVhdGVUYXNrUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEiUKC2Rlc2NyaXB0aW9uGA' 'IgASgJSABSC2Rlc2NyaXB0aW9uiAEBEh0KCnBhdGllbnRfaWQYAyABKAlSCXBhdGllbnRJZBIb' 'CgZwdWJsaWMYBCABKAhIAVIGcHVibGljiAEBEjEKBmR1ZV9hdBgFIAEoCzIaLmdvb2dsZS5wcm' - '90b2J1Zi5UaW1lc3RhbXBSBWR1ZUF0ElMKDmluaXRpYWxfc3RhdHVzGAYgASgOMicucHJvdG8u' - 'c2VydmljZXMudGFza3Nfc3ZjLnYxLlRhc2tTdGF0dXNIAlINaW5pdGlhbFN0YXR1c4gBAUIOCg' - 'xfZGVzY3JpcHRpb25CCQoHX3B1YmxpY0IRCg9faW5pdGlhbF9zdGF0dXM='); + '90b2J1Zi5UaW1lc3RhbXBSBWR1ZUF0Ek0KDmluaXRpYWxfc3RhdHVzGAYgASgOMiEuc2Vydmlj' + 'ZXMudGFza3Nfc3ZjLnYxLlRhc2tTdGF0dXNIAlINaW5pdGlhbFN0YXR1c4gBAUIOCgxfZGVzY3' + 'JpcHRpb25CCQoHX3B1YmxpY0IRCg9faW5pdGlhbF9zdGF0dXM='); @$core.Deprecated('Use createTaskResponseDescriptor instead') const CreateTaskResponse$json = { @@ -121,8 +121,8 @@ const GetTaskResponse$json = { {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, {'1': 'assigned_users', '3': 4, '4': 3, '5': 9, '10': 'assignedUsers'}, - {'1': 'subtasks', '3': 5, '4': 3, '5': 11, '6': '.proto.services.tasks_svc.v1.GetTaskResponse.Subtask', '10': 'subtasks'}, - {'1': 'status', '3': 6, '4': 1, '5': 14, '6': '.proto.services.tasks_svc.v1.TaskStatus', '10': 'status'}, + {'1': 'subtasks', '3': 5, '4': 3, '5': 11, '6': '.services.tasks_svc.v1.GetTaskResponse.Subtask', '10': 'subtasks'}, + {'1': 'status', '3': 6, '4': 1, '5': 14, '6': '.services.tasks_svc.v1.TaskStatus', '10': 'status'}, {'1': 'created_at', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'createdAt'}, ], '3': [GetTaskResponse_Subtask$json], @@ -142,12 +142,11 @@ const GetTaskResponse_Subtask$json = { final $typed_data.Uint8List getTaskResponseDescriptor = $convert.base64Decode( 'Cg9HZXRUYXNrUmVzcG9uc2USDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSIA' 'oLZGVzY3JpcHRpb24YAyABKAlSC2Rlc2NyaXB0aW9uEiUKDmFzc2lnbmVkX3VzZXJzGAQgAygJ' - 'Ug1hc3NpZ25lZFVzZXJzElAKCHN1YnRhc2tzGAUgAygLMjQucHJvdG8uc2VydmljZXMudGFza3' - 'Nfc3ZjLnYxLkdldFRhc2tSZXNwb25zZS5TdWJ0YXNrUghzdWJ0YXNrcxI/CgZzdGF0dXMYBiAB' - 'KA4yJy5wcm90by5zZXJ2aWNlcy50YXNrc19zdmMudjEuVGFza1N0YXR1c1IGc3RhdHVzEjkKCm' - 'NyZWF0ZWRfYXQYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgljcmVhdGVkQXQa' - 'QQoHU3VidGFzaxIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRISCgRkb25lGA' - 'MgASgIUgRkb25l'); + 'Ug1hc3NpZ25lZFVzZXJzEkoKCHN1YnRhc2tzGAUgAygLMi4uc2VydmljZXMudGFza3Nfc3ZjLn' + 'YxLkdldFRhc2tSZXNwb25zZS5TdWJ0YXNrUghzdWJ0YXNrcxI5CgZzdGF0dXMYBiABKA4yIS5z' + 'ZXJ2aWNlcy50YXNrc19zdmMudjEuVGFza1N0YXR1c1IGc3RhdHVzEjkKCmNyZWF0ZWRfYXQYBy' + 'ABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgljcmVhdGVkQXQaQQoHU3VidGFzaxIO' + 'CgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRISCgRkb25lGAMgASgIUgRkb25l'); @$core.Deprecated('Use assignTaskRequestDescriptor instead') const AssignTaskRequest$json = { @@ -200,7 +199,7 @@ const CreateSubtaskRequest$json = { '1': 'CreateSubtaskRequest', '2': [ {'1': 'task_id', '3': 1, '4': 1, '5': 9, '10': 'taskId'}, - {'1': 'subtask', '3': 2, '4': 1, '5': 11, '6': '.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask', '10': 'subtask'}, + {'1': 'subtask', '3': 2, '4': 1, '5': 11, '6': '.services.tasks_svc.v1.CreateSubtaskRequest.Subtask', '10': 'subtask'}, ], '3': [CreateSubtaskRequest_Subtask$json], }; @@ -215,9 +214,9 @@ const CreateSubtaskRequest_Subtask$json = { /// Descriptor for `CreateSubtaskRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List createSubtaskRequestDescriptor = $convert.base64Decode( - 'ChRDcmVhdGVTdWJ0YXNrUmVxdWVzdBIXCgd0YXNrX2lkGAEgASgJUgZ0YXNrSWQSUwoHc3VidG' - 'FzaxgCIAEoCzI5LnByb3RvLnNlcnZpY2VzLnRhc2tzX3N2Yy52MS5DcmVhdGVTdWJ0YXNrUmVx' - 'dWVzdC5TdWJ0YXNrUgdzdWJ0YXNrGh0KB1N1YnRhc2sSEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); + 'ChRDcmVhdGVTdWJ0YXNrUmVxdWVzdBIXCgd0YXNrX2lkGAEgASgJUgZ0YXNrSWQSTQoHc3VidG' + 'FzaxgCIAEoCzIzLnNlcnZpY2VzLnRhc2tzX3N2Yy52MS5DcmVhdGVTdWJ0YXNrUmVxdWVzdC5T' + 'dWJ0YXNrUgdzdWJ0YXNrGh0KB1N1YnRhc2sSEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); @$core.Deprecated('Use createSubtaskResponseDescriptor instead') const CreateSubtaskResponse$json = { @@ -237,7 +236,7 @@ const UpdateSubtaskRequest$json = { '2': [ {'1': 'task_id', '3': 1, '4': 1, '5': 9, '10': 'taskId'}, {'1': 'subtask_id', '3': 2, '4': 1, '5': 9, '10': 'subtaskId'}, - {'1': 'subtask', '3': 3, '4': 1, '5': 11, '6': '.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask', '10': 'subtask'}, + {'1': 'subtask', '3': 3, '4': 1, '5': 11, '6': '.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask', '10': 'subtask'}, ], '3': [UpdateSubtaskRequest_Subtask$json], }; @@ -256,9 +255,9 @@ const UpdateSubtaskRequest_Subtask$json = { /// Descriptor for `UpdateSubtaskRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List updateSubtaskRequestDescriptor = $convert.base64Decode( 'ChRVcGRhdGVTdWJ0YXNrUmVxdWVzdBIXCgd0YXNrX2lkGAEgASgJUgZ0YXNrSWQSHQoKc3VidG' - 'Fza19pZBgCIAEoCVIJc3VidGFza0lkElMKB3N1YnRhc2sYAyABKAsyOS5wcm90by5zZXJ2aWNl' - 'cy50YXNrc19zdmMudjEuVXBkYXRlU3VidGFza1JlcXVlc3QuU3VidGFza1IHc3VidGFzaxorCg' - 'dTdWJ0YXNrEhcKBG5hbWUYASABKAlIAFIEbmFtZYgBAUIHCgVfbmFtZQ=='); + 'Fza19pZBgCIAEoCVIJc3VidGFza0lkEk0KB3N1YnRhc2sYAyABKAsyMy5zZXJ2aWNlcy50YXNr' + 'c19zdmMudjEuVXBkYXRlU3VidGFza1JlcXVlc3QuU3VidGFza1IHc3VidGFzaxorCgdTdWJ0YX' + 'NrEhcKBG5hbWUYASABKAlIAFIEbmFtZYgBAUIHCgVfbmFtZQ=='); @$core.Deprecated('Use updateSubtaskResponseDescriptor instead') const UpdateSubtaskResponse$json = { diff --git a/gen/dart/lib/proto/services/user_svc/v1/organization_svc.pb.dart b/gen/dart/lib/services/user_svc/v1/organization_svc.pb.dart similarity index 97% rename from gen/dart/lib/proto/services/user_svc/v1/organization_svc.pb.dart rename to gen/dart/lib/services/user_svc/v1/organization_svc.pb.dart index 35fb1e695..fc72c3d3a 100644 --- a/gen/dart/lib/proto/services/user_svc/v1/organization_svc.pb.dart +++ b/gen/dart/lib/services/user_svc/v1/organization_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/user_svc/v1/organization_svc.proto +// source: services/user_svc/v1/organization_svc.proto // // @dart = 2.12 @@ -43,7 +43,7 @@ class CreateOrganizationRequest extends $pb.GeneratedMessage { factory CreateOrganizationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateOrganizationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'longName') ..aOS(2, _omitFieldNames ? '' : 'shortName') ..aOS(3, _omitFieldNames ? '' : 'contactEmail') @@ -123,7 +123,7 @@ class CreateOrganizationResponse extends $pb.GeneratedMessage { factory CreateOrganizationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateOrganizationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -189,7 +189,7 @@ class CreateOrganizationForUserRequest extends $pb.GeneratedMessage { factory CreateOrganizationForUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateOrganizationForUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationForUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationForUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'longName') ..aOS(2, _omitFieldNames ? '' : 'shortName') ..aOS(3, _omitFieldNames ? '' : 'contactEmail') @@ -279,7 +279,7 @@ class CreateOrganizationForUserResponse extends $pb.GeneratedMessage { factory CreateOrganizationForUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateOrganizationForUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationForUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationForUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -329,7 +329,7 @@ class GetOrganizationMember extends $pb.GeneratedMessage { factory GetOrganizationMember.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetOrganizationMember.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationMember', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationMember', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false ; @@ -379,7 +379,7 @@ class GetOrganizationRequest extends $pb.GeneratedMessage { factory GetOrganizationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetOrganizationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -453,7 +453,7 @@ class GetOrganizationResponse extends $pb.GeneratedMessage { factory GetOrganizationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetOrganizationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'longName') ..aOS(3, _omitFieldNames ? '' : 'shortName') @@ -557,7 +557,7 @@ class GetOrganizationsByUserRequest extends $pb.GeneratedMessage { factory GetOrganizationsByUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetOrganizationsByUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsByUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsByUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false ; @@ -619,7 +619,7 @@ class GetOrganizationsByUserResponse_Organization_Member extends $pb.GeneratedMe factory GetOrganizationsByUserResponse_Organization_Member.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetOrganizationsByUserResponse_Organization_Member.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsByUserResponse.Organization.Member', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsByUserResponse.Organization.Member', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..aOS(2, _omitFieldNames ? '' : 'email') ..aOS(3, _omitFieldNames ? '' : 'nickname') @@ -723,7 +723,7 @@ class GetOrganizationsByUserResponse_Organization extends $pb.GeneratedMessage { factory GetOrganizationsByUserResponse_Organization.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetOrganizationsByUserResponse_Organization.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsByUserResponse.Organization', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsByUserResponse.Organization', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'longName') ..aOS(3, _omitFieldNames ? '' : 'shortName') @@ -827,7 +827,7 @@ class GetOrganizationsByUserResponse extends $pb.GeneratedMessage { factory GetOrganizationsByUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetOrganizationsByUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsByUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsByUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'organizations', $pb.PbFieldType.PM, subBuilder: GetOrganizationsByUserResponse_Organization.create) ..hasRequiredFields = false ; @@ -863,7 +863,7 @@ class GetOrganizationsForUserRequest extends $pb.GeneratedMessage { factory GetOrganizationsForUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetOrganizationsForUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsForUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsForUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -915,7 +915,7 @@ class GetOrganizationsForUserResponse_Organization_Member extends $pb.GeneratedM factory GetOrganizationsForUserResponse_Organization_Member.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetOrganizationsForUserResponse_Organization_Member.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsForUserResponse.Organization.Member', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsForUserResponse.Organization.Member', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..aOS(2, _omitFieldNames ? '' : 'email') ..aOS(3, _omitFieldNames ? '' : 'nickname') @@ -1019,7 +1019,7 @@ class GetOrganizationsForUserResponse_Organization extends $pb.GeneratedMessage factory GetOrganizationsForUserResponse_Organization.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetOrganizationsForUserResponse_Organization.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsForUserResponse.Organization', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsForUserResponse.Organization', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'longName') ..aOS(3, _omitFieldNames ? '' : 'shortName') @@ -1123,7 +1123,7 @@ class GetOrganizationsForUserResponse extends $pb.GeneratedMessage { factory GetOrganizationsForUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetOrganizationsForUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsForUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsForUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'organizations', $pb.PbFieldType.PM, subBuilder: GetOrganizationsForUserResponse_Organization.create) ..hasRequiredFields = false ; @@ -1187,7 +1187,7 @@ class UpdateOrganizationRequest extends $pb.GeneratedMessage { factory UpdateOrganizationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateOrganizationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'longName') ..aOS(3, _omitFieldNames ? '' : 'shortName') @@ -1279,7 +1279,7 @@ class UpdateOrganizationResponse extends $pb.GeneratedMessage { factory UpdateOrganizationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateOrganizationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1319,7 +1319,7 @@ class DeleteOrganizationRequest extends $pb.GeneratedMessage { factory DeleteOrganizationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteOrganizationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -1361,7 +1361,7 @@ class DeleteOrganizationResponse extends $pb.GeneratedMessage { factory DeleteOrganizationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeleteOrganizationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1401,7 +1401,7 @@ class GetMembersByOrganizationRequest extends $pb.GeneratedMessage { factory GetMembersByOrganizationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetMembersByOrganizationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMembersByOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMembersByOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -1463,7 +1463,7 @@ class GetMembersByOrganizationResponse_Member extends $pb.GeneratedMessage { factory GetMembersByOrganizationResponse_Member.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetMembersByOrganizationResponse_Member.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMembersByOrganizationResponse.Member', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMembersByOrganizationResponse.Member', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..aOS(2, _omitFieldNames ? '' : 'email') ..aOS(3, _omitFieldNames ? '' : 'nickname') @@ -1543,7 +1543,7 @@ class GetMembersByOrganizationResponse extends $pb.GeneratedMessage { factory GetMembersByOrganizationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetMembersByOrganizationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMembersByOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMembersByOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'members', $pb.PbFieldType.PM, subBuilder: GetMembersByOrganizationResponse_Member.create) ..hasRequiredFields = false ; @@ -1591,7 +1591,7 @@ class AddMemberRequest extends $pb.GeneratedMessage { factory AddMemberRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AddMemberRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddMemberRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddMemberRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false @@ -1643,7 +1643,7 @@ class AddMemberResponse extends $pb.GeneratedMessage { factory AddMemberResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AddMemberResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddMemberResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddMemberResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1687,7 +1687,7 @@ class RemoveMemberRequest extends $pb.GeneratedMessage { factory RemoveMemberRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory RemoveMemberRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveMemberRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveMemberRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'userId') ..hasRequiredFields = false @@ -1739,7 +1739,7 @@ class RemoveMemberResponse extends $pb.GeneratedMessage { factory RemoveMemberResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory RemoveMemberResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveMemberResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveMemberResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -1783,7 +1783,7 @@ class InviteMemberRequest extends $pb.GeneratedMessage { factory InviteMemberRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory InviteMemberRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InviteMemberRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InviteMemberRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'organizationId') ..aOS(2, _omitFieldNames ? '' : 'email') ..hasRequiredFields = false @@ -1843,7 +1843,7 @@ class InviteMemberResponse extends $pb.GeneratedMessage { factory InviteMemberResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory InviteMemberResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InviteMemberResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InviteMemberResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -1897,7 +1897,7 @@ class GetInvitationsByOrganizationRequest extends $pb.GeneratedMessage { factory GetInvitationsByOrganizationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetInvitationsByOrganizationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'organizationId') ..e(2, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: InvitationState.INVITATION_STATE_UNSPECIFIED, valueOf: InvitationState.valueOf, enumValues: InvitationState.values) ..hasRequiredFields = false @@ -1969,7 +1969,7 @@ class GetInvitationsByOrganizationResponse_Invitation extends $pb.GeneratedMessa factory GetInvitationsByOrganizationResponse_Invitation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetInvitationsByOrganizationResponse_Invitation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByOrganizationResponse.Invitation', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByOrganizationResponse.Invitation', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'email') ..aOS(3, _omitFieldNames ? '' : 'organizationId') @@ -2049,7 +2049,7 @@ class GetInvitationsByOrganizationResponse extends $pb.GeneratedMessage { factory GetInvitationsByOrganizationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetInvitationsByOrganizationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'invitations', $pb.PbFieldType.PM, subBuilder: GetInvitationsByOrganizationResponse_Invitation.create) ..hasRequiredFields = false ; @@ -2093,7 +2093,7 @@ class GetInvitationsByUserRequest extends $pb.GeneratedMessage { factory GetInvitationsByUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetInvitationsByUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..e(1, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: InvitationState.INVITATION_STATE_UNSPECIFIED, valueOf: InvitationState.valueOf, enumValues: InvitationState.values) ..hasRequiredFields = false ; @@ -2151,7 +2151,7 @@ class GetInvitationsByUserResponse_Invitation_Organization extends $pb.Generated factory GetInvitationsByUserResponse_Invitation_Organization.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetInvitationsByUserResponse_Invitation_Organization.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByUserResponse.Invitation.Organization', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByUserResponse.Invitation.Organization', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'longName') ..aOS(3, _omitFieldNames ? '' : 'avatarUrl') @@ -2233,7 +2233,7 @@ class GetInvitationsByUserResponse_Invitation extends $pb.GeneratedMessage { factory GetInvitationsByUserResponse_Invitation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetInvitationsByUserResponse_Invitation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByUserResponse.Invitation', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByUserResponse.Invitation', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'email') ..aOM(3, _omitFieldNames ? '' : 'organization', subBuilder: GetInvitationsByUserResponse_Invitation_Organization.create) @@ -2315,7 +2315,7 @@ class GetInvitationsByUserResponse extends $pb.GeneratedMessage { factory GetInvitationsByUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory GetInvitationsByUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvitationsByUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'invitations', $pb.PbFieldType.PM, subBuilder: GetInvitationsByUserResponse_Invitation.create) ..hasRequiredFields = false ; @@ -2361,7 +2361,7 @@ class AcceptInvitationRequest extends $pb.GeneratedMessage { factory AcceptInvitationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AcceptInvitationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AcceptInvitationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AcceptInvitationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'invitationId') ..hasRequiredFields = false ; @@ -2403,7 +2403,7 @@ class AcceptInvitationResponse extends $pb.GeneratedMessage { factory AcceptInvitationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AcceptInvitationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AcceptInvitationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AcceptInvitationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2443,7 +2443,7 @@ class DeclineInvitationRequest extends $pb.GeneratedMessage { factory DeclineInvitationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeclineInvitationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeclineInvitationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeclineInvitationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'invitationId') ..hasRequiredFields = false ; @@ -2485,7 +2485,7 @@ class DeclineInvitationResponse extends $pb.GeneratedMessage { factory DeclineInvitationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DeclineInvitationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeclineInvitationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeclineInvitationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -2525,7 +2525,7 @@ class RevokeInvitationRequest extends $pb.GeneratedMessage { factory RevokeInvitationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory RevokeInvitationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RevokeInvitationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RevokeInvitationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'invitationId') ..hasRequiredFields = false ; @@ -2567,7 +2567,7 @@ class RevokeInvitationResponse extends $pb.GeneratedMessage { factory RevokeInvitationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory RevokeInvitationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RevokeInvitationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RevokeInvitationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/user_svc/v1/organization_svc.pbenum.dart b/gen/dart/lib/services/user_svc/v1/organization_svc.pbenum.dart similarity index 96% rename from gen/dart/lib/proto/services/user_svc/v1/organization_svc.pbenum.dart rename to gen/dart/lib/services/user_svc/v1/organization_svc.pbenum.dart index 07c8475c7..7e8a2dda0 100644 --- a/gen/dart/lib/proto/services/user_svc/v1/organization_svc.pbenum.dart +++ b/gen/dart/lib/services/user_svc/v1/organization_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/user_svc/v1/organization_svc.proto +// source: services/user_svc/v1/organization_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/user_svc/v1/organization_svc.pbgrpc.dart b/gen/dart/lib/services/user_svc/v1/organization_svc.pbgrpc.dart similarity index 93% rename from gen/dart/lib/proto/services/user_svc/v1/organization_svc.pbgrpc.dart rename to gen/dart/lib/services/user_svc/v1/organization_svc.pbgrpc.dart index ecd50ea63..d570d0519 100644 --- a/gen/dart/lib/proto/services/user_svc/v1/organization_svc.pbgrpc.dart +++ b/gen/dart/lib/services/user_svc/v1/organization_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/user_svc/v1/organization_svc.proto +// source: services/user_svc/v1/organization_svc.proto // // @dart = 2.12 @@ -19,70 +19,70 @@ import 'organization_svc.pb.dart' as $14; export 'organization_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.user_svc.v1.OrganizationService') +@$pb.GrpcServiceName('services.user_svc.v1.OrganizationService') class OrganizationServiceClient extends $grpc.Client { static final _$createOrganization = $grpc.ClientMethod<$14.CreateOrganizationRequest, $14.CreateOrganizationResponse>( - '/proto.services.user_svc.v1.OrganizationService/CreateOrganization', + '/services.user_svc.v1.OrganizationService/CreateOrganization', ($14.CreateOrganizationRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.CreateOrganizationResponse.fromBuffer(value)); static final _$createOrganizationForUser = $grpc.ClientMethod<$14.CreateOrganizationForUserRequest, $14.CreateOrganizationForUserResponse>( - '/proto.services.user_svc.v1.OrganizationService/CreateOrganizationForUser', + '/services.user_svc.v1.OrganizationService/CreateOrganizationForUser', ($14.CreateOrganizationForUserRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.CreateOrganizationForUserResponse.fromBuffer(value)); static final _$getOrganization = $grpc.ClientMethod<$14.GetOrganizationRequest, $14.GetOrganizationResponse>( - '/proto.services.user_svc.v1.OrganizationService/GetOrganization', + '/services.user_svc.v1.OrganizationService/GetOrganization', ($14.GetOrganizationRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.GetOrganizationResponse.fromBuffer(value)); static final _$getOrganizationsByUser = $grpc.ClientMethod<$14.GetOrganizationsByUserRequest, $14.GetOrganizationsByUserResponse>( - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsByUser', + '/services.user_svc.v1.OrganizationService/GetOrganizationsByUser', ($14.GetOrganizationsByUserRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.GetOrganizationsByUserResponse.fromBuffer(value)); static final _$getOrganizationsForUser = $grpc.ClientMethod<$14.GetOrganizationsForUserRequest, $14.GetOrganizationsForUserResponse>( - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsForUser', + '/services.user_svc.v1.OrganizationService/GetOrganizationsForUser', ($14.GetOrganizationsForUserRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.GetOrganizationsForUserResponse.fromBuffer(value)); static final _$updateOrganization = $grpc.ClientMethod<$14.UpdateOrganizationRequest, $14.UpdateOrganizationResponse>( - '/proto.services.user_svc.v1.OrganizationService/UpdateOrganization', + '/services.user_svc.v1.OrganizationService/UpdateOrganization', ($14.UpdateOrganizationRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.UpdateOrganizationResponse.fromBuffer(value)); static final _$deleteOrganization = $grpc.ClientMethod<$14.DeleteOrganizationRequest, $14.DeleteOrganizationResponse>( - '/proto.services.user_svc.v1.OrganizationService/DeleteOrganization', + '/services.user_svc.v1.OrganizationService/DeleteOrganization', ($14.DeleteOrganizationRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.DeleteOrganizationResponse.fromBuffer(value)); static final _$getMembersByOrganization = $grpc.ClientMethod<$14.GetMembersByOrganizationRequest, $14.GetMembersByOrganizationResponse>( - '/proto.services.user_svc.v1.OrganizationService/GetMembersByOrganization', + '/services.user_svc.v1.OrganizationService/GetMembersByOrganization', ($14.GetMembersByOrganizationRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.GetMembersByOrganizationResponse.fromBuffer(value)); static final _$addMember = $grpc.ClientMethod<$14.AddMemberRequest, $14.AddMemberResponse>( - '/proto.services.user_svc.v1.OrganizationService/AddMember', + '/services.user_svc.v1.OrganizationService/AddMember', ($14.AddMemberRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.AddMemberResponse.fromBuffer(value)); static final _$removeMember = $grpc.ClientMethod<$14.RemoveMemberRequest, $14.RemoveMemberResponse>( - '/proto.services.user_svc.v1.OrganizationService/RemoveMember', + '/services.user_svc.v1.OrganizationService/RemoveMember', ($14.RemoveMemberRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.RemoveMemberResponse.fromBuffer(value)); static final _$inviteMember = $grpc.ClientMethod<$14.InviteMemberRequest, $14.InviteMemberResponse>( - '/proto.services.user_svc.v1.OrganizationService/InviteMember', + '/services.user_svc.v1.OrganizationService/InviteMember', ($14.InviteMemberRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.InviteMemberResponse.fromBuffer(value)); static final _$getInvitationsByOrganization = $grpc.ClientMethod<$14.GetInvitationsByOrganizationRequest, $14.GetInvitationsByOrganizationResponse>( - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', + '/services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', ($14.GetInvitationsByOrganizationRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.GetInvitationsByOrganizationResponse.fromBuffer(value)); static final _$getInvitationsByUser = $grpc.ClientMethod<$14.GetInvitationsByUserRequest, $14.GetInvitationsByUserResponse>( - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByUser', + '/services.user_svc.v1.OrganizationService/GetInvitationsByUser', ($14.GetInvitationsByUserRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.GetInvitationsByUserResponse.fromBuffer(value)); static final _$acceptInvitation = $grpc.ClientMethod<$14.AcceptInvitationRequest, $14.AcceptInvitationResponse>( - '/proto.services.user_svc.v1.OrganizationService/AcceptInvitation', + '/services.user_svc.v1.OrganizationService/AcceptInvitation', ($14.AcceptInvitationRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.AcceptInvitationResponse.fromBuffer(value)); static final _$declineInvitation = $grpc.ClientMethod<$14.DeclineInvitationRequest, $14.DeclineInvitationResponse>( - '/proto.services.user_svc.v1.OrganizationService/DeclineInvitation', + '/services.user_svc.v1.OrganizationService/DeclineInvitation', ($14.DeclineInvitationRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.DeclineInvitationResponse.fromBuffer(value)); static final _$revokeInvitation = $grpc.ClientMethod<$14.RevokeInvitationRequest, $14.RevokeInvitationResponse>( - '/proto.services.user_svc.v1.OrganizationService/RevokeInvitation', + '/services.user_svc.v1.OrganizationService/RevokeInvitation', ($14.RevokeInvitationRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $14.RevokeInvitationResponse.fromBuffer(value)); @@ -157,9 +157,9 @@ class OrganizationServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.user_svc.v1.OrganizationService') +@$pb.GrpcServiceName('services.user_svc.v1.OrganizationService') abstract class OrganizationServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.user_svc.v1.OrganizationService'; + $core.String get $name => 'services.user_svc.v1.OrganizationService'; OrganizationServiceBase() { $addMethod($grpc.ServiceMethod<$14.CreateOrganizationRequest, $14.CreateOrganizationResponse>( diff --git a/gen/dart/lib/proto/services/user_svc/v1/organization_svc.pbjson.dart b/gen/dart/lib/services/user_svc/v1/organization_svc.pbjson.dart similarity index 80% rename from gen/dart/lib/proto/services/user_svc/v1/organization_svc.pbjson.dart rename to gen/dart/lib/services/user_svc/v1/organization_svc.pbjson.dart index 351b0baed..1c82b71b6 100644 --- a/gen/dart/lib/proto/services/user_svc/v1/organization_svc.pbjson.dart +++ b/gen/dart/lib/services/user_svc/v1/organization_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/user_svc/v1/organization_svc.proto +// source: services/user_svc/v1/organization_svc.proto // // @dart = 2.12 @@ -133,7 +133,7 @@ const GetOrganizationResponse$json = { {'1': 'contact_email', '3': 4, '4': 1, '5': 9, '10': 'contactEmail'}, {'1': 'avatar_url', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'avatarUrl', '17': true}, {'1': 'is_personal', '3': 6, '4': 1, '5': 8, '10': 'isPersonal'}, - {'1': 'members', '3': 7, '4': 3, '5': 11, '6': '.proto.services.user_svc.v1.GetOrganizationMember', '10': 'members'}, + {'1': 'members', '3': 7, '4': 3, '5': 11, '6': '.services.user_svc.v1.GetOrganizationMember', '10': 'members'}, ], '8': [ {'1': '_avatar_url'}, @@ -145,9 +145,9 @@ final $typed_data.Uint8List getOrganizationResponseDescriptor = $convert.base64D 'ChdHZXRPcmdhbml6YXRpb25SZXNwb25zZRIOCgJpZBgBIAEoCVICaWQSGwoJbG9uZ19uYW1lGA' 'IgASgJUghsb25nTmFtZRIdCgpzaG9ydF9uYW1lGAMgASgJUglzaG9ydE5hbWUSIwoNY29udGFj' 'dF9lbWFpbBgEIAEoCVIMY29udGFjdEVtYWlsEiIKCmF2YXRhcl91cmwYBSABKAlIAFIJYXZhdG' - 'FyVXJsiAEBEh8KC2lzX3BlcnNvbmFsGAYgASgIUgppc1BlcnNvbmFsEksKB21lbWJlcnMYByAD' - 'KAsyMS5wcm90by5zZXJ2aWNlcy51c2VyX3N2Yy52MS5HZXRPcmdhbml6YXRpb25NZW1iZXJSB2' - '1lbWJlcnNCDQoLX2F2YXRhcl91cmw='); + 'FyVXJsiAEBEh8KC2lzX3BlcnNvbmFsGAYgASgIUgppc1BlcnNvbmFsEkUKB21lbWJlcnMYByAD' + 'KAsyKy5zZXJ2aWNlcy51c2VyX3N2Yy52MS5HZXRPcmdhbml6YXRpb25NZW1iZXJSB21lbWJlcn' + 'NCDQoLX2F2YXRhcl91cmw='); @$core.Deprecated('Use getOrganizationsByUserRequestDescriptor instead') const GetOrganizationsByUserRequest$json = { @@ -166,7 +166,7 @@ final $typed_data.Uint8List getOrganizationsByUserRequestDescriptor = $convert.b const GetOrganizationsByUserResponse$json = { '1': 'GetOrganizationsByUserResponse', '2': [ - {'1': 'organizations', '3': 1, '4': 3, '5': 11, '6': '.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization', '10': 'organizations'}, + {'1': 'organizations', '3': 1, '4': 3, '5': 11, '6': '.services.user_svc.v1.GetOrganizationsByUserResponse.Organization', '10': 'organizations'}, ], '3': [GetOrganizationsByUserResponse_Organization$json], }; @@ -181,7 +181,7 @@ const GetOrganizationsByUserResponse_Organization$json = { {'1': 'contact_email', '3': 4, '4': 1, '5': 9, '10': 'contactEmail'}, {'1': 'avatar_url', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'avatarUrl', '17': true}, {'1': 'is_personal', '3': 6, '4': 1, '5': 8, '10': 'isPersonal'}, - {'1': 'members', '3': 7, '4': 3, '5': 11, '6': '.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member', '10': 'members'}, + {'1': 'members', '3': 7, '4': 3, '5': 11, '6': '.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member', '10': 'members'}, ], '3': [GetOrganizationsByUserResponse_Organization_Member$json], '8': [ @@ -205,17 +205,17 @@ const GetOrganizationsByUserResponse_Organization_Member$json = { /// Descriptor for `GetOrganizationsByUserResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getOrganizationsByUserResponseDescriptor = $convert.base64Decode( - 'Ch5HZXRPcmdhbml6YXRpb25zQnlVc2VyUmVzcG9uc2USbQoNb3JnYW5pemF0aW9ucxgBIAMoCz' - 'JHLnByb3RvLnNlcnZpY2VzLnVzZXJfc3ZjLnYxLkdldE9yZ2FuaXphdGlvbnNCeVVzZXJSZXNw' - 'b25zZS5Pcmdhbml6YXRpb25SDW9yZ2FuaXphdGlvbnMaxgMKDE9yZ2FuaXphdGlvbhIOCgJpZB' - 'gBIAEoCVICaWQSGwoJbG9uZ19uYW1lGAIgASgJUghsb25nTmFtZRIdCgpzaG9ydF9uYW1lGAMg' - 'ASgJUglzaG9ydE5hbWUSIwoNY29udGFjdF9lbWFpbBgEIAEoCVIMY29udGFjdEVtYWlsEiIKCm' - 'F2YXRhcl91cmwYBSABKAlIAFIJYXZhdGFyVXJsiAEBEh8KC2lzX3BlcnNvbmFsGAYgASgIUgpp' - 'c1BlcnNvbmFsEmgKB21lbWJlcnMYByADKAsyTi5wcm90by5zZXJ2aWNlcy51c2VyX3N2Yy52MS' - '5HZXRPcmdhbml6YXRpb25zQnlVc2VyUmVzcG9uc2UuT3JnYW5pemF0aW9uLk1lbWJlclIHbWVt' - 'YmVycxqGAQoGTWVtYmVyEhcKB3VzZXJfaWQYASABKAlSBnVzZXJJZBIUCgVlbWFpbBgCIAEoCV' - 'IFZW1haWwSGgoIbmlja25hbWUYAyABKAlSCG5pY2tuYW1lEiIKCmF2YXRhcl91cmwYBCABKAlI' - 'AFIJYXZhdGFyVXJsiAEBQg0KC19hdmF0YXJfdXJsQg0KC19hdmF0YXJfdXJs'); + 'Ch5HZXRPcmdhbml6YXRpb25zQnlVc2VyUmVzcG9uc2USZwoNb3JnYW5pemF0aW9ucxgBIAMoCz' + 'JBLnNlcnZpY2VzLnVzZXJfc3ZjLnYxLkdldE9yZ2FuaXphdGlvbnNCeVVzZXJSZXNwb25zZS5P' + 'cmdhbml6YXRpb25SDW9yZ2FuaXphdGlvbnMawAMKDE9yZ2FuaXphdGlvbhIOCgJpZBgBIAEoCV' + 'ICaWQSGwoJbG9uZ19uYW1lGAIgASgJUghsb25nTmFtZRIdCgpzaG9ydF9uYW1lGAMgASgJUglz' + 'aG9ydE5hbWUSIwoNY29udGFjdF9lbWFpbBgEIAEoCVIMY29udGFjdEVtYWlsEiIKCmF2YXRhcl' + '91cmwYBSABKAlIAFIJYXZhdGFyVXJsiAEBEh8KC2lzX3BlcnNvbmFsGAYgASgIUgppc1BlcnNv' + 'bmFsEmIKB21lbWJlcnMYByADKAsySC5zZXJ2aWNlcy51c2VyX3N2Yy52MS5HZXRPcmdhbml6YX' + 'Rpb25zQnlVc2VyUmVzcG9uc2UuT3JnYW5pemF0aW9uLk1lbWJlclIHbWVtYmVycxqGAQoGTWVt' + 'YmVyEhcKB3VzZXJfaWQYASABKAlSBnVzZXJJZBIUCgVlbWFpbBgCIAEoCVIFZW1haWwSGgoIbm' + 'lja25hbWUYAyABKAlSCG5pY2tuYW1lEiIKCmF2YXRhcl91cmwYBCABKAlIAFIJYXZhdGFyVXJs' + 'iAEBQg0KC19hdmF0YXJfdXJsQg0KC19hdmF0YXJfdXJs'); @$core.Deprecated('Use getOrganizationsForUserRequestDescriptor instead') const GetOrganizationsForUserRequest$json = { @@ -230,7 +230,7 @@ final $typed_data.Uint8List getOrganizationsForUserRequestDescriptor = $convert. const GetOrganizationsForUserResponse$json = { '1': 'GetOrganizationsForUserResponse', '2': [ - {'1': 'organizations', '3': 1, '4': 3, '5': 11, '6': '.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization', '10': 'organizations'}, + {'1': 'organizations', '3': 1, '4': 3, '5': 11, '6': '.services.user_svc.v1.GetOrganizationsForUserResponse.Organization', '10': 'organizations'}, ], '3': [GetOrganizationsForUserResponse_Organization$json], }; @@ -245,7 +245,7 @@ const GetOrganizationsForUserResponse_Organization$json = { {'1': 'contact_email', '3': 4, '4': 1, '5': 9, '10': 'contactEmail'}, {'1': 'avatar_url', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'avatarUrl', '17': true}, {'1': 'is_personal', '3': 6, '4': 1, '5': 8, '10': 'isPersonal'}, - {'1': 'members', '3': 7, '4': 3, '5': 11, '6': '.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member', '10': 'members'}, + {'1': 'members', '3': 7, '4': 3, '5': 11, '6': '.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member', '10': 'members'}, ], '3': [GetOrganizationsForUserResponse_Organization_Member$json], '8': [ @@ -269,17 +269,17 @@ const GetOrganizationsForUserResponse_Organization_Member$json = { /// Descriptor for `GetOrganizationsForUserResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getOrganizationsForUserResponseDescriptor = $convert.base64Decode( - 'Ch9HZXRPcmdhbml6YXRpb25zRm9yVXNlclJlc3BvbnNlEm4KDW9yZ2FuaXphdGlvbnMYASADKA' - 'sySC5wcm90by5zZXJ2aWNlcy51c2VyX3N2Yy52MS5HZXRPcmdhbml6YXRpb25zRm9yVXNlclJl' - 'c3BvbnNlLk9yZ2FuaXphdGlvblINb3JnYW5pemF0aW9ucxrHAwoMT3JnYW5pemF0aW9uEg4KAm' - 'lkGAEgASgJUgJpZBIbCglsb25nX25hbWUYAiABKAlSCGxvbmdOYW1lEh0KCnNob3J0X25hbWUY' - 'AyABKAlSCXNob3J0TmFtZRIjCg1jb250YWN0X2VtYWlsGAQgASgJUgxjb250YWN0RW1haWwSIg' - 'oKYXZhdGFyX3VybBgFIAEoCUgAUglhdmF0YXJVcmyIAQESHwoLaXNfcGVyc29uYWwYBiABKAhS' - 'CmlzUGVyc29uYWwSaQoHbWVtYmVycxgHIAMoCzJPLnByb3RvLnNlcnZpY2VzLnVzZXJfc3ZjLn' - 'YxLkdldE9yZ2FuaXphdGlvbnNGb3JVc2VyUmVzcG9uc2UuT3JnYW5pemF0aW9uLk1lbWJlclIH' - 'bWVtYmVycxqGAQoGTWVtYmVyEhcKB3VzZXJfaWQYASABKAlSBnVzZXJJZBIUCgVlbWFpbBgCIA' - 'EoCVIFZW1haWwSGgoIbmlja25hbWUYAyABKAlSCG5pY2tuYW1lEiIKCmF2YXRhcl91cmwYBCAB' - 'KAlIAFIJYXZhdGFyVXJsiAEBQg0KC19hdmF0YXJfdXJsQg0KC19hdmF0YXJfdXJs'); + 'Ch9HZXRPcmdhbml6YXRpb25zRm9yVXNlclJlc3BvbnNlEmgKDW9yZ2FuaXphdGlvbnMYASADKA' + 'syQi5zZXJ2aWNlcy51c2VyX3N2Yy52MS5HZXRPcmdhbml6YXRpb25zRm9yVXNlclJlc3BvbnNl' + 'Lk9yZ2FuaXphdGlvblINb3JnYW5pemF0aW9ucxrBAwoMT3JnYW5pemF0aW9uEg4KAmlkGAEgAS' + 'gJUgJpZBIbCglsb25nX25hbWUYAiABKAlSCGxvbmdOYW1lEh0KCnNob3J0X25hbWUYAyABKAlS' + 'CXNob3J0TmFtZRIjCg1jb250YWN0X2VtYWlsGAQgASgJUgxjb250YWN0RW1haWwSIgoKYXZhdG' + 'FyX3VybBgFIAEoCUgAUglhdmF0YXJVcmyIAQESHwoLaXNfcGVyc29uYWwYBiABKAhSCmlzUGVy' + 'c29uYWwSYwoHbWVtYmVycxgHIAMoCzJJLnNlcnZpY2VzLnVzZXJfc3ZjLnYxLkdldE9yZ2FuaX' + 'phdGlvbnNGb3JVc2VyUmVzcG9uc2UuT3JnYW5pemF0aW9uLk1lbWJlclIHbWVtYmVycxqGAQoG' + 'TWVtYmVyEhcKB3VzZXJfaWQYASABKAlSBnVzZXJJZBIUCgVlbWFpbBgCIAEoCVIFZW1haWwSGg' + 'oIbmlja25hbWUYAyABKAlSCG5pY2tuYW1lEiIKCmF2YXRhcl91cmwYBCABKAlIAFIJYXZhdGFy' + 'VXJsiAEBQg0KC19hdmF0YXJfdXJsQg0KC19hdmF0YXJfdXJs'); @$core.Deprecated('Use updateOrganizationRequestDescriptor instead') const UpdateOrganizationRequest$json = { @@ -356,7 +356,7 @@ final $typed_data.Uint8List getMembersByOrganizationRequestDescriptor = $convert const GetMembersByOrganizationResponse$json = { '1': 'GetMembersByOrganizationResponse', '2': [ - {'1': 'members', '3': 1, '4': 3, '5': 11, '6': '.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member', '10': 'members'}, + {'1': 'members', '3': 1, '4': 3, '5': 11, '6': '.services.user_svc.v1.GetMembersByOrganizationResponse.Member', '10': 'members'}, ], '3': [GetMembersByOrganizationResponse_Member$json], }; @@ -377,11 +377,11 @@ const GetMembersByOrganizationResponse_Member$json = { /// Descriptor for `GetMembersByOrganizationResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getMembersByOrganizationResponseDescriptor = $convert.base64Decode( - 'CiBHZXRNZW1iZXJzQnlPcmdhbml6YXRpb25SZXNwb25zZRJdCgdtZW1iZXJzGAEgAygLMkMucH' - 'JvdG8uc2VydmljZXMudXNlcl9zdmMudjEuR2V0TWVtYmVyc0J5T3JnYW5pemF0aW9uUmVzcG9u' - 'c2UuTWVtYmVyUgdtZW1iZXJzGoYBCgZNZW1iZXISFwoHdXNlcl9pZBgBIAEoCVIGdXNlcklkEh' - 'QKBWVtYWlsGAIgASgJUgVlbWFpbBIaCghuaWNrbmFtZRgDIAEoCVIIbmlja25hbWUSIgoKYXZh' - 'dGFyX3VybBgEIAEoCUgAUglhdmF0YXJVcmyIAQFCDQoLX2F2YXRhcl91cmw='); + 'CiBHZXRNZW1iZXJzQnlPcmdhbml6YXRpb25SZXNwb25zZRJXCgdtZW1iZXJzGAEgAygLMj0uc2' + 'VydmljZXMudXNlcl9zdmMudjEuR2V0TWVtYmVyc0J5T3JnYW5pemF0aW9uUmVzcG9uc2UuTWVt' + 'YmVyUgdtZW1iZXJzGoYBCgZNZW1iZXISFwoHdXNlcl9pZBgBIAEoCVIGdXNlcklkEhQKBWVtYW' + 'lsGAIgASgJUgVlbWFpbBIaCghuaWNrbmFtZRgDIAEoCVIIbmlja25hbWUSIgoKYXZhdGFyX3Vy' + 'bBgEIAEoCUgAUglhdmF0YXJVcmyIAQFCDQoLX2F2YXRhcl91cmw='); @$core.Deprecated('Use addMemberRequestDescriptor instead') const AddMemberRequest$json = { @@ -460,7 +460,7 @@ const GetInvitationsByOrganizationRequest$json = { '1': 'GetInvitationsByOrganizationRequest', '2': [ {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'state', '3': 2, '4': 1, '5': 14, '6': '.proto.services.user_svc.v1.InvitationState', '9': 0, '10': 'state', '17': true}, + {'1': 'state', '3': 2, '4': 1, '5': 14, '6': '.services.user_svc.v1.InvitationState', '9': 0, '10': 'state', '17': true}, ], '8': [ {'1': '_state'}, @@ -470,14 +470,14 @@ const GetInvitationsByOrganizationRequest$json = { /// Descriptor for `GetInvitationsByOrganizationRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getInvitationsByOrganizationRequestDescriptor = $convert.base64Decode( 'CiNHZXRJbnZpdGF0aW9uc0J5T3JnYW5pemF0aW9uUmVxdWVzdBInCg9vcmdhbml6YXRpb25faW' - 'QYASABKAlSDm9yZ2FuaXphdGlvbklkEkYKBXN0YXRlGAIgASgOMisucHJvdG8uc2VydmljZXMu' - 'dXNlcl9zdmMudjEuSW52aXRhdGlvblN0YXRlSABSBXN0YXRliAEBQggKBl9zdGF0ZQ=='); + 'QYASABKAlSDm9yZ2FuaXphdGlvbklkEkAKBXN0YXRlGAIgASgOMiUuc2VydmljZXMudXNlcl9z' + 'dmMudjEuSW52aXRhdGlvblN0YXRlSABSBXN0YXRliAEBQggKBl9zdGF0ZQ=='); @$core.Deprecated('Use getInvitationsByOrganizationResponseDescriptor instead') const GetInvitationsByOrganizationResponse$json = { '1': 'GetInvitationsByOrganizationResponse', '2': [ - {'1': 'invitations', '3': 1, '4': 3, '5': 11, '6': '.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation', '10': 'invitations'}, + {'1': 'invitations', '3': 1, '4': 3, '5': 11, '6': '.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation', '10': 'invitations'}, ], '3': [GetInvitationsByOrganizationResponse_Invitation$json], }; @@ -489,24 +489,24 @@ const GetInvitationsByOrganizationResponse_Invitation$json = { {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'email', '3': 2, '4': 1, '5': 9, '10': 'email'}, {'1': 'organization_id', '3': 3, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'state', '3': 4, '4': 1, '5': 14, '6': '.proto.services.user_svc.v1.InvitationState', '10': 'state'}, + {'1': 'state', '3': 4, '4': 1, '5': 14, '6': '.services.user_svc.v1.InvitationState', '10': 'state'}, ], }; /// Descriptor for `GetInvitationsByOrganizationResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getInvitationsByOrganizationResponseDescriptor = $convert.base64Decode( - 'CiRHZXRJbnZpdGF0aW9uc0J5T3JnYW5pemF0aW9uUmVzcG9uc2USbQoLaW52aXRhdGlvbnMYAS' - 'ADKAsySy5wcm90by5zZXJ2aWNlcy51c2VyX3N2Yy52MS5HZXRJbnZpdGF0aW9uc0J5T3JnYW5p' - 'emF0aW9uUmVzcG9uc2UuSW52aXRhdGlvblILaW52aXRhdGlvbnMangEKCkludml0YXRpb24SDg' - 'oCaWQYASABKAlSAmlkEhQKBWVtYWlsGAIgASgJUgVlbWFpbBInCg9vcmdhbml6YXRpb25faWQY' - 'AyABKAlSDm9yZ2FuaXphdGlvbklkEkEKBXN0YXRlGAQgASgOMisucHJvdG8uc2VydmljZXMudX' - 'Nlcl9zdmMudjEuSW52aXRhdGlvblN0YXRlUgVzdGF0ZQ=='); + 'CiRHZXRJbnZpdGF0aW9uc0J5T3JnYW5pemF0aW9uUmVzcG9uc2USZwoLaW52aXRhdGlvbnMYAS' + 'ADKAsyRS5zZXJ2aWNlcy51c2VyX3N2Yy52MS5HZXRJbnZpdGF0aW9uc0J5T3JnYW5pemF0aW9u' + 'UmVzcG9uc2UuSW52aXRhdGlvblILaW52aXRhdGlvbnMamAEKCkludml0YXRpb24SDgoCaWQYAS' + 'ABKAlSAmlkEhQKBWVtYWlsGAIgASgJUgVlbWFpbBInCg9vcmdhbml6YXRpb25faWQYAyABKAlS' + 'Dm9yZ2FuaXphdGlvbklkEjsKBXN0YXRlGAQgASgOMiUuc2VydmljZXMudXNlcl9zdmMudjEuSW' + '52aXRhdGlvblN0YXRlUgVzdGF0ZQ=='); @$core.Deprecated('Use getInvitationsByUserRequestDescriptor instead') const GetInvitationsByUserRequest$json = { '1': 'GetInvitationsByUserRequest', '2': [ - {'1': 'state', '3': 1, '4': 1, '5': 14, '6': '.proto.services.user_svc.v1.InvitationState', '9': 0, '10': 'state', '17': true}, + {'1': 'state', '3': 1, '4': 1, '5': 14, '6': '.services.user_svc.v1.InvitationState', '9': 0, '10': 'state', '17': true}, ], '8': [ {'1': '_state'}, @@ -515,14 +515,14 @@ const GetInvitationsByUserRequest$json = { /// Descriptor for `GetInvitationsByUserRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getInvitationsByUserRequestDescriptor = $convert.base64Decode( - 'ChtHZXRJbnZpdGF0aW9uc0J5VXNlclJlcXVlc3QSRgoFc3RhdGUYASABKA4yKy5wcm90by5zZX' - 'J2aWNlcy51c2VyX3N2Yy52MS5JbnZpdGF0aW9uU3RhdGVIAFIFc3RhdGWIAQFCCAoGX3N0YXRl'); + 'ChtHZXRJbnZpdGF0aW9uc0J5VXNlclJlcXVlc3QSQAoFc3RhdGUYASABKA4yJS5zZXJ2aWNlcy' + '51c2VyX3N2Yy52MS5JbnZpdGF0aW9uU3RhdGVIAFIFc3RhdGWIAQFCCAoGX3N0YXRl'); @$core.Deprecated('Use getInvitationsByUserResponseDescriptor instead') const GetInvitationsByUserResponse$json = { '1': 'GetInvitationsByUserResponse', '2': [ - {'1': 'invitations', '3': 1, '4': 3, '5': 11, '6': '.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation', '10': 'invitations'}, + {'1': 'invitations', '3': 1, '4': 3, '5': 11, '6': '.services.user_svc.v1.GetInvitationsByUserResponse.Invitation', '10': 'invitations'}, ], '3': [GetInvitationsByUserResponse_Invitation$json], }; @@ -533,8 +533,8 @@ const GetInvitationsByUserResponse_Invitation$json = { '2': [ {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, {'1': 'email', '3': 2, '4': 1, '5': 9, '10': 'email'}, - {'1': 'organization', '3': 3, '4': 1, '5': 11, '6': '.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization', '10': 'organization'}, - {'1': 'state', '3': 4, '4': 1, '5': 14, '6': '.proto.services.user_svc.v1.InvitationState', '10': 'state'}, + {'1': 'organization', '3': 3, '4': 1, '5': 11, '6': '.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization', '10': 'organization'}, + {'1': 'state', '3': 4, '4': 1, '5': 14, '6': '.services.user_svc.v1.InvitationState', '10': 'state'}, ], '3': [GetInvitationsByUserResponse_Invitation_Organization$json], }; @@ -554,15 +554,15 @@ const GetInvitationsByUserResponse_Invitation_Organization$json = { /// Descriptor for `GetInvitationsByUserResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getInvitationsByUserResponseDescriptor = $convert.base64Decode( - 'ChxHZXRJbnZpdGF0aW9uc0J5VXNlclJlc3BvbnNlEmUKC2ludml0YXRpb25zGAEgAygLMkMucH' - 'JvdG8uc2VydmljZXMudXNlcl9zdmMudjEuR2V0SW52aXRhdGlvbnNCeVVzZXJSZXNwb25zZS5J' - 'bnZpdGF0aW9uUgtpbnZpdGF0aW9ucxrbAgoKSW52aXRhdGlvbhIOCgJpZBgBIAEoCVICaWQSFA' - 'oFZW1haWwYAiABKAlSBWVtYWlsEnQKDG9yZ2FuaXphdGlvbhgDIAEoCzJQLnByb3RvLnNlcnZp' - 'Y2VzLnVzZXJfc3ZjLnYxLkdldEludml0YXRpb25zQnlVc2VyUmVzcG9uc2UuSW52aXRhdGlvbi' - '5Pcmdhbml6YXRpb25SDG9yZ2FuaXphdGlvbhJBCgVzdGF0ZRgEIAEoDjIrLnByb3RvLnNlcnZp' - 'Y2VzLnVzZXJfc3ZjLnYxLkludml0YXRpb25TdGF0ZVIFc3RhdGUabgoMT3JnYW5pemF0aW9uEg' - '4KAmlkGAEgASgJUgJpZBIbCglsb25nX25hbWUYAiABKAlSCGxvbmdOYW1lEiIKCmF2YXRhcl91' - 'cmwYAyABKAlIAFIJYXZhdGFyVXJsiAEBQg0KC19hdmF0YXJfdXJs'); + 'ChxHZXRJbnZpdGF0aW9uc0J5VXNlclJlc3BvbnNlEl8KC2ludml0YXRpb25zGAEgAygLMj0uc2' + 'VydmljZXMudXNlcl9zdmMudjEuR2V0SW52aXRhdGlvbnNCeVVzZXJSZXNwb25zZS5JbnZpdGF0' + 'aW9uUgtpbnZpdGF0aW9ucxrPAgoKSW52aXRhdGlvbhIOCgJpZBgBIAEoCVICaWQSFAoFZW1haW' + 'wYAiABKAlSBWVtYWlsEm4KDG9yZ2FuaXphdGlvbhgDIAEoCzJKLnNlcnZpY2VzLnVzZXJfc3Zj' + 'LnYxLkdldEludml0YXRpb25zQnlVc2VyUmVzcG9uc2UuSW52aXRhdGlvbi5Pcmdhbml6YXRpb2' + '5SDG9yZ2FuaXphdGlvbhI7CgVzdGF0ZRgEIAEoDjIlLnNlcnZpY2VzLnVzZXJfc3ZjLnYxLklu' + 'dml0YXRpb25TdGF0ZVIFc3RhdGUabgoMT3JnYW5pemF0aW9uEg4KAmlkGAEgASgJUgJpZBIbCg' + 'lsb25nX25hbWUYAiABKAlSCGxvbmdOYW1lEiIKCmF2YXRhcl91cmwYAyABKAlIAFIJYXZhdGFy' + 'VXJsiAEBQg0KC19hdmF0YXJfdXJs'); @$core.Deprecated('Use acceptInvitationRequestDescriptor instead') const AcceptInvitationRequest$json = { diff --git a/gen/dart/lib/proto/services/user_svc/v1/user_svc.pb.dart b/gen/dart/lib/services/user_svc/v1/user_svc.pb.dart similarity index 96% rename from gen/dart/lib/proto/services/user_svc/v1/user_svc.pb.dart rename to gen/dart/lib/services/user_svc/v1/user_svc.pb.dart index d89eaa404..360d29d31 100644 --- a/gen/dart/lib/proto/services/user_svc/v1/user_svc.pb.dart +++ b/gen/dart/lib/services/user_svc/v1/user_svc.pb.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/user_svc/v1/user_svc.proto +// source: services/user_svc/v1/user_svc.proto // // @dart = 2.12 @@ -39,7 +39,7 @@ class CreateUserRequest extends $pb.GeneratedMessage { factory CreateUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'email') ..aOS(3, _omitFieldNames ? '' : 'nickname') @@ -119,7 +119,7 @@ class CreateUserResponse extends $pb.GeneratedMessage { factory CreateUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -169,7 +169,7 @@ class ReadSelfOrganization extends $pb.GeneratedMessage { factory ReadSelfOrganization.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory ReadSelfOrganization.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadSelfOrganization', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadSelfOrganization', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -212,7 +212,7 @@ class ReadSelfRequest extends $pb.GeneratedMessage { factory ReadSelfRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory ReadSelfRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadSelfRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadSelfRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; @@ -268,7 +268,7 @@ class ReadSelfResponse extends $pb.GeneratedMessage { factory ReadSelfResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory ReadSelfResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadSelfResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadSelfResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'nickname') @@ -352,7 +352,7 @@ class ReadPublicProfileRequest extends $pb.GeneratedMessage { factory ReadPublicProfileRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory ReadPublicProfileRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadPublicProfileRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadPublicProfileRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -414,7 +414,7 @@ class ReadPublicProfileResponse extends $pb.GeneratedMessage { factory ReadPublicProfileResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory ReadPublicProfileResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadPublicProfileResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadPublicProfileResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'nickname') @@ -494,7 +494,7 @@ class UpdateUserRequest extends $pb.GeneratedMessage { factory UpdateUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false ; @@ -536,7 +536,7 @@ class UpdateUserResponse extends $pb.GeneratedMessage { factory UpdateUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UpdateUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.services.user_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.user_svc.v1'), createEmptyInstance: create) ..hasRequiredFields = false ; diff --git a/gen/dart/lib/proto/services/user_svc/v1/user_svc.pbenum.dart b/gen/dart/lib/services/user_svc/v1/user_svc.pbenum.dart similarity index 86% rename from gen/dart/lib/proto/services/user_svc/v1/user_svc.pbenum.dart rename to gen/dart/lib/services/user_svc/v1/user_svc.pbenum.dart index bb2f2d99a..ed6229671 100644 --- a/gen/dart/lib/proto/services/user_svc/v1/user_svc.pbenum.dart +++ b/gen/dart/lib/services/user_svc/v1/user_svc.pbenum.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/user_svc/v1/user_svc.proto +// source: services/user_svc/v1/user_svc.proto // // @dart = 2.12 diff --git a/gen/dart/lib/proto/services/user_svc/v1/user_svc.pbgrpc.dart b/gen/dart/lib/services/user_svc/v1/user_svc.pbgrpc.dart similarity index 91% rename from gen/dart/lib/proto/services/user_svc/v1/user_svc.pbgrpc.dart rename to gen/dart/lib/services/user_svc/v1/user_svc.pbgrpc.dart index 91ed1c756..640d86300 100644 --- a/gen/dart/lib/proto/services/user_svc/v1/user_svc.pbgrpc.dart +++ b/gen/dart/lib/services/user_svc/v1/user_svc.pbgrpc.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/user_svc/v1/user_svc.proto +// source: services/user_svc/v1/user_svc.proto // // @dart = 2.12 @@ -19,22 +19,22 @@ import 'user_svc.pb.dart' as $15; export 'user_svc.pb.dart'; -@$pb.GrpcServiceName('proto.services.user_svc.v1.UserService') +@$pb.GrpcServiceName('services.user_svc.v1.UserService') class UserServiceClient extends $grpc.Client { static final _$createUser = $grpc.ClientMethod<$15.CreateUserRequest, $15.CreateUserResponse>( - '/proto.services.user_svc.v1.UserService/CreateUser', + '/services.user_svc.v1.UserService/CreateUser', ($15.CreateUserRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $15.CreateUserResponse.fromBuffer(value)); static final _$readSelf = $grpc.ClientMethod<$15.ReadSelfRequest, $15.ReadSelfResponse>( - '/proto.services.user_svc.v1.UserService/ReadSelf', + '/services.user_svc.v1.UserService/ReadSelf', ($15.ReadSelfRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $15.ReadSelfResponse.fromBuffer(value)); static final _$readPublicProfile = $grpc.ClientMethod<$15.ReadPublicProfileRequest, $15.ReadPublicProfileResponse>( - '/proto.services.user_svc.v1.UserService/ReadPublicProfile', + '/services.user_svc.v1.UserService/ReadPublicProfile', ($15.ReadPublicProfileRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $15.ReadPublicProfileResponse.fromBuffer(value)); static final _$updateUser = $grpc.ClientMethod<$15.UpdateUserRequest, $15.UpdateUserResponse>( - '/proto.services.user_svc.v1.UserService/UpdateUser', + '/services.user_svc.v1.UserService/UpdateUser', ($15.UpdateUserRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $15.UpdateUserResponse.fromBuffer(value)); @@ -61,9 +61,9 @@ class UserServiceClient extends $grpc.Client { } } -@$pb.GrpcServiceName('proto.services.user_svc.v1.UserService') +@$pb.GrpcServiceName('services.user_svc.v1.UserService') abstract class UserServiceBase extends $grpc.Service { - $core.String get $name => 'proto.services.user_svc.v1.UserService'; + $core.String get $name => 'services.user_svc.v1.UserService'; UserServiceBase() { $addMethod($grpc.ServiceMethod<$15.CreateUserRequest, $15.CreateUserResponse>( diff --git a/gen/dart/lib/proto/services/user_svc/v1/user_svc.pbjson.dart b/gen/dart/lib/services/user_svc/v1/user_svc.pbjson.dart similarity index 93% rename from gen/dart/lib/proto/services/user_svc/v1/user_svc.pbjson.dart rename to gen/dart/lib/services/user_svc/v1/user_svc.pbjson.dart index f2f611114..4c155d3d7 100644 --- a/gen/dart/lib/proto/services/user_svc/v1/user_svc.pbjson.dart +++ b/gen/dart/lib/services/user_svc/v1/user_svc.pbjson.dart @@ -1,6 +1,6 @@ // // Generated code. Do not modify. -// source: proto/services/user_svc/v1/user_svc.proto +// source: services/user_svc/v1/user_svc.proto // // @dart = 2.12 @@ -70,7 +70,7 @@ const ReadSelfResponse$json = { {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, {'1': 'nickname', '3': 3, '4': 1, '5': 9, '10': 'nickname'}, {'1': 'avatar_url', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'avatarUrl', '17': true}, - {'1': 'organizations', '3': 5, '4': 3, '5': 11, '6': '.proto.services.user_svc.v1.ReadSelfOrganization', '10': 'organizations'}, + {'1': 'organizations', '3': 5, '4': 3, '5': 11, '6': '.services.user_svc.v1.ReadSelfOrganization', '10': 'organizations'}, ], '8': [ {'1': '_avatar_url'}, @@ -81,8 +81,8 @@ const ReadSelfResponse$json = { final $typed_data.Uint8List readSelfResponseDescriptor = $convert.base64Decode( 'ChBSZWFkU2VsZlJlc3BvbnNlEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEh' 'oKCG5pY2tuYW1lGAMgASgJUghuaWNrbmFtZRIiCgphdmF0YXJfdXJsGAQgASgJSABSCWF2YXRh' - 'clVybIgBARJWCg1vcmdhbml6YXRpb25zGAUgAygLMjAucHJvdG8uc2VydmljZXMudXNlcl9zdm' - 'MudjEuUmVhZFNlbGZPcmdhbml6YXRpb25SDW9yZ2FuaXphdGlvbnNCDQoLX2F2YXRhcl91cmw='); + 'clVybIgBARJQCg1vcmdhbml6YXRpb25zGAUgAygLMiouc2VydmljZXMudXNlcl9zdmMudjEuUm' + 'VhZFNlbGZPcmdhbml6YXRpb25SDW9yZ2FuaXphdGlvbnNCDQoLX2F2YXRhcl91cmw='); @$core.Deprecated('Use readPublicProfileRequestDescriptor instead') const ReadPublicProfileRequest$json = { diff --git a/gen/dart/pubspec.lock b/gen/dart/pubspec.lock index 31055fc4e..8154688f8 100644 --- a/gen/dart/pubspec.lock +++ b/gen/dart/pubspec.lock @@ -179,3 +179,4 @@ packages: version: "1.3.2" sdks: dart: ">=3.0.0 <4.0.0" + diff --git a/gen/dart/pubspec.yaml b/gen/dart/pubspec.yaml index 2625efb72..8a7e877e5 100644 --- a/gen/dart/pubspec.yaml +++ b/gen/dart/pubspec.yaml @@ -8,3 +8,4 @@ dependencies: grpc: ^3.2.4 protobuf: ^3.1.0 fixnum: ^1.1.0 + diff --git a/gen/go/google/protobuf/any.pb.go b/gen/go/google/protobuf/any.pb.go deleted file mode 100644 index 3b2902f28..000000000 --- a/gen/go/google/protobuf/any.pb.go +++ /dev/null @@ -1,505 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.32.0 -// protoc (unknown) -// source: google/protobuf/any.proto - -// Package anypb contains generated types for google/protobuf/any.proto. -// -// The Any message is a dynamic representation of any other message value. -// It is functionally a tuple of the full name of the remote message type and -// the serialized bytes of the remote message value. -// -// # Constructing an Any -// -// An Any message containing another message value is constructed using New: -// -// any, err := anypb.New(m) -// if err != nil { -// ... // handle error -// } -// ... // make use of any -// -// # Unmarshaling an Any -// -// With a populated Any message, the underlying message can be serialized into -// a remote concrete message value in a few ways. -// -// If the exact concrete type is known, then a new (or pre-existing) instance -// of that message can be passed to the UnmarshalTo method: -// -// m := new(foopb.MyMessage) -// if err := any.UnmarshalTo(m); err != nil { -// ... // handle error -// } -// ... // make use of m -// -// If the exact concrete type is not known, then the UnmarshalNew method can be -// used to unmarshal the contents into a new instance of the remote message type: -// -// m, err := any.UnmarshalNew() -// if err != nil { -// ... // handle error -// } -// ... // make use of m -// -// UnmarshalNew uses the global type registry to resolve the message type and -// construct a new instance of that message to unmarshal into. In order for a -// message type to appear in the global registry, the Go type representing that -// protobuf message type must be linked into the Go binary. For messages -// generated by protoc-gen-go, this is achieved through an import of the -// generated Go package representing a .proto file. -// -// A common pattern with UnmarshalNew is to use a type switch with the resulting -// proto.Message value: -// -// switch m := m.(type) { -// case *foopb.MyMessage: -// ... // make use of m as a *foopb.MyMessage -// case *barpb.OtherMessage: -// ... // make use of m as a *barpb.OtherMessage -// case *bazpb.SomeMessage: -// ... // make use of m as a *bazpb.SomeMessage -// } -// -// This pattern ensures that the generated packages containing the message types -// listed in the case clauses are linked into the Go binary and therefore also -// registered in the global registry. -// -// # Type checking an Any -// -// In order to type check whether an Any message represents some other message, -// then use the MessageIs method: -// -// if any.MessageIs((*foopb.MyMessage)(nil)) { -// ... // make use of any, knowing that it contains a foopb.MyMessage -// } -// -// The MessageIs method can also be used with an allocated instance of the target -// message type if the intention is to unmarshal into it if the type matches: -// -// m := new(foopb.MyMessage) -// if any.MessageIs(m) { -// if err := any.UnmarshalTo(m); err != nil { -// ... // handle error -// } -// ... // make use of m -// } -package anypb - -import ( - proto "google.golang.org/protobuf/proto" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoregistry "google.golang.org/protobuf/reflect/protoregistry" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - strings "strings" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// `Any` contains an arbitrary serialized protocol buffer message along with a -// URL that describes the type of the serialized message. -// -// Protobuf library provides support to pack/unpack Any values in the form -// of utility functions or additional generated methods of the Any type. -// -// Example 1: Pack and unpack a message in C++. -// -// Foo foo = ...; -// Any any; -// any.PackFrom(foo); -// ... -// if (any.UnpackTo(&foo)) { -// ... -// } -// -// Example 2: Pack and unpack a message in Java. -// -// Foo foo = ...; -// Any any = Any.pack(foo); -// ... -// if (any.is(Foo.class)) { -// foo = any.unpack(Foo.class); -// } -// // or ... -// if (any.isSameTypeAs(Foo.getDefaultInstance())) { -// foo = any.unpack(Foo.getDefaultInstance()); -// } -// -// Example 3: Pack and unpack a message in Python. -// -// foo = Foo(...) -// any = Any() -// any.Pack(foo) -// ... -// if any.Is(Foo.DESCRIPTOR): -// any.Unpack(foo) -// ... -// -// Example 4: Pack and unpack a message in Go -// -// foo := &pb.Foo{...} -// any, err := anypb.New(foo) -// if err != nil { -// ... -// } -// ... -// foo := &pb.Foo{} -// if err := any.UnmarshalTo(foo); err != nil { -// ... -// } -// -// The pack methods provided by protobuf library will by default use -// 'type.googleapis.com/full.type.name' as the type URL and the unpack -// methods only use the fully qualified type name after the last '/' -// in the type URL, for example "foo.bar.com/x/y.z" will yield type -// name "y.z". -// -// # JSON -// -// The JSON representation of an `Any` value uses the regular -// representation of the deserialized, embedded message, with an -// additional field `@type` which contains the type URL. Example: -// -// package google.profile; -// message Person { -// string first_name = 1; -// string last_name = 2; -// } -// -// { -// "@type": "type.googleapis.com/google.profile.Person", -// "firstName": , -// "lastName": -// } -// -// If the embedded message type is well-known and has a custom JSON -// representation, that representation will be embedded adding a field -// `value` which holds the custom JSON in addition to the `@type` -// field. Example (for message [google.protobuf.Duration][]): -// -// { -// "@type": "type.googleapis.com/google.protobuf.Duration", -// "value": "1.212s" -// } -type Any struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // A URL/resource name that uniquely identifies the type of the serialized - // protocol buffer message. This string must contain at least - // one "/" character. The last segment of the URL's path must represent - // the fully qualified name of the type (as in - // `path/google.protobuf.Duration`). The name should be in a canonical form - // (e.g., leading "." is not accepted). - // - // In practice, teams usually precompile into the binary all types that they - // expect it to use in the context of Any. However, for URLs which use the - // scheme `http`, `https`, or no scheme, one can optionally set up a type - // server that maps type URLs to message definitions as follows: - // - // - If no scheme is provided, `https` is assumed. - // - An HTTP GET on the URL must yield a [google.protobuf.Type][] - // value in binary format, or produce an error. - // - Applications are allowed to cache lookup results based on the - // URL, or have them precompiled into a binary to avoid any - // lookup. Therefore, binary compatibility needs to be preserved - // on changes to types. (Use versioned type names to manage - // breaking changes.) - // - // Note: this functionality is not currently available in the official - // protobuf release, and it is not used for type URLs beginning with - // type.googleapis.com. - // - // Schemes other than `http`, `https` (or the empty scheme) might be - // used with implementation specific semantics. - TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` - // Must be a valid serialized protocol buffer of the above specified type. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` -} - -// New marshals src into a new Any instance. -func New(src proto.Message) (*Any, error) { - dst := new(Any) - if err := dst.MarshalFrom(src); err != nil { - return nil, err - } - return dst, nil -} - -// MarshalFrom marshals src into dst as the underlying message -// using the provided marshal options. -// -// If no options are specified, call dst.MarshalFrom instead. -func MarshalFrom(dst *Any, src proto.Message, opts proto.MarshalOptions) error { - const urlPrefix = "type.googleapis.com/" - if src == nil { - return protoimpl.X.NewError("invalid nil source message") - } - b, err := opts.Marshal(src) - if err != nil { - return err - } - dst.TypeUrl = urlPrefix + string(src.ProtoReflect().Descriptor().FullName()) - dst.Value = b - return nil -} - -// UnmarshalTo unmarshals the underlying message from src into dst -// using the provided unmarshal options. -// It reports an error if dst is not of the right message type. -// -// If no options are specified, call src.UnmarshalTo instead. -func UnmarshalTo(src *Any, dst proto.Message, opts proto.UnmarshalOptions) error { - if src == nil { - return protoimpl.X.NewError("invalid nil source message") - } - if !src.MessageIs(dst) { - got := dst.ProtoReflect().Descriptor().FullName() - want := src.MessageName() - return protoimpl.X.NewError("mismatched message type: got %q, want %q", got, want) - } - return opts.Unmarshal(src.GetValue(), dst) -} - -// UnmarshalNew unmarshals the underlying message from src into dst, -// which is newly created message using a type resolved from the type URL. -// The message type is resolved according to opt.Resolver, -// which should implement protoregistry.MessageTypeResolver. -// It reports an error if the underlying message type could not be resolved. -// -// If no options are specified, call src.UnmarshalNew instead. -func UnmarshalNew(src *Any, opts proto.UnmarshalOptions) (dst proto.Message, err error) { - if src.GetTypeUrl() == "" { - return nil, protoimpl.X.NewError("invalid empty type URL") - } - if opts.Resolver == nil { - opts.Resolver = protoregistry.GlobalTypes - } - r, ok := opts.Resolver.(protoregistry.MessageTypeResolver) - if !ok { - return nil, protoregistry.NotFound - } - mt, err := r.FindMessageByURL(src.GetTypeUrl()) - if err != nil { - if err == protoregistry.NotFound { - return nil, err - } - return nil, protoimpl.X.NewError("could not resolve %q: %v", src.GetTypeUrl(), err) - } - dst = mt.New().Interface() - return dst, opts.Unmarshal(src.GetValue(), dst) -} - -// MessageIs reports whether the underlying message is of the same type as m. -func (x *Any) MessageIs(m proto.Message) bool { - if m == nil { - return false - } - url := x.GetTypeUrl() - name := string(m.ProtoReflect().Descriptor().FullName()) - if !strings.HasSuffix(url, name) { - return false - } - return len(url) == len(name) || url[len(url)-len(name)-1] == '/' -} - -// MessageName reports the full name of the underlying message, -// returning an empty string if invalid. -func (x *Any) MessageName() protoreflect.FullName { - url := x.GetTypeUrl() - name := protoreflect.FullName(url) - if i := strings.LastIndexByte(url, '/'); i >= 0 { - name = name[i+len("/"):] - } - if !name.IsValid() { - return "" - } - return name -} - -// MarshalFrom marshals m into x as the underlying message. -func (x *Any) MarshalFrom(m proto.Message) error { - return MarshalFrom(x, m, proto.MarshalOptions{}) -} - -// UnmarshalTo unmarshals the contents of the underlying message of x into m. -// It resets m before performing the unmarshal operation. -// It reports an error if m is not of the right message type. -func (x *Any) UnmarshalTo(m proto.Message) error { - return UnmarshalTo(x, m, proto.UnmarshalOptions{}) -} - -// UnmarshalNew unmarshals the contents of the underlying message of x into -// a newly allocated message of the specified type. -// It reports an error if the underlying message type could not be resolved. -func (x *Any) UnmarshalNew() (proto.Message, error) { - return UnmarshalNew(x, proto.UnmarshalOptions{}) -} - -func (x *Any) Reset() { - *x = Any{} - if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_any_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Any) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Any) ProtoMessage() {} - -func (x *Any) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_any_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Any.ProtoReflect.Descriptor instead. -func (*Any) Descriptor() ([]byte, []int) { - return file_google_protobuf_any_proto_rawDescGZIP(), []int{0} -} - -func (x *Any) GetTypeUrl() string { - if x != nil { - return x.TypeUrl - } - return "" -} - -func (x *Any) GetValue() []byte { - if x != nil { - return x.Value - } - return nil -} - -var File_google_protobuf_any_proto protoreflect.FileDescriptor - -var file_google_protobuf_any_proto_rawDesc = []byte{ - 0x0a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x36, 0x0a, 0x03, - 0x41, 0x6e, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x42, 0x76, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x08, 0x41, 0x6e, 0x79, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x2f, - 0x61, 0x6e, 0x79, 0x70, 0x62, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e, 0x47, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, - 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_google_protobuf_any_proto_rawDescOnce sync.Once - file_google_protobuf_any_proto_rawDescData = file_google_protobuf_any_proto_rawDesc -) - -func file_google_protobuf_any_proto_rawDescGZIP() []byte { - file_google_protobuf_any_proto_rawDescOnce.Do(func() { - file_google_protobuf_any_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_any_proto_rawDescData) - }) - return file_google_protobuf_any_proto_rawDescData -} - -var file_google_protobuf_any_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_any_proto_goTypes = []interface{}{ - (*Any)(nil), // 0: google.protobuf.Any -} -var file_google_protobuf_any_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_google_protobuf_any_proto_init() } -func file_google_protobuf_any_proto_init() { - if File_google_protobuf_any_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_google_protobuf_any_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Any); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_any_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_protobuf_any_proto_goTypes, - DependencyIndexes: file_google_protobuf_any_proto_depIdxs, - MessageInfos: file_google_protobuf_any_proto_msgTypes, - }.Build() - File_google_protobuf_any_proto = out.File - file_google_protobuf_any_proto_rawDesc = nil - file_google_protobuf_any_proto_goTypes = nil - file_google_protobuf_any_proto_depIdxs = nil -} diff --git a/gen/go/google/protobuf/empty.pb.go b/gen/go/google/protobuf/empty.pb.go deleted file mode 100644 index e6f67ae5f..000000000 --- a/gen/go/google/protobuf/empty.pb.go +++ /dev/null @@ -1,176 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.32.0 -// protoc (unknown) -// source: google/protobuf/empty.proto - -package emptypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// A generic empty message that you can re-use to avoid defining duplicated -// empty messages in your APIs. A typical example is to use it as the request -// or the response type of an API method. For instance: -// -// service Foo { -// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); -// } -type Empty struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *Empty) Reset() { - *x = Empty{} - if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_empty_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Empty) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Empty) ProtoMessage() {} - -func (x *Empty) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_empty_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Empty.ProtoReflect.Descriptor instead. -func (*Empty) Descriptor() ([]byte, []int) { - return file_google_protobuf_empty_proto_rawDescGZIP(), []int{0} -} - -var File_google_protobuf_empty_proto protoreflect.FileDescriptor - -var file_google_protobuf_empty_proto_rawDesc = []byte{ - 0x0a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x07, - 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x7d, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x0a, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6b, - 0x6e, 0x6f, 0x77, 0x6e, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, - 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_google_protobuf_empty_proto_rawDescOnce sync.Once - file_google_protobuf_empty_proto_rawDescData = file_google_protobuf_empty_proto_rawDesc -) - -func file_google_protobuf_empty_proto_rawDescGZIP() []byte { - file_google_protobuf_empty_proto_rawDescOnce.Do(func() { - file_google_protobuf_empty_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_empty_proto_rawDescData) - }) - return file_google_protobuf_empty_proto_rawDescData -} - -var file_google_protobuf_empty_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_empty_proto_goTypes = []interface{}{ - (*Empty)(nil), // 0: google.protobuf.Empty -} -var file_google_protobuf_empty_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_google_protobuf_empty_proto_init() } -func file_google_protobuf_empty_proto_init() { - if File_google_protobuf_empty_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_google_protobuf_empty_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Empty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_empty_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_protobuf_empty_proto_goTypes, - DependencyIndexes: file_google_protobuf_empty_proto_depIdxs, - MessageInfos: file_google_protobuf_empty_proto_msgTypes, - }.Build() - File_google_protobuf_empty_proto = out.File - file_google_protobuf_empty_proto_rawDesc = nil - file_google_protobuf_empty_proto_goTypes = nil - file_google_protobuf_empty_proto_depIdxs = nil -} diff --git a/gen/go/google/protobuf/timestamp.pb.go b/gen/go/google/protobuf/timestamp.pb.go index 8409c2e62..356a049eb 100644 --- a/gen/go/google/protobuf/timestamp.pb.go +++ b/gen/go/google/protobuf/timestamp.pb.go @@ -30,7 +30,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) // source: google/protobuf/timestamp.proto diff --git a/gen/go/libs/events/v1/organization_events.pb.go b/gen/go/libs/events/v1/organization_events.pb.go new file mode 100644 index 000000000..a11474b6b --- /dev/null +++ b/gen/go/libs/events/v1/organization_events.pb.go @@ -0,0 +1,231 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc (unknown) +// source: libs/events/v1/organization_events.proto + +package events + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// TOPIC: ORGANIZATION_CREATED +type OrganizationCreatedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the id of the created organization + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // the id of the user that created the organization + UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` +} + +func (x *OrganizationCreatedEvent) Reset() { + *x = OrganizationCreatedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_events_v1_organization_events_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OrganizationCreatedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OrganizationCreatedEvent) ProtoMessage() {} + +func (x *OrganizationCreatedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_events_v1_organization_events_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OrganizationCreatedEvent.ProtoReflect.Descriptor instead. +func (*OrganizationCreatedEvent) Descriptor() ([]byte, []int) { + return file_libs_events_v1_organization_events_proto_rawDescGZIP(), []int{0} +} + +func (x *OrganizationCreatedEvent) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *OrganizationCreatedEvent) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +// TOPIC: ORGANIZATION_DELETED +type OrganizationDeletedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the id of the deleted organization + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *OrganizationDeletedEvent) Reset() { + *x = OrganizationDeletedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_events_v1_organization_events_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OrganizationDeletedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OrganizationDeletedEvent) ProtoMessage() {} + +func (x *OrganizationDeletedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_events_v1_organization_events_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OrganizationDeletedEvent.ProtoReflect.Descriptor instead. +func (*OrganizationDeletedEvent) Descriptor() ([]byte, []int) { + return file_libs_events_v1_organization_events_proto_rawDescGZIP(), []int{1} +} + +func (x *OrganizationDeletedEvent) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +var File_libs_events_v1_organization_events_proto protoreflect.FileDescriptor + +var file_libs_events_v1_organization_events_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, + 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6c, 0x69, 0x62, 0x73, + 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x43, 0x0a, 0x18, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, + 0x2a, 0x0a, 0x18, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x42, 0x9e, 0x01, 0x0a, 0x12, + 0x63, 0x6f, 0x6d, 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, + 0x76, 0x31, 0x42, 0x17, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x15, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0xa2, 0x02, 0x03, 0x4c, 0x45, 0x58, 0xaa, 0x02, 0x0e, 0x4c, 0x69, 0x62, + 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x4c, 0x69, + 0x62, 0x73, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x4c, + 0x69, 0x62, 0x73, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x4c, 0x69, 0x62, 0x73, + 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_libs_events_v1_organization_events_proto_rawDescOnce sync.Once + file_libs_events_v1_organization_events_proto_rawDescData = file_libs_events_v1_organization_events_proto_rawDesc +) + +func file_libs_events_v1_organization_events_proto_rawDescGZIP() []byte { + file_libs_events_v1_organization_events_proto_rawDescOnce.Do(func() { + file_libs_events_v1_organization_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_libs_events_v1_organization_events_proto_rawDescData) + }) + return file_libs_events_v1_organization_events_proto_rawDescData +} + +var file_libs_events_v1_organization_events_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_libs_events_v1_organization_events_proto_goTypes = []interface{}{ + (*OrganizationCreatedEvent)(nil), // 0: libs.events.v1.OrganizationCreatedEvent + (*OrganizationDeletedEvent)(nil), // 1: libs.events.v1.OrganizationDeletedEvent +} +var file_libs_events_v1_organization_events_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_libs_events_v1_organization_events_proto_init() } +func file_libs_events_v1_organization_events_proto_init() { + if File_libs_events_v1_organization_events_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_libs_events_v1_organization_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrganizationCreatedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_events_v1_organization_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrganizationDeletedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_libs_events_v1_organization_events_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_libs_events_v1_organization_events_proto_goTypes, + DependencyIndexes: file_libs_events_v1_organization_events_proto_depIdxs, + MessageInfos: file_libs_events_v1_organization_events_proto_msgTypes, + }.Build() + File_libs_events_v1_organization_events_proto = out.File + file_libs_events_v1_organization_events_proto_rawDesc = nil + file_libs_events_v1_organization_events_proto_goTypes = nil + file_libs_events_v1_organization_events_proto_depIdxs = nil +} diff --git a/gen/go/libs/events/v1/user_events.pb.go b/gen/go/libs/events/v1/user_events.pb.go new file mode 100644 index 000000000..e4acdf1a1 --- /dev/null +++ b/gen/go/libs/events/v1/user_events.pb.go @@ -0,0 +1,369 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc (unknown) +// source: libs/events/v1/user_events.proto + +package events + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// TOPIC: USER_REGISTERED +type UserRegisteredEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *UserRegisteredEvent) Reset() { + *x = UserRegisteredEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_events_v1_user_events_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserRegisteredEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserRegisteredEvent) ProtoMessage() {} + +func (x *UserRegisteredEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_events_v1_user_events_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserRegisteredEvent.ProtoReflect.Descriptor instead. +func (*UserRegisteredEvent) Descriptor() ([]byte, []int) { + return file_libs_events_v1_user_events_proto_rawDescGZIP(), []int{0} +} + +func (x *UserRegisteredEvent) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *UserRegisteredEvent) GetEmail() string { + if x != nil { + return x.Email + } + return "" +} + +func (x *UserRegisteredEvent) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *UserRegisteredEvent) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// TOPIC: USER_CREATED +type UserCreatedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *UserCreatedEvent) Reset() { + *x = UserCreatedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_events_v1_user_events_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCreatedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCreatedEvent) ProtoMessage() {} + +func (x *UserCreatedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_events_v1_user_events_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCreatedEvent.ProtoReflect.Descriptor instead. +func (*UserCreatedEvent) Descriptor() ([]byte, []int) { + return file_libs_events_v1_user_events_proto_rawDescGZIP(), []int{1} +} + +func (x *UserCreatedEvent) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *UserCreatedEvent) GetEmail() string { + if x != nil { + return x.Email + } + return "" +} + +func (x *UserCreatedEvent) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *UserCreatedEvent) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// TOPIC: USER_UPDATED +type UserUpdatedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"` + Nickname *string `protobuf:"bytes,3,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"` + Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"` +} + +func (x *UserUpdatedEvent) Reset() { + *x = UserUpdatedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_events_v1_user_events_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserUpdatedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserUpdatedEvent) ProtoMessage() {} + +func (x *UserUpdatedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_events_v1_user_events_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserUpdatedEvent.ProtoReflect.Descriptor instead. +func (*UserUpdatedEvent) Descriptor() ([]byte, []int) { + return file_libs_events_v1_user_events_proto_rawDescGZIP(), []int{2} +} + +func (x *UserUpdatedEvent) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *UserUpdatedEvent) GetEmail() string { + if x != nil && x.Email != nil { + return *x.Email + } + return "" +} + +func (x *UserUpdatedEvent) GetNickname() string { + if x != nil && x.Nickname != nil { + return *x.Nickname + } + return "" +} + +func (x *UserUpdatedEvent) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +var File_libs_events_v1_user_events_proto protoreflect.FileDescriptor + +var file_libs_events_v1_user_events_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x0e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, + 0x76, 0x31, 0x22, 0x6b, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x65, 0x72, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, + 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x68, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, + 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, + 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x10, 0x55, 0x73, + 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, + 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x6e, 0x69, 0x63, + 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, 0x6e, + 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x42, 0x0b, 0x0a, + 0x09, 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x42, 0x96, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x6c, 0x69, 0x62, 0x73, + 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x55, 0x73, 0x65, 0x72, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x15, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0xa2, 0x02, 0x03, 0x4c, 0x45, 0x58, 0xaa, 0x02, 0x0e, 0x4c, 0x69, 0x62, + 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x4c, 0x69, + 0x62, 0x73, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x4c, + 0x69, 0x62, 0x73, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x4c, 0x69, 0x62, 0x73, + 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_libs_events_v1_user_events_proto_rawDescOnce sync.Once + file_libs_events_v1_user_events_proto_rawDescData = file_libs_events_v1_user_events_proto_rawDesc +) + +func file_libs_events_v1_user_events_proto_rawDescGZIP() []byte { + file_libs_events_v1_user_events_proto_rawDescOnce.Do(func() { + file_libs_events_v1_user_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_libs_events_v1_user_events_proto_rawDescData) + }) + return file_libs_events_v1_user_events_proto_rawDescData +} + +var file_libs_events_v1_user_events_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_libs_events_v1_user_events_proto_goTypes = []interface{}{ + (*UserRegisteredEvent)(nil), // 0: libs.events.v1.UserRegisteredEvent + (*UserCreatedEvent)(nil), // 1: libs.events.v1.UserCreatedEvent + (*UserUpdatedEvent)(nil), // 2: libs.events.v1.UserUpdatedEvent +} +var file_libs_events_v1_user_events_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_libs_events_v1_user_events_proto_init() } +func file_libs_events_v1_user_events_proto_init() { + if File_libs_events_v1_user_events_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_libs_events_v1_user_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRegisteredEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_events_v1_user_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCreatedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_events_v1_user_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserUpdatedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_libs_events_v1_user_events_proto_msgTypes[2].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_libs_events_v1_user_events_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_libs_events_v1_user_events_proto_goTypes, + DependencyIndexes: file_libs_events_v1_user_events_proto_depIdxs, + MessageInfos: file_libs_events_v1_user_events_proto_msgTypes, + }.Build() + File_libs_events_v1_user_events_proto = out.File + file_libs_events_v1_user_events_proto_rawDesc = nil + file_libs_events_v1_user_events_proto_goTypes = nil + file_libs_events_v1_user_events_proto_depIdxs = nil +} diff --git a/gen/go/proto/libs/events/v1/organization_events.pb.go b/gen/go/proto/libs/events/v1/organization_events.pb.go deleted file mode 100644 index 372973325..000000000 --- a/gen/go/proto/libs/events/v1/organization_events.pb.go +++ /dev/null @@ -1,233 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.32.0 -// protoc (unknown) -// source: proto/libs/events/v1/organization_events.proto - -package events - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// TOPIC: ORGANIZATION_CREATED -type OrganizationCreatedEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // the id of the created organization - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // the id of the user that created the organization - UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` -} - -func (x *OrganizationCreatedEvent) Reset() { - *x = OrganizationCreatedEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_libs_events_v1_organization_events_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OrganizationCreatedEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OrganizationCreatedEvent) ProtoMessage() {} - -func (x *OrganizationCreatedEvent) ProtoReflect() protoreflect.Message { - mi := &file_proto_libs_events_v1_organization_events_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OrganizationCreatedEvent.ProtoReflect.Descriptor instead. -func (*OrganizationCreatedEvent) Descriptor() ([]byte, []int) { - return file_proto_libs_events_v1_organization_events_proto_rawDescGZIP(), []int{0} -} - -func (x *OrganizationCreatedEvent) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *OrganizationCreatedEvent) GetUserId() string { - if x != nil { - return x.UserId - } - return "" -} - -// TOPIC: ORGANIZATION_DELETED -type OrganizationDeletedEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // the id of the deleted organization - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *OrganizationDeletedEvent) Reset() { - *x = OrganizationDeletedEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_libs_events_v1_organization_events_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OrganizationDeletedEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OrganizationDeletedEvent) ProtoMessage() {} - -func (x *OrganizationDeletedEvent) ProtoReflect() protoreflect.Message { - mi := &file_proto_libs_events_v1_organization_events_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OrganizationDeletedEvent.ProtoReflect.Descriptor instead. -func (*OrganizationDeletedEvent) Descriptor() ([]byte, []int) { - return file_proto_libs_events_v1_organization_events_proto_rawDescGZIP(), []int{1} -} - -func (x *OrganizationDeletedEvent) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -var File_proto_libs_events_v1_organization_events_proto protoreflect.FileDescriptor - -var file_proto_libs_events_v1_organization_events_proto_rawDesc = []byte{ - 0x0a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x14, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x43, 0x0a, 0x18, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x2a, 0x0a, 0x18, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x42, 0xbd, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x15, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0xa2, 0x02, 0x03, 0x50, 0x4c, 0x45, 0xaa, 0x02, 0x14, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x62, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x2e, 0x56, 0x31, 0xca, 0x02, 0x14, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x4c, 0x69, 0x62, 0x73, - 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x20, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x5c, 0x4c, 0x69, 0x62, 0x73, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x4c, 0x69, 0x62, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_proto_libs_events_v1_organization_events_proto_rawDescOnce sync.Once - file_proto_libs_events_v1_organization_events_proto_rawDescData = file_proto_libs_events_v1_organization_events_proto_rawDesc -) - -func file_proto_libs_events_v1_organization_events_proto_rawDescGZIP() []byte { - file_proto_libs_events_v1_organization_events_proto_rawDescOnce.Do(func() { - file_proto_libs_events_v1_organization_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_libs_events_v1_organization_events_proto_rawDescData) - }) - return file_proto_libs_events_v1_organization_events_proto_rawDescData -} - -var file_proto_libs_events_v1_organization_events_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_proto_libs_events_v1_organization_events_proto_goTypes = []interface{}{ - (*OrganizationCreatedEvent)(nil), // 0: proto.libs.events.v1.OrganizationCreatedEvent - (*OrganizationDeletedEvent)(nil), // 1: proto.libs.events.v1.OrganizationDeletedEvent -} -var file_proto_libs_events_v1_organization_events_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_proto_libs_events_v1_organization_events_proto_init() } -func file_proto_libs_events_v1_organization_events_proto_init() { - if File_proto_libs_events_v1_organization_events_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_proto_libs_events_v1_organization_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrganizationCreatedEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_libs_events_v1_organization_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrganizationDeletedEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_libs_events_v1_organization_events_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_proto_libs_events_v1_organization_events_proto_goTypes, - DependencyIndexes: file_proto_libs_events_v1_organization_events_proto_depIdxs, - MessageInfos: file_proto_libs_events_v1_organization_events_proto_msgTypes, - }.Build() - File_proto_libs_events_v1_organization_events_proto = out.File - file_proto_libs_events_v1_organization_events_proto_rawDesc = nil - file_proto_libs_events_v1_organization_events_proto_goTypes = nil - file_proto_libs_events_v1_organization_events_proto_depIdxs = nil -} diff --git a/gen/go/proto/libs/events/v1/user_events.pb.go b/gen/go/proto/libs/events/v1/user_events.pb.go deleted file mode 100644 index cbcd48a63..000000000 --- a/gen/go/proto/libs/events/v1/user_events.pb.go +++ /dev/null @@ -1,371 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.32.0 -// protoc (unknown) -// source: proto/libs/events/v1/user_events.proto - -package events - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// TOPIC: USER_REGISTERED -type UserRegisteredEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *UserRegisteredEvent) Reset() { - *x = UserRegisteredEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_libs_events_v1_user_events_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserRegisteredEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserRegisteredEvent) ProtoMessage() {} - -func (x *UserRegisteredEvent) ProtoReflect() protoreflect.Message { - mi := &file_proto_libs_events_v1_user_events_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserRegisteredEvent.ProtoReflect.Descriptor instead. -func (*UserRegisteredEvent) Descriptor() ([]byte, []int) { - return file_proto_libs_events_v1_user_events_proto_rawDescGZIP(), []int{0} -} - -func (x *UserRegisteredEvent) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *UserRegisteredEvent) GetEmail() string { - if x != nil { - return x.Email - } - return "" -} - -func (x *UserRegisteredEvent) GetNickname() string { - if x != nil { - return x.Nickname - } - return "" -} - -func (x *UserRegisteredEvent) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -// TOPIC: USER_CREATED -type UserCreatedEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *UserCreatedEvent) Reset() { - *x = UserCreatedEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_libs_events_v1_user_events_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCreatedEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCreatedEvent) ProtoMessage() {} - -func (x *UserCreatedEvent) ProtoReflect() protoreflect.Message { - mi := &file_proto_libs_events_v1_user_events_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCreatedEvent.ProtoReflect.Descriptor instead. -func (*UserCreatedEvent) Descriptor() ([]byte, []int) { - return file_proto_libs_events_v1_user_events_proto_rawDescGZIP(), []int{1} -} - -func (x *UserCreatedEvent) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *UserCreatedEvent) GetEmail() string { - if x != nil { - return x.Email - } - return "" -} - -func (x *UserCreatedEvent) GetNickname() string { - if x != nil { - return x.Nickname - } - return "" -} - -func (x *UserCreatedEvent) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -// TOPIC: USER_UPDATED -type UserUpdatedEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"` - Nickname *string `protobuf:"bytes,3,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"` - Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"` -} - -func (x *UserUpdatedEvent) Reset() { - *x = UserUpdatedEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_libs_events_v1_user_events_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserUpdatedEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserUpdatedEvent) ProtoMessage() {} - -func (x *UserUpdatedEvent) ProtoReflect() protoreflect.Message { - mi := &file_proto_libs_events_v1_user_events_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserUpdatedEvent.ProtoReflect.Descriptor instead. -func (*UserUpdatedEvent) Descriptor() ([]byte, []int) { - return file_proto_libs_events_v1_user_events_proto_rawDescGZIP(), []int{2} -} - -func (x *UserUpdatedEvent) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *UserUpdatedEvent) GetEmail() string { - if x != nil && x.Email != nil { - return *x.Email - } - return "" -} - -func (x *UserUpdatedEvent) GetNickname() string { - if x != nil && x.Nickname != nil { - return *x.Nickname - } - return "" -} - -func (x *UserUpdatedEvent) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -var File_proto_libs_events_v1_user_events_proto protoreflect.FileDescriptor - -var file_proto_libs_events_v1_user_events_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x6b, - 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e, - 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, - 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x68, 0x0a, 0x10, 0x55, - 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x6d, - 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, - 0x69, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, - 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, - 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6e, 0x69, - 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, - 0xb5, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6c, 0x69, - 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x55, 0x73, - 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x15, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0xa2, 0x02, 0x03, 0x50, 0x4c, 0x45, 0xaa, 0x02, 0x14, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x62, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x2e, 0x56, 0x31, 0xca, 0x02, 0x14, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x4c, 0x69, 0x62, 0x73, - 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x20, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x5c, 0x4c, 0x69, 0x62, 0x73, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x4c, 0x69, 0x62, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_proto_libs_events_v1_user_events_proto_rawDescOnce sync.Once - file_proto_libs_events_v1_user_events_proto_rawDescData = file_proto_libs_events_v1_user_events_proto_rawDesc -) - -func file_proto_libs_events_v1_user_events_proto_rawDescGZIP() []byte { - file_proto_libs_events_v1_user_events_proto_rawDescOnce.Do(func() { - file_proto_libs_events_v1_user_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_libs_events_v1_user_events_proto_rawDescData) - }) - return file_proto_libs_events_v1_user_events_proto_rawDescData -} - -var file_proto_libs_events_v1_user_events_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_proto_libs_events_v1_user_events_proto_goTypes = []interface{}{ - (*UserRegisteredEvent)(nil), // 0: proto.libs.events.v1.UserRegisteredEvent - (*UserCreatedEvent)(nil), // 1: proto.libs.events.v1.UserCreatedEvent - (*UserUpdatedEvent)(nil), // 2: proto.libs.events.v1.UserUpdatedEvent -} -var file_proto_libs_events_v1_user_events_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_proto_libs_events_v1_user_events_proto_init() } -func file_proto_libs_events_v1_user_events_proto_init() { - if File_proto_libs_events_v1_user_events_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_proto_libs_events_v1_user_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserRegisteredEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_libs_events_v1_user_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCreatedEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_libs_events_v1_user_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserUpdatedEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_proto_libs_events_v1_user_events_proto_msgTypes[2].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_libs_events_v1_user_events_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_proto_libs_events_v1_user_events_proto_goTypes, - DependencyIndexes: file_proto_libs_events_v1_user_events_proto_depIdxs, - MessageInfos: file_proto_libs_events_v1_user_events_proto_msgTypes, - }.Build() - File_proto_libs_events_v1_user_events_proto = out.File - file_proto_libs_events_v1_user_events_proto_rawDesc = nil - file_proto_libs_events_v1_user_events_proto_goTypes = nil - file_proto_libs_events_v1_user_events_proto_depIdxs = nil -} diff --git a/gen/go/proto/services/auth_svc/v1/auth_svc.pb.go b/gen/go/proto/services/auth_svc/v1/auth_svc.pb.go deleted file mode 100644 index e8c857dab..000000000 --- a/gen/go/proto/services/auth_svc/v1/auth_svc.pb.go +++ /dev/null @@ -1,225 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.32.0 -// protoc (unknown) -// source: proto/services/auth_svc/v1/auth_svc.proto - -package auth_svc - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// More in the wiki -type PrelimAuthRequestRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *PrelimAuthRequestRequest) Reset() { - *x = PrelimAuthRequestRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_auth_svc_v1_auth_svc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PrelimAuthRequestRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PrelimAuthRequestRequest) ProtoMessage() {} - -func (x *PrelimAuthRequestRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_auth_svc_v1_auth_svc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PrelimAuthRequestRequest.ProtoReflect.Descriptor instead. -func (*PrelimAuthRequestRequest) Descriptor() ([]byte, []int) { - return file_proto_services_auth_svc_v1_auth_svc_proto_rawDescGZIP(), []int{0} -} - -type PrelimAuthRequestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // The Authorization Request URL including Client ID, Scopes and so on. Start the Auth Flow by redirecting here. - // State and PKCE should be populated by the client - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` -} - -func (x *PrelimAuthRequestResponse) Reset() { - *x = PrelimAuthRequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_auth_svc_v1_auth_svc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PrelimAuthRequestResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PrelimAuthRequestResponse) ProtoMessage() {} - -func (x *PrelimAuthRequestResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_auth_svc_v1_auth_svc_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PrelimAuthRequestResponse.ProtoReflect.Descriptor instead. -func (*PrelimAuthRequestResponse) Descriptor() ([]byte, []int) { - return file_proto_services_auth_svc_v1_auth_svc_proto_rawDescGZIP(), []int{1} -} - -func (x *PrelimAuthRequestResponse) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -var File_proto_services_auth_svc_v1_auth_svc_proto protoreflect.FileDescriptor - -var file_proto_services_auth_svc_v1_auth_svc_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, - 0x68, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x1a, 0x0a, 0x18, 0x50, 0x72, 0x65, 0x6c, 0x69, - 0x6d, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x2d, 0x0a, 0x19, 0x50, 0x72, 0x65, 0x6c, 0x69, 0x6d, 0x41, 0x75, 0x74, - 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, - 0x72, 0x6c, 0x32, 0x92, 0x01, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x65, 0x6c, 0x69, 0x6d, 0x41, 0x75, 0x74, - 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x6c, 0x69, 0x6d, 0x41, 0x75, 0x74, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x6c, - 0x69, 0x6d, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xd2, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, - 0x75, 0x74, 0x68, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x41, 0x75, 0x74, 0x68, - 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x61, - 0x75, 0x74, 0x68, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x41, 0xaa, 0x02, 0x19, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, - 0x75, 0x74, 0x68, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x53, - 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x25, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x53, 0x76, 0x63, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, - 0x3a, 0x41, 0x75, 0x74, 0x68, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_proto_services_auth_svc_v1_auth_svc_proto_rawDescOnce sync.Once - file_proto_services_auth_svc_v1_auth_svc_proto_rawDescData = file_proto_services_auth_svc_v1_auth_svc_proto_rawDesc -) - -func file_proto_services_auth_svc_v1_auth_svc_proto_rawDescGZIP() []byte { - file_proto_services_auth_svc_v1_auth_svc_proto_rawDescOnce.Do(func() { - file_proto_services_auth_svc_v1_auth_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_auth_svc_v1_auth_svc_proto_rawDescData) - }) - return file_proto_services_auth_svc_v1_auth_svc_proto_rawDescData -} - -var file_proto_services_auth_svc_v1_auth_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_proto_services_auth_svc_v1_auth_svc_proto_goTypes = []interface{}{ - (*PrelimAuthRequestRequest)(nil), // 0: proto.services.auth_svc.v1.PrelimAuthRequestRequest - (*PrelimAuthRequestResponse)(nil), // 1: proto.services.auth_svc.v1.PrelimAuthRequestResponse -} -var file_proto_services_auth_svc_v1_auth_svc_proto_depIdxs = []int32{ - 0, // 0: proto.services.auth_svc.v1.AuthService.PrelimAuthRequest:input_type -> proto.services.auth_svc.v1.PrelimAuthRequestRequest - 1, // 1: proto.services.auth_svc.v1.AuthService.PrelimAuthRequest:output_type -> proto.services.auth_svc.v1.PrelimAuthRequestResponse - 1, // [1:2] is the sub-list for method output_type - 0, // [0:1] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_proto_services_auth_svc_v1_auth_svc_proto_init() } -func file_proto_services_auth_svc_v1_auth_svc_proto_init() { - if File_proto_services_auth_svc_v1_auth_svc_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_proto_services_auth_svc_v1_auth_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrelimAuthRequestRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_services_auth_svc_v1_auth_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrelimAuthRequestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_auth_svc_v1_auth_svc_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_proto_services_auth_svc_v1_auth_svc_proto_goTypes, - DependencyIndexes: file_proto_services_auth_svc_v1_auth_svc_proto_depIdxs, - MessageInfos: file_proto_services_auth_svc_v1_auth_svc_proto_msgTypes, - }.Build() - File_proto_services_auth_svc_v1_auth_svc_proto = out.File - file_proto_services_auth_svc_v1_auth_svc_proto_rawDesc = nil - file_proto_services_auth_svc_v1_auth_svc_proto_goTypes = nil - file_proto_services_auth_svc_v1_auth_svc_proto_depIdxs = nil -} diff --git a/gen/go/proto/services/ory_svc/v1/ory_svc.pb.go b/gen/go/proto/services/ory_svc/v1/ory_svc.pb.go deleted file mode 100644 index aad3d1201..000000000 --- a/gen/go/proto/services/ory_svc/v1/ory_svc.pb.go +++ /dev/null @@ -1,279 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.32.0 -// protoc (unknown) -// source: proto/services/ory_svc/v1/ory_svc.proto - -package ory_svc - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type AfterRegistrationWebhookPayloadRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"userId" validate:"uuid4"` // @gotags: validate:"uuid4" json:"userId" - Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email" validate:"required,email"` // @gotags: validate:"required,email" json:"email" - Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname" validate:"required"` // @gotags: validate:"required" json:"nickname" - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name" validate:"required"` // @gotags: validate:"required" json:"name" -} - -func (x *AfterRegistrationWebhookPayloadRequest) Reset() { - *x = AfterRegistrationWebhookPayloadRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_ory_svc_v1_ory_svc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AfterRegistrationWebhookPayloadRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AfterRegistrationWebhookPayloadRequest) ProtoMessage() {} - -func (x *AfterRegistrationWebhookPayloadRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_ory_svc_v1_ory_svc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AfterRegistrationWebhookPayloadRequest.ProtoReflect.Descriptor instead. -func (*AfterRegistrationWebhookPayloadRequest) Descriptor() ([]byte, []int) { - return file_proto_services_ory_svc_v1_ory_svc_proto_rawDescGZIP(), []int{0} -} - -func (x *AfterRegistrationWebhookPayloadRequest) GetUserId() string { - if x != nil { - return x.UserId - } - return "" -} - -func (x *AfterRegistrationWebhookPayloadRequest) GetEmail() string { - if x != nil { - return x.Email - } - return "" -} - -func (x *AfterRegistrationWebhookPayloadRequest) GetNickname() string { - if x != nil { - return x.Nickname - } - return "" -} - -func (x *AfterRegistrationWebhookPayloadRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -type AfterSettingsWebhookPayload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"userId" validate:"uuid4"` // @gotags: validate:"uuid4" json:"userId" - Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email" validate:"required,email"` // @gotags: validate:"required,email" json:"email" - Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname" validate:"required"` // @gotags: validate:"required" json:"nickname" - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name" validate:"required"` // @gotags: validate:"required" json:"name" -} - -func (x *AfterSettingsWebhookPayload) Reset() { - *x = AfterSettingsWebhookPayload{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_ory_svc_v1_ory_svc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AfterSettingsWebhookPayload) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AfterSettingsWebhookPayload) ProtoMessage() {} - -func (x *AfterSettingsWebhookPayload) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_ory_svc_v1_ory_svc_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AfterSettingsWebhookPayload.ProtoReflect.Descriptor instead. -func (*AfterSettingsWebhookPayload) Descriptor() ([]byte, []int) { - return file_proto_services_ory_svc_v1_ory_svc_proto_rawDescGZIP(), []int{1} -} - -func (x *AfterSettingsWebhookPayload) GetUserId() string { - if x != nil { - return x.UserId - } - return "" -} - -func (x *AfterSettingsWebhookPayload) GetEmail() string { - if x != nil { - return x.Email - } - return "" -} - -func (x *AfterSettingsWebhookPayload) GetNickname() string { - if x != nil { - return x.Nickname - } - return "" -} - -func (x *AfterSettingsWebhookPayload) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -var File_proto_services_ory_svc_v1_ory_svc_proto protoreflect.FileDescriptor - -var file_proto_services_ory_svc_v1_ory_svc_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x79, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x22, 0x87, 0x01, 0x0a, 0x26, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, - 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, - 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x7c, - 0x0a, 0x1b, 0x41, 0x66, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x17, 0x0a, - 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, - 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xcb, 0x01, 0x0a, - 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0b, - 0x4f, 0x72, 0x79, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1a, 0x67, - 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2f, 0x6f, 0x72, 0x79, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x4f, 0xaa, - 0x02, 0x18, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x4f, 0x72, 0x79, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x18, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x4f, 0x72, 0x79, 0x53, - 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x24, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x4f, 0x72, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, - 0x4f, 0x72, 0x79, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_proto_services_ory_svc_v1_ory_svc_proto_rawDescOnce sync.Once - file_proto_services_ory_svc_v1_ory_svc_proto_rawDescData = file_proto_services_ory_svc_v1_ory_svc_proto_rawDesc -) - -func file_proto_services_ory_svc_v1_ory_svc_proto_rawDescGZIP() []byte { - file_proto_services_ory_svc_v1_ory_svc_proto_rawDescOnce.Do(func() { - file_proto_services_ory_svc_v1_ory_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_ory_svc_v1_ory_svc_proto_rawDescData) - }) - return file_proto_services_ory_svc_v1_ory_svc_proto_rawDescData -} - -var file_proto_services_ory_svc_v1_ory_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_proto_services_ory_svc_v1_ory_svc_proto_goTypes = []interface{}{ - (*AfterRegistrationWebhookPayloadRequest)(nil), // 0: proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest - (*AfterSettingsWebhookPayload)(nil), // 1: proto.services.ory_svc.v1.AfterSettingsWebhookPayload -} -var file_proto_services_ory_svc_v1_ory_svc_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_proto_services_ory_svc_v1_ory_svc_proto_init() } -func file_proto_services_ory_svc_v1_ory_svc_proto_init() { - if File_proto_services_ory_svc_v1_ory_svc_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_proto_services_ory_svc_v1_ory_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AfterRegistrationWebhookPayloadRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_services_ory_svc_v1_ory_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AfterSettingsWebhookPayload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_ory_svc_v1_ory_svc_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_proto_services_ory_svc_v1_ory_svc_proto_goTypes, - DependencyIndexes: file_proto_services_ory_svc_v1_ory_svc_proto_depIdxs, - MessageInfos: file_proto_services_ory_svc_v1_ory_svc_proto_msgTypes, - }.Build() - File_proto_services_ory_svc_v1_ory_svc_proto = out.File - file_proto_services_ory_svc_v1_ory_svc_proto_rawDesc = nil - file_proto_services_ory_svc_v1_ory_svc_proto_goTypes = nil - file_proto_services_ory_svc_v1_ory_svc_proto_depIdxs = nil -} diff --git a/gen/go/proto/services/property_svc/v1/property_set_svc.pb.go b/gen/go/proto/services/property_svc/v1/property_set_svc.pb.go deleted file mode 100644 index ef9ca6d09..000000000 --- a/gen/go/proto/services/property_svc/v1/property_set_svc.pb.go +++ /dev/null @@ -1,381 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.32.0 -// protoc (unknown) -// source: proto/services/property_svc/v1/property_set_svc.proto - -package property_svc - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// CreatePropertySet -type CreatePropertySetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *CreatePropertySetRequest) Reset() { - *x = CreatePropertySetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreatePropertySetRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreatePropertySetRequest) ProtoMessage() {} - -func (x *CreatePropertySetRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreatePropertySetRequest.ProtoReflect.Descriptor instead. -func (*CreatePropertySetRequest) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_set_svc_proto_rawDescGZIP(), []int{0} -} - -func (x *CreatePropertySetRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -type CreatePropertySetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *CreatePropertySetResponse) Reset() { - *x = CreatePropertySetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreatePropertySetResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreatePropertySetResponse) ProtoMessage() {} - -func (x *CreatePropertySetResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreatePropertySetResponse.ProtoReflect.Descriptor instead. -func (*CreatePropertySetResponse) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_set_svc_proto_rawDescGZIP(), []int{1} -} - -func (x *CreatePropertySetResponse) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type GetPropertySetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *GetPropertySetRequest) Reset() { - *x = GetPropertySetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetPropertySetRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetPropertySetRequest) ProtoMessage() {} - -func (x *GetPropertySetRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetPropertySetRequest.ProtoReflect.Descriptor instead. -func (*GetPropertySetRequest) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_set_svc_proto_rawDescGZIP(), []int{2} -} - -func (x *GetPropertySetRequest) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type GetPropertySetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *GetPropertySetResponse) Reset() { - *x = GetPropertySetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetPropertySetResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetPropertySetResponse) ProtoMessage() {} - -func (x *GetPropertySetResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetPropertySetResponse.ProtoReflect.Descriptor instead. -func (*GetPropertySetResponse) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_set_svc_proto_rawDescGZIP(), []int{3} -} - -func (x *GetPropertySetResponse) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *GetPropertySetResponse) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -var File_proto_services_property_svc_v1_property_set_svc_proto protoreflect.FileDescriptor - -var file_proto_services_property_svc_v1_property_set_svc_proto_rawDesc = []byte{ - 0x0a, 0x35, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, - 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x2e, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x22, 0x27, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3c, 0x0a, - 0x16, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xa5, 0x02, 0x0a, 0x12, - 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x12, 0x38, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x81, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, - 0x65, 0x74, 0x12, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, - 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x42, 0xf1, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x50, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x1f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2d, 0x73, - 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x50, 0xaa, 0x02, 0x1d, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1d, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x29, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x20, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, - 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_proto_services_property_svc_v1_property_set_svc_proto_rawDescOnce sync.Once - file_proto_services_property_svc_v1_property_set_svc_proto_rawDescData = file_proto_services_property_svc_v1_property_set_svc_proto_rawDesc -) - -func file_proto_services_property_svc_v1_property_set_svc_proto_rawDescGZIP() []byte { - file_proto_services_property_svc_v1_property_set_svc_proto_rawDescOnce.Do(func() { - file_proto_services_property_svc_v1_property_set_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_property_svc_v1_property_set_svc_proto_rawDescData) - }) - return file_proto_services_property_svc_v1_property_set_svc_proto_rawDescData -} - -var file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_proto_services_property_svc_v1_property_set_svc_proto_goTypes = []interface{}{ - (*CreatePropertySetRequest)(nil), // 0: proto.services.property_svc.v1.CreatePropertySetRequest - (*CreatePropertySetResponse)(nil), // 1: proto.services.property_svc.v1.CreatePropertySetResponse - (*GetPropertySetRequest)(nil), // 2: proto.services.property_svc.v1.GetPropertySetRequest - (*GetPropertySetResponse)(nil), // 3: proto.services.property_svc.v1.GetPropertySetResponse -} -var file_proto_services_property_svc_v1_property_set_svc_proto_depIdxs = []int32{ - 0, // 0: proto.services.property_svc.v1.PropertySetService.CreatePropertySet:input_type -> proto.services.property_svc.v1.CreatePropertySetRequest - 2, // 1: proto.services.property_svc.v1.PropertySetService.GetPropertySet:input_type -> proto.services.property_svc.v1.GetPropertySetRequest - 1, // 2: proto.services.property_svc.v1.PropertySetService.CreatePropertySet:output_type -> proto.services.property_svc.v1.CreatePropertySetResponse - 3, // 3: proto.services.property_svc.v1.PropertySetService.GetPropertySet:output_type -> proto.services.property_svc.v1.GetPropertySetResponse - 2, // [2:4] is the sub-list for method output_type - 0, // [0:2] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_proto_services_property_svc_v1_property_set_svc_proto_init() } -func file_proto_services_property_svc_v1_property_set_svc_proto_init() { - if File_proto_services_property_svc_v1_property_set_svc_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreatePropertySetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreatePropertySetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertySetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertySetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_property_svc_v1_property_set_svc_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_proto_services_property_svc_v1_property_set_svc_proto_goTypes, - DependencyIndexes: file_proto_services_property_svc_v1_property_set_svc_proto_depIdxs, - MessageInfos: file_proto_services_property_svc_v1_property_set_svc_proto_msgTypes, - }.Build() - File_proto_services_property_svc_v1_property_set_svc_proto = out.File - file_proto_services_property_svc_v1_property_set_svc_proto_rawDesc = nil - file_proto_services_property_svc_v1_property_set_svc_proto_goTypes = nil - file_proto_services_property_svc_v1_property_set_svc_proto_depIdxs = nil -} diff --git a/gen/go/proto/services/property_svc/v1/property_views_svc.pb.go b/gen/go/proto/services/property_svc/v1/property_views_svc.pb.go deleted file mode 100644 index 8a54b956d..000000000 --- a/gen/go/proto/services/property_svc/v1/property_views_svc.pb.go +++ /dev/null @@ -1,383 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.32.0 -// protoc (unknown) -// source: proto/services/property_svc/v1/property_views_svc.proto - -package property_svc - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type FilterUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // append property_id to the always_include list - // this means the property is shown, unless a more specific rule (including itself) - // puts it in its dont_always_include list - AppendToAlwaysInclude []string `protobuf:"bytes,1,rep,name=append_to_always_include,json=appendToAlwaysInclude,proto3" json:"append_to_always_include,omitempty" validate:"dive,uuid4"` // @gotags: validate:"dive,uuid4" - // remove property_id to the always_include list, also see append_to_always_include - RemoveFromAlwaysInclude []string `protobuf:"bytes,2,rep,name=remove_from_always_include,json=removeFromAlwaysInclude,proto3" json:"remove_from_always_include,omitempty" validate:"dive,uuid4"` // @gotags: validate:"dive,uuid4" - // append property_id to the dont_always_include list, also see append_to_always_include - AppendToDontAlwaysInclude []string `protobuf:"bytes,3,rep,name=append_to_dont_always_include,json=appendToDontAlwaysInclude,proto3" json:"append_to_dont_always_include,omitempty" validate:"dive,uuid4"` // @gotags: validate:"dive,uuid4" - // remove property_id to the dont_always_include list, also see append_to_always_include - RemoveFromDontAlwaysInclude []string `protobuf:"bytes,4,rep,name=remove_from_dont_always_include,json=removeFromDontAlwaysInclude,proto3" json:"remove_from_dont_always_include,omitempty" validate:"dive,uuid4"` // @gotags: validate:"dive,uuid4" -} - -func (x *FilterUpdate) Reset() { - *x = FilterUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FilterUpdate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FilterUpdate) ProtoMessage() {} - -func (x *FilterUpdate) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FilterUpdate.ProtoReflect.Descriptor instead. -func (*FilterUpdate) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_views_svc_proto_rawDescGZIP(), []int{0} -} - -func (x *FilterUpdate) GetAppendToAlwaysInclude() []string { - if x != nil { - return x.AppendToAlwaysInclude - } - return nil -} - -func (x *FilterUpdate) GetRemoveFromAlwaysInclude() []string { - if x != nil { - return x.RemoveFromAlwaysInclude - } - return nil -} - -func (x *FilterUpdate) GetAppendToDontAlwaysInclude() []string { - if x != nil { - return x.AppendToDontAlwaysInclude - } - return nil -} - -func (x *FilterUpdate) GetRemoveFromDontAlwaysInclude() []string { - if x != nil { - return x.RemoveFromDontAlwaysInclude - } - return nil -} - -type UpdatePropertyViewRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FilterUpdate *FilterUpdate `protobuf:"bytes,1,opt,name=filter_update,json=filterUpdate,proto3" json:"filter_update,omitempty" validate:"required"` // @gotags: validate:"required" - // Types that are assignable to Matcher: - // - // *UpdatePropertyViewRuleRequest_TaskMatcher - Matcher isUpdatePropertyViewRuleRequest_Matcher `protobuf_oneof:"matcher"` -} - -func (x *UpdatePropertyViewRuleRequest) Reset() { - *x = UpdatePropertyViewRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdatePropertyViewRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdatePropertyViewRuleRequest) ProtoMessage() {} - -func (x *UpdatePropertyViewRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdatePropertyViewRuleRequest.ProtoReflect.Descriptor instead. -func (*UpdatePropertyViewRuleRequest) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_views_svc_proto_rawDescGZIP(), []int{1} -} - -func (x *UpdatePropertyViewRuleRequest) GetFilterUpdate() *FilterUpdate { - if x != nil { - return x.FilterUpdate - } - return nil -} - -func (m *UpdatePropertyViewRuleRequest) GetMatcher() isUpdatePropertyViewRuleRequest_Matcher { - if m != nil { - return m.Matcher - } - return nil -} - -func (x *UpdatePropertyViewRuleRequest) GetTaskMatcher() *TaskPropertyMatcher { - if x, ok := x.GetMatcher().(*UpdatePropertyViewRuleRequest_TaskMatcher); ok { - return x.TaskMatcher - } - return nil -} - -type isUpdatePropertyViewRuleRequest_Matcher interface { - isUpdatePropertyViewRuleRequest_Matcher() -} - -type UpdatePropertyViewRuleRequest_TaskMatcher struct { - TaskMatcher *TaskPropertyMatcher `protobuf:"bytes,2,opt,name=task_matcher,json=taskMatcher,proto3,oneof"` -} - -func (*UpdatePropertyViewRuleRequest_TaskMatcher) isUpdatePropertyViewRuleRequest_Matcher() {} - -type UpdatePropertyViewRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *UpdatePropertyViewRuleResponse) Reset() { - *x = UpdatePropertyViewRuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdatePropertyViewRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdatePropertyViewRuleResponse) ProtoMessage() {} - -func (x *UpdatePropertyViewRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdatePropertyViewRuleResponse.ProtoReflect.Descriptor instead. -func (*UpdatePropertyViewRuleResponse) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_views_svc_proto_rawDescGZIP(), []int{2} -} - -var File_proto_services_property_svc_v1_property_views_svc_proto protoreflect.FileDescriptor - -var file_proto_services_property_svc_v1_property_views_svc_proto_rawDesc = []byte{ - 0x0a, 0x37, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, - 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x37, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x8c, 0x02, 0x0a, 0x0c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x12, 0x37, 0x0a, 0x18, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x6f, - 0x5f, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x41, - 0x6c, 0x77, 0x61, 0x79, 0x73, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x1a, - 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x6c, 0x77, 0x61, - 0x79, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x17, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x6c, 0x77, 0x61, - 0x79, 0x73, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x12, 0x40, 0x0a, 0x1d, 0x61, 0x70, 0x70, - 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x64, 0x6f, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x77, 0x61, - 0x79, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x19, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x74, 0x41, 0x6c, - 0x77, 0x61, 0x79, 0x73, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x12, 0x44, 0x0a, 0x1f, 0x72, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x64, 0x6f, 0x6e, 0x74, 0x5f, - 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x1b, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, - 0x44, 0x6f, 0x6e, 0x74, 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x22, 0xd7, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x56, 0x69, 0x65, 0x77, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x58, 0x0a, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6d, - 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, - 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, - 0x72, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, - 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x22, 0x20, 0x0a, 0x1e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x69, 0x65, - 0x77, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xb2, 0x01, - 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x69, 0x65, 0x77, 0x73, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x99, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x69, 0x65, 0x77, 0x52, 0x75, 0x6c, - 0x65, 0x12, 0x3d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x79, 0x56, 0x69, 0x65, 0x77, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x3e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, - 0x56, 0x69, 0x65, 0x77, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x42, 0xf3, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x15, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x56, 0x69, 0x65, 0x77, 0x73, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x1f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2d, - 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x50, 0xaa, 0x02, 0x1d, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1d, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x29, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x20, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x79, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_proto_services_property_svc_v1_property_views_svc_proto_rawDescOnce sync.Once - file_proto_services_property_svc_v1_property_views_svc_proto_rawDescData = file_proto_services_property_svc_v1_property_views_svc_proto_rawDesc -) - -func file_proto_services_property_svc_v1_property_views_svc_proto_rawDescGZIP() []byte { - file_proto_services_property_svc_v1_property_views_svc_proto_rawDescOnce.Do(func() { - file_proto_services_property_svc_v1_property_views_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_property_svc_v1_property_views_svc_proto_rawDescData) - }) - return file_proto_services_property_svc_v1_property_views_svc_proto_rawDescData -} - -var file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_proto_services_property_svc_v1_property_views_svc_proto_goTypes = []interface{}{ - (*FilterUpdate)(nil), // 0: proto.services.property_svc.v1.FilterUpdate - (*UpdatePropertyViewRuleRequest)(nil), // 1: proto.services.property_svc.v1.UpdatePropertyViewRuleRequest - (*UpdatePropertyViewRuleResponse)(nil), // 2: proto.services.property_svc.v1.UpdatePropertyViewRuleResponse - (*TaskPropertyMatcher)(nil), // 3: proto.services.property_svc.v1.TaskPropertyMatcher -} -var file_proto_services_property_svc_v1_property_views_svc_proto_depIdxs = []int32{ - 0, // 0: proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.filter_update:type_name -> proto.services.property_svc.v1.FilterUpdate - 3, // 1: proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.task_matcher:type_name -> proto.services.property_svc.v1.TaskPropertyMatcher - 1, // 2: proto.services.property_svc.v1.PropertyViewsService.UpdatePropertyViewRule:input_type -> proto.services.property_svc.v1.UpdatePropertyViewRuleRequest - 2, // 3: proto.services.property_svc.v1.PropertyViewsService.UpdatePropertyViewRule:output_type -> proto.services.property_svc.v1.UpdatePropertyViewRuleResponse - 3, // [3:4] is the sub-list for method output_type - 2, // [2:3] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_proto_services_property_svc_v1_property_views_svc_proto_init() } -func file_proto_services_property_svc_v1_property_views_svc_proto_init() { - if File_proto_services_property_svc_v1_property_views_svc_proto != nil { - return - } - file_proto_services_property_svc_v1_property_value_svc_proto_init() - if !protoimpl.UnsafeEnabled { - file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FilterUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdatePropertyViewRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdatePropertyViewRuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes[1].OneofWrappers = []interface{}{ - (*UpdatePropertyViewRuleRequest_TaskMatcher)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_property_svc_v1_property_views_svc_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_proto_services_property_svc_v1_property_views_svc_proto_goTypes, - DependencyIndexes: file_proto_services_property_svc_v1_property_views_svc_proto_depIdxs, - MessageInfos: file_proto_services_property_svc_v1_property_views_svc_proto_msgTypes, - }.Build() - File_proto_services_property_svc_v1_property_views_svc_proto = out.File - file_proto_services_property_svc_v1_property_views_svc_proto_rawDesc = nil - file_proto_services_property_svc_v1_property_views_svc_proto_goTypes = nil - file_proto_services_property_svc_v1_property_views_svc_proto_depIdxs = nil -} diff --git a/gen/go/proto/services/property_svc/v1/types.pb.go b/gen/go/proto/services/property_svc/v1/types.pb.go deleted file mode 100644 index 41eae8532..000000000 --- a/gen/go/proto/services/property_svc/v1/types.pb.go +++ /dev/null @@ -1,308 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.32.0 -// protoc (unknown) -// source: proto/services/property_svc/v1/types.proto - -package property_svc - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type SubjectType int32 - -const ( - SubjectType_SUBJECT_TYPE_UNSPECIFIED SubjectType = 0 - SubjectType_SUBJECT_TYPE_PATIENT SubjectType = 1 - SubjectType_SUBJECT_TYPE_TASK SubjectType = 2 -) - -// Enum value maps for SubjectType. -var ( - SubjectType_name = map[int32]string{ - 0: "SUBJECT_TYPE_UNSPECIFIED", - 1: "SUBJECT_TYPE_PATIENT", - 2: "SUBJECT_TYPE_TASK", - } - SubjectType_value = map[string]int32{ - "SUBJECT_TYPE_UNSPECIFIED": 0, - "SUBJECT_TYPE_PATIENT": 1, - "SUBJECT_TYPE_TASK": 2, - } -) - -func (x SubjectType) Enum() *SubjectType { - p := new(SubjectType) - *p = x - return p -} - -func (x SubjectType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SubjectType) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_property_svc_v1_types_proto_enumTypes[0].Descriptor() -} - -func (SubjectType) Type() protoreflect.EnumType { - return &file_proto_services_property_svc_v1_types_proto_enumTypes[0] -} - -func (x SubjectType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SubjectType.Descriptor instead. -func (SubjectType) EnumDescriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_types_proto_rawDescGZIP(), []int{0} -} - -type FieldType int32 - -const ( - FieldType_FIELD_TYPE_UNSPECIFIED FieldType = 0 - FieldType_FIELD_TYPE_TEXT FieldType = 1 - FieldType_FIELD_TYPE_NUMBER FieldType = 2 - FieldType_FIELD_TYPE_CHECKBOX FieldType = 3 - FieldType_FIELD_TYPE_DATE FieldType = 4 - FieldType_FIELD_TYPE_DATE_TIME FieldType = 5 - FieldType_FIELD_TYPE_SELECT FieldType = 6 -) - -// Enum value maps for FieldType. -var ( - FieldType_name = map[int32]string{ - 0: "FIELD_TYPE_UNSPECIFIED", - 1: "FIELD_TYPE_TEXT", - 2: "FIELD_TYPE_NUMBER", - 3: "FIELD_TYPE_CHECKBOX", - 4: "FIELD_TYPE_DATE", - 5: "FIELD_TYPE_DATE_TIME", - 6: "FIELD_TYPE_SELECT", - } - FieldType_value = map[string]int32{ - "FIELD_TYPE_UNSPECIFIED": 0, - "FIELD_TYPE_TEXT": 1, - "FIELD_TYPE_NUMBER": 2, - "FIELD_TYPE_CHECKBOX": 3, - "FIELD_TYPE_DATE": 4, - "FIELD_TYPE_DATE_TIME": 5, - "FIELD_TYPE_SELECT": 6, - } -) - -func (x FieldType) Enum() *FieldType { - p := new(FieldType) - *p = x - return p -} - -func (x FieldType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FieldType) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_property_svc_v1_types_proto_enumTypes[1].Descriptor() -} - -func (FieldType) Type() protoreflect.EnumType { - return &file_proto_services_property_svc_v1_types_proto_enumTypes[1] -} - -func (x FieldType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use FieldType.Descriptor instead. -func (FieldType) EnumDescriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_types_proto_rawDescGZIP(), []int{1} -} - -type Date struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Day int32 `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"` - Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` - Year int32 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"` -} - -func (x *Date) Reset() { - *x = Date{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_types_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Date) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Date) ProtoMessage() {} - -func (x *Date) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_types_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Date.ProtoReflect.Descriptor instead. -func (*Date) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_types_proto_rawDescGZIP(), []int{0} -} - -func (x *Date) GetDay() int32 { - if x != nil { - return x.Day - } - return 0 -} - -func (x *Date) GetMonth() int32 { - if x != nil { - return x.Month - } - return 0 -} - -func (x *Date) GetYear() int32 { - if x != nil { - return x.Year - } - return 0 -} - -var File_proto_services_property_svc_v1_types_proto protoreflect.FileDescriptor - -var file_proto_services_property_svc_v1_types_proto_rawDesc = []byte{ - 0x0a, 0x2a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, - 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x42, 0x0a, 0x04, - 0x44, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, - 0x79, 0x65, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x79, 0x65, 0x61, 0x72, - 0x2a, 0x5c, 0x0a, 0x0b, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x1c, 0x0a, 0x18, 0x53, 0x55, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, - 0x14, 0x53, 0x55, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x41, - 0x54, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x55, 0x42, 0x4a, 0x45, - 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x10, 0x02, 0x2a, 0xb2, - 0x01, 0x0a, 0x09, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, - 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x49, 0x45, 0x4c, - 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x15, 0x0a, - 0x11, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x55, 0x4d, 0x42, - 0x45, 0x52, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x42, 0x4f, 0x58, 0x10, 0x03, 0x12, 0x13, 0x0a, - 0x0f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x45, - 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x05, 0x12, 0x15, 0x0a, 0x11, - 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x45, 0x43, - 0x54, 0x10, 0x06, 0x42, 0xe8, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x54, 0x79, 0x70, 0x65, - 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x79, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x50, 0xaa, - 0x02, 0x1d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, - 0x02, 0x1d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, - 0x02, 0x29, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x20, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x50, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_proto_services_property_svc_v1_types_proto_rawDescOnce sync.Once - file_proto_services_property_svc_v1_types_proto_rawDescData = file_proto_services_property_svc_v1_types_proto_rawDesc -) - -func file_proto_services_property_svc_v1_types_proto_rawDescGZIP() []byte { - file_proto_services_property_svc_v1_types_proto_rawDescOnce.Do(func() { - file_proto_services_property_svc_v1_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_property_svc_v1_types_proto_rawDescData) - }) - return file_proto_services_property_svc_v1_types_proto_rawDescData -} - -var file_proto_services_property_svc_v1_types_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_proto_services_property_svc_v1_types_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_proto_services_property_svc_v1_types_proto_goTypes = []interface{}{ - (SubjectType)(0), // 0: proto.services.property_svc.v1.SubjectType - (FieldType)(0), // 1: proto.services.property_svc.v1.FieldType - (*Date)(nil), // 2: proto.services.property_svc.v1.Date -} -var file_proto_services_property_svc_v1_types_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_proto_services_property_svc_v1_types_proto_init() } -func file_proto_services_property_svc_v1_types_proto_init() { - if File_proto_services_property_svc_v1_types_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_proto_services_property_svc_v1_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Date); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_property_svc_v1_types_proto_rawDesc, - NumEnums: 2, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_proto_services_property_svc_v1_types_proto_goTypes, - DependencyIndexes: file_proto_services_property_svc_v1_types_proto_depIdxs, - EnumInfos: file_proto_services_property_svc_v1_types_proto_enumTypes, - MessageInfos: file_proto_services_property_svc_v1_types_proto_msgTypes, - }.Build() - File_proto_services_property_svc_v1_types_proto = out.File - file_proto_services_property_svc_v1_types_proto_rawDesc = nil - file_proto_services_property_svc_v1_types_proto_goTypes = nil - file_proto_services_property_svc_v1_types_proto_depIdxs = nil -} diff --git a/gen/go/services/auth_svc/v1/auth_svc.pb.go b/gen/go/services/auth_svc/v1/auth_svc.pb.go new file mode 100644 index 000000000..641f619e3 --- /dev/null +++ b/gen/go/services/auth_svc/v1/auth_svc.pb.go @@ -0,0 +1,221 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc (unknown) +// source: services/auth_svc/v1/auth_svc.proto + +package auth_svc + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// More in the wiki +type PrelimAuthRequestRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PrelimAuthRequestRequest) Reset() { + *x = PrelimAuthRequestRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_services_auth_svc_v1_auth_svc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrelimAuthRequestRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrelimAuthRequestRequest) ProtoMessage() {} + +func (x *PrelimAuthRequestRequest) ProtoReflect() protoreflect.Message { + mi := &file_services_auth_svc_v1_auth_svc_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrelimAuthRequestRequest.ProtoReflect.Descriptor instead. +func (*PrelimAuthRequestRequest) Descriptor() ([]byte, []int) { + return file_services_auth_svc_v1_auth_svc_proto_rawDescGZIP(), []int{0} +} + +type PrelimAuthRequestResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Authorization Request URL including Client ID, Scopes and so on. Start the Auth Flow by redirecting here. + // State and PKCE should be populated by the client + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` +} + +func (x *PrelimAuthRequestResponse) Reset() { + *x = PrelimAuthRequestResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_services_auth_svc_v1_auth_svc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrelimAuthRequestResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrelimAuthRequestResponse) ProtoMessage() {} + +func (x *PrelimAuthRequestResponse) ProtoReflect() protoreflect.Message { + mi := &file_services_auth_svc_v1_auth_svc_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrelimAuthRequestResponse.ProtoReflect.Descriptor instead. +func (*PrelimAuthRequestResponse) Descriptor() ([]byte, []int) { + return file_services_auth_svc_v1_auth_svc_proto_rawDescGZIP(), []int{1} +} + +func (x *PrelimAuthRequestResponse) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +var File_services_auth_svc_v1_auth_svc_proto protoreflect.FileDescriptor + +var file_services_auth_svc_v1_auth_svc_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x5f, + 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x1a, 0x0a, 0x18, 0x50, + 0x72, 0x65, 0x6c, 0x69, 0x6d, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2d, 0x0a, 0x19, 0x50, 0x72, 0x65, 0x6c, 0x69, + 0x6d, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x32, 0x85, 0x01, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x76, 0x0a, 0x11, 0x50, 0x72, 0x65, 0x6c, 0x69, 0x6d, + 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x6c, 0x69, 0x6d, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x6c, 0x69, 0x6d, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xb3, + 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x41, 0x75, 0x74, + 0x68, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, + 0x61, 0x75, 0x74, 0x68, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x41, 0x58, 0xaa, 0x02, + 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x53, 0x76, + 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, + 0x41, 0x75, 0x74, 0x68, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68, 0x53, 0x76, 0x63, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_services_auth_svc_v1_auth_svc_proto_rawDescOnce sync.Once + file_services_auth_svc_v1_auth_svc_proto_rawDescData = file_services_auth_svc_v1_auth_svc_proto_rawDesc +) + +func file_services_auth_svc_v1_auth_svc_proto_rawDescGZIP() []byte { + file_services_auth_svc_v1_auth_svc_proto_rawDescOnce.Do(func() { + file_services_auth_svc_v1_auth_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_auth_svc_v1_auth_svc_proto_rawDescData) + }) + return file_services_auth_svc_v1_auth_svc_proto_rawDescData +} + +var file_services_auth_svc_v1_auth_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_services_auth_svc_v1_auth_svc_proto_goTypes = []interface{}{ + (*PrelimAuthRequestRequest)(nil), // 0: services.auth_svc.v1.PrelimAuthRequestRequest + (*PrelimAuthRequestResponse)(nil), // 1: services.auth_svc.v1.PrelimAuthRequestResponse +} +var file_services_auth_svc_v1_auth_svc_proto_depIdxs = []int32{ + 0, // 0: services.auth_svc.v1.AuthService.PrelimAuthRequest:input_type -> services.auth_svc.v1.PrelimAuthRequestRequest + 1, // 1: services.auth_svc.v1.AuthService.PrelimAuthRequest:output_type -> services.auth_svc.v1.PrelimAuthRequestResponse + 1, // [1:2] is the sub-list for method output_type + 0, // [0:1] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_services_auth_svc_v1_auth_svc_proto_init() } +func file_services_auth_svc_v1_auth_svc_proto_init() { + if File_services_auth_svc_v1_auth_svc_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_services_auth_svc_v1_auth_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrelimAuthRequestRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_services_auth_svc_v1_auth_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrelimAuthRequestResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_services_auth_svc_v1_auth_svc_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_services_auth_svc_v1_auth_svc_proto_goTypes, + DependencyIndexes: file_services_auth_svc_v1_auth_svc_proto_depIdxs, + MessageInfos: file_services_auth_svc_v1_auth_svc_proto_msgTypes, + }.Build() + File_services_auth_svc_v1_auth_svc_proto = out.File + file_services_auth_svc_v1_auth_svc_proto_rawDesc = nil + file_services_auth_svc_v1_auth_svc_proto_goTypes = nil + file_services_auth_svc_v1_auth_svc_proto_depIdxs = nil +} diff --git a/gen/go/proto/services/auth_svc/v1/auth_svc_grpc.pb.go b/gen/go/services/auth_svc/v1/auth_svc_grpc.pb.go similarity index 89% rename from gen/go/proto/services/auth_svc/v1/auth_svc_grpc.pb.go rename to gen/go/services/auth_svc/v1/auth_svc_grpc.pb.go index 77bfe24d0..06eb3c287 100644 --- a/gen/go/proto/services/auth_svc/v1/auth_svc_grpc.pb.go +++ b/gen/go/services/auth_svc/v1/auth_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/auth_svc/v1/auth_svc.proto +// source: services/auth_svc/v1/auth_svc.proto package auth_svc @@ -15,11 +15,11 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - AuthService_PrelimAuthRequest_FullMethodName = "/proto.services.auth_svc.v1.AuthService/PrelimAuthRequest" + AuthService_PrelimAuthRequest_FullMethodName = "/services.auth_svc.v1.AuthService/PrelimAuthRequest" ) // AuthServiceClient is the client API for AuthService service. @@ -38,8 +38,9 @@ func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient { } func (c *authServiceClient) PrelimAuthRequest(ctx context.Context, in *PrelimAuthRequestRequest, opts ...grpc.CallOption) (*PrelimAuthRequestResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PrelimAuthRequestResponse) - err := c.cc.Invoke(ctx, AuthService_PrelimAuthRequest_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, AuthService_PrelimAuthRequest_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -96,7 +97,7 @@ func _AuthService_PrelimAuthRequest_Handler(srv interface{}, ctx context.Context // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var AuthService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.auth_svc.v1.AuthService", + ServiceName: "services.auth_svc.v1.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -105,5 +106,5 @@ var AuthService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/auth_svc/v1/auth_svc.proto", + Metadata: "services/auth_svc/v1/auth_svc.proto", } diff --git a/gen/go/proto/services/impulse_svc/v1/impulse_svc.pb.go b/gen/go/services/impulse_svc/v1/impulse_svc.pb.go similarity index 56% rename from gen/go/proto/services/impulse_svc/v1/impulse_svc.pb.go rename to gen/go/services/impulse_svc/v1/impulse_svc.pb.go index a0edda2ae..5efb618f8 100644 --- a/gen/go/proto/services/impulse_svc/v1/impulse_svc.pb.go +++ b/gen/go/services/impulse_svc/v1/impulse_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/impulse_svc/v1/impulse_svc.proto +// source: services/impulse_svc/v1/impulse_svc.proto package impulse_svc @@ -53,11 +53,11 @@ func (x ChallengeType) String() string { } func (ChallengeType) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes[0].Descriptor() + return file_services_impulse_svc_v1_impulse_svc_proto_enumTypes[0].Descriptor() } func (ChallengeType) Type() protoreflect.EnumType { - return &file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes[0] + return &file_services_impulse_svc_v1_impulse_svc_proto_enumTypes[0] } func (x ChallengeType) Number() protoreflect.EnumNumber { @@ -66,7 +66,7 @@ func (x ChallengeType) Number() protoreflect.EnumNumber { // Deprecated: Use ChallengeType.Descriptor instead. func (ChallengeType) EnumDescriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{0} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{0} } type ChallengeCategory int32 @@ -102,11 +102,11 @@ func (x ChallengeCategory) String() string { } func (ChallengeCategory) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes[1].Descriptor() + return file_services_impulse_svc_v1_impulse_svc_proto_enumTypes[1].Descriptor() } func (ChallengeCategory) Type() protoreflect.EnumType { - return &file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes[1] + return &file_services_impulse_svc_v1_impulse_svc_proto_enumTypes[1] } func (x ChallengeCategory) Number() protoreflect.EnumNumber { @@ -115,7 +115,7 @@ func (x ChallengeCategory) Number() protoreflect.EnumNumber { // Deprecated: Use ChallengeCategory.Descriptor instead. func (ChallengeCategory) EnumDescriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{1} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{1} } type Gender int32 @@ -154,11 +154,11 @@ func (x Gender) String() string { } func (Gender) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes[2].Descriptor() + return file_services_impulse_svc_v1_impulse_svc_proto_enumTypes[2].Descriptor() } func (Gender) Type() protoreflect.EnumType { - return &file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes[2] + return &file_services_impulse_svc_v1_impulse_svc_proto_enumTypes[2] } func (x Gender) Number() protoreflect.EnumNumber { @@ -167,7 +167,7 @@ func (x Gender) Number() protoreflect.EnumNumber { // Deprecated: Use Gender.Descriptor instead. func (Gender) EnumDescriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{2} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{2} } type StringVerificationType int32 @@ -200,11 +200,11 @@ func (x StringVerificationType) String() string { } func (StringVerificationType) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes[3].Descriptor() + return file_services_impulse_svc_v1_impulse_svc_proto_enumTypes[3].Descriptor() } func (StringVerificationType) Type() protoreflect.EnumType { - return &file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes[3] + return &file_services_impulse_svc_v1_impulse_svc_proto_enumTypes[3] } func (x StringVerificationType) Number() protoreflect.EnumNumber { @@ -213,7 +213,7 @@ func (x StringVerificationType) Number() protoreflect.EnumNumber { // Deprecated: Use StringVerificationType.Descriptor instead. func (StringVerificationType) EnumDescriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{3} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{3} } type IntegerVerificationType int32 @@ -249,11 +249,11 @@ func (x IntegerVerificationType) String() string { } func (IntegerVerificationType) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes[4].Descriptor() + return file_services_impulse_svc_v1_impulse_svc_proto_enumTypes[4].Descriptor() } func (IntegerVerificationType) Type() protoreflect.EnumType { - return &file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes[4] + return &file_services_impulse_svc_v1_impulse_svc_proto_enumTypes[4] } func (x IntegerVerificationType) Number() protoreflect.EnumNumber { @@ -262,7 +262,7 @@ func (x IntegerVerificationType) Number() protoreflect.EnumNumber { // Deprecated: Use IntegerVerificationType.Descriptor instead. func (IntegerVerificationType) EnumDescriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{4} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{4} } type CreateUserRequest struct { @@ -271,7 +271,7 @@ type CreateUserRequest struct { unknownFields protoimpl.UnknownFields Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - Gender Gender `protobuf:"varint,2,opt,name=gender,proto3,enum=proto.services.impulse_svc.v1.Gender" json:"gender,omitempty"` + Gender Gender `protobuf:"varint,2,opt,name=gender,proto3,enum=services.impulse_svc.v1.Gender" json:"gender,omitempty"` Birthday string `protobuf:"bytes,3,opt,name=birthday,proto3" json:"birthday,omitempty"` Pal float32 `protobuf:"fixed32,4,opt,name=pal,proto3" json:"pal,omitempty"` Length int32 `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"` @@ -281,7 +281,7 @@ type CreateUserRequest struct { func (x *CreateUserRequest) Reset() { *x = CreateUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[0] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -294,7 +294,7 @@ func (x *CreateUserRequest) String() string { func (*CreateUserRequest) ProtoMessage() {} func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[0] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -307,7 +307,7 @@ func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead. func (*CreateUserRequest) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{0} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{0} } func (x *CreateUserRequest) GetUsername() string { @@ -363,7 +363,7 @@ type CreateUserResponse struct { func (x *CreateUserResponse) Reset() { *x = CreateUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[1] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -376,7 +376,7 @@ func (x *CreateUserResponse) String() string { func (*CreateUserResponse) ProtoMessage() {} func (x *CreateUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[1] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -389,7 +389,7 @@ func (x *CreateUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead. func (*CreateUserResponse) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{1} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{1} } func (x *CreateUserResponse) GetUserId() string { @@ -406,7 +406,7 @@ type UpdateUserRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TeamId *string `protobuf:"bytes,2,opt,name=team_id,json=teamId,proto3,oneof" json:"team_id,omitempty"` - Gender *Gender `protobuf:"varint,3,opt,name=gender,proto3,enum=proto.services.impulse_svc.v1.Gender,oneof" json:"gender,omitempty"` + Gender *Gender `protobuf:"varint,3,opt,name=gender,proto3,enum=services.impulse_svc.v1.Gender,oneof" json:"gender,omitempty"` Birthday *string `protobuf:"bytes,4,opt,name=birthday,proto3,oneof" json:"birthday,omitempty"` Pal *float32 `protobuf:"fixed32,5,opt,name=pal,proto3,oneof" json:"pal,omitempty"` Length *int32 `protobuf:"varint,6,opt,name=length,proto3,oneof" json:"length,omitempty"` @@ -416,7 +416,7 @@ type UpdateUserRequest struct { func (x *UpdateUserRequest) Reset() { *x = UpdateUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[2] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -429,7 +429,7 @@ func (x *UpdateUserRequest) String() string { func (*UpdateUserRequest) ProtoMessage() {} func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[2] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -442,7 +442,7 @@ func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead. func (*UpdateUserRequest) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{2} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{2} } func (x *UpdateUserRequest) GetUserId() string { @@ -501,7 +501,7 @@ type UpdateUserResponse struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TeamId *string `protobuf:"bytes,2,opt,name=team_id,json=teamId,proto3,oneof" json:"team_id,omitempty"` - Gender Gender `protobuf:"varint,3,opt,name=gender,proto3,enum=proto.services.impulse_svc.v1.Gender" json:"gender,omitempty"` + Gender Gender `protobuf:"varint,3,opt,name=gender,proto3,enum=services.impulse_svc.v1.Gender" json:"gender,omitempty"` Birthday string `protobuf:"bytes,4,opt,name=birthday,proto3" json:"birthday,omitempty"` Pal float32 `protobuf:"fixed32,5,opt,name=pal,proto3" json:"pal,omitempty"` Length int32 `protobuf:"varint,6,opt,name=length,proto3" json:"length,omitempty"` @@ -511,7 +511,7 @@ type UpdateUserResponse struct { func (x *UpdateUserResponse) Reset() { *x = UpdateUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[3] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -524,7 +524,7 @@ func (x *UpdateUserResponse) String() string { func (*UpdateUserResponse) ProtoMessage() {} func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[3] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -537,7 +537,7 @@ func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead. func (*UpdateUserResponse) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{3} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{3} } func (x *UpdateUserResponse) GetUserId() string { @@ -598,7 +598,7 @@ type GetAllTeamsRequest struct { func (x *GetAllTeamsRequest) Reset() { *x = GetAllTeamsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[4] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -611,7 +611,7 @@ func (x *GetAllTeamsRequest) String() string { func (*GetAllTeamsRequest) ProtoMessage() {} func (x *GetAllTeamsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[4] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -624,7 +624,7 @@ func (x *GetAllTeamsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAllTeamsRequest.ProtoReflect.Descriptor instead. func (*GetAllTeamsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{4} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{4} } type GetAllTeamsResponse struct { @@ -638,7 +638,7 @@ type GetAllTeamsResponse struct { func (x *GetAllTeamsResponse) Reset() { *x = GetAllTeamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[5] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -651,7 +651,7 @@ func (x *GetAllTeamsResponse) String() string { func (*GetAllTeamsResponse) ProtoMessage() {} func (x *GetAllTeamsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[5] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -664,7 +664,7 @@ func (x *GetAllTeamsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAllTeamsResponse.ProtoReflect.Descriptor instead. func (*GetAllTeamsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{5} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{5} } func (x *GetAllTeamsResponse) GetTeams() []*GetAllTeamsResponse_Team { @@ -688,7 +688,7 @@ type TrackChallengeRequest struct { func (x *TrackChallengeRequest) Reset() { *x = TrackChallengeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[6] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -701,7 +701,7 @@ func (x *TrackChallengeRequest) String() string { func (*TrackChallengeRequest) ProtoMessage() {} func (x *TrackChallengeRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[6] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -714,7 +714,7 @@ func (x *TrackChallengeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TrackChallengeRequest.ProtoReflect.Descriptor instead. func (*TrackChallengeRequest) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{6} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{6} } func (x *TrackChallengeRequest) GetChallengeId() string { @@ -756,7 +756,7 @@ type TrackChallengeResponse struct { func (x *TrackChallengeResponse) Reset() { *x = TrackChallengeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[7] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -769,7 +769,7 @@ func (x *TrackChallengeResponse) String() string { func (*TrackChallengeResponse) ProtoMessage() {} func (x *TrackChallengeResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[7] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -782,7 +782,7 @@ func (x *TrackChallengeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TrackChallengeResponse.ProtoReflect.Descriptor instead. func (*TrackChallengeResponse) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{7} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{7} } func (x *TrackChallengeResponse) GetChallengeId() string { @@ -801,7 +801,7 @@ type GetActiveChallengesRequest struct { func (x *GetActiveChallengesRequest) Reset() { *x = GetActiveChallengesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[8] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -814,7 +814,7 @@ func (x *GetActiveChallengesRequest) String() string { func (*GetActiveChallengesRequest) ProtoMessage() {} func (x *GetActiveChallengesRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[8] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -827,7 +827,7 @@ func (x *GetActiveChallengesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetActiveChallengesRequest.ProtoReflect.Descriptor instead. func (*GetActiveChallengesRequest) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{8} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{8} } type GetActiveChallengesResponse struct { @@ -841,7 +841,7 @@ type GetActiveChallengesResponse struct { func (x *GetActiveChallengesResponse) Reset() { *x = GetActiveChallengesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[9] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -854,7 +854,7 @@ func (x *GetActiveChallengesResponse) String() string { func (*GetActiveChallengesResponse) ProtoMessage() {} func (x *GetActiveChallengesResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[9] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -867,7 +867,7 @@ func (x *GetActiveChallengesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetActiveChallengesResponse.ProtoReflect.Descriptor instead. func (*GetActiveChallengesResponse) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{9} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{9} } func (x *GetActiveChallengesResponse) GetChallenges() []*GetActiveChallengesResponse_Challenge { @@ -887,7 +887,7 @@ type UpdateChallengeRequest struct { Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` StartAt *string `protobuf:"bytes,4,opt,name=start_at,json=startAt,proto3,oneof" json:"start_at,omitempty"` EndAt *string `protobuf:"bytes,5,opt,name=end_at,json=endAt,proto3,oneof" json:"end_at,omitempty"` - Category *ChallengeCategory `protobuf:"varint,6,opt,name=category,proto3,enum=proto.services.impulse_svc.v1.ChallengeCategory,oneof" json:"category,omitempty"` + Category *ChallengeCategory `protobuf:"varint,6,opt,name=category,proto3,enum=services.impulse_svc.v1.ChallengeCategory,oneof" json:"category,omitempty"` Threshold *uint64 `protobuf:"varint,7,opt,name=threshold,proto3,oneof" json:"threshold,omitempty"` Points *uint64 `protobuf:"varint,8,opt,name=points,proto3,oneof" json:"points,omitempty"` Unit *string `protobuf:"bytes,9,opt,name=unit,proto3,oneof" json:"unit,omitempty"` @@ -896,7 +896,7 @@ type UpdateChallengeRequest struct { func (x *UpdateChallengeRequest) Reset() { *x = UpdateChallengeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[10] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -909,7 +909,7 @@ func (x *UpdateChallengeRequest) String() string { func (*UpdateChallengeRequest) ProtoMessage() {} func (x *UpdateChallengeRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[10] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -922,7 +922,7 @@ func (x *UpdateChallengeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateChallengeRequest.ProtoReflect.Descriptor instead. func (*UpdateChallengeRequest) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{10} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{10} } func (x *UpdateChallengeRequest) GetChallengeId() string { @@ -998,8 +998,8 @@ type UpdateChallengeResponse struct { Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` StartAt string `protobuf:"bytes,4,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"` EndAt string `protobuf:"bytes,5,opt,name=end_at,json=endAt,proto3" json:"end_at,omitempty"` - Category ChallengeCategory `protobuf:"varint,6,opt,name=category,proto3,enum=proto.services.impulse_svc.v1.ChallengeCategory" json:"category,omitempty"` - Type ChallengeType `protobuf:"varint,7,opt,name=type,proto3,enum=proto.services.impulse_svc.v1.ChallengeType" json:"type,omitempty"` + Category ChallengeCategory `protobuf:"varint,6,opt,name=category,proto3,enum=services.impulse_svc.v1.ChallengeCategory" json:"category,omitempty"` + Type ChallengeType `protobuf:"varint,7,opt,name=type,proto3,enum=services.impulse_svc.v1.ChallengeType" json:"type,omitempty"` Threshold uint64 `protobuf:"varint,8,opt,name=threshold,proto3" json:"threshold,omitempty"` Points uint64 `protobuf:"varint,9,opt,name=points,proto3" json:"points,omitempty"` Unit string `protobuf:"bytes,10,opt,name=unit,proto3" json:"unit,omitempty"` @@ -1008,7 +1008,7 @@ type UpdateChallengeResponse struct { func (x *UpdateChallengeResponse) Reset() { *x = UpdateChallengeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[11] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1021,7 +1021,7 @@ func (x *UpdateChallengeResponse) String() string { func (*UpdateChallengeResponse) ProtoMessage() {} func (x *UpdateChallengeResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[11] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1034,7 +1034,7 @@ func (x *UpdateChallengeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateChallengeResponse.ProtoReflect.Descriptor instead. func (*UpdateChallengeResponse) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{11} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{11} } func (x *UpdateChallengeResponse) GetChallengeId() string { @@ -1118,7 +1118,7 @@ type GetScoreRequest struct { func (x *GetScoreRequest) Reset() { *x = GetScoreRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[12] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1131,7 +1131,7 @@ func (x *GetScoreRequest) String() string { func (*GetScoreRequest) ProtoMessage() {} func (x *GetScoreRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[12] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1144,7 +1144,7 @@ func (x *GetScoreRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetScoreRequest.ProtoReflect.Descriptor instead. func (*GetScoreRequest) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{12} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{12} } func (x *GetScoreRequest) GetUserId() string { @@ -1165,7 +1165,7 @@ type GetScoreResponse struct { func (x *GetScoreResponse) Reset() { *x = GetScoreResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[13] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1178,7 +1178,7 @@ func (x *GetScoreResponse) String() string { func (*GetScoreResponse) ProtoMessage() {} func (x *GetScoreResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[13] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1191,7 +1191,7 @@ func (x *GetScoreResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetScoreResponse.ProtoReflect.Descriptor instead. func (*GetScoreResponse) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{13} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{13} } func (x *GetScoreResponse) GetScore() uint64 { @@ -1212,7 +1212,7 @@ type GetRewardsRequest struct { func (x *GetRewardsRequest) Reset() { *x = GetRewardsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[14] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1225,7 +1225,7 @@ func (x *GetRewardsRequest) String() string { func (*GetRewardsRequest) ProtoMessage() {} func (x *GetRewardsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[14] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1238,7 +1238,7 @@ func (x *GetRewardsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRewardsRequest.ProtoReflect.Descriptor instead. func (*GetRewardsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{14} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{14} } func (x *GetRewardsRequest) GetUserId() string { @@ -1259,7 +1259,7 @@ type GetRewardsResponse struct { func (x *GetRewardsResponse) Reset() { *x = GetRewardsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[15] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1272,7 +1272,7 @@ func (x *GetRewardsResponse) String() string { func (*GetRewardsResponse) ProtoMessage() {} func (x *GetRewardsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[15] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1285,7 +1285,7 @@ func (x *GetRewardsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRewardsResponse.ProtoReflect.Descriptor instead. func (*GetRewardsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{15} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{15} } func (x *GetRewardsResponse) GetRewards() []*GetRewardsResponse_Reward { @@ -1304,7 +1304,7 @@ type GetAllRewardsRequest struct { func (x *GetAllRewardsRequest) Reset() { *x = GetAllRewardsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[16] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1317,7 +1317,7 @@ func (x *GetAllRewardsRequest) String() string { func (*GetAllRewardsRequest) ProtoMessage() {} func (x *GetAllRewardsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[16] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1330,7 +1330,7 @@ func (x *GetAllRewardsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAllRewardsRequest.ProtoReflect.Descriptor instead. func (*GetAllRewardsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{16} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{16} } type GetAllRewardsResponse struct { @@ -1344,7 +1344,7 @@ type GetAllRewardsResponse struct { func (x *GetAllRewardsResponse) Reset() { *x = GetAllRewardsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[17] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1357,7 +1357,7 @@ func (x *GetAllRewardsResponse) String() string { func (*GetAllRewardsResponse) ProtoMessage() {} func (x *GetAllRewardsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[17] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1370,7 +1370,7 @@ func (x *GetAllRewardsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAllRewardsResponse.ProtoReflect.Descriptor instead. func (*GetAllRewardsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{17} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{17} } func (x *GetAllRewardsResponse) GetRewards() []*GetAllRewardsResponse_Reward { @@ -1391,7 +1391,7 @@ type StatsForTeamByUserRequest struct { func (x *StatsForTeamByUserRequest) Reset() { *x = StatsForTeamByUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[18] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1404,7 +1404,7 @@ func (x *StatsForTeamByUserRequest) String() string { func (*StatsForTeamByUserRequest) ProtoMessage() {} func (x *StatsForTeamByUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[18] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1417,7 +1417,7 @@ func (x *StatsForTeamByUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StatsForTeamByUserRequest.ProtoReflect.Descriptor instead. func (*StatsForTeamByUserRequest) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{18} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{18} } func (x *StatsForTeamByUserRequest) GetUserId() string { @@ -1442,7 +1442,7 @@ type StatsForTeamByUserResponse struct { func (x *StatsForTeamByUserResponse) Reset() { *x = StatsForTeamByUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[19] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1455,7 +1455,7 @@ func (x *StatsForTeamByUserResponse) String() string { func (*StatsForTeamByUserResponse) ProtoMessage() {} func (x *StatsForTeamByUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[19] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1468,7 +1468,7 @@ func (x *StatsForTeamByUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StatsForTeamByUserResponse.ProtoReflect.Descriptor instead. func (*StatsForTeamByUserResponse) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{19} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{19} } func (x *StatsForTeamByUserResponse) GetTeamId() string { @@ -1517,7 +1517,7 @@ type VerificationRequest struct { func (x *VerificationRequest) Reset() { *x = VerificationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[20] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1530,7 +1530,7 @@ func (x *VerificationRequest) String() string { func (*VerificationRequest) ProtoMessage() {} func (x *VerificationRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[20] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1543,7 +1543,7 @@ func (x *VerificationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use VerificationRequest.ProtoReflect.Descriptor instead. func (*VerificationRequest) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{20} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{20} } func (x *VerificationRequest) GetChallengeId() string { @@ -1565,7 +1565,7 @@ type VerificationResponse struct { func (x *VerificationResponse) Reset() { *x = VerificationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[21] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1578,7 +1578,7 @@ func (x *VerificationResponse) String() string { func (*VerificationResponse) ProtoMessage() {} func (x *VerificationResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[21] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1591,7 +1591,7 @@ func (x *VerificationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use VerificationResponse.ProtoReflect.Descriptor instead. func (*VerificationResponse) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{21} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{21} } func (x *VerificationResponse) GetStringVerifications() []*VerificationResponse_StringVerification { @@ -1621,7 +1621,7 @@ type GetAllTeamsResponse_Team struct { func (x *GetAllTeamsResponse_Team) Reset() { *x = GetAllTeamsResponse_Team{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[22] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1634,7 +1634,7 @@ func (x *GetAllTeamsResponse_Team) String() string { func (*GetAllTeamsResponse_Team) ProtoMessage() {} func (x *GetAllTeamsResponse_Team) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[22] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1647,7 +1647,7 @@ func (x *GetAllTeamsResponse_Team) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAllTeamsResponse_Team.ProtoReflect.Descriptor instead. func (*GetAllTeamsResponse_Team) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{5, 0} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{5, 0} } func (x *GetAllTeamsResponse_Team) GetTeamId() string { @@ -1681,8 +1681,8 @@ type GetActiveChallengesResponse_Challenge struct { Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` StartAt string `protobuf:"bytes,4,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"` EndAt string `protobuf:"bytes,5,opt,name=end_at,json=endAt,proto3" json:"end_at,omitempty"` - Category ChallengeCategory `protobuf:"varint,6,opt,name=category,proto3,enum=proto.services.impulse_svc.v1.ChallengeCategory" json:"category,omitempty"` - Type ChallengeType `protobuf:"varint,7,opt,name=type,proto3,enum=proto.services.impulse_svc.v1.ChallengeType" json:"type,omitempty"` + Category ChallengeCategory `protobuf:"varint,6,opt,name=category,proto3,enum=services.impulse_svc.v1.ChallengeCategory" json:"category,omitempty"` + Type ChallengeType `protobuf:"varint,7,opt,name=type,proto3,enum=services.impulse_svc.v1.ChallengeType" json:"type,omitempty"` Threshold uint64 `protobuf:"varint,8,opt,name=threshold,proto3" json:"threshold,omitempty"` Points uint64 `protobuf:"varint,9,opt,name=points,proto3" json:"points,omitempty"` Unit string `protobuf:"bytes,10,opt,name=unit,proto3" json:"unit,omitempty"` @@ -1691,7 +1691,7 @@ type GetActiveChallengesResponse_Challenge struct { func (x *GetActiveChallengesResponse_Challenge) Reset() { *x = GetActiveChallengesResponse_Challenge{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[23] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1704,7 +1704,7 @@ func (x *GetActiveChallengesResponse_Challenge) String() string { func (*GetActiveChallengesResponse_Challenge) ProtoMessage() {} func (x *GetActiveChallengesResponse_Challenge) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[23] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1717,7 +1717,7 @@ func (x *GetActiveChallengesResponse_Challenge) ProtoReflect() protoreflect.Mess // Deprecated: Use GetActiveChallengesResponse_Challenge.ProtoReflect.Descriptor instead. func (*GetActiveChallengesResponse_Challenge) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{9, 0} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{9, 0} } func (x *GetActiveChallengesResponse_Challenge) GetChallengeId() string { @@ -1804,7 +1804,7 @@ type GetRewardsResponse_Reward struct { func (x *GetRewardsResponse_Reward) Reset() { *x = GetRewardsResponse_Reward{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[24] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1817,7 +1817,7 @@ func (x *GetRewardsResponse_Reward) String() string { func (*GetRewardsResponse_Reward) ProtoMessage() {} func (x *GetRewardsResponse_Reward) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[24] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1830,7 +1830,7 @@ func (x *GetRewardsResponse_Reward) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRewardsResponse_Reward.ProtoReflect.Descriptor instead. func (*GetRewardsResponse_Reward) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{15, 0} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{15, 0} } func (x *GetRewardsResponse_Reward) GetRewardId() string { @@ -1875,7 +1875,7 @@ type GetAllRewardsResponse_Reward struct { func (x *GetAllRewardsResponse_Reward) Reset() { *x = GetAllRewardsResponse_Reward{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[25] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1888,7 +1888,7 @@ func (x *GetAllRewardsResponse_Reward) String() string { func (*GetAllRewardsResponse_Reward) ProtoMessage() {} func (x *GetAllRewardsResponse_Reward) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[25] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1901,7 +1901,7 @@ func (x *GetAllRewardsResponse_Reward) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAllRewardsResponse_Reward.ProtoReflect.Descriptor instead. func (*GetAllRewardsResponse_Reward) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{17, 0} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{17, 0} } func (x *GetAllRewardsResponse_Reward) GetRewardId() string { @@ -1937,14 +1937,14 @@ type StatsForTeamByUserResponse_GenderCount struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Gender Gender `protobuf:"varint,1,opt,name=gender,proto3,enum=proto.services.impulse_svc.v1.Gender" json:"gender,omitempty"` + Gender Gender `protobuf:"varint,1,opt,name=gender,proto3,enum=services.impulse_svc.v1.Gender" json:"gender,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` } func (x *StatsForTeamByUserResponse_GenderCount) Reset() { *x = StatsForTeamByUserResponse_GenderCount{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[26] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1957,7 +1957,7 @@ func (x *StatsForTeamByUserResponse_GenderCount) String() string { func (*StatsForTeamByUserResponse_GenderCount) ProtoMessage() {} func (x *StatsForTeamByUserResponse_GenderCount) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[26] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1970,7 +1970,7 @@ func (x *StatsForTeamByUserResponse_GenderCount) ProtoReflect() protoreflect.Mes // Deprecated: Use StatsForTeamByUserResponse_GenderCount.ProtoReflect.Descriptor instead. func (*StatsForTeamByUserResponse_GenderCount) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{19, 0} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{19, 0} } func (x *StatsForTeamByUserResponse_GenderCount) GetGender() Gender { @@ -1993,14 +1993,14 @@ type VerificationResponse_StringVerification struct { unknownFields protoimpl.UnknownFields Order uint32 `protobuf:"varint,1,opt,name=order,proto3" json:"order,omitempty"` - Type StringVerificationType `protobuf:"varint,2,opt,name=type,proto3,enum=proto.services.impulse_svc.v1.StringVerificationType" json:"type,omitempty"` + Type StringVerificationType `protobuf:"varint,2,opt,name=type,proto3,enum=services.impulse_svc.v1.StringVerificationType" json:"type,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` } func (x *VerificationResponse_StringVerification) Reset() { *x = VerificationResponse_StringVerification{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[27] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2013,7 +2013,7 @@ func (x *VerificationResponse_StringVerification) String() string { func (*VerificationResponse_StringVerification) ProtoMessage() {} func (x *VerificationResponse_StringVerification) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[27] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2026,7 +2026,7 @@ func (x *VerificationResponse_StringVerification) ProtoReflect() protoreflect.Me // Deprecated: Use VerificationResponse_StringVerification.ProtoReflect.Descriptor instead. func (*VerificationResponse_StringVerification) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{21, 0} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{21, 0} } func (x *VerificationResponse_StringVerification) GetOrder() uint32 { @@ -2056,14 +2056,14 @@ type VerificationResponse_IntegerVerification struct { unknownFields protoimpl.UnknownFields Order uint32 `protobuf:"varint,1,opt,name=order,proto3" json:"order,omitempty"` - Type IntegerVerificationType `protobuf:"varint,2,opt,name=type,proto3,enum=proto.services.impulse_svc.v1.IntegerVerificationType" json:"type,omitempty"` + Type IntegerVerificationType `protobuf:"varint,2,opt,name=type,proto3,enum=services.impulse_svc.v1.IntegerVerificationType" json:"type,omitempty"` Value uint64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` } func (x *VerificationResponse_IntegerVerification) Reset() { *x = VerificationResponse_IntegerVerification{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[28] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2076,7 +2076,7 @@ func (x *VerificationResponse_IntegerVerification) String() string { func (*VerificationResponse_IntegerVerification) ProtoMessage() {} func (x *VerificationResponse_IntegerVerification) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[28] + mi := &file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2089,7 +2089,7 @@ func (x *VerificationResponse_IntegerVerification) ProtoReflect() protoreflect.M // Deprecated: Use VerificationResponse_IntegerVerification.ProtoReflect.Descriptor instead. func (*VerificationResponse_IntegerVerification) Descriptor() ([]byte, []int) { - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{21, 1} + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP(), []int{21, 1} } func (x *VerificationResponse_IntegerVerification) GetOrder() uint32 { @@ -2113,103 +2113,152 @@ func (x *VerificationResponse_IntegerVerification) GetValue() uint64 { return 0 } -var File_proto_services_impulse_svc_v1_impulse_svc_proto protoreflect.FileDescriptor +var File_services_impulse_svc_v1_impulse_svc_proto protoreflect.FileDescriptor -var file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDesc = []byte{ - 0x0a, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, - 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x1d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, +var file_services_impulse_svc_v1_impulse_svc_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x69, 0x6d, 0x70, 0x75, 0x6c, + 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, + 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x22, 0xc6, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, + 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, + 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x22, 0xcc, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, - 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x70, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x70, 0x61, 0x6c, 0x12, - 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, - 0x2d, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xc2, - 0x02, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, - 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, - 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x42, 0x0a, 0x06, 0x67, - 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, - 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x64, - 0x65, 0x72, 0x48, 0x01, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, - 0x1f, 0x0a, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x02, 0x52, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x88, 0x01, 0x01, - 0x12, 0x15, 0x0a, 0x03, 0x70, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x48, 0x03, 0x52, - 0x03, 0x70, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, - 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x48, 0x04, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, - 0x68, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x02, 0x48, 0x05, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, - 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x42, 0x09, 0x0a, - 0x07, 0x5f, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x62, 0x69, 0x72, - 0x74, 0x68, 0x64, 0x61, 0x79, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x70, 0x61, 0x6c, 0x42, 0x09, 0x0a, - 0x07, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x77, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x22, 0xf4, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x88, 0x01, - 0x01, 0x12, 0x3d, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, + 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x70, + 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x70, 0x61, 0x6c, 0x12, 0x16, 0x0a, + 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, + 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x2d, 0x0a, + 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xbc, 0x02, 0x0a, + 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x07, 0x74, + 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, + 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x06, 0x67, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x48, 0x01, 0x52, 0x06, 0x67, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, + 0x64, 0x61, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x08, 0x62, 0x69, 0x72, + 0x74, 0x68, 0x64, 0x61, 0x79, 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x70, 0x61, 0x6c, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x02, 0x48, 0x03, 0x52, 0x03, 0x70, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x12, + 0x1b, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x48, + 0x04, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, + 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x48, 0x05, 0x52, 0x06, + 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x65, + 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x42, 0x06, 0x0a, + 0x04, 0x5f, 0x70, 0x61, 0x6c, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, + 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xee, 0x01, 0x0a, 0x12, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x07, 0x74, + 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, + 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x06, 0x67, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x70, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x70, 0x61, 0x6c, + 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, + 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0xb5, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x65, 0x61, + 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x74, 0x65, + 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x05, 0x74, 0x65, + 0x61, 0x6d, 0x73, 0x1a, 0x55, 0x0a, 0x04, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x74, + 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, + 0x61, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x82, 0x01, 0x0a, 0x15, 0x54, + 0x72, 0x61, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x6f, 0x6e, 0x65, 0x5f, 0x61, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6e, 0x65, 0x41, 0x74, 0x22, + 0x3b, 0x0a, 0x16, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, + 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe6, 0x03, 0x0a, 0x1b, 0x47, + 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x0a, 0x63, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, + 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x0a, + 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x1a, 0xe6, 0x02, 0x0a, 0x09, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, + 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, + 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x61, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x41, 0x74, 0x12, 0x15, + 0x0a, 0x06, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x65, 0x6e, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, + 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, - 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x70, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x70, 0x61, 0x6c, 0x12, 0x16, - 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, - 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x0a, - 0x0a, 0x08, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, - 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0xbb, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x05, 0x74, 0x65, 0x61, 0x6d, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x65, - 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x65, 0x61, 0x6d, - 0x52, 0x05, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x1a, 0x55, 0x0a, 0x04, 0x54, 0x65, 0x61, 0x6d, 0x12, - 0x17, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, + 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, + 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x3a, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, + 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x68, + 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, + 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, + 0x6e, 0x69, 0x74, 0x22, 0xc0, 0x03, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, + 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, + 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, + 0x64, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x82, - 0x01, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, - 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, - 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x6f, - 0x6e, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6e, - 0x65, 0x41, 0x74, 0x22, 0x3b, 0x0a, 0x16, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x6c, - 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, - 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, - 0x22, 0x1c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, - 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xf8, - 0x03, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, - 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, - 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, - 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, - 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, - 0x6e, 0x67, 0x65, 0x73, 0x1a, 0xf2, 0x02, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, - 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, + 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x88, 0x01, 0x01, 0x12, 0x1e, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x61, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x41, 0x74, + 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, + 0x4b, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, + 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x48, 0x04, 0x52, + 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x09, + 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x48, + 0x05, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x88, 0x01, 0x01, 0x12, + 0x1b, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x48, + 0x06, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, + 0x75, 0x6e, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x07, 0x52, 0x04, 0x75, 0x6e, + 0x69, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x42, + 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x0b, 0x0a, 0x09, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x61, 0x74, 0x42, 0x09, 0x0a, 0x07, + 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x63, 0x61, 0x74, 0x65, + 0x67, 0x6f, 0x72, 0x79, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, + 0x6c, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x42, 0x07, 0x0a, + 0x05, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x22, 0xf4, 0x02, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, @@ -2218,132 +2267,77 @@ var file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDesc = []byte{ 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x41, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6e, 0x64, 0x41, 0x74, 0x12, - 0x4c, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, - 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x40, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, + 0x46, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6c, - 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x16, 0x0a, - 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x70, - 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x22, 0xc6, 0x03, 0x0a, 0x16, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, - 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x88, - 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1e, 0x0a, 0x08, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x07, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, 0x65, 0x6e, 0x64, - 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x64, - 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x51, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, - 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, - 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x48, 0x04, 0x52, 0x08, 0x63, 0x61, 0x74, - 0x65, 0x67, 0x6f, 0x72, 0x79, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, - 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x48, 0x05, 0x52, 0x09, 0x74, - 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x70, - 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x48, 0x06, 0x52, 0x06, 0x70, - 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x07, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x88, 0x01, - 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0b, 0x0a, 0x09, 0x5f, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x61, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x65, 0x6e, 0x64, - 0x5f, 0x61, 0x74, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, - 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x42, 0x09, - 0x0a, 0x07, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x75, 0x6e, - 0x69, 0x74, 0x22, 0x80, 0x03, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, - 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, - 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, - 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x41, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6e, 0x64, 0x41, 0x74, 0x12, 0x4c, 0x0a, 0x08, 0x63, - 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, - 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, - 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, - 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, - 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, - 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x69, - 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x75, 0x6e, 0x69, 0x74, 0x22, 0x2a, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, - 0x64, 0x22, 0x28, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x2c, 0x0a, 0x11, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, + 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, + 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, + 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x22, 0x2a, 0x0a, + 0x0f, 0x47, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xdf, 0x01, 0x0a, 0x12, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x52, 0x0a, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x38, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x77, - 0x61, 0x72, 0x64, 0x73, 0x1a, 0x75, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1b, - 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, - 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, - 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x47, - 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, - 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, - 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x77, - 0x61, 0x72, 0x64, 0x73, 0x1a, 0x75, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1b, - 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, - 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, - 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x34, 0x0a, 0x19, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x42, 0x79, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, + 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x28, 0x0a, 0x10, 0x47, 0x65, 0x74, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x22, 0x2c, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, - 0x64, 0x22, 0xd9, 0x02, 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x65, - 0x61, 0x6d, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x17, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, - 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, - 0x68, 0x0a, 0x0c, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x65, - 0x61, 0x6d, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0b, 0x67, 0x65, - 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x65, - 0x72, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, - 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x41, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, - 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x62, 0x0a, 0x0b, 0x47, 0x65, 0x6e, - 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, - 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x07, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x07, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x1a, 0x75, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, + 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x16, 0x0a, + 0x14, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xdf, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4f, 0x0a, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x35, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, + 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, + 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, + 0x1a, 0x75, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x34, 0x0a, 0x19, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x46, 0x6f, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xcd, 0x02, + 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x42, 0x79, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, + 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, + 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x67, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x3f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, + 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x46, 0x6f, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x67, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x41, 0x67, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, + 0x5c, 0x0a, 0x0b, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x37, + 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, @@ -2351,262 +2345,251 @@ var file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDesc = []byte{ 0x13, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6c, - 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x22, 0xad, 0x04, 0x0a, 0x14, 0x56, 0x65, 0x72, 0x69, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x22, 0x95, 0x04, 0x0a, 0x14, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x79, 0x0a, 0x14, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x12, 0x73, 0x0a, 0x14, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, + 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x13, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x76, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, + 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, - 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x7c, 0x0a, 0x15, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, - 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x8b, 0x01, 0x0a, 0x12, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x8d, 0x01, 0x0a, 0x13, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, - 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, 0x63, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6c, 0x6c, - 0x65, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x48, 0x41, 0x4c, - 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x48, 0x41, 0x4c, - 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x49, 0x4c, 0x59, - 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x02, 0x2a, 0x74, 0x0a, 0x11, - 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, - 0x79, 0x12, 0x22, 0x0a, 0x1e, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x43, - 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, - 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, - 0x47, 0x45, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x46, 0x4f, 0x4f, 0x44, - 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, - 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x46, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, - 0x10, 0x02, 0x2a, 0x58, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x12, - 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x4d, - 0x41, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, - 0x46, 0x45, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x45, 0x4e, 0x44, - 0x45, 0x52, 0x5f, 0x44, 0x49, 0x56, 0x45, 0x52, 0x53, 0x45, 0x10, 0x03, 0x2a, 0x63, 0x0a, 0x16, - 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x24, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, - 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, + 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x85, 0x01, + 0x0a, 0x12, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x87, 0x01, 0x0a, 0x13, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, + 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, + 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6f, 0x72, + 0x64, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, + 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, + 0x67, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, + 0x63, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, - 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x51, 0x52, 0x10, - 0x01, 0x2a, 0x8f, 0x01, 0x0a, 0x17, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x56, 0x65, 0x72, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, - 0x25, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, + 0x12, 0x18, 0x0a, 0x14, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x44, 0x41, 0x49, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x48, + 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x51, 0x55, 0x45, + 0x53, 0x54, 0x10, 0x02, 0x2a, 0x74, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x22, 0x0a, 0x1e, 0x43, 0x48, 0x41, + 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, + 0x17, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, + 0x4f, 0x52, 0x59, 0x5f, 0x46, 0x4f, 0x4f, 0x44, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x48, + 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, + 0x5f, 0x46, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x10, 0x02, 0x2a, 0x58, 0x0a, 0x06, 0x47, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x12, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, + 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, + 0x0d, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x46, 0x45, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x02, + 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x56, 0x45, 0x52, + 0x53, 0x45, 0x10, 0x03, 0x2a, 0x63, 0x0a, 0x16, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, + 0x0a, 0x24, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x49, 0x4e, 0x54, 0x45, - 0x47, 0x45, 0x52, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x52, 0x10, 0x01, 0x12, 0x24, 0x0a, - 0x20, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, - 0x52, 0x10, 0x02, 0x32, 0xef, 0x09, 0x0a, 0x0e, 0x49, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x12, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, + 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x54, 0x52, 0x49, + 0x4e, 0x47, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x51, 0x52, 0x10, 0x01, 0x2a, 0x8f, 0x01, 0x0a, 0x17, 0x49, 0x6e, + 0x74, 0x65, 0x67, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x25, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, + 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x23, 0x0a, 0x1f, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x5f, 0x56, 0x45, 0x52, 0x49, + 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x49, + 0x4d, 0x45, 0x52, 0x10, 0x01, 0x12, 0x24, 0x0a, 0x20, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, + 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x32, 0xf6, 0x08, 0x0a, 0x0e, + 0x49, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x67, + 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x0a, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, - 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, - 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x7f, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, - 0x67, 0x65, 0x12, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, - 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x68, - 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x8e, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, - 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x39, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, - 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, - 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x2e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x73, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, - 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, - 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, + 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x73, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x12, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, + 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, + 0x63, 0x6b, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, + 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, + 0x63, 0x6b, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x33, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, - 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x65, - 0x61, 0x6d, 0x73, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x65, 0x61, - 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8b, 0x01, 0x0a, - 0x12, 0x53, 0x74, 0x61, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x42, 0x79, 0x55, - 0x73, 0x65, 0x72, 0x12, 0x38, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x65, 0x61, 0x6d, - 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, - 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x0c, 0x56, 0x65, - 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, - 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x56, - 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xe7, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, - 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x49, 0x6d, 0x70, - 0x75, 0x6c, 0x73, 0x65, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1e, - 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2f, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, - 0x03, 0x50, 0x53, 0x49, 0xaa, 0x02, 0x1c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x53, 0x76, 0x63, - 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x5c, 0x49, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x53, 0x76, 0x63, 0x5c, - 0x56, 0x31, 0xe2, 0x02, 0x28, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x5c, 0x49, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x53, 0x76, 0x63, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1f, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x08, 0x47, 0x65, + 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, + 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, + 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x2a, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x12, 0x53, 0x74, 0x61, 0x74, 0x73, 0x46, 0x6f, 0x72, + 0x54, 0x65, 0x61, 0x6d, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x65, 0x61, + 0x6d, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, + 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x46, 0x6f, + 0x72, 0x54, 0x65, 0x61, 0x6d, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, + 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x42, 0xc8, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x69, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x49, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x53, 0x76, 0x63, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x69, 0x6d, 0x70, 0x75, + 0x6c, 0x73, 0x65, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x49, 0x58, 0xaa, 0x02, 0x16, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x49, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, + 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x5c, 0x49, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, + 0x02, 0x22, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x49, 0x6d, 0x70, 0x75, 0x6c, + 0x73, 0x65, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x49, 0x6d, 0x70, 0x75, 0x6c, 0x73, 0x65, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescOnce sync.Once - file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescData = file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDesc + file_services_impulse_svc_v1_impulse_svc_proto_rawDescOnce sync.Once + file_services_impulse_svc_v1_impulse_svc_proto_rawDescData = file_services_impulse_svc_v1_impulse_svc_proto_rawDesc ) -func file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP() []byte { - file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescOnce.Do(func() { - file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescData) +func file_services_impulse_svc_v1_impulse_svc_proto_rawDescGZIP() []byte { + file_services_impulse_svc_v1_impulse_svc_proto_rawDescOnce.Do(func() { + file_services_impulse_svc_v1_impulse_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_impulse_svc_v1_impulse_svc_proto_rawDescData) }) - return file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDescData -} - -var file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes = make([]protoimpl.EnumInfo, 5) -var file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 29) -var file_proto_services_impulse_svc_v1_impulse_svc_proto_goTypes = []interface{}{ - (ChallengeType)(0), // 0: proto.services.impulse_svc.v1.ChallengeType - (ChallengeCategory)(0), // 1: proto.services.impulse_svc.v1.ChallengeCategory - (Gender)(0), // 2: proto.services.impulse_svc.v1.Gender - (StringVerificationType)(0), // 3: proto.services.impulse_svc.v1.StringVerificationType - (IntegerVerificationType)(0), // 4: proto.services.impulse_svc.v1.IntegerVerificationType - (*CreateUserRequest)(nil), // 5: proto.services.impulse_svc.v1.CreateUserRequest - (*CreateUserResponse)(nil), // 6: proto.services.impulse_svc.v1.CreateUserResponse - (*UpdateUserRequest)(nil), // 7: proto.services.impulse_svc.v1.UpdateUserRequest - (*UpdateUserResponse)(nil), // 8: proto.services.impulse_svc.v1.UpdateUserResponse - (*GetAllTeamsRequest)(nil), // 9: proto.services.impulse_svc.v1.GetAllTeamsRequest - (*GetAllTeamsResponse)(nil), // 10: proto.services.impulse_svc.v1.GetAllTeamsResponse - (*TrackChallengeRequest)(nil), // 11: proto.services.impulse_svc.v1.TrackChallengeRequest - (*TrackChallengeResponse)(nil), // 12: proto.services.impulse_svc.v1.TrackChallengeResponse - (*GetActiveChallengesRequest)(nil), // 13: proto.services.impulse_svc.v1.GetActiveChallengesRequest - (*GetActiveChallengesResponse)(nil), // 14: proto.services.impulse_svc.v1.GetActiveChallengesResponse - (*UpdateChallengeRequest)(nil), // 15: proto.services.impulse_svc.v1.UpdateChallengeRequest - (*UpdateChallengeResponse)(nil), // 16: proto.services.impulse_svc.v1.UpdateChallengeResponse - (*GetScoreRequest)(nil), // 17: proto.services.impulse_svc.v1.GetScoreRequest - (*GetScoreResponse)(nil), // 18: proto.services.impulse_svc.v1.GetScoreResponse - (*GetRewardsRequest)(nil), // 19: proto.services.impulse_svc.v1.GetRewardsRequest - (*GetRewardsResponse)(nil), // 20: proto.services.impulse_svc.v1.GetRewardsResponse - (*GetAllRewardsRequest)(nil), // 21: proto.services.impulse_svc.v1.GetAllRewardsRequest - (*GetAllRewardsResponse)(nil), // 22: proto.services.impulse_svc.v1.GetAllRewardsResponse - (*StatsForTeamByUserRequest)(nil), // 23: proto.services.impulse_svc.v1.StatsForTeamByUserRequest - (*StatsForTeamByUserResponse)(nil), // 24: proto.services.impulse_svc.v1.StatsForTeamByUserResponse - (*VerificationRequest)(nil), // 25: proto.services.impulse_svc.v1.VerificationRequest - (*VerificationResponse)(nil), // 26: proto.services.impulse_svc.v1.VerificationResponse - (*GetAllTeamsResponse_Team)(nil), // 27: proto.services.impulse_svc.v1.GetAllTeamsResponse.Team - (*GetActiveChallengesResponse_Challenge)(nil), // 28: proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge - (*GetRewardsResponse_Reward)(nil), // 29: proto.services.impulse_svc.v1.GetRewardsResponse.Reward - (*GetAllRewardsResponse_Reward)(nil), // 30: proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward - (*StatsForTeamByUserResponse_GenderCount)(nil), // 31: proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount - (*VerificationResponse_StringVerification)(nil), // 32: proto.services.impulse_svc.v1.VerificationResponse.StringVerification - (*VerificationResponse_IntegerVerification)(nil), // 33: proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification -} -var file_proto_services_impulse_svc_v1_impulse_svc_proto_depIdxs = []int32{ - 2, // 0: proto.services.impulse_svc.v1.CreateUserRequest.gender:type_name -> proto.services.impulse_svc.v1.Gender - 2, // 1: proto.services.impulse_svc.v1.UpdateUserRequest.gender:type_name -> proto.services.impulse_svc.v1.Gender - 2, // 2: proto.services.impulse_svc.v1.UpdateUserResponse.gender:type_name -> proto.services.impulse_svc.v1.Gender - 27, // 3: proto.services.impulse_svc.v1.GetAllTeamsResponse.teams:type_name -> proto.services.impulse_svc.v1.GetAllTeamsResponse.Team - 28, // 4: proto.services.impulse_svc.v1.GetActiveChallengesResponse.challenges:type_name -> proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge - 1, // 5: proto.services.impulse_svc.v1.UpdateChallengeRequest.category:type_name -> proto.services.impulse_svc.v1.ChallengeCategory - 1, // 6: proto.services.impulse_svc.v1.UpdateChallengeResponse.category:type_name -> proto.services.impulse_svc.v1.ChallengeCategory - 0, // 7: proto.services.impulse_svc.v1.UpdateChallengeResponse.type:type_name -> proto.services.impulse_svc.v1.ChallengeType - 29, // 8: proto.services.impulse_svc.v1.GetRewardsResponse.rewards:type_name -> proto.services.impulse_svc.v1.GetRewardsResponse.Reward - 30, // 9: proto.services.impulse_svc.v1.GetAllRewardsResponse.rewards:type_name -> proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward - 31, // 10: proto.services.impulse_svc.v1.StatsForTeamByUserResponse.gender_count:type_name -> proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount - 32, // 11: proto.services.impulse_svc.v1.VerificationResponse.string_verifications:type_name -> proto.services.impulse_svc.v1.VerificationResponse.StringVerification - 33, // 12: proto.services.impulse_svc.v1.VerificationResponse.integer_verifications:type_name -> proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification - 1, // 13: proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.category:type_name -> proto.services.impulse_svc.v1.ChallengeCategory - 0, // 14: proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.type:type_name -> proto.services.impulse_svc.v1.ChallengeType - 2, // 15: proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.gender:type_name -> proto.services.impulse_svc.v1.Gender - 3, // 16: proto.services.impulse_svc.v1.VerificationResponse.StringVerification.type:type_name -> proto.services.impulse_svc.v1.StringVerificationType - 4, // 17: proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.type:type_name -> proto.services.impulse_svc.v1.IntegerVerificationType - 5, // 18: proto.services.impulse_svc.v1.ImpulseService.CreateUser:input_type -> proto.services.impulse_svc.v1.CreateUserRequest - 7, // 19: proto.services.impulse_svc.v1.ImpulseService.UpdateUser:input_type -> proto.services.impulse_svc.v1.UpdateUserRequest - 11, // 20: proto.services.impulse_svc.v1.ImpulseService.TrackChallenge:input_type -> proto.services.impulse_svc.v1.TrackChallengeRequest - 13, // 21: proto.services.impulse_svc.v1.ImpulseService.GetActiveChallenges:input_type -> proto.services.impulse_svc.v1.GetActiveChallengesRequest - 17, // 22: proto.services.impulse_svc.v1.ImpulseService.GetScore:input_type -> proto.services.impulse_svc.v1.GetScoreRequest - 19, // 23: proto.services.impulse_svc.v1.ImpulseService.GetRewards:input_type -> proto.services.impulse_svc.v1.GetRewardsRequest - 21, // 24: proto.services.impulse_svc.v1.ImpulseService.GetAllRewards:input_type -> proto.services.impulse_svc.v1.GetAllRewardsRequest - 9, // 25: proto.services.impulse_svc.v1.ImpulseService.GetAllTeams:input_type -> proto.services.impulse_svc.v1.GetAllTeamsRequest - 23, // 26: proto.services.impulse_svc.v1.ImpulseService.StatsForTeamByUser:input_type -> proto.services.impulse_svc.v1.StatsForTeamByUserRequest - 25, // 27: proto.services.impulse_svc.v1.ImpulseService.Verification:input_type -> proto.services.impulse_svc.v1.VerificationRequest - 6, // 28: proto.services.impulse_svc.v1.ImpulseService.CreateUser:output_type -> proto.services.impulse_svc.v1.CreateUserResponse - 8, // 29: proto.services.impulse_svc.v1.ImpulseService.UpdateUser:output_type -> proto.services.impulse_svc.v1.UpdateUserResponse - 12, // 30: proto.services.impulse_svc.v1.ImpulseService.TrackChallenge:output_type -> proto.services.impulse_svc.v1.TrackChallengeResponse - 14, // 31: proto.services.impulse_svc.v1.ImpulseService.GetActiveChallenges:output_type -> proto.services.impulse_svc.v1.GetActiveChallengesResponse - 18, // 32: proto.services.impulse_svc.v1.ImpulseService.GetScore:output_type -> proto.services.impulse_svc.v1.GetScoreResponse - 20, // 33: proto.services.impulse_svc.v1.ImpulseService.GetRewards:output_type -> proto.services.impulse_svc.v1.GetRewardsResponse - 22, // 34: proto.services.impulse_svc.v1.ImpulseService.GetAllRewards:output_type -> proto.services.impulse_svc.v1.GetAllRewardsResponse - 10, // 35: proto.services.impulse_svc.v1.ImpulseService.GetAllTeams:output_type -> proto.services.impulse_svc.v1.GetAllTeamsResponse - 24, // 36: proto.services.impulse_svc.v1.ImpulseService.StatsForTeamByUser:output_type -> proto.services.impulse_svc.v1.StatsForTeamByUserResponse - 26, // 37: proto.services.impulse_svc.v1.ImpulseService.Verification:output_type -> proto.services.impulse_svc.v1.VerificationResponse + return file_services_impulse_svc_v1_impulse_svc_proto_rawDescData +} + +var file_services_impulse_svc_v1_impulse_svc_proto_enumTypes = make([]protoimpl.EnumInfo, 5) +var file_services_impulse_svc_v1_impulse_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 29) +var file_services_impulse_svc_v1_impulse_svc_proto_goTypes = []interface{}{ + (ChallengeType)(0), // 0: services.impulse_svc.v1.ChallengeType + (ChallengeCategory)(0), // 1: services.impulse_svc.v1.ChallengeCategory + (Gender)(0), // 2: services.impulse_svc.v1.Gender + (StringVerificationType)(0), // 3: services.impulse_svc.v1.StringVerificationType + (IntegerVerificationType)(0), // 4: services.impulse_svc.v1.IntegerVerificationType + (*CreateUserRequest)(nil), // 5: services.impulse_svc.v1.CreateUserRequest + (*CreateUserResponse)(nil), // 6: services.impulse_svc.v1.CreateUserResponse + (*UpdateUserRequest)(nil), // 7: services.impulse_svc.v1.UpdateUserRequest + (*UpdateUserResponse)(nil), // 8: services.impulse_svc.v1.UpdateUserResponse + (*GetAllTeamsRequest)(nil), // 9: services.impulse_svc.v1.GetAllTeamsRequest + (*GetAllTeamsResponse)(nil), // 10: services.impulse_svc.v1.GetAllTeamsResponse + (*TrackChallengeRequest)(nil), // 11: services.impulse_svc.v1.TrackChallengeRequest + (*TrackChallengeResponse)(nil), // 12: services.impulse_svc.v1.TrackChallengeResponse + (*GetActiveChallengesRequest)(nil), // 13: services.impulse_svc.v1.GetActiveChallengesRequest + (*GetActiveChallengesResponse)(nil), // 14: services.impulse_svc.v1.GetActiveChallengesResponse + (*UpdateChallengeRequest)(nil), // 15: services.impulse_svc.v1.UpdateChallengeRequest + (*UpdateChallengeResponse)(nil), // 16: services.impulse_svc.v1.UpdateChallengeResponse + (*GetScoreRequest)(nil), // 17: services.impulse_svc.v1.GetScoreRequest + (*GetScoreResponse)(nil), // 18: services.impulse_svc.v1.GetScoreResponse + (*GetRewardsRequest)(nil), // 19: services.impulse_svc.v1.GetRewardsRequest + (*GetRewardsResponse)(nil), // 20: services.impulse_svc.v1.GetRewardsResponse + (*GetAllRewardsRequest)(nil), // 21: services.impulse_svc.v1.GetAllRewardsRequest + (*GetAllRewardsResponse)(nil), // 22: services.impulse_svc.v1.GetAllRewardsResponse + (*StatsForTeamByUserRequest)(nil), // 23: services.impulse_svc.v1.StatsForTeamByUserRequest + (*StatsForTeamByUserResponse)(nil), // 24: services.impulse_svc.v1.StatsForTeamByUserResponse + (*VerificationRequest)(nil), // 25: services.impulse_svc.v1.VerificationRequest + (*VerificationResponse)(nil), // 26: services.impulse_svc.v1.VerificationResponse + (*GetAllTeamsResponse_Team)(nil), // 27: services.impulse_svc.v1.GetAllTeamsResponse.Team + (*GetActiveChallengesResponse_Challenge)(nil), // 28: services.impulse_svc.v1.GetActiveChallengesResponse.Challenge + (*GetRewardsResponse_Reward)(nil), // 29: services.impulse_svc.v1.GetRewardsResponse.Reward + (*GetAllRewardsResponse_Reward)(nil), // 30: services.impulse_svc.v1.GetAllRewardsResponse.Reward + (*StatsForTeamByUserResponse_GenderCount)(nil), // 31: services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount + (*VerificationResponse_StringVerification)(nil), // 32: services.impulse_svc.v1.VerificationResponse.StringVerification + (*VerificationResponse_IntegerVerification)(nil), // 33: services.impulse_svc.v1.VerificationResponse.IntegerVerification +} +var file_services_impulse_svc_v1_impulse_svc_proto_depIdxs = []int32{ + 2, // 0: services.impulse_svc.v1.CreateUserRequest.gender:type_name -> services.impulse_svc.v1.Gender + 2, // 1: services.impulse_svc.v1.UpdateUserRequest.gender:type_name -> services.impulse_svc.v1.Gender + 2, // 2: services.impulse_svc.v1.UpdateUserResponse.gender:type_name -> services.impulse_svc.v1.Gender + 27, // 3: services.impulse_svc.v1.GetAllTeamsResponse.teams:type_name -> services.impulse_svc.v1.GetAllTeamsResponse.Team + 28, // 4: services.impulse_svc.v1.GetActiveChallengesResponse.challenges:type_name -> services.impulse_svc.v1.GetActiveChallengesResponse.Challenge + 1, // 5: services.impulse_svc.v1.UpdateChallengeRequest.category:type_name -> services.impulse_svc.v1.ChallengeCategory + 1, // 6: services.impulse_svc.v1.UpdateChallengeResponse.category:type_name -> services.impulse_svc.v1.ChallengeCategory + 0, // 7: services.impulse_svc.v1.UpdateChallengeResponse.type:type_name -> services.impulse_svc.v1.ChallengeType + 29, // 8: services.impulse_svc.v1.GetRewardsResponse.rewards:type_name -> services.impulse_svc.v1.GetRewardsResponse.Reward + 30, // 9: services.impulse_svc.v1.GetAllRewardsResponse.rewards:type_name -> services.impulse_svc.v1.GetAllRewardsResponse.Reward + 31, // 10: services.impulse_svc.v1.StatsForTeamByUserResponse.gender_count:type_name -> services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount + 32, // 11: services.impulse_svc.v1.VerificationResponse.string_verifications:type_name -> services.impulse_svc.v1.VerificationResponse.StringVerification + 33, // 12: services.impulse_svc.v1.VerificationResponse.integer_verifications:type_name -> services.impulse_svc.v1.VerificationResponse.IntegerVerification + 1, // 13: services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.category:type_name -> services.impulse_svc.v1.ChallengeCategory + 0, // 14: services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.type:type_name -> services.impulse_svc.v1.ChallengeType + 2, // 15: services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.gender:type_name -> services.impulse_svc.v1.Gender + 3, // 16: services.impulse_svc.v1.VerificationResponse.StringVerification.type:type_name -> services.impulse_svc.v1.StringVerificationType + 4, // 17: services.impulse_svc.v1.VerificationResponse.IntegerVerification.type:type_name -> services.impulse_svc.v1.IntegerVerificationType + 5, // 18: services.impulse_svc.v1.ImpulseService.CreateUser:input_type -> services.impulse_svc.v1.CreateUserRequest + 7, // 19: services.impulse_svc.v1.ImpulseService.UpdateUser:input_type -> services.impulse_svc.v1.UpdateUserRequest + 11, // 20: services.impulse_svc.v1.ImpulseService.TrackChallenge:input_type -> services.impulse_svc.v1.TrackChallengeRequest + 13, // 21: services.impulse_svc.v1.ImpulseService.GetActiveChallenges:input_type -> services.impulse_svc.v1.GetActiveChallengesRequest + 17, // 22: services.impulse_svc.v1.ImpulseService.GetScore:input_type -> services.impulse_svc.v1.GetScoreRequest + 19, // 23: services.impulse_svc.v1.ImpulseService.GetRewards:input_type -> services.impulse_svc.v1.GetRewardsRequest + 21, // 24: services.impulse_svc.v1.ImpulseService.GetAllRewards:input_type -> services.impulse_svc.v1.GetAllRewardsRequest + 9, // 25: services.impulse_svc.v1.ImpulseService.GetAllTeams:input_type -> services.impulse_svc.v1.GetAllTeamsRequest + 23, // 26: services.impulse_svc.v1.ImpulseService.StatsForTeamByUser:input_type -> services.impulse_svc.v1.StatsForTeamByUserRequest + 25, // 27: services.impulse_svc.v1.ImpulseService.Verification:input_type -> services.impulse_svc.v1.VerificationRequest + 6, // 28: services.impulse_svc.v1.ImpulseService.CreateUser:output_type -> services.impulse_svc.v1.CreateUserResponse + 8, // 29: services.impulse_svc.v1.ImpulseService.UpdateUser:output_type -> services.impulse_svc.v1.UpdateUserResponse + 12, // 30: services.impulse_svc.v1.ImpulseService.TrackChallenge:output_type -> services.impulse_svc.v1.TrackChallengeResponse + 14, // 31: services.impulse_svc.v1.ImpulseService.GetActiveChallenges:output_type -> services.impulse_svc.v1.GetActiveChallengesResponse + 18, // 32: services.impulse_svc.v1.ImpulseService.GetScore:output_type -> services.impulse_svc.v1.GetScoreResponse + 20, // 33: services.impulse_svc.v1.ImpulseService.GetRewards:output_type -> services.impulse_svc.v1.GetRewardsResponse + 22, // 34: services.impulse_svc.v1.ImpulseService.GetAllRewards:output_type -> services.impulse_svc.v1.GetAllRewardsResponse + 10, // 35: services.impulse_svc.v1.ImpulseService.GetAllTeams:output_type -> services.impulse_svc.v1.GetAllTeamsResponse + 24, // 36: services.impulse_svc.v1.ImpulseService.StatsForTeamByUser:output_type -> services.impulse_svc.v1.StatsForTeamByUserResponse + 26, // 37: services.impulse_svc.v1.ImpulseService.Verification:output_type -> services.impulse_svc.v1.VerificationResponse 28, // [28:38] is the sub-list for method output_type 18, // [18:28] is the sub-list for method input_type 18, // [18:18] is the sub-list for extension type_name @@ -2614,13 +2597,13 @@ var file_proto_services_impulse_svc_v1_impulse_svc_proto_depIdxs = []int32{ 0, // [0:18] is the sub-list for field type_name } -func init() { file_proto_services_impulse_svc_v1_impulse_svc_proto_init() } -func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { - if File_proto_services_impulse_svc_v1_impulse_svc_proto != nil { +func init() { file_services_impulse_svc_v1_impulse_svc_proto_init() } +func file_services_impulse_svc_v1_impulse_svc_proto_init() { + if File_services_impulse_svc_v1_impulse_svc_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateUserRequest); i { case 0: return &v.state @@ -2632,7 +2615,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateUserResponse); i { case 0: return &v.state @@ -2644,7 +2627,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateUserRequest); i { case 0: return &v.state @@ -2656,7 +2639,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateUserResponse); i { case 0: return &v.state @@ -2668,7 +2651,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTeamsRequest); i { case 0: return &v.state @@ -2680,7 +2663,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTeamsResponse); i { case 0: return &v.state @@ -2692,7 +2675,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TrackChallengeRequest); i { case 0: return &v.state @@ -2704,7 +2687,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TrackChallengeResponse); i { case 0: return &v.state @@ -2716,7 +2699,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetActiveChallengesRequest); i { case 0: return &v.state @@ -2728,7 +2711,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetActiveChallengesResponse); i { case 0: return &v.state @@ -2740,7 +2723,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateChallengeRequest); i { case 0: return &v.state @@ -2752,7 +2735,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateChallengeResponse); i { case 0: return &v.state @@ -2764,7 +2747,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetScoreRequest); i { case 0: return &v.state @@ -2776,7 +2759,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetScoreResponse); i { case 0: return &v.state @@ -2788,7 +2771,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRewardsRequest); i { case 0: return &v.state @@ -2800,7 +2783,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRewardsResponse); i { case 0: return &v.state @@ -2812,7 +2795,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllRewardsRequest); i { case 0: return &v.state @@ -2824,7 +2807,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllRewardsResponse); i { case 0: return &v.state @@ -2836,7 +2819,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StatsForTeamByUserRequest); i { case 0: return &v.state @@ -2848,7 +2831,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StatsForTeamByUserResponse); i { case 0: return &v.state @@ -2860,7 +2843,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VerificationRequest); i { case 0: return &v.state @@ -2872,7 +2855,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VerificationResponse); i { case 0: return &v.state @@ -2884,7 +2867,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTeamsResponse_Team); i { case 0: return &v.state @@ -2896,7 +2879,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetActiveChallengesResponse_Challenge); i { case 0: return &v.state @@ -2908,7 +2891,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRewardsResponse_Reward); i { case 0: return &v.state @@ -2920,7 +2903,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllRewardsResponse_Reward); i { case 0: return &v.state @@ -2932,7 +2915,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StatsForTeamByUserResponse_GenderCount); i { case 0: return &v.state @@ -2944,7 +2927,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VerificationResponse_StringVerification); i { case 0: return &v.state @@ -2956,7 +2939,7 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { return nil } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VerificationResponse_IntegerVerification); i { case 0: return &v.state @@ -2969,26 +2952,26 @@ func file_proto_services_impulse_svc_v1_impulse_svc_proto_init() { } } } - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[3].OneofWrappers = []interface{}{} - file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes[10].OneofWrappers = []interface{}{} + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[3].OneofWrappers = []interface{}{} + file_services_impulse_svc_v1_impulse_svc_proto_msgTypes[10].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDesc, + RawDescriptor: file_services_impulse_svc_v1_impulse_svc_proto_rawDesc, NumEnums: 5, NumMessages: 29, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_impulse_svc_v1_impulse_svc_proto_goTypes, - DependencyIndexes: file_proto_services_impulse_svc_v1_impulse_svc_proto_depIdxs, - EnumInfos: file_proto_services_impulse_svc_v1_impulse_svc_proto_enumTypes, - MessageInfos: file_proto_services_impulse_svc_v1_impulse_svc_proto_msgTypes, + GoTypes: file_services_impulse_svc_v1_impulse_svc_proto_goTypes, + DependencyIndexes: file_services_impulse_svc_v1_impulse_svc_proto_depIdxs, + EnumInfos: file_services_impulse_svc_v1_impulse_svc_proto_enumTypes, + MessageInfos: file_services_impulse_svc_v1_impulse_svc_proto_msgTypes, }.Build() - File_proto_services_impulse_svc_v1_impulse_svc_proto = out.File - file_proto_services_impulse_svc_v1_impulse_svc_proto_rawDesc = nil - file_proto_services_impulse_svc_v1_impulse_svc_proto_goTypes = nil - file_proto_services_impulse_svc_v1_impulse_svc_proto_depIdxs = nil + File_services_impulse_svc_v1_impulse_svc_proto = out.File + file_services_impulse_svc_v1_impulse_svc_proto_rawDesc = nil + file_services_impulse_svc_v1_impulse_svc_proto_goTypes = nil + file_services_impulse_svc_v1_impulse_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/impulse_svc/v1/impulse_svc_grpc.pb.go b/gen/go/services/impulse_svc/v1/impulse_svc_grpc.pb.go similarity index 88% rename from gen/go/proto/services/impulse_svc/v1/impulse_svc_grpc.pb.go rename to gen/go/services/impulse_svc/v1/impulse_svc_grpc.pb.go index 63a85d73e..c7ac49071 100644 --- a/gen/go/proto/services/impulse_svc/v1/impulse_svc_grpc.pb.go +++ b/gen/go/services/impulse_svc/v1/impulse_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/impulse_svc/v1/impulse_svc.proto +// source: services/impulse_svc/v1/impulse_svc.proto package impulse_svc @@ -15,20 +15,20 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - ImpulseService_CreateUser_FullMethodName = "/proto.services.impulse_svc.v1.ImpulseService/CreateUser" - ImpulseService_UpdateUser_FullMethodName = "/proto.services.impulse_svc.v1.ImpulseService/UpdateUser" - ImpulseService_TrackChallenge_FullMethodName = "/proto.services.impulse_svc.v1.ImpulseService/TrackChallenge" - ImpulseService_GetActiveChallenges_FullMethodName = "/proto.services.impulse_svc.v1.ImpulseService/GetActiveChallenges" - ImpulseService_GetScore_FullMethodName = "/proto.services.impulse_svc.v1.ImpulseService/GetScore" - ImpulseService_GetRewards_FullMethodName = "/proto.services.impulse_svc.v1.ImpulseService/GetRewards" - ImpulseService_GetAllRewards_FullMethodName = "/proto.services.impulse_svc.v1.ImpulseService/GetAllRewards" - ImpulseService_GetAllTeams_FullMethodName = "/proto.services.impulse_svc.v1.ImpulseService/GetAllTeams" - ImpulseService_StatsForTeamByUser_FullMethodName = "/proto.services.impulse_svc.v1.ImpulseService/StatsForTeamByUser" - ImpulseService_Verification_FullMethodName = "/proto.services.impulse_svc.v1.ImpulseService/Verification" + ImpulseService_CreateUser_FullMethodName = "/services.impulse_svc.v1.ImpulseService/CreateUser" + ImpulseService_UpdateUser_FullMethodName = "/services.impulse_svc.v1.ImpulseService/UpdateUser" + ImpulseService_TrackChallenge_FullMethodName = "/services.impulse_svc.v1.ImpulseService/TrackChallenge" + ImpulseService_GetActiveChallenges_FullMethodName = "/services.impulse_svc.v1.ImpulseService/GetActiveChallenges" + ImpulseService_GetScore_FullMethodName = "/services.impulse_svc.v1.ImpulseService/GetScore" + ImpulseService_GetRewards_FullMethodName = "/services.impulse_svc.v1.ImpulseService/GetRewards" + ImpulseService_GetAllRewards_FullMethodName = "/services.impulse_svc.v1.ImpulseService/GetAllRewards" + ImpulseService_GetAllTeams_FullMethodName = "/services.impulse_svc.v1.ImpulseService/GetAllTeams" + ImpulseService_StatsForTeamByUser_FullMethodName = "/services.impulse_svc.v1.ImpulseService/StatsForTeamByUser" + ImpulseService_Verification_FullMethodName = "/services.impulse_svc.v1.ImpulseService/Verification" ) // ImpulseServiceClient is the client API for ImpulseService service. @@ -56,8 +56,9 @@ func NewImpulseServiceClient(cc grpc.ClientConnInterface) ImpulseServiceClient { } func (c *impulseServiceClient) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateUserResponse) - err := c.cc.Invoke(ctx, ImpulseService_CreateUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ImpulseService_CreateUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -65,8 +66,9 @@ func (c *impulseServiceClient) CreateUser(ctx context.Context, in *CreateUserReq } func (c *impulseServiceClient) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateUserResponse) - err := c.cc.Invoke(ctx, ImpulseService_UpdateUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ImpulseService_UpdateUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -74,8 +76,9 @@ func (c *impulseServiceClient) UpdateUser(ctx context.Context, in *UpdateUserReq } func (c *impulseServiceClient) TrackChallenge(ctx context.Context, in *TrackChallengeRequest, opts ...grpc.CallOption) (*TrackChallengeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TrackChallengeResponse) - err := c.cc.Invoke(ctx, ImpulseService_TrackChallenge_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ImpulseService_TrackChallenge_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -83,8 +86,9 @@ func (c *impulseServiceClient) TrackChallenge(ctx context.Context, in *TrackChal } func (c *impulseServiceClient) GetActiveChallenges(ctx context.Context, in *GetActiveChallengesRequest, opts ...grpc.CallOption) (*GetActiveChallengesResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetActiveChallengesResponse) - err := c.cc.Invoke(ctx, ImpulseService_GetActiveChallenges_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ImpulseService_GetActiveChallenges_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -92,8 +96,9 @@ func (c *impulseServiceClient) GetActiveChallenges(ctx context.Context, in *GetA } func (c *impulseServiceClient) GetScore(ctx context.Context, in *GetScoreRequest, opts ...grpc.CallOption) (*GetScoreResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetScoreResponse) - err := c.cc.Invoke(ctx, ImpulseService_GetScore_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ImpulseService_GetScore_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -101,8 +106,9 @@ func (c *impulseServiceClient) GetScore(ctx context.Context, in *GetScoreRequest } func (c *impulseServiceClient) GetRewards(ctx context.Context, in *GetRewardsRequest, opts ...grpc.CallOption) (*GetRewardsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetRewardsResponse) - err := c.cc.Invoke(ctx, ImpulseService_GetRewards_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ImpulseService_GetRewards_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -110,8 +116,9 @@ func (c *impulseServiceClient) GetRewards(ctx context.Context, in *GetRewardsReq } func (c *impulseServiceClient) GetAllRewards(ctx context.Context, in *GetAllRewardsRequest, opts ...grpc.CallOption) (*GetAllRewardsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAllRewardsResponse) - err := c.cc.Invoke(ctx, ImpulseService_GetAllRewards_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ImpulseService_GetAllRewards_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -119,8 +126,9 @@ func (c *impulseServiceClient) GetAllRewards(ctx context.Context, in *GetAllRewa } func (c *impulseServiceClient) GetAllTeams(ctx context.Context, in *GetAllTeamsRequest, opts ...grpc.CallOption) (*GetAllTeamsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAllTeamsResponse) - err := c.cc.Invoke(ctx, ImpulseService_GetAllTeams_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ImpulseService_GetAllTeams_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -128,8 +136,9 @@ func (c *impulseServiceClient) GetAllTeams(ctx context.Context, in *GetAllTeamsR } func (c *impulseServiceClient) StatsForTeamByUser(ctx context.Context, in *StatsForTeamByUserRequest, opts ...grpc.CallOption) (*StatsForTeamByUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(StatsForTeamByUserResponse) - err := c.cc.Invoke(ctx, ImpulseService_StatsForTeamByUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ImpulseService_StatsForTeamByUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -137,8 +146,9 @@ func (c *impulseServiceClient) StatsForTeamByUser(ctx context.Context, in *Stats } func (c *impulseServiceClient) Verification(ctx context.Context, in *VerificationRequest, opts ...grpc.CallOption) (*VerificationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(VerificationResponse) - err := c.cc.Invoke(ctx, ImpulseService_Verification_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, ImpulseService_Verification_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -393,7 +403,7 @@ func _ImpulseService_Verification_Handler(srv interface{}, ctx context.Context, // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var ImpulseService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.impulse_svc.v1.ImpulseService", + ServiceName: "services.impulse_svc.v1.ImpulseService", HandlerType: (*ImpulseServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -438,5 +448,5 @@ var ImpulseService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/impulse_svc/v1/impulse_svc.proto", + Metadata: "services/impulse_svc/v1/impulse_svc.proto", } diff --git a/gen/go/services/ory_svc/v1/ory_svc.pb.go b/gen/go/services/ory_svc/v1/ory_svc.pb.go new file mode 100644 index 000000000..a1c64e53f --- /dev/null +++ b/gen/go/services/ory_svc/v1/ory_svc.pb.go @@ -0,0 +1,276 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc (unknown) +// source: services/ory_svc/v1/ory_svc.proto + +package ory_svc + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type AfterRegistrationWebhookPayloadRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"userId" validate:"uuid4"` // @gotags: validate:"uuid4" json:"userId" + Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email" validate:"required,email"` // @gotags: validate:"required,email" json:"email" + Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname" validate:"required"` // @gotags: validate:"required" json:"nickname" + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name" validate:"required"` // @gotags: validate:"required" json:"name" +} + +func (x *AfterRegistrationWebhookPayloadRequest) Reset() { + *x = AfterRegistrationWebhookPayloadRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_services_ory_svc_v1_ory_svc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AfterRegistrationWebhookPayloadRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AfterRegistrationWebhookPayloadRequest) ProtoMessage() {} + +func (x *AfterRegistrationWebhookPayloadRequest) ProtoReflect() protoreflect.Message { + mi := &file_services_ory_svc_v1_ory_svc_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AfterRegistrationWebhookPayloadRequest.ProtoReflect.Descriptor instead. +func (*AfterRegistrationWebhookPayloadRequest) Descriptor() ([]byte, []int) { + return file_services_ory_svc_v1_ory_svc_proto_rawDescGZIP(), []int{0} +} + +func (x *AfterRegistrationWebhookPayloadRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *AfterRegistrationWebhookPayloadRequest) GetEmail() string { + if x != nil { + return x.Email + } + return "" +} + +func (x *AfterRegistrationWebhookPayloadRequest) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *AfterRegistrationWebhookPayloadRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type AfterSettingsWebhookPayload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"userId" validate:"uuid4"` // @gotags: validate:"uuid4" json:"userId" + Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email" validate:"required,email"` // @gotags: validate:"required,email" json:"email" + Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname" validate:"required"` // @gotags: validate:"required" json:"nickname" + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name" validate:"required"` // @gotags: validate:"required" json:"name" +} + +func (x *AfterSettingsWebhookPayload) Reset() { + *x = AfterSettingsWebhookPayload{} + if protoimpl.UnsafeEnabled { + mi := &file_services_ory_svc_v1_ory_svc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AfterSettingsWebhookPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AfterSettingsWebhookPayload) ProtoMessage() {} + +func (x *AfterSettingsWebhookPayload) ProtoReflect() protoreflect.Message { + mi := &file_services_ory_svc_v1_ory_svc_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AfterSettingsWebhookPayload.ProtoReflect.Descriptor instead. +func (*AfterSettingsWebhookPayload) Descriptor() ([]byte, []int) { + return file_services_ory_svc_v1_ory_svc_proto_rawDescGZIP(), []int{1} +} + +func (x *AfterSettingsWebhookPayload) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *AfterSettingsWebhookPayload) GetEmail() string { + if x != nil { + return x.Email + } + return "" +} + +func (x *AfterSettingsWebhookPayload) GetNickname() string { + if x != nil { + return x.Nickname + } + return "" +} + +func (x *AfterSettingsWebhookPayload) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +var File_services_ory_svc_v1_ory_svc_proto protoreflect.FileDescriptor + +var file_services_ory_svc_v1_ory_svc_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x6f, 0x72, 0x79, 0x5f, 0x73, + 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x6f, 0x72, + 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x87, 0x01, 0x0a, 0x26, 0x41, 0x66, 0x74, + 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x65, + 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x22, 0x7c, 0x0a, 0x1b, 0x41, 0x66, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, + 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x42, 0xac, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4f, 0x72, + 0x79, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1a, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, + 0x6f, 0x72, 0x79, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x4f, 0x58, 0xaa, 0x02, 0x12, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4f, 0x72, 0x79, 0x53, 0x76, 0x63, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x12, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x4f, 0x72, + 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x5c, 0x4f, 0x72, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x4f, 0x72, 0x79, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_services_ory_svc_v1_ory_svc_proto_rawDescOnce sync.Once + file_services_ory_svc_v1_ory_svc_proto_rawDescData = file_services_ory_svc_v1_ory_svc_proto_rawDesc +) + +func file_services_ory_svc_v1_ory_svc_proto_rawDescGZIP() []byte { + file_services_ory_svc_v1_ory_svc_proto_rawDescOnce.Do(func() { + file_services_ory_svc_v1_ory_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_ory_svc_v1_ory_svc_proto_rawDescData) + }) + return file_services_ory_svc_v1_ory_svc_proto_rawDescData +} + +var file_services_ory_svc_v1_ory_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_services_ory_svc_v1_ory_svc_proto_goTypes = []interface{}{ + (*AfterRegistrationWebhookPayloadRequest)(nil), // 0: services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest + (*AfterSettingsWebhookPayload)(nil), // 1: services.ory_svc.v1.AfterSettingsWebhookPayload +} +var file_services_ory_svc_v1_ory_svc_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_services_ory_svc_v1_ory_svc_proto_init() } +func file_services_ory_svc_v1_ory_svc_proto_init() { + if File_services_ory_svc_v1_ory_svc_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_services_ory_svc_v1_ory_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AfterRegistrationWebhookPayloadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_services_ory_svc_v1_ory_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AfterSettingsWebhookPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_services_ory_svc_v1_ory_svc_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_services_ory_svc_v1_ory_svc_proto_goTypes, + DependencyIndexes: file_services_ory_svc_v1_ory_svc_proto_depIdxs, + MessageInfos: file_services_ory_svc_v1_ory_svc_proto_msgTypes, + }.Build() + File_services_ory_svc_v1_ory_svc_proto = out.File + file_services_ory_svc_v1_ory_svc_proto_rawDesc = nil + file_services_ory_svc_v1_ory_svc_proto_goTypes = nil + file_services_ory_svc_v1_ory_svc_proto_depIdxs = nil +} diff --git a/gen/go/services/property_svc/v1/property_set_svc.pb.go b/gen/go/services/property_svc/v1/property_set_svc.pb.go new file mode 100644 index 000000000..251512b67 --- /dev/null +++ b/gen/go/services/property_svc/v1/property_set_svc.pb.go @@ -0,0 +1,377 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc (unknown) +// source: services/property_svc/v1/property_set_svc.proto + +package property_svc + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CreatePropertySet +type CreatePropertySetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *CreatePropertySetRequest) Reset() { + *x = CreatePropertySetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_services_property_svc_v1_property_set_svc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreatePropertySetRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreatePropertySetRequest) ProtoMessage() {} + +func (x *CreatePropertySetRequest) ProtoReflect() protoreflect.Message { + mi := &file_services_property_svc_v1_property_set_svc_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreatePropertySetRequest.ProtoReflect.Descriptor instead. +func (*CreatePropertySetRequest) Descriptor() ([]byte, []int) { + return file_services_property_svc_v1_property_set_svc_proto_rawDescGZIP(), []int{0} +} + +func (x *CreatePropertySetRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type CreatePropertySetResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *CreatePropertySetResponse) Reset() { + *x = CreatePropertySetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_services_property_svc_v1_property_set_svc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreatePropertySetResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreatePropertySetResponse) ProtoMessage() {} + +func (x *CreatePropertySetResponse) ProtoReflect() protoreflect.Message { + mi := &file_services_property_svc_v1_property_set_svc_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreatePropertySetResponse.ProtoReflect.Descriptor instead. +func (*CreatePropertySetResponse) Descriptor() ([]byte, []int) { + return file_services_property_svc_v1_property_set_svc_proto_rawDescGZIP(), []int{1} +} + +func (x *CreatePropertySetResponse) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type GetPropertySetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *GetPropertySetRequest) Reset() { + *x = GetPropertySetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_services_property_svc_v1_property_set_svc_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPropertySetRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPropertySetRequest) ProtoMessage() {} + +func (x *GetPropertySetRequest) ProtoReflect() protoreflect.Message { + mi := &file_services_property_svc_v1_property_set_svc_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPropertySetRequest.ProtoReflect.Descriptor instead. +func (*GetPropertySetRequest) Descriptor() ([]byte, []int) { + return file_services_property_svc_v1_property_set_svc_proto_rawDescGZIP(), []int{2} +} + +func (x *GetPropertySetRequest) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type GetPropertySetResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *GetPropertySetResponse) Reset() { + *x = GetPropertySetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_services_property_svc_v1_property_set_svc_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPropertySetResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPropertySetResponse) ProtoMessage() {} + +func (x *GetPropertySetResponse) ProtoReflect() protoreflect.Message { + mi := &file_services_property_svc_v1_property_set_svc_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPropertySetResponse.ProtoReflect.Descriptor instead. +func (*GetPropertySetResponse) Descriptor() ([]byte, []int) { + return file_services_property_svc_v1_property_set_svc_proto_rawDescGZIP(), []int{3} +} + +func (x *GetPropertySetResponse) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *GetPropertySetResponse) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +var File_services_property_svc_v1_property_set_svc_proto protoreflect.FileDescriptor + +var file_services_property_svc_v1_property_set_svc_proto_rawDesc = []byte{ + 0x0a, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x2e, 0x0a, 0x18, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a, 0x19, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x27, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x22, 0x3c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, + 0x8b, 0x02, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7e, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x12, 0x32, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x33, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x12, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, + 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xd2, 0x01, + 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x13, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x53, 0x76, 0x63, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x50, 0x58, 0xaa, 0x02, 0x17, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, + 0xe2, 0x02, 0x23, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x3a, 0x3a, + 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_services_property_svc_v1_property_set_svc_proto_rawDescOnce sync.Once + file_services_property_svc_v1_property_set_svc_proto_rawDescData = file_services_property_svc_v1_property_set_svc_proto_rawDesc +) + +func file_services_property_svc_v1_property_set_svc_proto_rawDescGZIP() []byte { + file_services_property_svc_v1_property_set_svc_proto_rawDescOnce.Do(func() { + file_services_property_svc_v1_property_set_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_property_svc_v1_property_set_svc_proto_rawDescData) + }) + return file_services_property_svc_v1_property_set_svc_proto_rawDescData +} + +var file_services_property_svc_v1_property_set_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_services_property_svc_v1_property_set_svc_proto_goTypes = []interface{}{ + (*CreatePropertySetRequest)(nil), // 0: services.property_svc.v1.CreatePropertySetRequest + (*CreatePropertySetResponse)(nil), // 1: services.property_svc.v1.CreatePropertySetResponse + (*GetPropertySetRequest)(nil), // 2: services.property_svc.v1.GetPropertySetRequest + (*GetPropertySetResponse)(nil), // 3: services.property_svc.v1.GetPropertySetResponse +} +var file_services_property_svc_v1_property_set_svc_proto_depIdxs = []int32{ + 0, // 0: services.property_svc.v1.PropertySetService.CreatePropertySet:input_type -> services.property_svc.v1.CreatePropertySetRequest + 2, // 1: services.property_svc.v1.PropertySetService.GetPropertySet:input_type -> services.property_svc.v1.GetPropertySetRequest + 1, // 2: services.property_svc.v1.PropertySetService.CreatePropertySet:output_type -> services.property_svc.v1.CreatePropertySetResponse + 3, // 3: services.property_svc.v1.PropertySetService.GetPropertySet:output_type -> services.property_svc.v1.GetPropertySetResponse + 2, // [2:4] is the sub-list for method output_type + 0, // [0:2] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_services_property_svc_v1_property_set_svc_proto_init() } +func file_services_property_svc_v1_property_set_svc_proto_init() { + if File_services_property_svc_v1_property_set_svc_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_services_property_svc_v1_property_set_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreatePropertySetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_services_property_svc_v1_property_set_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreatePropertySetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_services_property_svc_v1_property_set_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertySetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_services_property_svc_v1_property_set_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertySetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_services_property_svc_v1_property_set_svc_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_services_property_svc_v1_property_set_svc_proto_goTypes, + DependencyIndexes: file_services_property_svc_v1_property_set_svc_proto_depIdxs, + MessageInfos: file_services_property_svc_v1_property_set_svc_proto_msgTypes, + }.Build() + File_services_property_svc_v1_property_set_svc_proto = out.File + file_services_property_svc_v1_property_set_svc_proto_rawDesc = nil + file_services_property_svc_v1_property_set_svc_proto_goTypes = nil + file_services_property_svc_v1_property_set_svc_proto_depIdxs = nil +} diff --git a/gen/go/proto/services/property_svc/v1/property_set_svc_grpc.pb.go b/gen/go/services/property_svc/v1/property_set_svc_grpc.pb.go similarity index 88% rename from gen/go/proto/services/property_svc/v1/property_set_svc_grpc.pb.go rename to gen/go/services/property_svc/v1/property_set_svc_grpc.pb.go index 21e709907..dcc991270 100644 --- a/gen/go/proto/services/property_svc/v1/property_set_svc_grpc.pb.go +++ b/gen/go/services/property_svc/v1/property_set_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/property_svc/v1/property_set_svc.proto +// source: services/property_svc/v1/property_set_svc.proto package property_svc @@ -15,12 +15,12 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - PropertySetService_CreatePropertySet_FullMethodName = "/proto.services.property_svc.v1.PropertySetService/CreatePropertySet" - PropertySetService_GetPropertySet_FullMethodName = "/proto.services.property_svc.v1.PropertySetService/GetPropertySet" + PropertySetService_CreatePropertySet_FullMethodName = "/services.property_svc.v1.PropertySetService/CreatePropertySet" + PropertySetService_GetPropertySet_FullMethodName = "/services.property_svc.v1.PropertySetService/GetPropertySet" ) // PropertySetServiceClient is the client API for PropertySetService service. @@ -40,8 +40,9 @@ func NewPropertySetServiceClient(cc grpc.ClientConnInterface) PropertySetService } func (c *propertySetServiceClient) CreatePropertySet(ctx context.Context, in *CreatePropertySetRequest, opts ...grpc.CallOption) (*CreatePropertySetResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreatePropertySetResponse) - err := c.cc.Invoke(ctx, PropertySetService_CreatePropertySet_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PropertySetService_CreatePropertySet_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -49,8 +50,9 @@ func (c *propertySetServiceClient) CreatePropertySet(ctx context.Context, in *Cr } func (c *propertySetServiceClient) GetPropertySet(ctx context.Context, in *GetPropertySetRequest, opts ...grpc.CallOption) (*GetPropertySetResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetPropertySetResponse) - err := c.cc.Invoke(ctx, PropertySetService_GetPropertySet_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PropertySetService_GetPropertySet_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -129,7 +131,7 @@ func _PropertySetService_GetPropertySet_Handler(srv interface{}, ctx context.Con // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var PropertySetService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.property_svc.v1.PropertySetService", + ServiceName: "services.property_svc.v1.PropertySetService", HandlerType: (*PropertySetServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -142,5 +144,5 @@ var PropertySetService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/property_svc/v1/property_set_svc.proto", + Metadata: "services/property_svc/v1/property_set_svc.proto", } diff --git a/gen/go/proto/services/property_svc/v1/property_svc.pb.go b/gen/go/services/property_svc/v1/property_svc.pb.go similarity index 57% rename from gen/go/proto/services/property_svc/v1/property_svc.pb.go rename to gen/go/services/property_svc/v1/property_svc.pb.go index c3f18e846..f4b7ba1a8 100644 --- a/gen/go/proto/services/property_svc/v1/property_svc.pb.go +++ b/gen/go/services/property_svc/v1/property_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/property_svc/v1/property_svc.proto +// source: services/property_svc/v1/property_svc.proto package property_svc @@ -26,9 +26,9 @@ type CreatePropertyRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SubjectType SubjectType `protobuf:"varint,2,opt,name=subject_type,json=subjectType,proto3,enum=proto.services.property_svc.v1.SubjectType" json:"subject_type,omitempty" validate:"required"` // @gotags: validate:"required" - FieldType FieldType `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3,enum=proto.services.property_svc.v1.FieldType" json:"field_type,omitempty" validate:"required"` // @gotags: validate:"required" - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" validate:"required"` // @gotags: validate:"required" + SubjectType SubjectType `protobuf:"varint,2,opt,name=subject_type,json=subjectType,proto3,enum=services.property_svc.v1.SubjectType" json:"subject_type,omitempty" validate:"required"` // @gotags: validate:"required" + FieldType FieldType `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3,enum=services.property_svc.v1.FieldType" json:"field_type,omitempty" validate:"required"` // @gotags: validate:"required" + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" validate:"required"` // @gotags: validate:"required" Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` // ID of set this Property should belong to SetId *string `protobuf:"bytes,6,opt,name=set_id,json=setId,proto3,oneof" json:"set_id,omitempty"` @@ -41,7 +41,7 @@ type CreatePropertyRequest struct { func (x *CreatePropertyRequest) Reset() { *x = CreatePropertyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[0] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -54,7 +54,7 @@ func (x *CreatePropertyRequest) String() string { func (*CreatePropertyRequest) ProtoMessage() {} func (x *CreatePropertyRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[0] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -67,7 +67,7 @@ func (x *CreatePropertyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreatePropertyRequest.ProtoReflect.Descriptor instead. func (*CreatePropertyRequest) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{0} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{0} } func (x *CreatePropertyRequest) GetSubjectType() SubjectType { @@ -140,7 +140,7 @@ type CreatePropertyResponse struct { func (x *CreatePropertyResponse) Reset() { *x = CreatePropertyResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[1] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -153,7 +153,7 @@ func (x *CreatePropertyResponse) String() string { func (*CreatePropertyResponse) ProtoMessage() {} func (x *CreatePropertyResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[1] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -166,7 +166,7 @@ func (x *CreatePropertyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreatePropertyResponse.ProtoReflect.Descriptor instead. func (*CreatePropertyResponse) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{1} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{1} } func (x *CreatePropertyResponse) GetPropertyId() string { @@ -187,7 +187,7 @@ type GetPropertyRequest struct { func (x *GetPropertyRequest) Reset() { *x = GetPropertyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[2] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -200,7 +200,7 @@ func (x *GetPropertyRequest) String() string { func (*GetPropertyRequest) ProtoMessage() {} func (x *GetPropertyRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[2] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -213,7 +213,7 @@ func (x *GetPropertyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPropertyRequest.ProtoReflect.Descriptor instead. func (*GetPropertyRequest) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{2} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{2} } func (x *GetPropertyRequest) GetId() string { @@ -229,8 +229,8 @@ type GetPropertyResponse struct { unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - SubjectType SubjectType `protobuf:"varint,2,opt,name=subject_type,json=subjectType,proto3,enum=proto.services.property_svc.v1.SubjectType" json:"subject_type,omitempty"` - FieldType FieldType `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3,enum=proto.services.property_svc.v1.FieldType" json:"field_type,omitempty"` + SubjectType SubjectType `protobuf:"varint,2,opt,name=subject_type,json=subjectType,proto3,enum=services.property_svc.v1.SubjectType" json:"subject_type,omitempty"` + FieldType FieldType `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3,enum=services.property_svc.v1.FieldType" json:"field_type,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` IsArchived bool `protobuf:"varint,6,opt,name=is_archived,json=isArchived,proto3" json:"is_archived,omitempty"` @@ -246,7 +246,7 @@ type GetPropertyResponse struct { func (x *GetPropertyResponse) Reset() { *x = GetPropertyResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[3] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -259,7 +259,7 @@ func (x *GetPropertyResponse) String() string { func (*GetPropertyResponse) ProtoMessage() {} func (x *GetPropertyResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[3] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -272,7 +272,7 @@ func (x *GetPropertyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPropertyResponse.ProtoReflect.Descriptor instead. func (*GetPropertyResponse) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{3} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{3} } func (x *GetPropertyResponse) GetId() string { @@ -361,7 +361,7 @@ type UpdatePropertyRequest struct { unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - SubjectType *SubjectType `protobuf:"varint,2,opt,name=subject_type,json=subjectType,proto3,enum=proto.services.property_svc.v1.SubjectType,oneof" json:"subject_type,omitempty"` + SubjectType *SubjectType `protobuf:"varint,2,opt,name=subject_type,json=subjectType,proto3,enum=services.property_svc.v1.SubjectType,oneof" json:"subject_type,omitempty"` Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` IsArchived *bool `protobuf:"varint,6,opt,name=is_archived,json=isArchived,proto3,oneof" json:"is_archived,omitempty"` @@ -376,7 +376,7 @@ type UpdatePropertyRequest struct { func (x *UpdatePropertyRequest) Reset() { *x = UpdatePropertyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[4] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -389,7 +389,7 @@ func (x *UpdatePropertyRequest) String() string { func (*UpdatePropertyRequest) ProtoMessage() {} func (x *UpdatePropertyRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[4] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -402,7 +402,7 @@ func (x *UpdatePropertyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdatePropertyRequest.ProtoReflect.Descriptor instead. func (*UpdatePropertyRequest) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{4} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{4} } func (x *UpdatePropertyRequest) GetId() string { @@ -480,7 +480,7 @@ type UpdatePropertyResponse struct { func (x *UpdatePropertyResponse) Reset() { *x = UpdatePropertyResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[5] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -493,7 +493,7 @@ func (x *UpdatePropertyResponse) String() string { func (*UpdatePropertyResponse) ProtoMessage() {} func (x *UpdatePropertyResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[5] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -506,7 +506,7 @@ func (x *UpdatePropertyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdatePropertyResponse.ProtoReflect.Descriptor instead. func (*UpdatePropertyResponse) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{5} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{5} } type GetPropertiesBySubjectTypeRequest struct { @@ -514,13 +514,13 @@ type GetPropertiesBySubjectTypeRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SubjectType SubjectType `protobuf:"varint,1,opt,name=subject_type,json=subjectType,proto3,enum=proto.services.property_svc.v1.SubjectType" json:"subject_type,omitempty"` + SubjectType SubjectType `protobuf:"varint,1,opt,name=subject_type,json=subjectType,proto3,enum=services.property_svc.v1.SubjectType" json:"subject_type,omitempty"` } func (x *GetPropertiesBySubjectTypeRequest) Reset() { *x = GetPropertiesBySubjectTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[6] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -533,7 +533,7 @@ func (x *GetPropertiesBySubjectTypeRequest) String() string { func (*GetPropertiesBySubjectTypeRequest) ProtoMessage() {} func (x *GetPropertiesBySubjectTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[6] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -546,7 +546,7 @@ func (x *GetPropertiesBySubjectTypeRequest) ProtoReflect() protoreflect.Message // Deprecated: Use GetPropertiesBySubjectTypeRequest.ProtoReflect.Descriptor instead. func (*GetPropertiesBySubjectTypeRequest) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{6} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{6} } func (x *GetPropertiesBySubjectTypeRequest) GetSubjectType() SubjectType { @@ -567,7 +567,7 @@ type GetPropertiesBySubjectTypeResponse struct { func (x *GetPropertiesBySubjectTypeResponse) Reset() { *x = GetPropertiesBySubjectTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[7] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -580,7 +580,7 @@ func (x *GetPropertiesBySubjectTypeResponse) String() string { func (*GetPropertiesBySubjectTypeResponse) ProtoMessage() {} func (x *GetPropertiesBySubjectTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[7] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -593,7 +593,7 @@ func (x *GetPropertiesBySubjectTypeResponse) ProtoReflect() protoreflect.Message // Deprecated: Use GetPropertiesBySubjectTypeResponse.ProtoReflect.Descriptor instead. func (*GetPropertiesBySubjectTypeResponse) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{7} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{7} } func (x *GetPropertiesBySubjectTypeResponse) GetProperties() []*GetPropertiesBySubjectTypeResponse_Property { @@ -615,7 +615,7 @@ type CreatePropertyRequest_SelectData struct { func (x *CreatePropertyRequest_SelectData) Reset() { *x = CreatePropertyRequest_SelectData{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[8] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -628,7 +628,7 @@ func (x *CreatePropertyRequest_SelectData) String() string { func (*CreatePropertyRequest_SelectData) ProtoMessage() {} func (x *CreatePropertyRequest_SelectData) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[8] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -641,7 +641,7 @@ func (x *CreatePropertyRequest_SelectData) ProtoReflect() protoreflect.Message { // Deprecated: Use CreatePropertyRequest_SelectData.ProtoReflect.Descriptor instead. func (*CreatePropertyRequest_SelectData) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{0, 0} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{0, 0} } func (x *CreatePropertyRequest_SelectData) GetAllowFreetext() bool { @@ -670,7 +670,7 @@ type CreatePropertyRequest_SelectData_SelectOption struct { func (x *CreatePropertyRequest_SelectData_SelectOption) Reset() { *x = CreatePropertyRequest_SelectData_SelectOption{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[9] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -683,7 +683,7 @@ func (x *CreatePropertyRequest_SelectData_SelectOption) String() string { func (*CreatePropertyRequest_SelectData_SelectOption) ProtoMessage() {} func (x *CreatePropertyRequest_SelectData_SelectOption) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[9] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -696,7 +696,7 @@ func (x *CreatePropertyRequest_SelectData_SelectOption) ProtoReflect() protorefl // Deprecated: Use CreatePropertyRequest_SelectData_SelectOption.ProtoReflect.Descriptor instead. func (*CreatePropertyRequest_SelectData_SelectOption) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{0, 0, 0} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{0, 0, 0} } func (x *CreatePropertyRequest_SelectData_SelectOption) GetName() string { @@ -730,7 +730,7 @@ type GetPropertyRequest_ViewSource struct { func (x *GetPropertyRequest_ViewSource) Reset() { *x = GetPropertyRequest_ViewSource{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[10] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -743,7 +743,7 @@ func (x *GetPropertyRequest_ViewSource) String() string { func (*GetPropertyRequest_ViewSource) ProtoMessage() {} func (x *GetPropertyRequest_ViewSource) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[10] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -756,7 +756,7 @@ func (x *GetPropertyRequest_ViewSource) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPropertyRequest_ViewSource.ProtoReflect.Descriptor instead. func (*GetPropertyRequest_ViewSource) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{2, 0} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{2, 0} } func (m *GetPropertyRequest_ViewSource) GetValue() isGetPropertyRequest_ViewSource_Value { @@ -808,7 +808,7 @@ type GetPropertyResponse_SelectData struct { func (x *GetPropertyResponse_SelectData) Reset() { *x = GetPropertyResponse_SelectData{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[11] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -821,7 +821,7 @@ func (x *GetPropertyResponse_SelectData) String() string { func (*GetPropertyResponse_SelectData) ProtoMessage() {} func (x *GetPropertyResponse_SelectData) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[11] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -834,7 +834,7 @@ func (x *GetPropertyResponse_SelectData) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPropertyResponse_SelectData.ProtoReflect.Descriptor instead. func (*GetPropertyResponse_SelectData) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{3, 0} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{3, 0} } func (x *GetPropertyResponse_SelectData) GetAllowFreetext() bool { @@ -865,7 +865,7 @@ type GetPropertyResponse_SelectData_SelectOption struct { func (x *GetPropertyResponse_SelectData_SelectOption) Reset() { *x = GetPropertyResponse_SelectData_SelectOption{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[12] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -878,7 +878,7 @@ func (x *GetPropertyResponse_SelectData_SelectOption) String() string { func (*GetPropertyResponse_SelectData_SelectOption) ProtoMessage() {} func (x *GetPropertyResponse_SelectData_SelectOption) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[12] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -891,7 +891,7 @@ func (x *GetPropertyResponse_SelectData_SelectOption) ProtoReflect() protoreflec // Deprecated: Use GetPropertyResponse_SelectData_SelectOption.ProtoReflect.Descriptor instead. func (*GetPropertyResponse_SelectData_SelectOption) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{3, 0, 0} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{3, 0, 0} } func (x *GetPropertyResponse_SelectData_SelectOption) GetId() string { @@ -935,7 +935,7 @@ type UpdatePropertyRequest_SelectData struct { func (x *UpdatePropertyRequest_SelectData) Reset() { *x = UpdatePropertyRequest_SelectData{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[13] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -948,7 +948,7 @@ func (x *UpdatePropertyRequest_SelectData) String() string { func (*UpdatePropertyRequest_SelectData) ProtoMessage() {} func (x *UpdatePropertyRequest_SelectData) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[13] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -961,7 +961,7 @@ func (x *UpdatePropertyRequest_SelectData) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdatePropertyRequest_SelectData.ProtoReflect.Descriptor instead. func (*UpdatePropertyRequest_SelectData) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{4, 0} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{4, 0} } func (x *UpdatePropertyRequest_SelectData) GetAllowFreetext() bool { @@ -999,7 +999,7 @@ type UpdatePropertyRequest_SelectData_SelectOption struct { func (x *UpdatePropertyRequest_SelectData_SelectOption) Reset() { *x = UpdatePropertyRequest_SelectData_SelectOption{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[14] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1012,7 +1012,7 @@ func (x *UpdatePropertyRequest_SelectData_SelectOption) String() string { func (*UpdatePropertyRequest_SelectData_SelectOption) ProtoMessage() {} func (x *UpdatePropertyRequest_SelectData_SelectOption) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[14] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1025,7 +1025,7 @@ func (x *UpdatePropertyRequest_SelectData_SelectOption) ProtoReflect() protorefl // Deprecated: Use UpdatePropertyRequest_SelectData_SelectOption.ProtoReflect.Descriptor instead. func (*UpdatePropertyRequest_SelectData_SelectOption) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{4, 0, 0} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{4, 0, 0} } func (x *UpdatePropertyRequest_SelectData_SelectOption) GetId() string { @@ -1062,8 +1062,8 @@ type GetPropertiesBySubjectTypeResponse_Property struct { unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - SubjectType SubjectType `protobuf:"varint,2,opt,name=subject_type,json=subjectType,proto3,enum=proto.services.property_svc.v1.SubjectType" json:"subject_type,omitempty"` - FieldType FieldType `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3,enum=proto.services.property_svc.v1.FieldType" json:"field_type,omitempty"` + SubjectType SubjectType `protobuf:"varint,2,opt,name=subject_type,json=subjectType,proto3,enum=services.property_svc.v1.SubjectType" json:"subject_type,omitempty"` + FieldType FieldType `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3,enum=services.property_svc.v1.FieldType" json:"field_type,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` IsArchived bool `protobuf:"varint,6,opt,name=is_archived,json=isArchived,proto3" json:"is_archived,omitempty"` @@ -1078,7 +1078,7 @@ type GetPropertiesBySubjectTypeResponse_Property struct { func (x *GetPropertiesBySubjectTypeResponse_Property) Reset() { *x = GetPropertiesBySubjectTypeResponse_Property{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[15] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1091,7 +1091,7 @@ func (x *GetPropertiesBySubjectTypeResponse_Property) String() string { func (*GetPropertiesBySubjectTypeResponse_Property) ProtoMessage() {} func (x *GetPropertiesBySubjectTypeResponse_Property) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[15] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1104,7 +1104,7 @@ func (x *GetPropertiesBySubjectTypeResponse_Property) ProtoReflect() protoreflec // Deprecated: Use GetPropertiesBySubjectTypeResponse_Property.ProtoReflect.Descriptor instead. func (*GetPropertiesBySubjectTypeResponse_Property) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{7, 0} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{7, 0} } func (x *GetPropertiesBySubjectTypeResponse_Property) GetId() string { @@ -1193,7 +1193,7 @@ type GetPropertiesBySubjectTypeResponse_Property_SelectData struct { func (x *GetPropertiesBySubjectTypeResponse_Property_SelectData) Reset() { *x = GetPropertiesBySubjectTypeResponse_Property_SelectData{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[16] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1206,7 +1206,7 @@ func (x *GetPropertiesBySubjectTypeResponse_Property_SelectData) String() string func (*GetPropertiesBySubjectTypeResponse_Property_SelectData) ProtoMessage() {} func (x *GetPropertiesBySubjectTypeResponse_Property_SelectData) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[16] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1219,7 +1219,7 @@ func (x *GetPropertiesBySubjectTypeResponse_Property_SelectData) ProtoReflect() // Deprecated: Use GetPropertiesBySubjectTypeResponse_Property_SelectData.ProtoReflect.Descriptor instead. func (*GetPropertiesBySubjectTypeResponse_Property_SelectData) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{7, 0, 0} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{7, 0, 0} } func (x *GetPropertiesBySubjectTypeResponse_Property_SelectData) GetAllowFreetext() bool { @@ -1250,7 +1250,7 @@ type GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption struct func (x *GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption) Reset() { *x = GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[17] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1263,7 +1263,7 @@ func (x *GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption) St func (*GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption) ProtoMessage() {} func (x *GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_svc_proto_msgTypes[17] + mi := &file_services_property_svc_v1_property_svc_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1276,7 +1276,7 @@ func (x *GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption) Pr // Deprecated: Use GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption.ProtoReflect.Descriptor instead. func (*GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{7, 0, 0, 0} + return file_services_property_svc_v1_property_svc_proto_rawDescGZIP(), []int{7, 0, 0, 0} } func (x *GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption) GetId() string { @@ -1307,363 +1307,351 @@ func (x *GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption) Ge return false } -var File_proto_services_property_svc_v1_property_svc_proto protoreflect.FileDescriptor +var File_services_property_svc_v1_property_svc_proto protoreflect.FileDescriptor -var file_proto_services_property_svc_v1_property_svc_proto_rawDesc = []byte{ - 0x0a, 0x31, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, - 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x1a, 0x2a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, - 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0xad, 0x05, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x0c, 0x73, 0x75, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x75, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x48, 0x0a, 0x0a, 0x66, 0x69, 0x65, - 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1a, - 0x0a, 0x06, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, - 0x52, 0x05, 0x73, 0x65, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x63, 0x0a, 0x0b, 0x73, 0x65, - 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x40, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, +var file_services_property_svc_v1_property_svc_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x24, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, + 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x05, + 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, - 0x61, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x1a, - 0x8f, 0x02, 0x0a, 0x0a, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2a, - 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x46, - 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x88, 0x01, 0x01, 0x12, 0x67, 0x0a, 0x07, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x65, - 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x1a, 0x59, 0x0a, 0x0c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0e, - 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, - 0x0a, 0x0f, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, - 0x74, 0x42, 0x11, 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, - 0x64, 0x61, 0x74, 0x61, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x22, - 0x39, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x12, 0x47, 0x65, - 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x1a, 0x4a, 0x0a, 0x0a, 0x56, 0x69, 0x65, 0x77, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, - 0x0a, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, - 0x52, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x12, 0x19, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x77, 0x61, 0x72, - 0x64, 0x49, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xf2, 0x06, 0x0a, - 0x13, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x4e, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x48, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, - 0x69, 0x73, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x06, 0x73, 0x65, - 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x05, 0x73, 0x65, - 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x61, 0x0a, 0x0b, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0a, 0x73, - 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x47, 0x0a, 0x1e, 0x61, 0x6c, 0x77, - 0x61, 0x79, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, - 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x08, 0x48, 0x03, 0x52, 0x1a, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x49, 0x6e, 0x63, 0x6c, 0x75, - 0x64, 0x65, 0x46, 0x6f, 0x72, 0x56, 0x69, 0x65, 0x77, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x88, - 0x01, 0x01, 0x1a, 0xbb, 0x02, 0x0a, 0x0a, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, - 0x61, 0x12, 0x2a, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, - 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x6c, 0x6c, - 0x6f, 0x77, 0x46, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x88, 0x01, 0x01, 0x12, 0x65, 0x0a, - 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53, - 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x86, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, - 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, - 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x0e, 0x0a, - 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, 0x0a, - 0x0f, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, - 0x42, 0x11, 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, - 0x61, 0x74, 0x61, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x21, - 0x0a, 0x1f, 0x5f, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x22, 0xd0, 0x06, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x53, 0x0a, 0x0c, 0x73, - 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x01, - 0x52, 0x0b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, - 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, - 0x12, 0x24, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x04, 0x52, 0x0a, 0x69, 0x73, 0x41, 0x72, 0x63, 0x68, 0x69, - 0x76, 0x65, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, 0x05, 0x73, 0x65, 0x74, 0x49, 0x64, 0x88, - 0x01, 0x01, 0x12, 0x63, 0x0a, 0x0b, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, - 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x92, 0x03, 0x0a, 0x0a, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, - 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, - 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x46, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x88, - 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x74, 0x0a, 0x0e, 0x75, 0x70, 0x73, - 0x65, 0x72, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x12, 0x1a, 0x0a, 0x06, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x02, 0x52, 0x05, 0x73, 0x65, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x5d, 0x0a, 0x0b, + 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, + 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x89, 0x02, 0x0a, 0x0a, + 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x0e, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x46, 0x72, 0x65, 0x65, 0x74, + 0x65, 0x78, 0x74, 0x88, 0x01, 0x01, 0x12, 0x61, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x0d, 0x75, 0x70, 0x73, 0x65, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, - 0xa7, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, - 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, - 0x12, 0x20, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, 0x08, 0x69, 0x73, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x88, - 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, - 0x69, 0x73, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x61, 0x6c, - 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x42, 0x11, 0x0a, 0x0f, - 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x42, - 0x0f, 0x0a, 0x0d, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x69, 0x73, - 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x65, - 0x74, 0x5f, 0x69, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x73, - 0x0a, 0x21, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, - 0x79, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x59, 0x0a, 0x0c, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, + 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x42, 0x11, 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, + 0x65, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x39, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x49, 0x64, + 0x22, 0x70, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x1a, 0x4a, 0x0a, 0x0a, 0x56, 0x69, 0x65, 0x77, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x12, 0x19, + 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x22, 0xda, 0x06, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x41, 0x72, 0x63, 0x68, + 0x69, 0x76, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x06, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x05, 0x73, 0x65, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, + 0x12, 0x5b, 0x0a, 0x0b, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x48, + 0x00, 0x52, 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x47, 0x0a, + 0x1e, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, + 0x66, 0x6f, 0x72, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x1a, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x49, + 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x46, 0x6f, 0x72, 0x56, 0x69, 0x65, 0x77, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, 0x1a, 0xb5, 0x02, 0x0a, 0x0a, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, + 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, + 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x46, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x88, 0x01, + 0x01, 0x12, 0x5f, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x1a, 0x86, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1b, + 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x69, 0x73, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, 0x0a, 0x0f, 0x5f, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x42, 0x11, + 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x21, 0x0a, 0x1f, + 0x5f, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, + 0x66, 0x6f, 0x72, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, + 0xbe, 0x06, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x4d, 0x0a, 0x0c, 0x73, 0x75, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x22, 0xbf, 0x07, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0a, 0x70, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x01, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, + 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x61, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x04, 0x52, + 0x0a, 0x69, 0x73, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1a, + 0x0a, 0x06, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, + 0x52, 0x05, 0x73, 0x65, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x5d, 0x0a, 0x0b, 0x73, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0a, 0x73, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x8c, 0x03, 0x0a, 0x0a, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, + 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x48, 0x00, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x46, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, + 0x74, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x6e, 0x0a, 0x0e, 0x75, + 0x70, 0x73, 0x65, 0x72, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x75, 0x70, + 0x73, 0x65, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xa7, 0x01, 0x0a, 0x0c, + 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, + 0x69, 0x73, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, + 0x02, 0x52, 0x08, 0x69, 0x73, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x88, 0x01, 0x01, 0x42, 0x07, + 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x69, 0x73, 0x5f, 0x63, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, + 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x42, 0x11, 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, + 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x07, 0x0a, 0x05, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x69, 0x73, 0x5f, 0x61, 0x72, 0x63, + 0x68, 0x69, 0x76, 0x65, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, + 0x22, 0x18, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6d, 0x0a, 0x21, 0x47, 0x65, + 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x48, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0xa1, 0x07, 0x0a, 0x22, 0x47, 0x65, + 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x65, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0xab, 0x06, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x93, 0x06, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x4e, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x48, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, - 0x69, 0x73, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x06, 0x73, 0x65, - 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x05, 0x73, 0x65, - 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x79, 0x0a, 0x0b, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x56, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, - 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, - 0x61, 0x1a, 0xd3, 0x02, 0x0a, 0x0a, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, - 0x12, 0x2a, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, - 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, - 0x77, 0x46, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x88, 0x01, 0x01, 0x12, 0x7d, 0x0a, 0x07, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x63, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x86, 0x01, 0x0a, 0x0c, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x63, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x43, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, - 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x42, 0x11, 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, - 0x65, 0x74, 0x5f, 0x69, 0x64, 0x32, 0xbb, 0x04, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x35, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x78, 0x0a, - 0x0b, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x32, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x81, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x35, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x42, + 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, + 0x0b, 0x69, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, 0x1a, + 0x0a, 0x06, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, + 0x52, 0x05, 0x73, 0x65, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x73, 0x0a, 0x0b, 0x73, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x50, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x1a, + 0xcd, 0x02, 0x0a, 0x0a, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2a, + 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x46, + 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x88, 0x01, 0x01, 0x12, 0x77, 0x0a, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5d, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x1a, 0x86, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, + 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x0e, 0x0a, 0x0c, + 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, 0x0a, 0x0f, + 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x42, + 0x11, 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x61, + 0x74, 0x61, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x32, 0x89, 0x04, + 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x75, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x12, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa5, 0x01, 0x0a, 0x1a, - 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, - 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x42, 0xee, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x99, 0x01, + 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, + 0x79, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x42, 0x79, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xcf, 0x01, 0x0a, 0x1c, 0x63, 0x6f, + 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2d, 0x73, 0x76, 0x63, 0xa2, - 0x02, 0x03, 0x50, 0x53, 0x50, 0xaa, 0x02, 0x1d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, - 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, - 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x29, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, - 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x20, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, - 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x02, 0x03, 0x53, 0x50, 0x58, 0xaa, 0x02, 0x17, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x17, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x23, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, + 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x19, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( - file_proto_services_property_svc_v1_property_svc_proto_rawDescOnce sync.Once - file_proto_services_property_svc_v1_property_svc_proto_rawDescData = file_proto_services_property_svc_v1_property_svc_proto_rawDesc + file_services_property_svc_v1_property_svc_proto_rawDescOnce sync.Once + file_services_property_svc_v1_property_svc_proto_rawDescData = file_services_property_svc_v1_property_svc_proto_rawDesc ) -func file_proto_services_property_svc_v1_property_svc_proto_rawDescGZIP() []byte { - file_proto_services_property_svc_v1_property_svc_proto_rawDescOnce.Do(func() { - file_proto_services_property_svc_v1_property_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_property_svc_v1_property_svc_proto_rawDescData) +func file_services_property_svc_v1_property_svc_proto_rawDescGZIP() []byte { + file_services_property_svc_v1_property_svc_proto_rawDescOnce.Do(func() { + file_services_property_svc_v1_property_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_property_svc_v1_property_svc_proto_rawDescData) }) - return file_proto_services_property_svc_v1_property_svc_proto_rawDescData -} - -var file_proto_services_property_svc_v1_property_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_proto_services_property_svc_v1_property_svc_proto_goTypes = []interface{}{ - (*CreatePropertyRequest)(nil), // 0: proto.services.property_svc.v1.CreatePropertyRequest - (*CreatePropertyResponse)(nil), // 1: proto.services.property_svc.v1.CreatePropertyResponse - (*GetPropertyRequest)(nil), // 2: proto.services.property_svc.v1.GetPropertyRequest - (*GetPropertyResponse)(nil), // 3: proto.services.property_svc.v1.GetPropertyResponse - (*UpdatePropertyRequest)(nil), // 4: proto.services.property_svc.v1.UpdatePropertyRequest - (*UpdatePropertyResponse)(nil), // 5: proto.services.property_svc.v1.UpdatePropertyResponse - (*GetPropertiesBySubjectTypeRequest)(nil), // 6: proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest - (*GetPropertiesBySubjectTypeResponse)(nil), // 7: proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse - (*CreatePropertyRequest_SelectData)(nil), // 8: proto.services.property_svc.v1.CreatePropertyRequest.SelectData - (*CreatePropertyRequest_SelectData_SelectOption)(nil), // 9: proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption - (*GetPropertyRequest_ViewSource)(nil), // 10: proto.services.property_svc.v1.GetPropertyRequest.ViewSource - (*GetPropertyResponse_SelectData)(nil), // 11: proto.services.property_svc.v1.GetPropertyResponse.SelectData - (*GetPropertyResponse_SelectData_SelectOption)(nil), // 12: proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption - (*UpdatePropertyRequest_SelectData)(nil), // 13: proto.services.property_svc.v1.UpdatePropertyRequest.SelectData - (*UpdatePropertyRequest_SelectData_SelectOption)(nil), // 14: proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption - (*GetPropertiesBySubjectTypeResponse_Property)(nil), // 15: proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property - (*GetPropertiesBySubjectTypeResponse_Property_SelectData)(nil), // 16: proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData - (*GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption)(nil), // 17: proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption - (SubjectType)(0), // 18: proto.services.property_svc.v1.SubjectType - (FieldType)(0), // 19: proto.services.property_svc.v1.FieldType -} -var file_proto_services_property_svc_v1_property_svc_proto_depIdxs = []int32{ - 18, // 0: proto.services.property_svc.v1.CreatePropertyRequest.subject_type:type_name -> proto.services.property_svc.v1.SubjectType - 19, // 1: proto.services.property_svc.v1.CreatePropertyRequest.field_type:type_name -> proto.services.property_svc.v1.FieldType - 8, // 2: proto.services.property_svc.v1.CreatePropertyRequest.select_data:type_name -> proto.services.property_svc.v1.CreatePropertyRequest.SelectData - 18, // 3: proto.services.property_svc.v1.GetPropertyResponse.subject_type:type_name -> proto.services.property_svc.v1.SubjectType - 19, // 4: proto.services.property_svc.v1.GetPropertyResponse.field_type:type_name -> proto.services.property_svc.v1.FieldType - 11, // 5: proto.services.property_svc.v1.GetPropertyResponse.select_data:type_name -> proto.services.property_svc.v1.GetPropertyResponse.SelectData - 18, // 6: proto.services.property_svc.v1.UpdatePropertyRequest.subject_type:type_name -> proto.services.property_svc.v1.SubjectType - 13, // 7: proto.services.property_svc.v1.UpdatePropertyRequest.select_data:type_name -> proto.services.property_svc.v1.UpdatePropertyRequest.SelectData - 18, // 8: proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.subject_type:type_name -> proto.services.property_svc.v1.SubjectType - 15, // 9: proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.properties:type_name -> proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property - 9, // 10: proto.services.property_svc.v1.CreatePropertyRequest.SelectData.options:type_name -> proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption - 12, // 11: proto.services.property_svc.v1.GetPropertyResponse.SelectData.options:type_name -> proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption - 14, // 12: proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.upsert_options:type_name -> proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption - 18, // 13: proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.subject_type:type_name -> proto.services.property_svc.v1.SubjectType - 19, // 14: proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.field_type:type_name -> proto.services.property_svc.v1.FieldType - 16, // 15: proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.select_data:type_name -> proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData - 17, // 16: proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.options:type_name -> proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption - 0, // 17: proto.services.property_svc.v1.PropertyService.CreateProperty:input_type -> proto.services.property_svc.v1.CreatePropertyRequest - 2, // 18: proto.services.property_svc.v1.PropertyService.GetProperty:input_type -> proto.services.property_svc.v1.GetPropertyRequest - 4, // 19: proto.services.property_svc.v1.PropertyService.UpdateProperty:input_type -> proto.services.property_svc.v1.UpdatePropertyRequest - 6, // 20: proto.services.property_svc.v1.PropertyService.GetPropertiesBySubjectType:input_type -> proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest - 1, // 21: proto.services.property_svc.v1.PropertyService.CreateProperty:output_type -> proto.services.property_svc.v1.CreatePropertyResponse - 3, // 22: proto.services.property_svc.v1.PropertyService.GetProperty:output_type -> proto.services.property_svc.v1.GetPropertyResponse - 5, // 23: proto.services.property_svc.v1.PropertyService.UpdateProperty:output_type -> proto.services.property_svc.v1.UpdatePropertyResponse - 7, // 24: proto.services.property_svc.v1.PropertyService.GetPropertiesBySubjectType:output_type -> proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse + return file_services_property_svc_v1_property_svc_proto_rawDescData +} + +var file_services_property_svc_v1_property_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_services_property_svc_v1_property_svc_proto_goTypes = []interface{}{ + (*CreatePropertyRequest)(nil), // 0: services.property_svc.v1.CreatePropertyRequest + (*CreatePropertyResponse)(nil), // 1: services.property_svc.v1.CreatePropertyResponse + (*GetPropertyRequest)(nil), // 2: services.property_svc.v1.GetPropertyRequest + (*GetPropertyResponse)(nil), // 3: services.property_svc.v1.GetPropertyResponse + (*UpdatePropertyRequest)(nil), // 4: services.property_svc.v1.UpdatePropertyRequest + (*UpdatePropertyResponse)(nil), // 5: services.property_svc.v1.UpdatePropertyResponse + (*GetPropertiesBySubjectTypeRequest)(nil), // 6: services.property_svc.v1.GetPropertiesBySubjectTypeRequest + (*GetPropertiesBySubjectTypeResponse)(nil), // 7: services.property_svc.v1.GetPropertiesBySubjectTypeResponse + (*CreatePropertyRequest_SelectData)(nil), // 8: services.property_svc.v1.CreatePropertyRequest.SelectData + (*CreatePropertyRequest_SelectData_SelectOption)(nil), // 9: services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption + (*GetPropertyRequest_ViewSource)(nil), // 10: services.property_svc.v1.GetPropertyRequest.ViewSource + (*GetPropertyResponse_SelectData)(nil), // 11: services.property_svc.v1.GetPropertyResponse.SelectData + (*GetPropertyResponse_SelectData_SelectOption)(nil), // 12: services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption + (*UpdatePropertyRequest_SelectData)(nil), // 13: services.property_svc.v1.UpdatePropertyRequest.SelectData + (*UpdatePropertyRequest_SelectData_SelectOption)(nil), // 14: services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption + (*GetPropertiesBySubjectTypeResponse_Property)(nil), // 15: services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property + (*GetPropertiesBySubjectTypeResponse_Property_SelectData)(nil), // 16: services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData + (*GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption)(nil), // 17: services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption + (SubjectType)(0), // 18: services.property_svc.v1.SubjectType + (FieldType)(0), // 19: services.property_svc.v1.FieldType +} +var file_services_property_svc_v1_property_svc_proto_depIdxs = []int32{ + 18, // 0: services.property_svc.v1.CreatePropertyRequest.subject_type:type_name -> services.property_svc.v1.SubjectType + 19, // 1: services.property_svc.v1.CreatePropertyRequest.field_type:type_name -> services.property_svc.v1.FieldType + 8, // 2: services.property_svc.v1.CreatePropertyRequest.select_data:type_name -> services.property_svc.v1.CreatePropertyRequest.SelectData + 18, // 3: services.property_svc.v1.GetPropertyResponse.subject_type:type_name -> services.property_svc.v1.SubjectType + 19, // 4: services.property_svc.v1.GetPropertyResponse.field_type:type_name -> services.property_svc.v1.FieldType + 11, // 5: services.property_svc.v1.GetPropertyResponse.select_data:type_name -> services.property_svc.v1.GetPropertyResponse.SelectData + 18, // 6: services.property_svc.v1.UpdatePropertyRequest.subject_type:type_name -> services.property_svc.v1.SubjectType + 13, // 7: services.property_svc.v1.UpdatePropertyRequest.select_data:type_name -> services.property_svc.v1.UpdatePropertyRequest.SelectData + 18, // 8: services.property_svc.v1.GetPropertiesBySubjectTypeRequest.subject_type:type_name -> services.property_svc.v1.SubjectType + 15, // 9: services.property_svc.v1.GetPropertiesBySubjectTypeResponse.properties:type_name -> services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property + 9, // 10: services.property_svc.v1.CreatePropertyRequest.SelectData.options:type_name -> services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption + 12, // 11: services.property_svc.v1.GetPropertyResponse.SelectData.options:type_name -> services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption + 14, // 12: services.property_svc.v1.UpdatePropertyRequest.SelectData.upsert_options:type_name -> services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption + 18, // 13: services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.subject_type:type_name -> services.property_svc.v1.SubjectType + 19, // 14: services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.field_type:type_name -> services.property_svc.v1.FieldType + 16, // 15: services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.select_data:type_name -> services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData + 17, // 16: services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.options:type_name -> services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption + 0, // 17: services.property_svc.v1.PropertyService.CreateProperty:input_type -> services.property_svc.v1.CreatePropertyRequest + 2, // 18: services.property_svc.v1.PropertyService.GetProperty:input_type -> services.property_svc.v1.GetPropertyRequest + 4, // 19: services.property_svc.v1.PropertyService.UpdateProperty:input_type -> services.property_svc.v1.UpdatePropertyRequest + 6, // 20: services.property_svc.v1.PropertyService.GetPropertiesBySubjectType:input_type -> services.property_svc.v1.GetPropertiesBySubjectTypeRequest + 1, // 21: services.property_svc.v1.PropertyService.CreateProperty:output_type -> services.property_svc.v1.CreatePropertyResponse + 3, // 22: services.property_svc.v1.PropertyService.GetProperty:output_type -> services.property_svc.v1.GetPropertyResponse + 5, // 23: services.property_svc.v1.PropertyService.UpdateProperty:output_type -> services.property_svc.v1.UpdatePropertyResponse + 7, // 24: services.property_svc.v1.PropertyService.GetPropertiesBySubjectType:output_type -> services.property_svc.v1.GetPropertiesBySubjectTypeResponse 21, // [21:25] is the sub-list for method output_type 17, // [17:21] is the sub-list for method input_type 17, // [17:17] is the sub-list for extension type_name @@ -1671,14 +1659,14 @@ var file_proto_services_property_svc_v1_property_svc_proto_depIdxs = []int32{ 0, // [0:17] is the sub-list for field type_name } -func init() { file_proto_services_property_svc_v1_property_svc_proto_init() } -func file_proto_services_property_svc_v1_property_svc_proto_init() { - if File_proto_services_property_svc_v1_property_svc_proto != nil { +func init() { file_services_property_svc_v1_property_svc_proto_init() } +func file_services_property_svc_v1_property_svc_proto_init() { + if File_services_property_svc_v1_property_svc_proto != nil { return } - file_proto_services_property_svc_v1_types_proto_init() + file_services_property_svc_v1_types_proto_init() if !protoimpl.UnsafeEnabled { - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreatePropertyRequest); i { case 0: return &v.state @@ -1690,7 +1678,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreatePropertyResponse); i { case 0: return &v.state @@ -1702,7 +1690,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPropertyRequest); i { case 0: return &v.state @@ -1714,7 +1702,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPropertyResponse); i { case 0: return &v.state @@ -1726,7 +1714,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdatePropertyRequest); i { case 0: return &v.state @@ -1738,7 +1726,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdatePropertyResponse); i { case 0: return &v.state @@ -1750,7 +1738,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPropertiesBySubjectTypeRequest); i { case 0: return &v.state @@ -1762,7 +1750,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPropertiesBySubjectTypeResponse); i { case 0: return &v.state @@ -1774,7 +1762,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreatePropertyRequest_SelectData); i { case 0: return &v.state @@ -1786,7 +1774,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreatePropertyRequest_SelectData_SelectOption); i { case 0: return &v.state @@ -1798,7 +1786,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPropertyRequest_ViewSource); i { case 0: return &v.state @@ -1810,7 +1798,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPropertyResponse_SelectData); i { case 0: return &v.state @@ -1822,7 +1810,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPropertyResponse_SelectData_SelectOption); i { case 0: return &v.state @@ -1834,7 +1822,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdatePropertyRequest_SelectData); i { case 0: return &v.state @@ -1846,7 +1834,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdatePropertyRequest_SelectData_SelectOption); i { case 0: return &v.state @@ -1858,7 +1846,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPropertiesBySubjectTypeResponse_Property); i { case 0: return &v.state @@ -1870,7 +1858,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPropertiesBySubjectTypeResponse_Property_SelectData); i { case 0: return &v.state @@ -1882,7 +1870,7 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPropertiesBySubjectTypeResponse_Property_SelectData_SelectOption); i { case 0: return &v.state @@ -1895,46 +1883,46 @@ func file_proto_services_property_svc_v1_property_svc_proto_init() { } } } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_services_property_svc_v1_property_svc_proto_msgTypes[0].OneofWrappers = []interface{}{ (*CreatePropertyRequest_SelectData_)(nil), } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_services_property_svc_v1_property_svc_proto_msgTypes[3].OneofWrappers = []interface{}{ (*GetPropertyResponse_SelectData_)(nil), } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_services_property_svc_v1_property_svc_proto_msgTypes[4].OneofWrappers = []interface{}{ (*UpdatePropertyRequest_SelectData_)(nil), } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[9].OneofWrappers = []interface{}{} - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[10].OneofWrappers = []interface{}{ + file_services_property_svc_v1_property_svc_proto_msgTypes[8].OneofWrappers = []interface{}{} + file_services_property_svc_v1_property_svc_proto_msgTypes[9].OneofWrappers = []interface{}{} + file_services_property_svc_v1_property_svc_proto_msgTypes[10].OneofWrappers = []interface{}{ (*GetPropertyRequest_ViewSource_Global)(nil), (*GetPropertyRequest_ViewSource_WardId)(nil), } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[11].OneofWrappers = []interface{}{} - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[12].OneofWrappers = []interface{}{} - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[13].OneofWrappers = []interface{}{} - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[14].OneofWrappers = []interface{}{} - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[15].OneofWrappers = []interface{}{ + file_services_property_svc_v1_property_svc_proto_msgTypes[11].OneofWrappers = []interface{}{} + file_services_property_svc_v1_property_svc_proto_msgTypes[12].OneofWrappers = []interface{}{} + file_services_property_svc_v1_property_svc_proto_msgTypes[13].OneofWrappers = []interface{}{} + file_services_property_svc_v1_property_svc_proto_msgTypes[14].OneofWrappers = []interface{}{} + file_services_property_svc_v1_property_svc_proto_msgTypes[15].OneofWrappers = []interface{}{ (*GetPropertiesBySubjectTypeResponse_Property_SelectData_)(nil), } - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[16].OneofWrappers = []interface{}{} - file_proto_services_property_svc_v1_property_svc_proto_msgTypes[17].OneofWrappers = []interface{}{} + file_services_property_svc_v1_property_svc_proto_msgTypes[16].OneofWrappers = []interface{}{} + file_services_property_svc_v1_property_svc_proto_msgTypes[17].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_property_svc_v1_property_svc_proto_rawDesc, + RawDescriptor: file_services_property_svc_v1_property_svc_proto_rawDesc, NumEnums: 0, NumMessages: 18, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_property_svc_v1_property_svc_proto_goTypes, - DependencyIndexes: file_proto_services_property_svc_v1_property_svc_proto_depIdxs, - MessageInfos: file_proto_services_property_svc_v1_property_svc_proto_msgTypes, + GoTypes: file_services_property_svc_v1_property_svc_proto_goTypes, + DependencyIndexes: file_services_property_svc_v1_property_svc_proto_depIdxs, + MessageInfos: file_services_property_svc_v1_property_svc_proto_msgTypes, }.Build() - File_proto_services_property_svc_v1_property_svc_proto = out.File - file_proto_services_property_svc_v1_property_svc_proto_rawDesc = nil - file_proto_services_property_svc_v1_property_svc_proto_goTypes = nil - file_proto_services_property_svc_v1_property_svc_proto_depIdxs = nil + File_services_property_svc_v1_property_svc_proto = out.File + file_services_property_svc_v1_property_svc_proto_rawDesc = nil + file_services_property_svc_v1_property_svc_proto_goTypes = nil + file_services_property_svc_v1_property_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/property_svc/v1/property_svc_grpc.pb.go b/gen/go/services/property_svc/v1/property_svc_grpc.pb.go similarity index 88% rename from gen/go/proto/services/property_svc/v1/property_svc_grpc.pb.go rename to gen/go/services/property_svc/v1/property_svc_grpc.pb.go index a5a43695c..ce0dbc113 100644 --- a/gen/go/proto/services/property_svc/v1/property_svc_grpc.pb.go +++ b/gen/go/services/property_svc/v1/property_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/property_svc/v1/property_svc.proto +// source: services/property_svc/v1/property_svc.proto package property_svc @@ -15,14 +15,14 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - PropertyService_CreateProperty_FullMethodName = "/proto.services.property_svc.v1.PropertyService/CreateProperty" - PropertyService_GetProperty_FullMethodName = "/proto.services.property_svc.v1.PropertyService/GetProperty" - PropertyService_UpdateProperty_FullMethodName = "/proto.services.property_svc.v1.PropertyService/UpdateProperty" - PropertyService_GetPropertiesBySubjectType_FullMethodName = "/proto.services.property_svc.v1.PropertyService/GetPropertiesBySubjectType" + PropertyService_CreateProperty_FullMethodName = "/services.property_svc.v1.PropertyService/CreateProperty" + PropertyService_GetProperty_FullMethodName = "/services.property_svc.v1.PropertyService/GetProperty" + PropertyService_UpdateProperty_FullMethodName = "/services.property_svc.v1.PropertyService/UpdateProperty" + PropertyService_GetPropertiesBySubjectType_FullMethodName = "/services.property_svc.v1.PropertyService/GetPropertiesBySubjectType" ) // PropertyServiceClient is the client API for PropertyService service. @@ -44,8 +44,9 @@ func NewPropertyServiceClient(cc grpc.ClientConnInterface) PropertyServiceClient } func (c *propertyServiceClient) CreateProperty(ctx context.Context, in *CreatePropertyRequest, opts ...grpc.CallOption) (*CreatePropertyResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreatePropertyResponse) - err := c.cc.Invoke(ctx, PropertyService_CreateProperty_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PropertyService_CreateProperty_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -53,8 +54,9 @@ func (c *propertyServiceClient) CreateProperty(ctx context.Context, in *CreatePr } func (c *propertyServiceClient) GetProperty(ctx context.Context, in *GetPropertyRequest, opts ...grpc.CallOption) (*GetPropertyResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetPropertyResponse) - err := c.cc.Invoke(ctx, PropertyService_GetProperty_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PropertyService_GetProperty_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -62,8 +64,9 @@ func (c *propertyServiceClient) GetProperty(ctx context.Context, in *GetProperty } func (c *propertyServiceClient) UpdateProperty(ctx context.Context, in *UpdatePropertyRequest, opts ...grpc.CallOption) (*UpdatePropertyResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdatePropertyResponse) - err := c.cc.Invoke(ctx, PropertyService_UpdateProperty_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PropertyService_UpdateProperty_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -71,8 +74,9 @@ func (c *propertyServiceClient) UpdateProperty(ctx context.Context, in *UpdatePr } func (c *propertyServiceClient) GetPropertiesBySubjectType(ctx context.Context, in *GetPropertiesBySubjectTypeRequest, opts ...grpc.CallOption) (*GetPropertiesBySubjectTypeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetPropertiesBySubjectTypeResponse) - err := c.cc.Invoke(ctx, PropertyService_GetPropertiesBySubjectType_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PropertyService_GetPropertiesBySubjectType_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -195,7 +199,7 @@ func _PropertyService_GetPropertiesBySubjectType_Handler(srv interface{}, ctx co // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var PropertyService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.property_svc.v1.PropertyService", + ServiceName: "services.property_svc.v1.PropertyService", HandlerType: (*PropertyServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -216,5 +220,5 @@ var PropertyService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/property_svc/v1/property_svc.proto", + Metadata: "services/property_svc/v1/property_svc.proto", } diff --git a/gen/go/proto/services/property_svc/v1/property_value_svc.pb.go b/gen/go/services/property_svc/v1/property_value_svc.pb.go similarity index 55% rename from gen/go/proto/services/property_svc/v1/property_value_svc.pb.go rename to gen/go/services/property_svc/v1/property_value_svc.pb.go index 47e1949d1..b54b8d22d 100644 --- a/gen/go/proto/services/property_svc/v1/property_value_svc.pb.go +++ b/gen/go/services/property_svc/v1/property_value_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/property_svc/v1/property_value_svc.proto +// source: services/property_svc/v1/property_value_svc.proto package property_svc @@ -43,7 +43,7 @@ type AttachPropertyValueRequest struct { func (x *AttachPropertyValueRequest) Reset() { *x = AttachPropertyValueRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[0] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -56,7 +56,7 @@ func (x *AttachPropertyValueRequest) String() string { func (*AttachPropertyValueRequest) ProtoMessage() {} func (x *AttachPropertyValueRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[0] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -69,7 +69,7 @@ func (x *AttachPropertyValueRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AttachPropertyValueRequest.ProtoReflect.Descriptor instead. func (*AttachPropertyValueRequest) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{0} + return file_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{0} } func (x *AttachPropertyValueRequest) GetSubjectId() string { @@ -186,7 +186,7 @@ type AttachPropertyValueResponse struct { func (x *AttachPropertyValueResponse) Reset() { *x = AttachPropertyValueResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[1] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -199,7 +199,7 @@ func (x *AttachPropertyValueResponse) String() string { func (*AttachPropertyValueResponse) ProtoMessage() {} func (x *AttachPropertyValueResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[1] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -212,7 +212,7 @@ func (x *AttachPropertyValueResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AttachPropertyValueResponse.ProtoReflect.Descriptor instead. func (*AttachPropertyValueResponse) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{1} + return file_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{1} } func (x *AttachPropertyValueResponse) GetPropertyValueId() string { @@ -234,7 +234,7 @@ type TaskPropertyMatcher struct { func (x *TaskPropertyMatcher) Reset() { *x = TaskPropertyMatcher{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[2] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -247,7 +247,7 @@ func (x *TaskPropertyMatcher) String() string { func (*TaskPropertyMatcher) ProtoMessage() {} func (x *TaskPropertyMatcher) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[2] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -260,7 +260,7 @@ func (x *TaskPropertyMatcher) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskPropertyMatcher.ProtoReflect.Descriptor instead. func (*TaskPropertyMatcher) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{2} + return file_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{2} } func (x *TaskPropertyMatcher) GetWardId() string { @@ -291,7 +291,7 @@ type GetAttachedPropertyValuesRequest struct { func (x *GetAttachedPropertyValuesRequest) Reset() { *x = GetAttachedPropertyValuesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[3] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -304,7 +304,7 @@ func (x *GetAttachedPropertyValuesRequest) String() string { func (*GetAttachedPropertyValuesRequest) ProtoMessage() {} func (x *GetAttachedPropertyValuesRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[3] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -317,7 +317,7 @@ func (x *GetAttachedPropertyValuesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAttachedPropertyValuesRequest.ProtoReflect.Descriptor instead. func (*GetAttachedPropertyValuesRequest) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{3} + return file_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{3} } func (m *GetAttachedPropertyValuesRequest) GetMatcher() isGetAttachedPropertyValuesRequest_Matcher { @@ -355,7 +355,7 @@ type GetAttachedPropertyValuesResponse struct { func (x *GetAttachedPropertyValuesResponse) Reset() { *x = GetAttachedPropertyValuesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[4] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -368,7 +368,7 @@ func (x *GetAttachedPropertyValuesResponse) String() string { func (*GetAttachedPropertyValuesResponse) ProtoMessage() {} func (x *GetAttachedPropertyValuesResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[4] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -381,7 +381,7 @@ func (x *GetAttachedPropertyValuesResponse) ProtoReflect() protoreflect.Message // Deprecated: Use GetAttachedPropertyValuesResponse.ProtoReflect.Descriptor instead. func (*GetAttachedPropertyValuesResponse) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{4} + return file_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{4} } func (x *GetAttachedPropertyValuesResponse) GetValues() []*GetAttachedPropertyValuesResponse_Value { @@ -397,7 +397,7 @@ type GetAttachedPropertyValuesResponse_Value struct { unknownFields protoimpl.UnknownFields PropertyId string `protobuf:"bytes,1,opt,name=property_id,json=propertyId,proto3" json:"property_id,omitempty"` - FieldType FieldType `protobuf:"varint,2,opt,name=field_type,json=fieldType,proto3,enum=proto.services.property_svc.v1.FieldType" json:"field_type,omitempty"` + FieldType FieldType `protobuf:"varint,2,opt,name=field_type,json=fieldType,proto3,enum=services.property_svc.v1.FieldType" json:"field_type,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` IsArchived bool `protobuf:"varint,5,opt,name=is_archived,json=isArchived,proto3" json:"is_archived,omitempty"` @@ -415,7 +415,7 @@ type GetAttachedPropertyValuesResponse_Value struct { func (x *GetAttachedPropertyValuesResponse_Value) Reset() { *x = GetAttachedPropertyValuesResponse_Value{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[5] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -428,7 +428,7 @@ func (x *GetAttachedPropertyValuesResponse_Value) String() string { func (*GetAttachedPropertyValuesResponse_Value) ProtoMessage() {} func (x *GetAttachedPropertyValuesResponse_Value) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[5] + mi := &file_services_property_svc_v1_property_value_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -441,7 +441,7 @@ func (x *GetAttachedPropertyValuesResponse_Value) ProtoReflect() protoreflect.Me // Deprecated: Use GetAttachedPropertyValuesResponse_Value.ProtoReflect.Descriptor instead. func (*GetAttachedPropertyValuesResponse_Value) Descriptor() ([]byte, []int) { - return file_proto_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{4, 0} + return file_services_property_svc_v1_property_value_svc_proto_rawDescGZIP(), []int{4, 0} } func (x *GetAttachedPropertyValuesResponse_Value) GetPropertyId() string { @@ -574,94 +574,91 @@ func (*GetAttachedPropertyValuesResponse_Value_DateTimeValue) isGetAttachedPrope func (*GetAttachedPropertyValuesResponse_Value_SelectValue) isGetAttachedPropertyValuesResponse_Value_Value() { } -var File_proto_services_property_svc_v1_property_value_svc_proto protoreflect.FileDescriptor - -var file_proto_services_property_svc_v1_property_value_svc_proto_rawDesc = []byte{ - 0x0a, 0x37, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, - 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x70, 0x72, 0x6f, 0x74, 0x6f, +var File_services_property_svc_v1_property_value_svc_proto protoreflect.FileDescriptor + +var file_services_property_svc_v1_property_value_svc_proto_rawDesc = []byte{ + 0x0a, 0x31, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x24, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf8, 0x02, 0x0a, 0x1a, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x74, 0x65, 0x78, 0x74, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, + 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, + 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x64, 0x61, + 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x2a, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfe, 0x02, 0x0a, 0x1a, 0x41, 0x74, 0x74, 0x61, 0x63, - 0x68, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x74, 0x65, 0x78, + 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x09, 0x64, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x64, + 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x48, 0x00, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, + 0x49, 0x0a, 0x1b, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, + 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x64, 0x22, 0x69, 0x0a, 0x13, 0x54, 0x61, + 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, + 0x72, 0x12, 0x1c, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, + 0x1c, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x01, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, + 0x08, 0x5f, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x22, 0x81, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, + 0x61, 0x63, 0x68, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x0c, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, + 0x00, 0x52, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x09, + 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x22, 0xf5, 0x04, 0x0a, 0x21, 0x47, 0x65, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x59, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x41, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x74, + 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0xf4, 0x03, 0x0a, 0x05, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, + 0x76, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x41, 0x72, 0x63, + 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x74, 0x65, 0x78, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, + 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, - 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, - 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x0a, - 0x64, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x09, 0x64, 0x61, 0x74, 0x65, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x65, - 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x49, 0x0a, 0x1b, 0x41, 0x74, 0x74, 0x61, 0x63, - 0x68, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x49, 0x64, 0x22, 0x69, 0x0a, 0x13, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x07, 0x77, 0x61, 0x72, - 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x77, 0x61, - 0x72, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, - 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, - 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x22, 0x87, 0x01, - 0x0a, 0x20, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x50, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x58, 0x0a, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, - 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, - 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x09, 0x0a, 0x07, - 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x22, 0x87, 0x05, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x41, - 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, - 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x80, - 0x04, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x0a, 0x66, 0x69, 0x65, - 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1f, - 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, - 0x1f, 0x0a, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x74, 0x65, 0x78, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x23, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, - 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x48, + 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x0a, + 0x64, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x09, 0x64, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, @@ -672,81 +669,78 @@ var file_proto_services_property_svc_v1_property_value_svc_proto_rawDesc = []byt 0x6c, 0x75, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x32, 0xce, 0x02, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x13, 0x41, + 0x6e, 0x32, 0xb6, 0x02, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x13, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x3a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x75, 0x65, 0x12, 0x34, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, + 0x74, 0x61, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa2, 0x01, - 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x50, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x40, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x42, 0xf3, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x15, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x1f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2d, - 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x50, 0xaa, 0x02, 0x1d, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1d, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x29, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x96, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, + 0x64, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, + 0x3a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x74, + 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, + 0x65, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xd4, 0x01, 0x0a, 0x1c, 0x63, + 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x15, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x50, 0x58, 0xaa, 0x02, 0x17, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, + 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, + 0x02, 0x23, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x20, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x79, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_proto_services_property_svc_v1_property_value_svc_proto_rawDescOnce sync.Once - file_proto_services_property_svc_v1_property_value_svc_proto_rawDescData = file_proto_services_property_svc_v1_property_value_svc_proto_rawDesc + file_services_property_svc_v1_property_value_svc_proto_rawDescOnce sync.Once + file_services_property_svc_v1_property_value_svc_proto_rawDescData = file_services_property_svc_v1_property_value_svc_proto_rawDesc ) -func file_proto_services_property_svc_v1_property_value_svc_proto_rawDescGZIP() []byte { - file_proto_services_property_svc_v1_property_value_svc_proto_rawDescOnce.Do(func() { - file_proto_services_property_svc_v1_property_value_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_property_svc_v1_property_value_svc_proto_rawDescData) +func file_services_property_svc_v1_property_value_svc_proto_rawDescGZIP() []byte { + file_services_property_svc_v1_property_value_svc_proto_rawDescOnce.Do(func() { + file_services_property_svc_v1_property_value_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_property_svc_v1_property_value_svc_proto_rawDescData) }) - return file_proto_services_property_svc_v1_property_value_svc_proto_rawDescData -} - -var file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_proto_services_property_svc_v1_property_value_svc_proto_goTypes = []interface{}{ - (*AttachPropertyValueRequest)(nil), // 0: proto.services.property_svc.v1.AttachPropertyValueRequest - (*AttachPropertyValueResponse)(nil), // 1: proto.services.property_svc.v1.AttachPropertyValueResponse - (*TaskPropertyMatcher)(nil), // 2: proto.services.property_svc.v1.TaskPropertyMatcher - (*GetAttachedPropertyValuesRequest)(nil), // 3: proto.services.property_svc.v1.GetAttachedPropertyValuesRequest - (*GetAttachedPropertyValuesResponse)(nil), // 4: proto.services.property_svc.v1.GetAttachedPropertyValuesResponse - (*GetAttachedPropertyValuesResponse_Value)(nil), // 5: proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value - (*Date)(nil), // 6: proto.services.property_svc.v1.Date + return file_services_property_svc_v1_property_value_svc_proto_rawDescData +} + +var file_services_property_svc_v1_property_value_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_services_property_svc_v1_property_value_svc_proto_goTypes = []interface{}{ + (*AttachPropertyValueRequest)(nil), // 0: services.property_svc.v1.AttachPropertyValueRequest + (*AttachPropertyValueResponse)(nil), // 1: services.property_svc.v1.AttachPropertyValueResponse + (*TaskPropertyMatcher)(nil), // 2: services.property_svc.v1.TaskPropertyMatcher + (*GetAttachedPropertyValuesRequest)(nil), // 3: services.property_svc.v1.GetAttachedPropertyValuesRequest + (*GetAttachedPropertyValuesResponse)(nil), // 4: services.property_svc.v1.GetAttachedPropertyValuesResponse + (*GetAttachedPropertyValuesResponse_Value)(nil), // 5: services.property_svc.v1.GetAttachedPropertyValuesResponse.Value + (*Date)(nil), // 6: services.property_svc.v1.Date (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp - (FieldType)(0), // 8: proto.services.property_svc.v1.FieldType -} -var file_proto_services_property_svc_v1_property_value_svc_proto_depIdxs = []int32{ - 6, // 0: proto.services.property_svc.v1.AttachPropertyValueRequest.date_value:type_name -> proto.services.property_svc.v1.Date - 7, // 1: proto.services.property_svc.v1.AttachPropertyValueRequest.date_time_value:type_name -> google.protobuf.Timestamp - 2, // 2: proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.task_matcher:type_name -> proto.services.property_svc.v1.TaskPropertyMatcher - 5, // 3: proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.values:type_name -> proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value - 8, // 4: proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.field_type:type_name -> proto.services.property_svc.v1.FieldType - 6, // 5: proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.date_value:type_name -> proto.services.property_svc.v1.Date - 7, // 6: proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.date_time_value:type_name -> google.protobuf.Timestamp - 0, // 7: proto.services.property_svc.v1.PropertyValueService.AttachPropertyValue:input_type -> proto.services.property_svc.v1.AttachPropertyValueRequest - 3, // 8: proto.services.property_svc.v1.PropertyValueService.GetAttachedPropertyValues:input_type -> proto.services.property_svc.v1.GetAttachedPropertyValuesRequest - 1, // 9: proto.services.property_svc.v1.PropertyValueService.AttachPropertyValue:output_type -> proto.services.property_svc.v1.AttachPropertyValueResponse - 4, // 10: proto.services.property_svc.v1.PropertyValueService.GetAttachedPropertyValues:output_type -> proto.services.property_svc.v1.GetAttachedPropertyValuesResponse + (FieldType)(0), // 8: services.property_svc.v1.FieldType +} +var file_services_property_svc_v1_property_value_svc_proto_depIdxs = []int32{ + 6, // 0: services.property_svc.v1.AttachPropertyValueRequest.date_value:type_name -> services.property_svc.v1.Date + 7, // 1: services.property_svc.v1.AttachPropertyValueRequest.date_time_value:type_name -> google.protobuf.Timestamp + 2, // 2: services.property_svc.v1.GetAttachedPropertyValuesRequest.task_matcher:type_name -> services.property_svc.v1.TaskPropertyMatcher + 5, // 3: services.property_svc.v1.GetAttachedPropertyValuesResponse.values:type_name -> services.property_svc.v1.GetAttachedPropertyValuesResponse.Value + 8, // 4: services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.field_type:type_name -> services.property_svc.v1.FieldType + 6, // 5: services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.date_value:type_name -> services.property_svc.v1.Date + 7, // 6: services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.date_time_value:type_name -> google.protobuf.Timestamp + 0, // 7: services.property_svc.v1.PropertyValueService.AttachPropertyValue:input_type -> services.property_svc.v1.AttachPropertyValueRequest + 3, // 8: services.property_svc.v1.PropertyValueService.GetAttachedPropertyValues:input_type -> services.property_svc.v1.GetAttachedPropertyValuesRequest + 1, // 9: services.property_svc.v1.PropertyValueService.AttachPropertyValue:output_type -> services.property_svc.v1.AttachPropertyValueResponse + 4, // 10: services.property_svc.v1.PropertyValueService.GetAttachedPropertyValues:output_type -> services.property_svc.v1.GetAttachedPropertyValuesResponse 9, // [9:11] is the sub-list for method output_type 7, // [7:9] is the sub-list for method input_type 7, // [7:7] is the sub-list for extension type_name @@ -754,14 +748,14 @@ var file_proto_services_property_svc_v1_property_value_svc_proto_depIdxs = []int 0, // [0:7] is the sub-list for field type_name } -func init() { file_proto_services_property_svc_v1_property_value_svc_proto_init() } -func file_proto_services_property_svc_v1_property_value_svc_proto_init() { - if File_proto_services_property_svc_v1_property_value_svc_proto != nil { +func init() { file_services_property_svc_v1_property_value_svc_proto_init() } +func file_services_property_svc_v1_property_value_svc_proto_init() { + if File_services_property_svc_v1_property_value_svc_proto != nil { return } - file_proto_services_property_svc_v1_types_proto_init() + file_services_property_svc_v1_types_proto_init() if !protoimpl.UnsafeEnabled { - file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_value_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AttachPropertyValueRequest); i { case 0: return &v.state @@ -773,7 +767,7 @@ func file_proto_services_property_svc_v1_property_value_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_value_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AttachPropertyValueResponse); i { case 0: return &v.state @@ -785,7 +779,7 @@ func file_proto_services_property_svc_v1_property_value_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_value_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TaskPropertyMatcher); i { case 0: return &v.state @@ -797,7 +791,7 @@ func file_proto_services_property_svc_v1_property_value_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_value_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAttachedPropertyValuesRequest); i { case 0: return &v.state @@ -809,7 +803,7 @@ func file_proto_services_property_svc_v1_property_value_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_value_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAttachedPropertyValuesResponse); i { case 0: return &v.state @@ -821,7 +815,7 @@ func file_proto_services_property_svc_v1_property_value_svc_proto_init() { return nil } } - file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_property_svc_v1_property_value_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAttachedPropertyValuesResponse_Value); i { case 0: return &v.state @@ -834,7 +828,7 @@ func file_proto_services_property_svc_v1_property_value_svc_proto_init() { } } } - file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_services_property_svc_v1_property_value_svc_proto_msgTypes[0].OneofWrappers = []interface{}{ (*AttachPropertyValueRequest_TextValue)(nil), (*AttachPropertyValueRequest_NumberValue)(nil), (*AttachPropertyValueRequest_BoolValue)(nil), @@ -842,11 +836,11 @@ func file_proto_services_property_svc_v1_property_value_svc_proto_init() { (*AttachPropertyValueRequest_DateTimeValue)(nil), (*AttachPropertyValueRequest_SelectValue)(nil), } - file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_services_property_svc_v1_property_value_svc_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_services_property_svc_v1_property_value_svc_proto_msgTypes[3].OneofWrappers = []interface{}{ (*GetAttachedPropertyValuesRequest_TaskMatcher)(nil), } - file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes[5].OneofWrappers = []interface{}{ + file_services_property_svc_v1_property_value_svc_proto_msgTypes[5].OneofWrappers = []interface{}{ (*GetAttachedPropertyValuesResponse_Value_TextValue)(nil), (*GetAttachedPropertyValuesResponse_Value_NumberValue)(nil), (*GetAttachedPropertyValuesResponse_Value_BoolValue)(nil), @@ -858,18 +852,18 @@ func file_proto_services_property_svc_v1_property_value_svc_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_property_svc_v1_property_value_svc_proto_rawDesc, + RawDescriptor: file_services_property_svc_v1_property_value_svc_proto_rawDesc, NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_property_svc_v1_property_value_svc_proto_goTypes, - DependencyIndexes: file_proto_services_property_svc_v1_property_value_svc_proto_depIdxs, - MessageInfos: file_proto_services_property_svc_v1_property_value_svc_proto_msgTypes, + GoTypes: file_services_property_svc_v1_property_value_svc_proto_goTypes, + DependencyIndexes: file_services_property_svc_v1_property_value_svc_proto_depIdxs, + MessageInfos: file_services_property_svc_v1_property_value_svc_proto_msgTypes, }.Build() - File_proto_services_property_svc_v1_property_value_svc_proto = out.File - file_proto_services_property_svc_v1_property_value_svc_proto_rawDesc = nil - file_proto_services_property_svc_v1_property_value_svc_proto_goTypes = nil - file_proto_services_property_svc_v1_property_value_svc_proto_depIdxs = nil + File_services_property_svc_v1_property_value_svc_proto = out.File + file_services_property_svc_v1_property_value_svc_proto_rawDesc = nil + file_services_property_svc_v1_property_value_svc_proto_goTypes = nil + file_services_property_svc_v1_property_value_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/property_svc/v1/property_value_svc_grpc.pb.go b/gen/go/services/property_svc/v1/property_value_svc_grpc.pb.go similarity index 90% rename from gen/go/proto/services/property_svc/v1/property_value_svc_grpc.pb.go rename to gen/go/services/property_svc/v1/property_value_svc_grpc.pb.go index 7845eb3ca..cf1298eeb 100644 --- a/gen/go/proto/services/property_svc/v1/property_value_svc_grpc.pb.go +++ b/gen/go/services/property_svc/v1/property_value_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/property_svc/v1/property_value_svc.proto +// source: services/property_svc/v1/property_value_svc.proto package property_svc @@ -15,12 +15,12 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - PropertyValueService_AttachPropertyValue_FullMethodName = "/proto.services.property_svc.v1.PropertyValueService/AttachPropertyValue" - PropertyValueService_GetAttachedPropertyValues_FullMethodName = "/proto.services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues" + PropertyValueService_AttachPropertyValue_FullMethodName = "/services.property_svc.v1.PropertyValueService/AttachPropertyValue" + PropertyValueService_GetAttachedPropertyValues_FullMethodName = "/services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues" ) // PropertyValueServiceClient is the client API for PropertyValueService service. @@ -40,8 +40,9 @@ func NewPropertyValueServiceClient(cc grpc.ClientConnInterface) PropertyValueSer } func (c *propertyValueServiceClient) AttachPropertyValue(ctx context.Context, in *AttachPropertyValueRequest, opts ...grpc.CallOption) (*AttachPropertyValueResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AttachPropertyValueResponse) - err := c.cc.Invoke(ctx, PropertyValueService_AttachPropertyValue_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PropertyValueService_AttachPropertyValue_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -49,8 +50,9 @@ func (c *propertyValueServiceClient) AttachPropertyValue(ctx context.Context, in } func (c *propertyValueServiceClient) GetAttachedPropertyValues(ctx context.Context, in *GetAttachedPropertyValuesRequest, opts ...grpc.CallOption) (*GetAttachedPropertyValuesResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAttachedPropertyValuesResponse) - err := c.cc.Invoke(ctx, PropertyValueService_GetAttachedPropertyValues_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PropertyValueService_GetAttachedPropertyValues_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -129,7 +131,7 @@ func _PropertyValueService_GetAttachedPropertyValues_Handler(srv interface{}, ct // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var PropertyValueService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.property_svc.v1.PropertyValueService", + ServiceName: "services.property_svc.v1.PropertyValueService", HandlerType: (*PropertyValueServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -142,5 +144,5 @@ var PropertyValueService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/property_svc/v1/property_value_svc.proto", + Metadata: "services/property_svc/v1/property_value_svc.proto", } diff --git a/gen/go/services/property_svc/v1/property_views_svc.pb.go b/gen/go/services/property_svc/v1/property_views_svc.pb.go new file mode 100644 index 000000000..1fb941e29 --- /dev/null +++ b/gen/go/services/property_svc/v1/property_views_svc.pb.go @@ -0,0 +1,379 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc (unknown) +// source: services/property_svc/v1/property_views_svc.proto + +package property_svc + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FilterUpdate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // append property_id to the always_include list + // this means the property is shown, unless a more specific rule (including itself) + // puts it in its dont_always_include list + AppendToAlwaysInclude []string `protobuf:"bytes,1,rep,name=append_to_always_include,json=appendToAlwaysInclude,proto3" json:"append_to_always_include,omitempty" validate:"dive,uuid4"` // @gotags: validate:"dive,uuid4" + // remove property_id to the always_include list, also see append_to_always_include + RemoveFromAlwaysInclude []string `protobuf:"bytes,2,rep,name=remove_from_always_include,json=removeFromAlwaysInclude,proto3" json:"remove_from_always_include,omitempty" validate:"dive,uuid4"` // @gotags: validate:"dive,uuid4" + // append property_id to the dont_always_include list, also see append_to_always_include + AppendToDontAlwaysInclude []string `protobuf:"bytes,3,rep,name=append_to_dont_always_include,json=appendToDontAlwaysInclude,proto3" json:"append_to_dont_always_include,omitempty" validate:"dive,uuid4"` // @gotags: validate:"dive,uuid4" + // remove property_id to the dont_always_include list, also see append_to_always_include + RemoveFromDontAlwaysInclude []string `protobuf:"bytes,4,rep,name=remove_from_dont_always_include,json=removeFromDontAlwaysInclude,proto3" json:"remove_from_dont_always_include,omitempty" validate:"dive,uuid4"` // @gotags: validate:"dive,uuid4" +} + +func (x *FilterUpdate) Reset() { + *x = FilterUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_services_property_svc_v1_property_views_svc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FilterUpdate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FilterUpdate) ProtoMessage() {} + +func (x *FilterUpdate) ProtoReflect() protoreflect.Message { + mi := &file_services_property_svc_v1_property_views_svc_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FilterUpdate.ProtoReflect.Descriptor instead. +func (*FilterUpdate) Descriptor() ([]byte, []int) { + return file_services_property_svc_v1_property_views_svc_proto_rawDescGZIP(), []int{0} +} + +func (x *FilterUpdate) GetAppendToAlwaysInclude() []string { + if x != nil { + return x.AppendToAlwaysInclude + } + return nil +} + +func (x *FilterUpdate) GetRemoveFromAlwaysInclude() []string { + if x != nil { + return x.RemoveFromAlwaysInclude + } + return nil +} + +func (x *FilterUpdate) GetAppendToDontAlwaysInclude() []string { + if x != nil { + return x.AppendToDontAlwaysInclude + } + return nil +} + +func (x *FilterUpdate) GetRemoveFromDontAlwaysInclude() []string { + if x != nil { + return x.RemoveFromDontAlwaysInclude + } + return nil +} + +type UpdatePropertyViewRuleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FilterUpdate *FilterUpdate `protobuf:"bytes,1,opt,name=filter_update,json=filterUpdate,proto3" json:"filter_update,omitempty" validate:"required"` // @gotags: validate:"required" + // Types that are assignable to Matcher: + // + // *UpdatePropertyViewRuleRequest_TaskMatcher + Matcher isUpdatePropertyViewRuleRequest_Matcher `protobuf_oneof:"matcher"` +} + +func (x *UpdatePropertyViewRuleRequest) Reset() { + *x = UpdatePropertyViewRuleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_services_property_svc_v1_property_views_svc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePropertyViewRuleRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePropertyViewRuleRequest) ProtoMessage() {} + +func (x *UpdatePropertyViewRuleRequest) ProtoReflect() protoreflect.Message { + mi := &file_services_property_svc_v1_property_views_svc_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePropertyViewRuleRequest.ProtoReflect.Descriptor instead. +func (*UpdatePropertyViewRuleRequest) Descriptor() ([]byte, []int) { + return file_services_property_svc_v1_property_views_svc_proto_rawDescGZIP(), []int{1} +} + +func (x *UpdatePropertyViewRuleRequest) GetFilterUpdate() *FilterUpdate { + if x != nil { + return x.FilterUpdate + } + return nil +} + +func (m *UpdatePropertyViewRuleRequest) GetMatcher() isUpdatePropertyViewRuleRequest_Matcher { + if m != nil { + return m.Matcher + } + return nil +} + +func (x *UpdatePropertyViewRuleRequest) GetTaskMatcher() *TaskPropertyMatcher { + if x, ok := x.GetMatcher().(*UpdatePropertyViewRuleRequest_TaskMatcher); ok { + return x.TaskMatcher + } + return nil +} + +type isUpdatePropertyViewRuleRequest_Matcher interface { + isUpdatePropertyViewRuleRequest_Matcher() +} + +type UpdatePropertyViewRuleRequest_TaskMatcher struct { + TaskMatcher *TaskPropertyMatcher `protobuf:"bytes,2,opt,name=task_matcher,json=taskMatcher,proto3,oneof"` +} + +func (*UpdatePropertyViewRuleRequest_TaskMatcher) isUpdatePropertyViewRuleRequest_Matcher() {} + +type UpdatePropertyViewRuleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *UpdatePropertyViewRuleResponse) Reset() { + *x = UpdatePropertyViewRuleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_services_property_svc_v1_property_views_svc_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePropertyViewRuleResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePropertyViewRuleResponse) ProtoMessage() {} + +func (x *UpdatePropertyViewRuleResponse) ProtoReflect() protoreflect.Message { + mi := &file_services_property_svc_v1_property_views_svc_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePropertyViewRuleResponse.ProtoReflect.Descriptor instead. +func (*UpdatePropertyViewRuleResponse) Descriptor() ([]byte, []int) { + return file_services_property_svc_v1_property_views_svc_proto_rawDescGZIP(), []int{2} +} + +var File_services_property_svc_v1_property_views_svc_proto protoreflect.FileDescriptor + +var file_services_property_svc_v1_property_views_svc_proto_rawDesc = []byte{ + 0x0a, 0x31, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x31, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x8c, 0x02, 0x0a, 0x0c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x12, 0x37, 0x0a, 0x18, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x61, + 0x6c, 0x77, 0x61, 0x79, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x15, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x41, 0x6c, 0x77, + 0x61, 0x79, 0x73, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x72, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, + 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, + 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, + 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x12, 0x40, 0x0a, 0x1d, 0x61, 0x70, 0x70, 0x65, 0x6e, + 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x64, 0x6f, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, + 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x19, + 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x74, 0x41, 0x6c, 0x77, 0x61, + 0x79, 0x73, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x12, 0x44, 0x0a, 0x1f, 0x72, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x64, 0x6f, 0x6e, 0x74, 0x5f, 0x61, 0x6c, + 0x77, 0x61, 0x79, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x1b, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x6f, + 0x6e, 0x74, 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x22, + 0xcb, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x56, 0x69, 0x65, 0x77, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x4b, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x52, + 0x0a, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x61, 0x74, 0x63, + 0x68, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x4d, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x72, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x22, 0x20, 0x0a, + 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, + 0x69, 0x65, 0x77, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, + 0xa6, 0x01, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x69, 0x65, 0x77, + 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x69, 0x65, 0x77, 0x52, + 0x75, 0x6c, 0x65, 0x12, 0x37, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x69, 0x65, + 0x77, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x69, 0x65, 0x77, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xd4, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x15, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x56, 0x69, 0x65, 0x77, 0x73, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x1f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2d, + 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x50, 0x58, 0xaa, 0x02, 0x17, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, + 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x23, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_services_property_svc_v1_property_views_svc_proto_rawDescOnce sync.Once + file_services_property_svc_v1_property_views_svc_proto_rawDescData = file_services_property_svc_v1_property_views_svc_proto_rawDesc +) + +func file_services_property_svc_v1_property_views_svc_proto_rawDescGZIP() []byte { + file_services_property_svc_v1_property_views_svc_proto_rawDescOnce.Do(func() { + file_services_property_svc_v1_property_views_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_property_svc_v1_property_views_svc_proto_rawDescData) + }) + return file_services_property_svc_v1_property_views_svc_proto_rawDescData +} + +var file_services_property_svc_v1_property_views_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_services_property_svc_v1_property_views_svc_proto_goTypes = []interface{}{ + (*FilterUpdate)(nil), // 0: services.property_svc.v1.FilterUpdate + (*UpdatePropertyViewRuleRequest)(nil), // 1: services.property_svc.v1.UpdatePropertyViewRuleRequest + (*UpdatePropertyViewRuleResponse)(nil), // 2: services.property_svc.v1.UpdatePropertyViewRuleResponse + (*TaskPropertyMatcher)(nil), // 3: services.property_svc.v1.TaskPropertyMatcher +} +var file_services_property_svc_v1_property_views_svc_proto_depIdxs = []int32{ + 0, // 0: services.property_svc.v1.UpdatePropertyViewRuleRequest.filter_update:type_name -> services.property_svc.v1.FilterUpdate + 3, // 1: services.property_svc.v1.UpdatePropertyViewRuleRequest.task_matcher:type_name -> services.property_svc.v1.TaskPropertyMatcher + 1, // 2: services.property_svc.v1.PropertyViewsService.UpdatePropertyViewRule:input_type -> services.property_svc.v1.UpdatePropertyViewRuleRequest + 2, // 3: services.property_svc.v1.PropertyViewsService.UpdatePropertyViewRule:output_type -> services.property_svc.v1.UpdatePropertyViewRuleResponse + 3, // [3:4] is the sub-list for method output_type + 2, // [2:3] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_services_property_svc_v1_property_views_svc_proto_init() } +func file_services_property_svc_v1_property_views_svc_proto_init() { + if File_services_property_svc_v1_property_views_svc_proto != nil { + return + } + file_services_property_svc_v1_property_value_svc_proto_init() + if !protoimpl.UnsafeEnabled { + file_services_property_svc_v1_property_views_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FilterUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_services_property_svc_v1_property_views_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePropertyViewRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_services_property_svc_v1_property_views_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePropertyViewRuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_services_property_svc_v1_property_views_svc_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*UpdatePropertyViewRuleRequest_TaskMatcher)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_services_property_svc_v1_property_views_svc_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_services_property_svc_v1_property_views_svc_proto_goTypes, + DependencyIndexes: file_services_property_svc_v1_property_views_svc_proto_depIdxs, + MessageInfos: file_services_property_svc_v1_property_views_svc_proto_msgTypes, + }.Build() + File_services_property_svc_v1_property_views_svc_proto = out.File + file_services_property_svc_v1_property_views_svc_proto_rawDesc = nil + file_services_property_svc_v1_property_views_svc_proto_goTypes = nil + file_services_property_svc_v1_property_views_svc_proto_depIdxs = nil +} diff --git a/gen/go/proto/services/property_svc/v1/property_views_svc_grpc.pb.go b/gen/go/services/property_svc/v1/property_views_svc_grpc.pb.go similarity index 89% rename from gen/go/proto/services/property_svc/v1/property_views_svc_grpc.pb.go rename to gen/go/services/property_svc/v1/property_views_svc_grpc.pb.go index ea36a01b9..833a9e6d5 100644 --- a/gen/go/proto/services/property_svc/v1/property_views_svc_grpc.pb.go +++ b/gen/go/services/property_svc/v1/property_views_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/property_svc/v1/property_views_svc.proto +// source: services/property_svc/v1/property_views_svc.proto package property_svc @@ -15,11 +15,11 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - PropertyViewsService_UpdatePropertyViewRule_FullMethodName = "/proto.services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule" + PropertyViewsService_UpdatePropertyViewRule_FullMethodName = "/services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule" ) // PropertyViewsServiceClient is the client API for PropertyViewsService service. @@ -38,8 +38,9 @@ func NewPropertyViewsServiceClient(cc grpc.ClientConnInterface) PropertyViewsSer } func (c *propertyViewsServiceClient) UpdatePropertyViewRule(ctx context.Context, in *UpdatePropertyViewRuleRequest, opts ...grpc.CallOption) (*UpdatePropertyViewRuleResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdatePropertyViewRuleResponse) - err := c.cc.Invoke(ctx, PropertyViewsService_UpdatePropertyViewRule_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PropertyViewsService_UpdatePropertyViewRule_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -96,7 +97,7 @@ func _PropertyViewsService_UpdatePropertyViewRule_Handler(srv interface{}, ctx c // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var PropertyViewsService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.property_svc.v1.PropertyViewsService", + ServiceName: "services.property_svc.v1.PropertyViewsService", HandlerType: (*PropertyViewsServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -105,5 +106,5 @@ var PropertyViewsService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/property_svc/v1/property_views_svc.proto", + Metadata: "services/property_svc/v1/property_views_svc.proto", } diff --git a/gen/go/services/property_svc/v1/types.pb.go b/gen/go/services/property_svc/v1/types.pb.go new file mode 100644 index 000000000..70e69deeb --- /dev/null +++ b/gen/go/services/property_svc/v1/types.pb.go @@ -0,0 +1,305 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc (unknown) +// source: services/property_svc/v1/types.proto + +package property_svc + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SubjectType int32 + +const ( + SubjectType_SUBJECT_TYPE_UNSPECIFIED SubjectType = 0 + SubjectType_SUBJECT_TYPE_PATIENT SubjectType = 1 + SubjectType_SUBJECT_TYPE_TASK SubjectType = 2 +) + +// Enum value maps for SubjectType. +var ( + SubjectType_name = map[int32]string{ + 0: "SUBJECT_TYPE_UNSPECIFIED", + 1: "SUBJECT_TYPE_PATIENT", + 2: "SUBJECT_TYPE_TASK", + } + SubjectType_value = map[string]int32{ + "SUBJECT_TYPE_UNSPECIFIED": 0, + "SUBJECT_TYPE_PATIENT": 1, + "SUBJECT_TYPE_TASK": 2, + } +) + +func (x SubjectType) Enum() *SubjectType { + p := new(SubjectType) + *p = x + return p +} + +func (x SubjectType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SubjectType) Descriptor() protoreflect.EnumDescriptor { + return file_services_property_svc_v1_types_proto_enumTypes[0].Descriptor() +} + +func (SubjectType) Type() protoreflect.EnumType { + return &file_services_property_svc_v1_types_proto_enumTypes[0] +} + +func (x SubjectType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SubjectType.Descriptor instead. +func (SubjectType) EnumDescriptor() ([]byte, []int) { + return file_services_property_svc_v1_types_proto_rawDescGZIP(), []int{0} +} + +type FieldType int32 + +const ( + FieldType_FIELD_TYPE_UNSPECIFIED FieldType = 0 + FieldType_FIELD_TYPE_TEXT FieldType = 1 + FieldType_FIELD_TYPE_NUMBER FieldType = 2 + FieldType_FIELD_TYPE_CHECKBOX FieldType = 3 + FieldType_FIELD_TYPE_DATE FieldType = 4 + FieldType_FIELD_TYPE_DATE_TIME FieldType = 5 + FieldType_FIELD_TYPE_SELECT FieldType = 6 +) + +// Enum value maps for FieldType. +var ( + FieldType_name = map[int32]string{ + 0: "FIELD_TYPE_UNSPECIFIED", + 1: "FIELD_TYPE_TEXT", + 2: "FIELD_TYPE_NUMBER", + 3: "FIELD_TYPE_CHECKBOX", + 4: "FIELD_TYPE_DATE", + 5: "FIELD_TYPE_DATE_TIME", + 6: "FIELD_TYPE_SELECT", + } + FieldType_value = map[string]int32{ + "FIELD_TYPE_UNSPECIFIED": 0, + "FIELD_TYPE_TEXT": 1, + "FIELD_TYPE_NUMBER": 2, + "FIELD_TYPE_CHECKBOX": 3, + "FIELD_TYPE_DATE": 4, + "FIELD_TYPE_DATE_TIME": 5, + "FIELD_TYPE_SELECT": 6, + } +) + +func (x FieldType) Enum() *FieldType { + p := new(FieldType) + *p = x + return p +} + +func (x FieldType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FieldType) Descriptor() protoreflect.EnumDescriptor { + return file_services_property_svc_v1_types_proto_enumTypes[1].Descriptor() +} + +func (FieldType) Type() protoreflect.EnumType { + return &file_services_property_svc_v1_types_proto_enumTypes[1] +} + +func (x FieldType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FieldType.Descriptor instead. +func (FieldType) EnumDescriptor() ([]byte, []int) { + return file_services_property_svc_v1_types_proto_rawDescGZIP(), []int{1} +} + +type Date struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Day int32 `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"` + Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` + Year int32 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"` +} + +func (x *Date) Reset() { + *x = Date{} + if protoimpl.UnsafeEnabled { + mi := &file_services_property_svc_v1_types_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Date) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Date) ProtoMessage() {} + +func (x *Date) ProtoReflect() protoreflect.Message { + mi := &file_services_property_svc_v1_types_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Date.ProtoReflect.Descriptor instead. +func (*Date) Descriptor() ([]byte, []int) { + return file_services_property_svc_v1_types_proto_rawDescGZIP(), []int{0} +} + +func (x *Date) GetDay() int32 { + if x != nil { + return x.Day + } + return 0 +} + +func (x *Date) GetMonth() int32 { + if x != nil { + return x.Month + } + return 0 +} + +func (x *Date) GetYear() int32 { + if x != nil { + return x.Year + } + return 0 +} + +var File_services_property_svc_v1_types_proto protoreflect.FileDescriptor + +var file_services_property_svc_v1_types_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x22, 0x42, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, + 0x6e, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, + 0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, + 0x79, 0x65, 0x61, 0x72, 0x2a, 0x5c, 0x0a, 0x0b, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x55, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x55, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x50, 0x41, 0x54, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, + 0x55, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x41, 0x53, 0x4b, + 0x10, 0x02, 0x2a, 0xb2, 0x01, 0x0a, 0x09, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, + 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, + 0x01, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x49, 0x45, 0x4c, + 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x42, 0x4f, 0x58, 0x10, + 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x44, 0x41, 0x54, 0x45, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x05, + 0x12, 0x15, 0x0a, 0x11, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, + 0x45, 0x4c, 0x45, 0x43, 0x54, 0x10, 0x06, 0x42, 0xc9, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x50, 0x58, 0xaa, 0x02, 0x17, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x23, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_services_property_svc_v1_types_proto_rawDescOnce sync.Once + file_services_property_svc_v1_types_proto_rawDescData = file_services_property_svc_v1_types_proto_rawDesc +) + +func file_services_property_svc_v1_types_proto_rawDescGZIP() []byte { + file_services_property_svc_v1_types_proto_rawDescOnce.Do(func() { + file_services_property_svc_v1_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_property_svc_v1_types_proto_rawDescData) + }) + return file_services_property_svc_v1_types_proto_rawDescData +} + +var file_services_property_svc_v1_types_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_services_property_svc_v1_types_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_services_property_svc_v1_types_proto_goTypes = []interface{}{ + (SubjectType)(0), // 0: services.property_svc.v1.SubjectType + (FieldType)(0), // 1: services.property_svc.v1.FieldType + (*Date)(nil), // 2: services.property_svc.v1.Date +} +var file_services_property_svc_v1_types_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_services_property_svc_v1_types_proto_init() } +func file_services_property_svc_v1_types_proto_init() { + if File_services_property_svc_v1_types_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_services_property_svc_v1_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Date); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_services_property_svc_v1_types_proto_rawDesc, + NumEnums: 2, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_services_property_svc_v1_types_proto_goTypes, + DependencyIndexes: file_services_property_svc_v1_types_proto_depIdxs, + EnumInfos: file_services_property_svc_v1_types_proto_enumTypes, + MessageInfos: file_services_property_svc_v1_types_proto_msgTypes, + }.Build() + File_services_property_svc_v1_types_proto = out.File + file_services_property_svc_v1_types_proto_rawDesc = nil + file_services_property_svc_v1_types_proto_goTypes = nil + file_services_property_svc_v1_types_proto_depIdxs = nil +} diff --git a/gen/go/proto/services/task_svc/v1/bed_svc.pb.go b/gen/go/services/task_svc/v1/bed_svc.pb.go similarity index 56% rename from gen/go/proto/services/task_svc/v1/bed_svc.pb.go rename to gen/go/services/task_svc/v1/bed_svc.pb.go index b3d7706e6..9f21a01d8 100644 --- a/gen/go/proto/services/task_svc/v1/bed_svc.pb.go +++ b/gen/go/services/task_svc/v1/bed_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/task_svc/v1/bed_svc.proto +// source: services/task_svc/v1/bed_svc.proto package task_svc @@ -32,7 +32,7 @@ type CreateBedRequest struct { func (x *CreateBedRequest) Reset() { *x = CreateBedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -45,7 +45,7 @@ func (x *CreateBedRequest) String() string { func (*CreateBedRequest) ProtoMessage() {} func (x *CreateBedRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -58,7 +58,7 @@ func (x *CreateBedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateBedRequest.ProtoReflect.Descriptor instead. func (*CreateBedRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{0} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{0} } func (x *CreateBedRequest) GetRoomId() string { @@ -86,7 +86,7 @@ type CreateBedResponse struct { func (x *CreateBedResponse) Reset() { *x = CreateBedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -99,7 +99,7 @@ func (x *CreateBedResponse) String() string { func (*CreateBedResponse) ProtoMessage() {} func (x *CreateBedResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -112,7 +112,7 @@ func (x *CreateBedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateBedResponse.ProtoReflect.Descriptor instead. func (*CreateBedResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{1} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{1} } func (x *CreateBedResponse) GetId() string { @@ -134,7 +134,7 @@ type BulkCreateBedsRequest struct { func (x *BulkCreateBedsRequest) Reset() { *x = BulkCreateBedsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -147,7 +147,7 @@ func (x *BulkCreateBedsRequest) String() string { func (*BulkCreateBedsRequest) ProtoMessage() {} func (x *BulkCreateBedsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -160,7 +160,7 @@ func (x *BulkCreateBedsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BulkCreateBedsRequest.ProtoReflect.Descriptor instead. func (*BulkCreateBedsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{2} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{2} } func (x *BulkCreateBedsRequest) GetRoomId() string { @@ -188,7 +188,7 @@ type BulkCreateBedsResponse struct { func (x *BulkCreateBedsResponse) Reset() { *x = BulkCreateBedsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -201,7 +201,7 @@ func (x *BulkCreateBedsResponse) String() string { func (*BulkCreateBedsResponse) ProtoMessage() {} func (x *BulkCreateBedsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -214,7 +214,7 @@ func (x *BulkCreateBedsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BulkCreateBedsResponse.ProtoReflect.Descriptor instead. func (*BulkCreateBedsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{3} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{3} } func (x *BulkCreateBedsResponse) GetBeds() []*BulkCreateBedsResponse_Bed { @@ -235,7 +235,7 @@ type GetBedRequest struct { func (x *GetBedRequest) Reset() { *x = GetBedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -248,7 +248,7 @@ func (x *GetBedRequest) String() string { func (*GetBedRequest) ProtoMessage() {} func (x *GetBedRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -261,7 +261,7 @@ func (x *GetBedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedRequest.ProtoReflect.Descriptor instead. func (*GetBedRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{4} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{4} } func (x *GetBedRequest) GetId() string { @@ -284,7 +284,7 @@ type GetBedResponse struct { func (x *GetBedResponse) Reset() { *x = GetBedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -297,7 +297,7 @@ func (x *GetBedResponse) String() string { func (*GetBedResponse) ProtoMessage() {} func (x *GetBedResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -310,7 +310,7 @@ func (x *GetBedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedResponse.ProtoReflect.Descriptor instead. func (*GetBedResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{5} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{5} } func (x *GetBedResponse) GetId() string { @@ -345,7 +345,7 @@ type GetBedByPatientRequest struct { func (x *GetBedByPatientRequest) Reset() { *x = GetBedByPatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -358,7 +358,7 @@ func (x *GetBedByPatientRequest) String() string { func (*GetBedByPatientRequest) ProtoMessage() {} func (x *GetBedByPatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -371,7 +371,7 @@ func (x *GetBedByPatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedByPatientRequest.ProtoReflect.Descriptor instead. func (*GetBedByPatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{6} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{6} } func (x *GetBedByPatientRequest) GetPatientId() string { @@ -393,7 +393,7 @@ type GetBedByPatientResponse struct { func (x *GetBedByPatientResponse) Reset() { *x = GetBedByPatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -406,7 +406,7 @@ func (x *GetBedByPatientResponse) String() string { func (*GetBedByPatientResponse) ProtoMessage() {} func (x *GetBedByPatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -419,7 +419,7 @@ func (x *GetBedByPatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedByPatientResponse.ProtoReflect.Descriptor instead. func (*GetBedByPatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{7} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{7} } func (x *GetBedByPatientResponse) GetRoom() *GetBedByPatientResponse_Room { @@ -445,7 +445,7 @@ type GetBedsRequest struct { func (x *GetBedsRequest) Reset() { *x = GetBedsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -458,7 +458,7 @@ func (x *GetBedsRequest) String() string { func (*GetBedsRequest) ProtoMessage() {} func (x *GetBedsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -471,7 +471,7 @@ func (x *GetBedsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedsRequest.ProtoReflect.Descriptor instead. func (*GetBedsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{8} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{8} } type GetBedsResponse struct { @@ -485,7 +485,7 @@ type GetBedsResponse struct { func (x *GetBedsResponse) Reset() { *x = GetBedsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -498,7 +498,7 @@ func (x *GetBedsResponse) String() string { func (*GetBedsResponse) ProtoMessage() {} func (x *GetBedsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -511,7 +511,7 @@ func (x *GetBedsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedsResponse.ProtoReflect.Descriptor instead. func (*GetBedsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{9} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{9} } func (x *GetBedsResponse) GetBeds() []*GetBedsResponse_Bed { @@ -532,7 +532,7 @@ type GetBedsByRoomRequest struct { func (x *GetBedsByRoomRequest) Reset() { *x = GetBedsByRoomRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -545,7 +545,7 @@ func (x *GetBedsByRoomRequest) String() string { func (*GetBedsByRoomRequest) ProtoMessage() {} func (x *GetBedsByRoomRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -558,7 +558,7 @@ func (x *GetBedsByRoomRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedsByRoomRequest.ProtoReflect.Descriptor instead. func (*GetBedsByRoomRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{10} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{10} } func (x *GetBedsByRoomRequest) GetRoomId() string { @@ -579,7 +579,7 @@ type GetBedsByRoomResponse struct { func (x *GetBedsByRoomResponse) Reset() { *x = GetBedsByRoomResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -592,7 +592,7 @@ func (x *GetBedsByRoomResponse) String() string { func (*GetBedsByRoomResponse) ProtoMessage() {} func (x *GetBedsByRoomResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -605,7 +605,7 @@ func (x *GetBedsByRoomResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedsByRoomResponse.ProtoReflect.Descriptor instead. func (*GetBedsByRoomResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{11} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{11} } func (x *GetBedsByRoomResponse) GetBeds() []*GetBedsByRoomResponse_Bed { @@ -628,7 +628,7 @@ type UpdateBedRequest struct { func (x *UpdateBedRequest) Reset() { *x = UpdateBedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -641,7 +641,7 @@ func (x *UpdateBedRequest) String() string { func (*UpdateBedRequest) ProtoMessage() {} func (x *UpdateBedRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -654,7 +654,7 @@ func (x *UpdateBedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateBedRequest.ProtoReflect.Descriptor instead. func (*UpdateBedRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{12} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{12} } func (x *UpdateBedRequest) GetId() string { @@ -687,7 +687,7 @@ type UpdateBedResponse struct { func (x *UpdateBedResponse) Reset() { *x = UpdateBedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -700,7 +700,7 @@ func (x *UpdateBedResponse) String() string { func (*UpdateBedResponse) ProtoMessage() {} func (x *UpdateBedResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -713,7 +713,7 @@ func (x *UpdateBedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateBedResponse.ProtoReflect.Descriptor instead. func (*UpdateBedResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{13} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{13} } type DeleteBedRequest struct { @@ -727,7 +727,7 @@ type DeleteBedRequest struct { func (x *DeleteBedRequest) Reset() { *x = DeleteBedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -740,7 +740,7 @@ func (x *DeleteBedRequest) String() string { func (*DeleteBedRequest) ProtoMessage() {} func (x *DeleteBedRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -753,7 +753,7 @@ func (x *DeleteBedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteBedRequest.ProtoReflect.Descriptor instead. func (*DeleteBedRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{14} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{14} } func (x *DeleteBedRequest) GetId() string { @@ -772,7 +772,7 @@ type DeleteBedResponse struct { func (x *DeleteBedResponse) Reset() { *x = DeleteBedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -785,7 +785,7 @@ func (x *DeleteBedResponse) String() string { func (*DeleteBedResponse) ProtoMessage() {} func (x *DeleteBedResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -798,7 +798,7 @@ func (x *DeleteBedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteBedResponse.ProtoReflect.Descriptor instead. func (*DeleteBedResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{15} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{15} } type BulkCreateBedsResponse_Bed struct { @@ -813,7 +813,7 @@ type BulkCreateBedsResponse_Bed struct { func (x *BulkCreateBedsResponse_Bed) Reset() { *x = BulkCreateBedsResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -826,7 +826,7 @@ func (x *BulkCreateBedsResponse_Bed) String() string { func (*BulkCreateBedsResponse_Bed) ProtoMessage() {} func (x *BulkCreateBedsResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -839,7 +839,7 @@ func (x *BulkCreateBedsResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use BulkCreateBedsResponse_Bed.ProtoReflect.Descriptor instead. func (*BulkCreateBedsResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{3, 0} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{3, 0} } func (x *BulkCreateBedsResponse_Bed) GetId() string { @@ -869,7 +869,7 @@ type GetBedByPatientResponse_Room struct { func (x *GetBedByPatientResponse_Room) Reset() { *x = GetBedByPatientResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -882,7 +882,7 @@ func (x *GetBedByPatientResponse_Room) String() string { func (*GetBedByPatientResponse_Room) ProtoMessage() {} func (x *GetBedByPatientResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -895,7 +895,7 @@ func (x *GetBedByPatientResponse_Room) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedByPatientResponse_Room.ProtoReflect.Descriptor instead. func (*GetBedByPatientResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{7, 0} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{7, 0} } func (x *GetBedByPatientResponse_Room) GetId() string { @@ -931,7 +931,7 @@ type GetBedByPatientResponse_Bed struct { func (x *GetBedByPatientResponse_Bed) Reset() { *x = GetBedByPatientResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -944,7 +944,7 @@ func (x *GetBedByPatientResponse_Bed) String() string { func (*GetBedByPatientResponse_Bed) ProtoMessage() {} func (x *GetBedByPatientResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -957,7 +957,7 @@ func (x *GetBedByPatientResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedByPatientResponse_Bed.ProtoReflect.Descriptor instead. func (*GetBedByPatientResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{7, 1} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{7, 1} } func (x *GetBedByPatientResponse_Bed) GetId() string { @@ -987,7 +987,7 @@ type GetBedsResponse_Bed struct { func (x *GetBedsResponse_Bed) Reset() { *x = GetBedsResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1000,7 +1000,7 @@ func (x *GetBedsResponse_Bed) String() string { func (*GetBedsResponse_Bed) ProtoMessage() {} func (x *GetBedsResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1013,7 +1013,7 @@ func (x *GetBedsResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedsResponse_Bed.ProtoReflect.Descriptor instead. func (*GetBedsResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{9, 0} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{9, 0} } func (x *GetBedsResponse_Bed) GetId() string { @@ -1049,7 +1049,7 @@ type GetBedsByRoomResponse_Bed struct { func (x *GetBedsByRoomResponse_Bed) Reset() { *x = GetBedsByRoomResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1062,7 +1062,7 @@ func (x *GetBedsByRoomResponse_Bed) String() string { func (*GetBedsByRoomResponse_Bed) ProtoMessage() {} func (x *GetBedsByRoomResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_bed_svc_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1075,7 +1075,7 @@ func (x *GetBedsByRoomResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBedsByRoomResponse_Bed.ProtoReflect.Descriptor instead. func (*GetBedsByRoomResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{11, 0} + return file_services_task_svc_v1_bed_svc_proto_rawDescGZIP(), []int{11, 0} } func (x *GetBedsByRoomResponse_Bed) GetId() string { @@ -1092,231 +1092,220 @@ func (x *GetBedsByRoomResponse_Bed) GetName() string { return "" } -var File_proto_services_task_svc_v1_bed_svc_proto protoreflect.FileDescriptor - -var file_proto_services_task_svc_v1_bed_svc_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x64, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x3f, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, - 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, - 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x23, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x56, 0x0a, 0x15, - 0x42, 0x75, 0x6c, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x24, - 0x0a, 0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x62, 0x65, 0x64, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x66, - 0x42, 0x65, 0x64, 0x73, 0x22, 0x8f, 0x01, 0x0a, 0x16, 0x42, 0x75, 0x6c, 0x6b, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x4a, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x1a, 0x29, 0x0a, 0x03, 0x42, - 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1f, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, - 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, - 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, - 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, - 0xbd, 0x02, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x04, 0x72, - 0x6f, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x42, 0x79, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, - 0x6f, 0x6f, 0x6d, 0x48, 0x00, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x4e, - 0x0a, 0x03, 0x62, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x42, - 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x42, 0x65, 0x64, 0x48, 0x01, 0x52, 0x03, 0x62, 0x65, 0x64, 0x88, 0x01, 0x01, 0x1a, 0x43, - 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, - 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, - 0x64, 0x49, 0x64, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x07, - 0x0a, 0x05, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x62, 0x65, 0x64, 0x22, - 0x10, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x1a, 0x42, 0x0a, 0x03, 0x42, 0x65, - 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2f, - 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x42, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x22, - 0x8d, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x42, 0x79, 0x52, 0x6f, 0x6f, - 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x04, 0x62, 0x65, 0x64, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x42, 0x79, 0x52, 0x6f, - 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, - 0x62, 0x65, 0x64, 0x73, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x6e, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x88, 0x01, - 0x01, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x72, - 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x13, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x8a, 0x07, - 0x0a, 0x0a, 0x42, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6a, 0x0a, 0x09, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x12, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x0e, 0x42, 0x75, 0x6c, 0x6b, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x73, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x12, 0x29, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, - 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x42, 0x79, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, +var File_services_task_svc_v1_bed_svc_proto protoreflect.FileDescriptor + +var file_services_task_svc_v1_bed_svc_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x65, 0x64, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x3f, 0x0a, 0x10, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, + 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x23, 0x0a, 0x11, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x22, 0x56, 0x0a, 0x15, 0x42, 0x75, 0x6c, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, + 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, + 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, + 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6f, 0x66, 0x5f, + 0x62, 0x65, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x4f, 0x66, 0x42, 0x65, 0x64, 0x73, 0x22, 0x89, 0x01, 0x0a, 0x16, 0x42, 0x75, 0x6c, + 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1f, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x42, 0x79, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, + 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xb1, 0x02, + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x04, 0x72, 0x6f, 0x6f, + 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x42, 0x65, 0x64, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x48, 0x00, 0x52, 0x04, 0x72, + 0x6f, 0x6f, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x48, 0x0a, 0x03, 0x62, 0x65, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x12, - 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x48, 0x01, 0x52, 0x03, 0x62, 0x65, 0x64, 0x88, 0x01, 0x01, + 0x1a, 0x43, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, + 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x62, 0x65, + 0x64, 0x22, 0x10, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x94, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0d, 0x47, 0x65, - 0x74, 0x42, 0x65, 0x64, 0x73, 0x42, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x30, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, - 0x42, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, + 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x1a, 0x42, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, + 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2f, 0x0a, 0x14, 0x47, 0x65, + 0x74, 0x42, 0x65, 0x64, 0x73, 0x42, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x22, 0x87, 0x01, 0x0a, 0x15, + 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x42, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x42, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x12, - 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, + 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6e, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, + 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x07, 0x72, 0x6f, 0x6f, + 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x72, 0x6f, + 0x6f, 0x6d, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, + 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x0a, 0x10, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x13, + 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x32, 0xaa, 0x06, 0x0a, 0x0a, 0x42, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x12, + 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x42, 0x75, 0x6c, 0x6b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x42, 0x65, 0x64, 0x73, 0x12, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6c, 0x6b, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x55, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x12, 0x23, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, + 0x65, 0x64, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x07, 0x47, 0x65, + 0x74, 0x42, 0x65, 0x64, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, 0x42, + 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x42, 0x65, 0x64, 0x73, 0x42, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x65, 0x64, 0x73, + 0x42, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x5e, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x12, 0x26, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, - 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, 0x64, 0x12, 0x2c, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, - 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, 0x64, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xd1, 0x01, 0x0a, 0x1e, 0x63, - 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x61, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x5e, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, 0x64, 0x12, 0x26, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x42, 0xb2, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x42, 0x65, 0x64, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x54, 0xaa, - 0x02, 0x19, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, - 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x25, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, - 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x1c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x54, 0x58, 0xaa, + 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, + 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, + 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, + 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_proto_services_task_svc_v1_bed_svc_proto_rawDescOnce sync.Once - file_proto_services_task_svc_v1_bed_svc_proto_rawDescData = file_proto_services_task_svc_v1_bed_svc_proto_rawDesc + file_services_task_svc_v1_bed_svc_proto_rawDescOnce sync.Once + file_services_task_svc_v1_bed_svc_proto_rawDescData = file_services_task_svc_v1_bed_svc_proto_rawDesc ) -func file_proto_services_task_svc_v1_bed_svc_proto_rawDescGZIP() []byte { - file_proto_services_task_svc_v1_bed_svc_proto_rawDescOnce.Do(func() { - file_proto_services_task_svc_v1_bed_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_task_svc_v1_bed_svc_proto_rawDescData) +func file_services_task_svc_v1_bed_svc_proto_rawDescGZIP() []byte { + file_services_task_svc_v1_bed_svc_proto_rawDescOnce.Do(func() { + file_services_task_svc_v1_bed_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_task_svc_v1_bed_svc_proto_rawDescData) }) - return file_proto_services_task_svc_v1_bed_svc_proto_rawDescData -} - -var file_proto_services_task_svc_v1_bed_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_proto_services_task_svc_v1_bed_svc_proto_goTypes = []interface{}{ - (*CreateBedRequest)(nil), // 0: proto.services.task_svc.v1.CreateBedRequest - (*CreateBedResponse)(nil), // 1: proto.services.task_svc.v1.CreateBedResponse - (*BulkCreateBedsRequest)(nil), // 2: proto.services.task_svc.v1.BulkCreateBedsRequest - (*BulkCreateBedsResponse)(nil), // 3: proto.services.task_svc.v1.BulkCreateBedsResponse - (*GetBedRequest)(nil), // 4: proto.services.task_svc.v1.GetBedRequest - (*GetBedResponse)(nil), // 5: proto.services.task_svc.v1.GetBedResponse - (*GetBedByPatientRequest)(nil), // 6: proto.services.task_svc.v1.GetBedByPatientRequest - (*GetBedByPatientResponse)(nil), // 7: proto.services.task_svc.v1.GetBedByPatientResponse - (*GetBedsRequest)(nil), // 8: proto.services.task_svc.v1.GetBedsRequest - (*GetBedsResponse)(nil), // 9: proto.services.task_svc.v1.GetBedsResponse - (*GetBedsByRoomRequest)(nil), // 10: proto.services.task_svc.v1.GetBedsByRoomRequest - (*GetBedsByRoomResponse)(nil), // 11: proto.services.task_svc.v1.GetBedsByRoomResponse - (*UpdateBedRequest)(nil), // 12: proto.services.task_svc.v1.UpdateBedRequest - (*UpdateBedResponse)(nil), // 13: proto.services.task_svc.v1.UpdateBedResponse - (*DeleteBedRequest)(nil), // 14: proto.services.task_svc.v1.DeleteBedRequest - (*DeleteBedResponse)(nil), // 15: proto.services.task_svc.v1.DeleteBedResponse - (*BulkCreateBedsResponse_Bed)(nil), // 16: proto.services.task_svc.v1.BulkCreateBedsResponse.Bed - (*GetBedByPatientResponse_Room)(nil), // 17: proto.services.task_svc.v1.GetBedByPatientResponse.Room - (*GetBedByPatientResponse_Bed)(nil), // 18: proto.services.task_svc.v1.GetBedByPatientResponse.Bed - (*GetBedsResponse_Bed)(nil), // 19: proto.services.task_svc.v1.GetBedsResponse.Bed - (*GetBedsByRoomResponse_Bed)(nil), // 20: proto.services.task_svc.v1.GetBedsByRoomResponse.Bed -} -var file_proto_services_task_svc_v1_bed_svc_proto_depIdxs = []int32{ - 16, // 0: proto.services.task_svc.v1.BulkCreateBedsResponse.beds:type_name -> proto.services.task_svc.v1.BulkCreateBedsResponse.Bed - 17, // 1: proto.services.task_svc.v1.GetBedByPatientResponse.room:type_name -> proto.services.task_svc.v1.GetBedByPatientResponse.Room - 18, // 2: proto.services.task_svc.v1.GetBedByPatientResponse.bed:type_name -> proto.services.task_svc.v1.GetBedByPatientResponse.Bed - 19, // 3: proto.services.task_svc.v1.GetBedsResponse.beds:type_name -> proto.services.task_svc.v1.GetBedsResponse.Bed - 20, // 4: proto.services.task_svc.v1.GetBedsByRoomResponse.beds:type_name -> proto.services.task_svc.v1.GetBedsByRoomResponse.Bed - 0, // 5: proto.services.task_svc.v1.BedService.CreateBed:input_type -> proto.services.task_svc.v1.CreateBedRequest - 2, // 6: proto.services.task_svc.v1.BedService.BulkCreateBeds:input_type -> proto.services.task_svc.v1.BulkCreateBedsRequest - 4, // 7: proto.services.task_svc.v1.BedService.GetBed:input_type -> proto.services.task_svc.v1.GetBedRequest - 6, // 8: proto.services.task_svc.v1.BedService.GetBedByPatient:input_type -> proto.services.task_svc.v1.GetBedByPatientRequest - 8, // 9: proto.services.task_svc.v1.BedService.GetBeds:input_type -> proto.services.task_svc.v1.GetBedsRequest - 10, // 10: proto.services.task_svc.v1.BedService.GetBedsByRoom:input_type -> proto.services.task_svc.v1.GetBedsByRoomRequest - 12, // 11: proto.services.task_svc.v1.BedService.UpdateBed:input_type -> proto.services.task_svc.v1.UpdateBedRequest - 14, // 12: proto.services.task_svc.v1.BedService.DeleteBed:input_type -> proto.services.task_svc.v1.DeleteBedRequest - 1, // 13: proto.services.task_svc.v1.BedService.CreateBed:output_type -> proto.services.task_svc.v1.CreateBedResponse - 3, // 14: proto.services.task_svc.v1.BedService.BulkCreateBeds:output_type -> proto.services.task_svc.v1.BulkCreateBedsResponse - 5, // 15: proto.services.task_svc.v1.BedService.GetBed:output_type -> proto.services.task_svc.v1.GetBedResponse - 7, // 16: proto.services.task_svc.v1.BedService.GetBedByPatient:output_type -> proto.services.task_svc.v1.GetBedByPatientResponse - 9, // 17: proto.services.task_svc.v1.BedService.GetBeds:output_type -> proto.services.task_svc.v1.GetBedsResponse - 11, // 18: proto.services.task_svc.v1.BedService.GetBedsByRoom:output_type -> proto.services.task_svc.v1.GetBedsByRoomResponse - 13, // 19: proto.services.task_svc.v1.BedService.UpdateBed:output_type -> proto.services.task_svc.v1.UpdateBedResponse - 15, // 20: proto.services.task_svc.v1.BedService.DeleteBed:output_type -> proto.services.task_svc.v1.DeleteBedResponse + return file_services_task_svc_v1_bed_svc_proto_rawDescData +} + +var file_services_task_svc_v1_bed_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 21) +var file_services_task_svc_v1_bed_svc_proto_goTypes = []interface{}{ + (*CreateBedRequest)(nil), // 0: services.task_svc.v1.CreateBedRequest + (*CreateBedResponse)(nil), // 1: services.task_svc.v1.CreateBedResponse + (*BulkCreateBedsRequest)(nil), // 2: services.task_svc.v1.BulkCreateBedsRequest + (*BulkCreateBedsResponse)(nil), // 3: services.task_svc.v1.BulkCreateBedsResponse + (*GetBedRequest)(nil), // 4: services.task_svc.v1.GetBedRequest + (*GetBedResponse)(nil), // 5: services.task_svc.v1.GetBedResponse + (*GetBedByPatientRequest)(nil), // 6: services.task_svc.v1.GetBedByPatientRequest + (*GetBedByPatientResponse)(nil), // 7: services.task_svc.v1.GetBedByPatientResponse + (*GetBedsRequest)(nil), // 8: services.task_svc.v1.GetBedsRequest + (*GetBedsResponse)(nil), // 9: services.task_svc.v1.GetBedsResponse + (*GetBedsByRoomRequest)(nil), // 10: services.task_svc.v1.GetBedsByRoomRequest + (*GetBedsByRoomResponse)(nil), // 11: services.task_svc.v1.GetBedsByRoomResponse + (*UpdateBedRequest)(nil), // 12: services.task_svc.v1.UpdateBedRequest + (*UpdateBedResponse)(nil), // 13: services.task_svc.v1.UpdateBedResponse + (*DeleteBedRequest)(nil), // 14: services.task_svc.v1.DeleteBedRequest + (*DeleteBedResponse)(nil), // 15: services.task_svc.v1.DeleteBedResponse + (*BulkCreateBedsResponse_Bed)(nil), // 16: services.task_svc.v1.BulkCreateBedsResponse.Bed + (*GetBedByPatientResponse_Room)(nil), // 17: services.task_svc.v1.GetBedByPatientResponse.Room + (*GetBedByPatientResponse_Bed)(nil), // 18: services.task_svc.v1.GetBedByPatientResponse.Bed + (*GetBedsResponse_Bed)(nil), // 19: services.task_svc.v1.GetBedsResponse.Bed + (*GetBedsByRoomResponse_Bed)(nil), // 20: services.task_svc.v1.GetBedsByRoomResponse.Bed +} +var file_services_task_svc_v1_bed_svc_proto_depIdxs = []int32{ + 16, // 0: services.task_svc.v1.BulkCreateBedsResponse.beds:type_name -> services.task_svc.v1.BulkCreateBedsResponse.Bed + 17, // 1: services.task_svc.v1.GetBedByPatientResponse.room:type_name -> services.task_svc.v1.GetBedByPatientResponse.Room + 18, // 2: services.task_svc.v1.GetBedByPatientResponse.bed:type_name -> services.task_svc.v1.GetBedByPatientResponse.Bed + 19, // 3: services.task_svc.v1.GetBedsResponse.beds:type_name -> services.task_svc.v1.GetBedsResponse.Bed + 20, // 4: services.task_svc.v1.GetBedsByRoomResponse.beds:type_name -> services.task_svc.v1.GetBedsByRoomResponse.Bed + 0, // 5: services.task_svc.v1.BedService.CreateBed:input_type -> services.task_svc.v1.CreateBedRequest + 2, // 6: services.task_svc.v1.BedService.BulkCreateBeds:input_type -> services.task_svc.v1.BulkCreateBedsRequest + 4, // 7: services.task_svc.v1.BedService.GetBed:input_type -> services.task_svc.v1.GetBedRequest + 6, // 8: services.task_svc.v1.BedService.GetBedByPatient:input_type -> services.task_svc.v1.GetBedByPatientRequest + 8, // 9: services.task_svc.v1.BedService.GetBeds:input_type -> services.task_svc.v1.GetBedsRequest + 10, // 10: services.task_svc.v1.BedService.GetBedsByRoom:input_type -> services.task_svc.v1.GetBedsByRoomRequest + 12, // 11: services.task_svc.v1.BedService.UpdateBed:input_type -> services.task_svc.v1.UpdateBedRequest + 14, // 12: services.task_svc.v1.BedService.DeleteBed:input_type -> services.task_svc.v1.DeleteBedRequest + 1, // 13: services.task_svc.v1.BedService.CreateBed:output_type -> services.task_svc.v1.CreateBedResponse + 3, // 14: services.task_svc.v1.BedService.BulkCreateBeds:output_type -> services.task_svc.v1.BulkCreateBedsResponse + 5, // 15: services.task_svc.v1.BedService.GetBed:output_type -> services.task_svc.v1.GetBedResponse + 7, // 16: services.task_svc.v1.BedService.GetBedByPatient:output_type -> services.task_svc.v1.GetBedByPatientResponse + 9, // 17: services.task_svc.v1.BedService.GetBeds:output_type -> services.task_svc.v1.GetBedsResponse + 11, // 18: services.task_svc.v1.BedService.GetBedsByRoom:output_type -> services.task_svc.v1.GetBedsByRoomResponse + 13, // 19: services.task_svc.v1.BedService.UpdateBed:output_type -> services.task_svc.v1.UpdateBedResponse + 15, // 20: services.task_svc.v1.BedService.DeleteBed:output_type -> services.task_svc.v1.DeleteBedResponse 13, // [13:21] is the sub-list for method output_type 5, // [5:13] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name @@ -1324,13 +1313,13 @@ var file_proto_services_task_svc_v1_bed_svc_proto_depIdxs = []int32{ 0, // [0:5] is the sub-list for field type_name } -func init() { file_proto_services_task_svc_v1_bed_svc_proto_init() } -func file_proto_services_task_svc_v1_bed_svc_proto_init() { - if File_proto_services_task_svc_v1_bed_svc_proto != nil { +func init() { file_services_task_svc_v1_bed_svc_proto_init() } +func file_services_task_svc_v1_bed_svc_proto_init() { + if File_services_task_svc_v1_bed_svc_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateBedRequest); i { case 0: return &v.state @@ -1342,7 +1331,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateBedResponse); i { case 0: return &v.state @@ -1354,7 +1343,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BulkCreateBedsRequest); i { case 0: return &v.state @@ -1366,7 +1355,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BulkCreateBedsResponse); i { case 0: return &v.state @@ -1378,7 +1367,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedRequest); i { case 0: return &v.state @@ -1390,7 +1379,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedResponse); i { case 0: return &v.state @@ -1402,7 +1391,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedByPatientRequest); i { case 0: return &v.state @@ -1414,7 +1403,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedByPatientResponse); i { case 0: return &v.state @@ -1426,7 +1415,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedsRequest); i { case 0: return &v.state @@ -1438,7 +1427,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedsResponse); i { case 0: return &v.state @@ -1450,7 +1439,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedsByRoomRequest); i { case 0: return &v.state @@ -1462,7 +1451,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedsByRoomResponse); i { case 0: return &v.state @@ -1474,7 +1463,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateBedRequest); i { case 0: return &v.state @@ -1486,7 +1475,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateBedResponse); i { case 0: return &v.state @@ -1498,7 +1487,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteBedRequest); i { case 0: return &v.state @@ -1510,7 +1499,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteBedResponse); i { case 0: return &v.state @@ -1522,7 +1511,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BulkCreateBedsResponse_Bed); i { case 0: return &v.state @@ -1534,7 +1523,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedByPatientResponse_Room); i { case 0: return &v.state @@ -1546,7 +1535,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedByPatientResponse_Bed); i { case 0: return &v.state @@ -1558,7 +1547,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedsResponse_Bed); i { case 0: return &v.state @@ -1570,7 +1559,7 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_bed_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetBedsByRoomResponse_Bed); i { case 0: return &v.state @@ -1583,24 +1572,24 @@ func file_proto_services_task_svc_v1_bed_svc_proto_init() { } } } - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_bed_svc_proto_msgTypes[12].OneofWrappers = []interface{}{} + file_services_task_svc_v1_bed_svc_proto_msgTypes[7].OneofWrappers = []interface{}{} + file_services_task_svc_v1_bed_svc_proto_msgTypes[12].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_task_svc_v1_bed_svc_proto_rawDesc, + RawDescriptor: file_services_task_svc_v1_bed_svc_proto_rawDesc, NumEnums: 0, NumMessages: 21, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_task_svc_v1_bed_svc_proto_goTypes, - DependencyIndexes: file_proto_services_task_svc_v1_bed_svc_proto_depIdxs, - MessageInfos: file_proto_services_task_svc_v1_bed_svc_proto_msgTypes, + GoTypes: file_services_task_svc_v1_bed_svc_proto_goTypes, + DependencyIndexes: file_services_task_svc_v1_bed_svc_proto_depIdxs, + MessageInfos: file_services_task_svc_v1_bed_svc_proto_msgTypes, }.Build() - File_proto_services_task_svc_v1_bed_svc_proto = out.File - file_proto_services_task_svc_v1_bed_svc_proto_rawDesc = nil - file_proto_services_task_svc_v1_bed_svc_proto_goTypes = nil - file_proto_services_task_svc_v1_bed_svc_proto_depIdxs = nil + File_services_task_svc_v1_bed_svc_proto = out.File + file_services_task_svc_v1_bed_svc_proto_rawDesc = nil + file_services_task_svc_v1_bed_svc_proto_goTypes = nil + file_services_task_svc_v1_bed_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/task_svc/v1/bed_svc_grpc.pb.go b/gen/go/services/task_svc/v1/bed_svc_grpc.pb.go similarity index 88% rename from gen/go/proto/services/task_svc/v1/bed_svc_grpc.pb.go rename to gen/go/services/task_svc/v1/bed_svc_grpc.pb.go index a0630439a..d201986af 100644 --- a/gen/go/proto/services/task_svc/v1/bed_svc_grpc.pb.go +++ b/gen/go/services/task_svc/v1/bed_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/task_svc/v1/bed_svc.proto +// source: services/task_svc/v1/bed_svc.proto package task_svc @@ -15,18 +15,18 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - BedService_CreateBed_FullMethodName = "/proto.services.task_svc.v1.BedService/CreateBed" - BedService_BulkCreateBeds_FullMethodName = "/proto.services.task_svc.v1.BedService/BulkCreateBeds" - BedService_GetBed_FullMethodName = "/proto.services.task_svc.v1.BedService/GetBed" - BedService_GetBedByPatient_FullMethodName = "/proto.services.task_svc.v1.BedService/GetBedByPatient" - BedService_GetBeds_FullMethodName = "/proto.services.task_svc.v1.BedService/GetBeds" - BedService_GetBedsByRoom_FullMethodName = "/proto.services.task_svc.v1.BedService/GetBedsByRoom" - BedService_UpdateBed_FullMethodName = "/proto.services.task_svc.v1.BedService/UpdateBed" - BedService_DeleteBed_FullMethodName = "/proto.services.task_svc.v1.BedService/DeleteBed" + BedService_CreateBed_FullMethodName = "/services.task_svc.v1.BedService/CreateBed" + BedService_BulkCreateBeds_FullMethodName = "/services.task_svc.v1.BedService/BulkCreateBeds" + BedService_GetBed_FullMethodName = "/services.task_svc.v1.BedService/GetBed" + BedService_GetBedByPatient_FullMethodName = "/services.task_svc.v1.BedService/GetBedByPatient" + BedService_GetBeds_FullMethodName = "/services.task_svc.v1.BedService/GetBeds" + BedService_GetBedsByRoom_FullMethodName = "/services.task_svc.v1.BedService/GetBedsByRoom" + BedService_UpdateBed_FullMethodName = "/services.task_svc.v1.BedService/UpdateBed" + BedService_DeleteBed_FullMethodName = "/services.task_svc.v1.BedService/DeleteBed" ) // BedServiceClient is the client API for BedService service. @@ -52,8 +52,9 @@ func NewBedServiceClient(cc grpc.ClientConnInterface) BedServiceClient { } func (c *bedServiceClient) CreateBed(ctx context.Context, in *CreateBedRequest, opts ...grpc.CallOption) (*CreateBedResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateBedResponse) - err := c.cc.Invoke(ctx, BedService_CreateBed_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, BedService_CreateBed_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -61,8 +62,9 @@ func (c *bedServiceClient) CreateBed(ctx context.Context, in *CreateBedRequest, } func (c *bedServiceClient) BulkCreateBeds(ctx context.Context, in *BulkCreateBedsRequest, opts ...grpc.CallOption) (*BulkCreateBedsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BulkCreateBedsResponse) - err := c.cc.Invoke(ctx, BedService_BulkCreateBeds_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, BedService_BulkCreateBeds_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -70,8 +72,9 @@ func (c *bedServiceClient) BulkCreateBeds(ctx context.Context, in *BulkCreateBed } func (c *bedServiceClient) GetBed(ctx context.Context, in *GetBedRequest, opts ...grpc.CallOption) (*GetBedResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetBedResponse) - err := c.cc.Invoke(ctx, BedService_GetBed_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, BedService_GetBed_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -79,8 +82,9 @@ func (c *bedServiceClient) GetBed(ctx context.Context, in *GetBedRequest, opts . } func (c *bedServiceClient) GetBedByPatient(ctx context.Context, in *GetBedByPatientRequest, opts ...grpc.CallOption) (*GetBedByPatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetBedByPatientResponse) - err := c.cc.Invoke(ctx, BedService_GetBedByPatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, BedService_GetBedByPatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -88,8 +92,9 @@ func (c *bedServiceClient) GetBedByPatient(ctx context.Context, in *GetBedByPati } func (c *bedServiceClient) GetBeds(ctx context.Context, in *GetBedsRequest, opts ...grpc.CallOption) (*GetBedsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetBedsResponse) - err := c.cc.Invoke(ctx, BedService_GetBeds_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, BedService_GetBeds_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -97,8 +102,9 @@ func (c *bedServiceClient) GetBeds(ctx context.Context, in *GetBedsRequest, opts } func (c *bedServiceClient) GetBedsByRoom(ctx context.Context, in *GetBedsByRoomRequest, opts ...grpc.CallOption) (*GetBedsByRoomResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetBedsByRoomResponse) - err := c.cc.Invoke(ctx, BedService_GetBedsByRoom_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, BedService_GetBedsByRoom_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -106,8 +112,9 @@ func (c *bedServiceClient) GetBedsByRoom(ctx context.Context, in *GetBedsByRoomR } func (c *bedServiceClient) UpdateBed(ctx context.Context, in *UpdateBedRequest, opts ...grpc.CallOption) (*UpdateBedResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateBedResponse) - err := c.cc.Invoke(ctx, BedService_UpdateBed_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, BedService_UpdateBed_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -115,8 +122,9 @@ func (c *bedServiceClient) UpdateBed(ctx context.Context, in *UpdateBedRequest, } func (c *bedServiceClient) DeleteBed(ctx context.Context, in *DeleteBedRequest, opts ...grpc.CallOption) (*DeleteBedResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteBedResponse) - err := c.cc.Invoke(ctx, BedService_DeleteBed_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, BedService_DeleteBed_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -327,7 +335,7 @@ func _BedService_DeleteBed_Handler(srv interface{}, ctx context.Context, dec fun // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var BedService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.task_svc.v1.BedService", + ServiceName: "services.task_svc.v1.BedService", HandlerType: (*BedServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -364,5 +372,5 @@ var BedService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/task_svc/v1/bed_svc.proto", + Metadata: "services/task_svc/v1/bed_svc.proto", } diff --git a/gen/go/proto/services/task_svc/v1/patient_svc.pb.go b/gen/go/services/task_svc/v1/patient_svc.pb.go similarity index 62% rename from gen/go/proto/services/task_svc/v1/patient_svc.pb.go rename to gen/go/services/task_svc/v1/patient_svc.pb.go index d604c4d18..a692db4b9 100644 --- a/gen/go/proto/services/task_svc/v1/patient_svc.pb.go +++ b/gen/go/services/task_svc/v1/patient_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/task_svc/v1/patient_svc.proto +// source: services/task_svc/v1/patient_svc.proto package task_svc @@ -56,11 +56,11 @@ func (x GetPatientDetailsResponse_TaskStatus) String() string { } func (GetPatientDetailsResponse_TaskStatus) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_task_svc_v1_patient_svc_proto_enumTypes[0].Descriptor() + return file_services_task_svc_v1_patient_svc_proto_enumTypes[0].Descriptor() } func (GetPatientDetailsResponse_TaskStatus) Type() protoreflect.EnumType { - return &file_proto_services_task_svc_v1_patient_svc_proto_enumTypes[0] + return &file_services_task_svc_v1_patient_svc_proto_enumTypes[0] } func (x GetPatientDetailsResponse_TaskStatus) Number() protoreflect.EnumNumber { @@ -69,7 +69,7 @@ func (x GetPatientDetailsResponse_TaskStatus) Number() protoreflect.EnumNumber { // Deprecated: Use GetPatientDetailsResponse_TaskStatus.Descriptor instead. func (GetPatientDetailsResponse_TaskStatus) EnumDescriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23, 0} } type GetPatientListResponse_TaskStatus int32 @@ -108,11 +108,11 @@ func (x GetPatientListResponse_TaskStatus) String() string { } func (GetPatientListResponse_TaskStatus) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_task_svc_v1_patient_svc_proto_enumTypes[1].Descriptor() + return file_services_task_svc_v1_patient_svc_proto_enumTypes[1].Descriptor() } func (GetPatientListResponse_TaskStatus) Type() protoreflect.EnumType { - return &file_proto_services_task_svc_v1_patient_svc_proto_enumTypes[1] + return &file_services_task_svc_v1_patient_svc_proto_enumTypes[1] } func (x GetPatientListResponse_TaskStatus) Number() protoreflect.EnumNumber { @@ -121,7 +121,7 @@ func (x GetPatientListResponse_TaskStatus) Number() protoreflect.EnumNumber { // Deprecated: Use GetPatientListResponse_TaskStatus.Descriptor instead. func (GetPatientListResponse_TaskStatus) EnumDescriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 0} } type CreatePatientRequest struct { @@ -136,7 +136,7 @@ type CreatePatientRequest struct { func (x *CreatePatientRequest) Reset() { *x = CreatePatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -149,7 +149,7 @@ func (x *CreatePatientRequest) String() string { func (*CreatePatientRequest) ProtoMessage() {} func (x *CreatePatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -162,7 +162,7 @@ func (x *CreatePatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreatePatientRequest.ProtoReflect.Descriptor instead. func (*CreatePatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{0} } func (x *CreatePatientRequest) GetHumanReadableIdentifier() string { @@ -190,7 +190,7 @@ type CreatePatientResponse struct { func (x *CreatePatientResponse) Reset() { *x = CreatePatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -203,7 +203,7 @@ func (x *CreatePatientResponse) String() string { func (*CreatePatientResponse) ProtoMessage() {} func (x *CreatePatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -216,7 +216,7 @@ func (x *CreatePatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreatePatientResponse.ProtoReflect.Descriptor instead. func (*CreatePatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{1} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{1} } func (x *CreatePatientResponse) GetId() string { @@ -237,7 +237,7 @@ type GetPatientRequest struct { func (x *GetPatientRequest) Reset() { *x = GetPatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -250,7 +250,7 @@ func (x *GetPatientRequest) String() string { func (*GetPatientRequest) ProtoMessage() {} func (x *GetPatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -263,7 +263,7 @@ func (x *GetPatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientRequest.ProtoReflect.Descriptor instead. func (*GetPatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{2} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{2} } func (x *GetPatientRequest) GetId() string { @@ -281,9 +281,9 @@ type GetPatientResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" validate:"uuid4"` // @gotags: validate:"uuid4" HumanReadableIdentifier string `protobuf:"bytes,2,opt,name=human_readable_identifier,json=humanReadableIdentifier,proto3" json:"human_readable_identifier,omitempty" validate:"required"` // @gotags: validate:"required" Notes string `protobuf:"bytes,3,opt,name=notes,proto3" json:"notes,omitempty"` - // Deprecated: Marked as deprecated in proto/services/task_svc/v1/patient_svc.proto. + // Deprecated: Marked as deprecated in services/task_svc/v1/patient_svc.proto. BedId *string `protobuf:"bytes,4,opt,name=bed_id,json=bedId,proto3,oneof" json:"bed_id,omitempty"` - // Deprecated: Marked as deprecated in proto/services/task_svc/v1/patient_svc.proto. + // Deprecated: Marked as deprecated in services/task_svc/v1/patient_svc.proto. WardId *string `protobuf:"bytes,5,opt,name=ward_id,json=wardId,proto3,oneof" json:"ward_id,omitempty"` Room *GetPatientResponse_Room `protobuf:"bytes,7,opt,name=room,proto3,oneof" json:"room,omitempty"` Bed *GetPatientResponse_Bed `protobuf:"bytes,8,opt,name=bed,proto3,oneof" json:"bed,omitempty"` @@ -292,7 +292,7 @@ type GetPatientResponse struct { func (x *GetPatientResponse) Reset() { *x = GetPatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -305,7 +305,7 @@ func (x *GetPatientResponse) String() string { func (*GetPatientResponse) ProtoMessage() {} func (x *GetPatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -318,7 +318,7 @@ func (x *GetPatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientResponse.ProtoReflect.Descriptor instead. func (*GetPatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3} } func (x *GetPatientResponse) GetId() string { @@ -342,7 +342,7 @@ func (x *GetPatientResponse) GetNotes() string { return "" } -// Deprecated: Marked as deprecated in proto/services/task_svc/v1/patient_svc.proto. +// Deprecated: Marked as deprecated in services/task_svc/v1/patient_svc.proto. func (x *GetPatientResponse) GetBedId() string { if x != nil && x.BedId != nil { return *x.BedId @@ -350,7 +350,7 @@ func (x *GetPatientResponse) GetBedId() string { return "" } -// Deprecated: Marked as deprecated in proto/services/task_svc/v1/patient_svc.proto. +// Deprecated: Marked as deprecated in services/task_svc/v1/patient_svc.proto. func (x *GetPatientResponse) GetWardId() string { if x != nil && x.WardId != nil { return *x.WardId @@ -384,7 +384,7 @@ type DeletePatientRequest struct { func (x *DeletePatientRequest) Reset() { *x = DeletePatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -397,7 +397,7 @@ func (x *DeletePatientRequest) String() string { func (*DeletePatientRequest) ProtoMessage() {} func (x *DeletePatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -410,7 +410,7 @@ func (x *DeletePatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeletePatientRequest.ProtoReflect.Descriptor instead. func (*DeletePatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{4} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{4} } func (x *DeletePatientRequest) GetId() string { @@ -429,7 +429,7 @@ type DeletePatientResponse struct { func (x *DeletePatientResponse) Reset() { *x = DeletePatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -442,7 +442,7 @@ func (x *DeletePatientResponse) String() string { func (*DeletePatientResponse) ProtoMessage() {} func (x *DeletePatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -455,7 +455,7 @@ func (x *DeletePatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeletePatientResponse.ProtoReflect.Descriptor instead. func (*DeletePatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{5} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{5} } type GetPatientByBedRequest struct { @@ -469,7 +469,7 @@ type GetPatientByBedRequest struct { func (x *GetPatientByBedRequest) Reset() { *x = GetPatientByBedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -482,7 +482,7 @@ func (x *GetPatientByBedRequest) String() string { func (*GetPatientByBedRequest) ProtoMessage() {} func (x *GetPatientByBedRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -495,7 +495,7 @@ func (x *GetPatientByBedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientByBedRequest.ProtoReflect.Descriptor instead. func (*GetPatientByBedRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{6} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{6} } func (x *GetPatientByBedRequest) GetBedId() string { @@ -519,7 +519,7 @@ type GetPatientByBedResponse struct { func (x *GetPatientByBedResponse) Reset() { *x = GetPatientByBedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -532,7 +532,7 @@ func (x *GetPatientByBedResponse) String() string { func (*GetPatientByBedResponse) ProtoMessage() {} func (x *GetPatientByBedResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -545,7 +545,7 @@ func (x *GetPatientByBedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientByBedResponse.ProtoReflect.Descriptor instead. func (*GetPatientByBedResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{7} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{7} } func (x *GetPatientByBedResponse) GetId() string { @@ -587,7 +587,7 @@ type GetPatientsByWardRequest struct { func (x *GetPatientsByWardRequest) Reset() { *x = GetPatientsByWardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -600,7 +600,7 @@ func (x *GetPatientsByWardRequest) String() string { func (*GetPatientsByWardRequest) ProtoMessage() {} func (x *GetPatientsByWardRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -613,7 +613,7 @@ func (x *GetPatientsByWardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientsByWardRequest.ProtoReflect.Descriptor instead. func (*GetPatientsByWardRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{8} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{8} } func (x *GetPatientsByWardRequest) GetWardId() string { @@ -634,7 +634,7 @@ type GetPatientsByWardResponse struct { func (x *GetPatientsByWardResponse) Reset() { *x = GetPatientsByWardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -647,7 +647,7 @@ func (x *GetPatientsByWardResponse) String() string { func (*GetPatientsByWardResponse) ProtoMessage() {} func (x *GetPatientsByWardResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -660,7 +660,7 @@ func (x *GetPatientsByWardResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientsByWardResponse.ProtoReflect.Descriptor instead. func (*GetPatientsByWardResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{9} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{9} } func (x *GetPatientsByWardResponse) GetPatients() []*GetPatientsByWardResponse_Patient { @@ -681,7 +681,7 @@ type GetPatientAssignmentByWardRequest struct { func (x *GetPatientAssignmentByWardRequest) Reset() { *x = GetPatientAssignmentByWardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -694,7 +694,7 @@ func (x *GetPatientAssignmentByWardRequest) String() string { func (*GetPatientAssignmentByWardRequest) ProtoMessage() {} func (x *GetPatientAssignmentByWardRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -707,7 +707,7 @@ func (x *GetPatientAssignmentByWardRequest) ProtoReflect() protoreflect.Message // Deprecated: Use GetPatientAssignmentByWardRequest.ProtoReflect.Descriptor instead. func (*GetPatientAssignmentByWardRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{10} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{10} } func (x *GetPatientAssignmentByWardRequest) GetWardId() string { @@ -728,7 +728,7 @@ type GetPatientAssignmentByWardResponse struct { func (x *GetPatientAssignmentByWardResponse) Reset() { *x = GetPatientAssignmentByWardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -741,7 +741,7 @@ func (x *GetPatientAssignmentByWardResponse) String() string { func (*GetPatientAssignmentByWardResponse) ProtoMessage() {} func (x *GetPatientAssignmentByWardResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -754,7 +754,7 @@ func (x *GetPatientAssignmentByWardResponse) ProtoReflect() protoreflect.Message // Deprecated: Use GetPatientAssignmentByWardResponse.ProtoReflect.Descriptor instead. func (*GetPatientAssignmentByWardResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{11} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{11} } func (x *GetPatientAssignmentByWardResponse) GetRooms() []*GetPatientAssignmentByWardResponse_Room { @@ -773,7 +773,7 @@ type GetRecentPatientsRequest struct { func (x *GetRecentPatientsRequest) Reset() { *x = GetRecentPatientsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -786,7 +786,7 @@ func (x *GetRecentPatientsRequest) String() string { func (*GetRecentPatientsRequest) ProtoMessage() {} func (x *GetRecentPatientsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -799,7 +799,7 @@ func (x *GetRecentPatientsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRecentPatientsRequest.ProtoReflect.Descriptor instead. func (*GetRecentPatientsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{12} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{12} } type GetRecentPatientsResponse struct { @@ -813,7 +813,7 @@ type GetRecentPatientsResponse struct { func (x *GetRecentPatientsResponse) Reset() { *x = GetRecentPatientsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -826,7 +826,7 @@ func (x *GetRecentPatientsResponse) String() string { func (*GetRecentPatientsResponse) ProtoMessage() {} func (x *GetRecentPatientsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -839,7 +839,7 @@ func (x *GetRecentPatientsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRecentPatientsResponse.ProtoReflect.Descriptor instead. func (*GetRecentPatientsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{13} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{13} } func (x *GetRecentPatientsResponse) GetRecentPatients() []*GetRecentPatientsResponse_PatientWithRoomAndBed { @@ -862,7 +862,7 @@ type UpdatePatientRequest struct { func (x *UpdatePatientRequest) Reset() { *x = UpdatePatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -875,7 +875,7 @@ func (x *UpdatePatientRequest) String() string { func (*UpdatePatientRequest) ProtoMessage() {} func (x *UpdatePatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -888,7 +888,7 @@ func (x *UpdatePatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdatePatientRequest.ProtoReflect.Descriptor instead. func (*UpdatePatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{14} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{14} } func (x *UpdatePatientRequest) GetId() string { @@ -921,7 +921,7 @@ type UpdatePatientResponse struct { func (x *UpdatePatientResponse) Reset() { *x = UpdatePatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -934,7 +934,7 @@ func (x *UpdatePatientResponse) String() string { func (*UpdatePatientResponse) ProtoMessage() {} func (x *UpdatePatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -947,7 +947,7 @@ func (x *UpdatePatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdatePatientResponse.ProtoReflect.Descriptor instead. func (*UpdatePatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{15} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{15} } type AssignBedRequest struct { @@ -962,7 +962,7 @@ type AssignBedRequest struct { func (x *AssignBedRequest) Reset() { *x = AssignBedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -975,7 +975,7 @@ func (x *AssignBedRequest) String() string { func (*AssignBedRequest) ProtoMessage() {} func (x *AssignBedRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -988,7 +988,7 @@ func (x *AssignBedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignBedRequest.ProtoReflect.Descriptor instead. func (*AssignBedRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{16} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{16} } func (x *AssignBedRequest) GetId() string { @@ -1014,7 +1014,7 @@ type AssignBedResponse struct { func (x *AssignBedResponse) Reset() { *x = AssignBedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1027,7 +1027,7 @@ func (x *AssignBedResponse) String() string { func (*AssignBedResponse) ProtoMessage() {} func (x *AssignBedResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1040,7 +1040,7 @@ func (x *AssignBedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignBedResponse.ProtoReflect.Descriptor instead. func (*AssignBedResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{17} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{17} } type UnassignBedRequest struct { @@ -1054,7 +1054,7 @@ type UnassignBedRequest struct { func (x *UnassignBedRequest) Reset() { *x = UnassignBedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1067,7 +1067,7 @@ func (x *UnassignBedRequest) String() string { func (*UnassignBedRequest) ProtoMessage() {} func (x *UnassignBedRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1080,7 +1080,7 @@ func (x *UnassignBedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UnassignBedRequest.ProtoReflect.Descriptor instead. func (*UnassignBedRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{18} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{18} } func (x *UnassignBedRequest) GetId() string { @@ -1099,7 +1099,7 @@ type UnassignBedResponse struct { func (x *UnassignBedResponse) Reset() { *x = UnassignBedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1112,7 +1112,7 @@ func (x *UnassignBedResponse) String() string { func (*UnassignBedResponse) ProtoMessage() {} func (x *UnassignBedResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1125,7 +1125,7 @@ func (x *UnassignBedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UnassignBedResponse.ProtoReflect.Descriptor instead. func (*UnassignBedResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{19} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{19} } type DischargePatientRequest struct { @@ -1139,7 +1139,7 @@ type DischargePatientRequest struct { func (x *DischargePatientRequest) Reset() { *x = DischargePatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1152,7 +1152,7 @@ func (x *DischargePatientRequest) String() string { func (*DischargePatientRequest) ProtoMessage() {} func (x *DischargePatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1165,7 +1165,7 @@ func (x *DischargePatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DischargePatientRequest.ProtoReflect.Descriptor instead. func (*DischargePatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{20} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{20} } func (x *DischargePatientRequest) GetId() string { @@ -1184,7 +1184,7 @@ type DischargePatientResponse struct { func (x *DischargePatientResponse) Reset() { *x = DischargePatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[21] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1197,7 +1197,7 @@ func (x *DischargePatientResponse) String() string { func (*DischargePatientResponse) ProtoMessage() {} func (x *DischargePatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[21] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1210,7 +1210,7 @@ func (x *DischargePatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DischargePatientResponse.ProtoReflect.Descriptor instead. func (*DischargePatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{21} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{21} } type GetPatientDetailsRequest struct { @@ -1224,7 +1224,7 @@ type GetPatientDetailsRequest struct { func (x *GetPatientDetailsRequest) Reset() { *x = GetPatientDetailsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[22] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1237,7 +1237,7 @@ func (x *GetPatientDetailsRequest) String() string { func (*GetPatientDetailsRequest) ProtoMessage() {} func (x *GetPatientDetailsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[22] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1250,7 +1250,7 @@ func (x *GetPatientDetailsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientDetailsRequest.ProtoReflect.Descriptor instead. func (*GetPatientDetailsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{22} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{22} } func (x *GetPatientDetailsRequest) GetId() string { @@ -1271,7 +1271,7 @@ type GetPatientDetailsResponse struct { Notes string `protobuf:"bytes,4,opt,name=notes,proto3" json:"notes,omitempty"` // "bed_index": number, Tasks []*GetPatientDetailsResponse_Task `protobuf:"bytes,5,rep,name=tasks,proto3" json:"tasks,omitempty"` - // Deprecated: Marked as deprecated in proto/services/task_svc/v1/patient_svc.proto. + // Deprecated: Marked as deprecated in services/task_svc/v1/patient_svc.proto. WardId *string `protobuf:"bytes,6,opt,name=ward_id,json=wardId,proto3,oneof" json:"ward_id,omitempty"` Room *GetPatientDetailsResponse_Room `protobuf:"bytes,7,opt,name=room,proto3,oneof" json:"room,omitempty"` Bed *GetPatientDetailsResponse_Bed `protobuf:"bytes,8,opt,name=bed,proto3,oneof" json:"bed,omitempty"` @@ -1281,7 +1281,7 @@ type GetPatientDetailsResponse struct { func (x *GetPatientDetailsResponse) Reset() { *x = GetPatientDetailsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[23] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1294,7 +1294,7 @@ func (x *GetPatientDetailsResponse) String() string { func (*GetPatientDetailsResponse) ProtoMessage() {} func (x *GetPatientDetailsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[23] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1307,7 +1307,7 @@ func (x *GetPatientDetailsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientDetailsResponse.ProtoReflect.Descriptor instead. func (*GetPatientDetailsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23} } func (x *GetPatientDetailsResponse) GetId() string { @@ -1345,7 +1345,7 @@ func (x *GetPatientDetailsResponse) GetTasks() []*GetPatientDetailsResponse_Task return nil } -// Deprecated: Marked as deprecated in proto/services/task_svc/v1/patient_svc.proto. +// Deprecated: Marked as deprecated in services/task_svc/v1/patient_svc.proto. func (x *GetPatientDetailsResponse) GetWardId() string { if x != nil && x.WardId != nil { return *x.WardId @@ -1385,7 +1385,7 @@ type GetPatientListRequest struct { func (x *GetPatientListRequest) Reset() { *x = GetPatientListRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[24] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1398,7 +1398,7 @@ func (x *GetPatientListRequest) String() string { func (*GetPatientListRequest) ProtoMessage() {} func (x *GetPatientListRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[24] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1411,7 +1411,7 @@ func (x *GetPatientListRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientListRequest.ProtoReflect.Descriptor instead. func (*GetPatientListRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{24} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{24} } func (x *GetPatientListRequest) GetWardId() string { @@ -1434,7 +1434,7 @@ type GetPatientListResponse struct { func (x *GetPatientListResponse) Reset() { *x = GetPatientListResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[25] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1447,7 +1447,7 @@ func (x *GetPatientListResponse) String() string { func (*GetPatientListResponse) ProtoMessage() {} func (x *GetPatientListResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[25] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1460,7 +1460,7 @@ func (x *GetPatientListResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientListResponse.ProtoReflect.Descriptor instead. func (*GetPatientListResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25} } func (x *GetPatientListResponse) GetActive() []*GetPatientListResponse_PatientWithRoomAndBed { @@ -1495,7 +1495,7 @@ type ReadmitPatientRequest struct { func (x *ReadmitPatientRequest) Reset() { *x = ReadmitPatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[26] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1508,7 +1508,7 @@ func (x *ReadmitPatientRequest) String() string { func (*ReadmitPatientRequest) ProtoMessage() {} func (x *ReadmitPatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[26] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1521,7 +1521,7 @@ func (x *ReadmitPatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadmitPatientRequest.ProtoReflect.Descriptor instead. func (*ReadmitPatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{26} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{26} } func (x *ReadmitPatientRequest) GetPatientId() string { @@ -1540,7 +1540,7 @@ type ReadmitPatientResponse struct { func (x *ReadmitPatientResponse) Reset() { *x = ReadmitPatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[27] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1553,7 +1553,7 @@ func (x *ReadmitPatientResponse) String() string { func (*ReadmitPatientResponse) ProtoMessage() {} func (x *ReadmitPatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[27] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1566,7 +1566,7 @@ func (x *ReadmitPatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadmitPatientResponse.ProtoReflect.Descriptor instead. func (*ReadmitPatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{27} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{27} } type GetPatientResponse_Room struct { @@ -1582,7 +1582,7 @@ type GetPatientResponse_Room struct { func (x *GetPatientResponse_Room) Reset() { *x = GetPatientResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[28] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1595,7 +1595,7 @@ func (x *GetPatientResponse_Room) String() string { func (*GetPatientResponse_Room) ProtoMessage() {} func (x *GetPatientResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[28] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1608,7 +1608,7 @@ func (x *GetPatientResponse_Room) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientResponse_Room.ProtoReflect.Descriptor instead. func (*GetPatientResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3, 0} } func (x *GetPatientResponse_Room) GetId() string { @@ -1644,7 +1644,7 @@ type GetPatientResponse_Bed struct { func (x *GetPatientResponse_Bed) Reset() { *x = GetPatientResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[29] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1657,7 +1657,7 @@ func (x *GetPatientResponse_Bed) String() string { func (*GetPatientResponse_Bed) ProtoMessage() {} func (x *GetPatientResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[29] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1670,7 +1670,7 @@ func (x *GetPatientResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientResponse_Bed.ProtoReflect.Descriptor instead. func (*GetPatientResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3, 1} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3, 1} } func (x *GetPatientResponse_Bed) GetId() string { @@ -1701,7 +1701,7 @@ type GetPatientsByWardResponse_Patient struct { func (x *GetPatientsByWardResponse_Patient) Reset() { *x = GetPatientsByWardResponse_Patient{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[30] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1714,7 +1714,7 @@ func (x *GetPatientsByWardResponse_Patient) String() string { func (*GetPatientsByWardResponse_Patient) ProtoMessage() {} func (x *GetPatientsByWardResponse_Patient) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[30] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1727,7 +1727,7 @@ func (x *GetPatientsByWardResponse_Patient) ProtoReflect() protoreflect.Message // Deprecated: Use GetPatientsByWardResponse_Patient.ProtoReflect.Descriptor instead. func (*GetPatientsByWardResponse_Patient) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{9, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{9, 0} } func (x *GetPatientsByWardResponse_Patient) GetId() string { @@ -1771,7 +1771,7 @@ type GetPatientAssignmentByWardResponse_Room struct { func (x *GetPatientAssignmentByWardResponse_Room) Reset() { *x = GetPatientAssignmentByWardResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[31] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1784,7 +1784,7 @@ func (x *GetPatientAssignmentByWardResponse_Room) String() string { func (*GetPatientAssignmentByWardResponse_Room) ProtoMessage() {} func (x *GetPatientAssignmentByWardResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[31] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1797,7 +1797,7 @@ func (x *GetPatientAssignmentByWardResponse_Room) ProtoReflect() protoreflect.Me // Deprecated: Use GetPatientAssignmentByWardResponse_Room.ProtoReflect.Descriptor instead. func (*GetPatientAssignmentByWardResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{11, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{11, 0} } func (x *GetPatientAssignmentByWardResponse_Room) GetId() string { @@ -1834,7 +1834,7 @@ type GetPatientAssignmentByWardResponse_Room_Bed struct { func (x *GetPatientAssignmentByWardResponse_Room_Bed) Reset() { *x = GetPatientAssignmentByWardResponse_Room_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[32] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1847,7 +1847,7 @@ func (x *GetPatientAssignmentByWardResponse_Room_Bed) String() string { func (*GetPatientAssignmentByWardResponse_Room_Bed) ProtoMessage() {} func (x *GetPatientAssignmentByWardResponse_Room_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[32] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1860,7 +1860,7 @@ func (x *GetPatientAssignmentByWardResponse_Room_Bed) ProtoReflect() protoreflec // Deprecated: Use GetPatientAssignmentByWardResponse_Room_Bed.ProtoReflect.Descriptor instead. func (*GetPatientAssignmentByWardResponse_Room_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{11, 0, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{11, 0, 0} } func (x *GetPatientAssignmentByWardResponse_Room_Bed) GetId() string { @@ -1896,7 +1896,7 @@ type GetPatientAssignmentByWardResponse_Room_Bed_Patient struct { func (x *GetPatientAssignmentByWardResponse_Room_Bed_Patient) Reset() { *x = GetPatientAssignmentByWardResponse_Room_Bed_Patient{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[33] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1909,7 +1909,7 @@ func (x *GetPatientAssignmentByWardResponse_Room_Bed_Patient) String() string { func (*GetPatientAssignmentByWardResponse_Room_Bed_Patient) ProtoMessage() {} func (x *GetPatientAssignmentByWardResponse_Room_Bed_Patient) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[33] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1922,7 +1922,7 @@ func (x *GetPatientAssignmentByWardResponse_Room_Bed_Patient) ProtoReflect() pro // Deprecated: Use GetPatientAssignmentByWardResponse_Room_Bed_Patient.ProtoReflect.Descriptor instead. func (*GetPatientAssignmentByWardResponse_Room_Bed_Patient) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{11, 0, 0, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{11, 0, 0, 0} } func (x *GetPatientAssignmentByWardResponse_Room_Bed_Patient) GetId() string { @@ -1951,7 +1951,7 @@ type GetRecentPatientsResponse_Bed struct { func (x *GetRecentPatientsResponse_Bed) Reset() { *x = GetRecentPatientsResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[34] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1964,7 +1964,7 @@ func (x *GetRecentPatientsResponse_Bed) String() string { func (*GetRecentPatientsResponse_Bed) ProtoMessage() {} func (x *GetRecentPatientsResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[34] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1977,7 +1977,7 @@ func (x *GetRecentPatientsResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRecentPatientsResponse_Bed.ProtoReflect.Descriptor instead. func (*GetRecentPatientsResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{13, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{13, 0} } func (x *GetRecentPatientsResponse_Bed) GetId() string { @@ -2007,7 +2007,7 @@ type GetRecentPatientsResponse_Room struct { func (x *GetRecentPatientsResponse_Room) Reset() { *x = GetRecentPatientsResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[35] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2020,7 +2020,7 @@ func (x *GetRecentPatientsResponse_Room) String() string { func (*GetRecentPatientsResponse_Room) ProtoMessage() {} func (x *GetRecentPatientsResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[35] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2033,7 +2033,7 @@ func (x *GetRecentPatientsResponse_Room) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRecentPatientsResponse_Room.ProtoReflect.Descriptor instead. func (*GetRecentPatientsResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{13, 1} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{13, 1} } func (x *GetRecentPatientsResponse_Room) GetId() string { @@ -2071,7 +2071,7 @@ type GetRecentPatientsResponse_PatientWithRoomAndBed struct { func (x *GetRecentPatientsResponse_PatientWithRoomAndBed) Reset() { *x = GetRecentPatientsResponse_PatientWithRoomAndBed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[36] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2084,7 +2084,7 @@ func (x *GetRecentPatientsResponse_PatientWithRoomAndBed) String() string { func (*GetRecentPatientsResponse_PatientWithRoomAndBed) ProtoMessage() {} func (x *GetRecentPatientsResponse_PatientWithRoomAndBed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[36] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2097,7 +2097,7 @@ func (x *GetRecentPatientsResponse_PatientWithRoomAndBed) ProtoReflect() protore // Deprecated: Use GetRecentPatientsResponse_PatientWithRoomAndBed.ProtoReflect.Descriptor instead. func (*GetRecentPatientsResponse_PatientWithRoomAndBed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{13, 2} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{13, 2} } func (x *GetRecentPatientsResponse_PatientWithRoomAndBed) GetId() string { @@ -2141,7 +2141,7 @@ type GetPatientDetailsResponse_Room struct { func (x *GetPatientDetailsResponse_Room) Reset() { *x = GetPatientDetailsResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[37] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2154,7 +2154,7 @@ func (x *GetPatientDetailsResponse_Room) String() string { func (*GetPatientDetailsResponse_Room) ProtoMessage() {} func (x *GetPatientDetailsResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[37] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2167,7 +2167,7 @@ func (x *GetPatientDetailsResponse_Room) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientDetailsResponse_Room.ProtoReflect.Descriptor instead. func (*GetPatientDetailsResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23, 0} } func (x *GetPatientDetailsResponse_Room) GetId() string { @@ -2203,7 +2203,7 @@ type GetPatientDetailsResponse_Bed struct { func (x *GetPatientDetailsResponse_Bed) Reset() { *x = GetPatientDetailsResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[38] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2216,7 +2216,7 @@ func (x *GetPatientDetailsResponse_Bed) String() string { func (*GetPatientDetailsResponse_Bed) ProtoMessage() {} func (x *GetPatientDetailsResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[38] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2229,7 +2229,7 @@ func (x *GetPatientDetailsResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientDetailsResponse_Bed.ProtoReflect.Descriptor instead. func (*GetPatientDetailsResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23, 1} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23, 1} } func (x *GetPatientDetailsResponse_Bed) GetId() string { @@ -2254,7 +2254,7 @@ type GetPatientDetailsResponse_Task struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Status GetPatientDetailsResponse_TaskStatus `protobuf:"varint,4,opt,name=status,proto3,enum=proto.services.task_svc.v1.GetPatientDetailsResponse_TaskStatus" json:"status,omitempty"` + Status GetPatientDetailsResponse_TaskStatus `protobuf:"varint,4,opt,name=status,proto3,enum=services.task_svc.v1.GetPatientDetailsResponse_TaskStatus" json:"status,omitempty"` AssignedUserId *string `protobuf:"bytes,5,opt,name=assigned_user_id,json=assignedUserId,proto3,oneof" json:"assigned_user_id,omitempty"` PatientId string `protobuf:"bytes,6,opt,name=patient_id,json=patientId,proto3" json:"patient_id,omitempty"` Public bool `protobuf:"varint,7,opt,name=public,proto3" json:"public,omitempty"` @@ -2264,7 +2264,7 @@ type GetPatientDetailsResponse_Task struct { func (x *GetPatientDetailsResponse_Task) Reset() { *x = GetPatientDetailsResponse_Task{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[39] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2277,7 +2277,7 @@ func (x *GetPatientDetailsResponse_Task) String() string { func (*GetPatientDetailsResponse_Task) ProtoMessage() {} func (x *GetPatientDetailsResponse_Task) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[39] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2290,7 +2290,7 @@ func (x *GetPatientDetailsResponse_Task) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientDetailsResponse_Task.ProtoReflect.Descriptor instead. func (*GetPatientDetailsResponse_Task) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23, 2} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23, 2} } func (x *GetPatientDetailsResponse_Task) GetId() string { @@ -2362,7 +2362,7 @@ type GetPatientDetailsResponse_Task_SubTask struct { func (x *GetPatientDetailsResponse_Task_SubTask) Reset() { *x = GetPatientDetailsResponse_Task_SubTask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[40] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2375,7 +2375,7 @@ func (x *GetPatientDetailsResponse_Task_SubTask) String() string { func (*GetPatientDetailsResponse_Task_SubTask) ProtoMessage() {} func (x *GetPatientDetailsResponse_Task_SubTask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[40] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2388,7 +2388,7 @@ func (x *GetPatientDetailsResponse_Task_SubTask) ProtoReflect() protoreflect.Mes // Deprecated: Use GetPatientDetailsResponse_Task_SubTask.ProtoReflect.Descriptor instead. func (*GetPatientDetailsResponse_Task_SubTask) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23, 2, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{23, 2, 0} } func (x *GetPatientDetailsResponse_Task_SubTask) GetId() string { @@ -2426,7 +2426,7 @@ type GetPatientListResponse_Patient struct { func (x *GetPatientListResponse_Patient) Reset() { *x = GetPatientListResponse_Patient{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[41] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2439,7 +2439,7 @@ func (x *GetPatientListResponse_Patient) String() string { func (*GetPatientListResponse_Patient) ProtoMessage() {} func (x *GetPatientListResponse_Patient) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[41] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2452,7 +2452,7 @@ func (x *GetPatientListResponse_Patient) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientListResponse_Patient.ProtoReflect.Descriptor instead. func (*GetPatientListResponse_Patient) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 0} } func (x *GetPatientListResponse_Patient) GetId() string { @@ -2495,7 +2495,7 @@ type GetPatientListResponse_Bed struct { func (x *GetPatientListResponse_Bed) Reset() { *x = GetPatientListResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[42] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2508,7 +2508,7 @@ func (x *GetPatientListResponse_Bed) String() string { func (*GetPatientListResponse_Bed) ProtoMessage() {} func (x *GetPatientListResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[42] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2521,7 +2521,7 @@ func (x *GetPatientListResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientListResponse_Bed.ProtoReflect.Descriptor instead. func (*GetPatientListResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 1} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 1} } func (x *GetPatientListResponse_Bed) GetId() string { @@ -2551,7 +2551,7 @@ type GetPatientListResponse_Room struct { func (x *GetPatientListResponse_Room) Reset() { *x = GetPatientListResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[43] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2564,7 +2564,7 @@ func (x *GetPatientListResponse_Room) String() string { func (*GetPatientListResponse_Room) ProtoMessage() {} func (x *GetPatientListResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[43] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2577,7 +2577,7 @@ func (x *GetPatientListResponse_Room) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientListResponse_Room.ProtoReflect.Descriptor instead. func (*GetPatientListResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 2} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 2} } func (x *GetPatientListResponse_Room) GetId() string { @@ -2617,7 +2617,7 @@ type GetPatientListResponse_PatientWithRoomAndBed struct { func (x *GetPatientListResponse_PatientWithRoomAndBed) Reset() { *x = GetPatientListResponse_PatientWithRoomAndBed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[44] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2630,7 +2630,7 @@ func (x *GetPatientListResponse_PatientWithRoomAndBed) String() string { func (*GetPatientListResponse_PatientWithRoomAndBed) ProtoMessage() {} func (x *GetPatientListResponse_PatientWithRoomAndBed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[44] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2643,7 +2643,7 @@ func (x *GetPatientListResponse_PatientWithRoomAndBed) ProtoReflect() protorefle // Deprecated: Use GetPatientListResponse_PatientWithRoomAndBed.ProtoReflect.Descriptor instead. func (*GetPatientListResponse_PatientWithRoomAndBed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 3} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 3} } func (x *GetPatientListResponse_PatientWithRoomAndBed) GetId() string { @@ -2696,7 +2696,7 @@ type GetPatientListResponse_Task struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Status GetPatientListResponse_TaskStatus `protobuf:"varint,4,opt,name=status,proto3,enum=proto.services.task_svc.v1.GetPatientListResponse_TaskStatus" json:"status,omitempty"` + Status GetPatientListResponse_TaskStatus `protobuf:"varint,4,opt,name=status,proto3,enum=services.task_svc.v1.GetPatientListResponse_TaskStatus" json:"status,omitempty"` AssignedUserId *string `protobuf:"bytes,5,opt,name=assigned_user_id,json=assignedUserId,proto3,oneof" json:"assigned_user_id,omitempty"` PatientId string `protobuf:"bytes,6,opt,name=patient_id,json=patientId,proto3" json:"patient_id,omitempty"` Public bool `protobuf:"varint,7,opt,name=public,proto3" json:"public,omitempty"` @@ -2706,7 +2706,7 @@ type GetPatientListResponse_Task struct { func (x *GetPatientListResponse_Task) Reset() { *x = GetPatientListResponse_Task{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[45] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2719,7 +2719,7 @@ func (x *GetPatientListResponse_Task) String() string { func (*GetPatientListResponse_Task) ProtoMessage() {} func (x *GetPatientListResponse_Task) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[45] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2732,7 +2732,7 @@ func (x *GetPatientListResponse_Task) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientListResponse_Task.ProtoReflect.Descriptor instead. func (*GetPatientListResponse_Task) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 4} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 4} } func (x *GetPatientListResponse_Task) GetId() string { @@ -2804,7 +2804,7 @@ type GetPatientListResponse_Task_SubTask struct { func (x *GetPatientListResponse_Task_SubTask) Reset() { *x = GetPatientListResponse_Task_SubTask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[46] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2817,7 +2817,7 @@ func (x *GetPatientListResponse_Task_SubTask) String() string { func (*GetPatientListResponse_Task_SubTask) ProtoMessage() {} func (x *GetPatientListResponse_Task_SubTask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[46] + mi := &file_services_task_svc_v1_patient_svc_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2830,7 +2830,7 @@ func (x *GetPatientListResponse_Task_SubTask) ProtoReflect() protoreflect.Messag // Deprecated: Use GetPatientListResponse_Task_SubTask.ProtoReflect.Descriptor instead. func (*GetPatientListResponse_Task_SubTask) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 4, 0} + return file_services_task_svc_v1_patient_svc_proto_rawDescGZIP(), []int{25, 4, 0} } func (x *GetPatientListResponse_Task_SubTask) GetId() string { @@ -2854,119 +2854,116 @@ func (x *GetPatientListResponse_Task_SubTask) GetDone() bool { return false } -var File_proto_services_task_svc_v1_patient_svc_proto protoreflect.FileDescriptor - -var file_proto_services_task_svc_v1_patient_svc_proto_rawDesc = []byte{ - 0x0a, 0x2c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x74, - 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x68, 0x0a, 0x14, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, - 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, - 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x14, - 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, - 0x6f, 0x74, 0x65, 0x73, 0x22, 0x27, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, +var File_services_task_svc_v1_patient_svc_proto protoreflect.FileDescriptor + +var file_services_task_svc_v1_patient_svc_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x68, + 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, + 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, + 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x27, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x22, 0x23, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xdd, 0x03, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x23, 0x0a, - 0x11, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x22, 0xe9, 0x03, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, - 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, - 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x06, 0x62, - 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x48, - 0x00, 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x07, 0x77, - 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, - 0x48, 0x01, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x4c, 0x0a, - 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, - 0x48, 0x02, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x49, 0x0a, 0x03, 0x62, - 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, + 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x74, + 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x12, + 0x1e, 0x0a, 0x06, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, + 0x20, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x02, 0x18, 0x01, 0x48, 0x01, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x88, 0x01, + 0x01, 0x12, 0x46, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x48, 0x02, + 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x43, 0x0a, 0x03, 0x62, 0x65, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x42, 0x65, 0x64, 0x48, 0x03, 0x52, 0x03, 0x62, 0x65, 0x64, 0x88, 0x01, 0x01, 0x1a, 0x43, + 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, + 0x64, 0x49, 0x64, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09, + 0x0a, 0x07, 0x5f, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x42, 0x06, + 0x0a, 0x04, 0x5f, 0x62, 0x65, 0x64, 0x22, 0x26, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x17, + 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x15, 0x0a, 0x06, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, 0x22, 0xa2, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, + 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, + 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x06, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, 0x88, + 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x33, 0x0a, + 0x18, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x57, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, + 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, + 0x49, 0x64, 0x22, 0x85, 0x02, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, + 0x74, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x53, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, + 0x69, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x70, 0x61, 0x74, + 0x69, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x92, 0x01, 0x0a, 0x07, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, + 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x14, 0x0a, + 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, + 0x74, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x06, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, + 0x09, 0x0a, 0x07, 0x5f, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x3c, 0x0a, 0x21, 0x47, 0x65, + 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0xce, 0x03, 0x0a, 0x22, 0x47, 0x65, 0x74, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x53, 0x0a, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x48, 0x03, 0x52, 0x03, - 0x62, 0x65, 0x64, 0x88, 0x01, 0x01, 0x1a, 0x43, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x29, 0x0a, 0x03, 0x42, - 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x62, 0x65, 0x64, 0x5f, 0x69, - 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, - 0x05, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x62, 0x65, 0x64, 0x22, 0x26, - 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x2f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x42, - 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x62, 0x65, 0x64, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, - 0x22, 0xa2, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x42, - 0x79, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, - 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x1a, - 0x0a, 0x06, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, - 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x62, - 0x65, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x33, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, - 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0x8b, 0x02, 0x0a, 0x19, 0x47, - 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x69, - 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, - 0x6e, 0x74, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x70, 0x61, 0x74, 0x69, 0x65, - 0x6e, 0x74, 0x73, 0x1a, 0x92, 0x01, 0x0a, 0x07, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, - 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, - 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6e, - 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, - 0x73, 0x12, 0x1a, 0x0a, 0x06, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, - 0x07, 0x5f, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x3c, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, - 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, - 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0xe0, 0x03, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x50, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, - 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, - 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, - 0x69, 0x65, 0x6e, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, - 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, - 0x6d, 0x52, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x1a, 0xde, 0x02, 0x0a, 0x04, 0x52, 0x6f, 0x6f, - 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5b, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, - 0x64, 0x73, 0x1a, 0xd4, 0x01, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x6e, - 0x0a, 0x07, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x05, 0x72, + 0x6f, 0x6f, 0x6d, 0x73, 0x1a, 0xd2, 0x02, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x55, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x41, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, + 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x57, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x42, + 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x1a, 0xce, 0x01, 0x0a, 0x03, 0x42, 0x65, 0x64, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x68, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, @@ -2977,122 +2974,119 @@ var file_proto_services_task_svc_v1_patient_svc_proto_rawDesc = []byte{ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x84, 0x04, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xf2, 0x03, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, - 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, 0x52, - 0x6f, 0x6f, 0x6d, 0x41, 0x6e, 0x64, 0x42, 0x65, 0x64, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x65, 0x6e, - 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x43, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x80, 0x02, 0x0a, 0x15, 0x50, 0x61, + 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, + 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x41, 0x6e, 0x64, - 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, + 0x42, 0x65, 0x64, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x73, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x43, + 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, + 0x64, 0x49, 0x64, 0x1a, 0xf4, 0x01, 0x0a, 0x15, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x57, + 0x69, 0x74, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x41, 0x6e, 0x64, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, + 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x04, 0x72, 0x6f, 0x6f, + 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x72, + 0x6f, 0x6f, 0x6d, 0x12, 0x45, 0x0a, 0x03, 0x62, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x33, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, + 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x03, 0x62, 0x65, 0x64, 0x22, 0xaa, 0x01, 0x0a, 0x14, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, - 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, - 0x4e, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, - 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, - 0x4b, 0x0a, 0x03, 0x62, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, - 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x03, 0x62, 0x65, 0x64, 0x22, 0xaa, 0x01, 0x0a, - 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, - 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, - 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x88, 0x01, - 0x01, 0x42, 0x1c, 0x0a, 0x1a, 0x5f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, - 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x42, - 0x08, 0x0a, 0x06, 0x5f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x39, 0x0a, 0x10, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, + 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01, 0x42, + 0x1c, 0x0a, 0x1a, 0x5f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x42, 0x08, 0x0a, + 0x06, 0x5f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x39, 0x0a, 0x10, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x24, 0x0a, 0x12, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, 0x22, 0x13, 0x0a, - 0x11, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x24, 0x0a, 0x12, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x6e, 0x61, 0x73, - 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x29, 0x0a, 0x17, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, - 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, - 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x22, 0x99, 0x09, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, + 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x0a, + 0x17, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x63, + 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, - 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, - 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x50, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, - 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, - 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x20, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, - 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, - 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x53, 0x0a, 0x04, 0x72, 0x6f, - 0x6f, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xfb, 0x08, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, + 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x14, + 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, + 0x6f, 0x74, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x12, 0x20, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x88, + 0x01, 0x01, 0x12, 0x4d, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x34, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x48, 0x01, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x88, 0x01, + 0x01, 0x12, 0x4a, 0x0a, 0x03, 0x62, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x52, 0x6f, 0x6f, 0x6d, 0x48, 0x01, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x88, 0x01, 0x01, 0x12, - 0x50, 0x0a, 0x03, 0x62, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, - 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x48, 0x02, 0x52, 0x03, 0x62, 0x65, 0x64, 0x88, 0x01, - 0x01, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, - 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x44, 0x69, 0x73, 0x63, - 0x68, 0x61, 0x72, 0x67, 0x65, 0x64, 0x1a, 0x43, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, + 0x42, 0x65, 0x64, 0x48, 0x02, 0x52, 0x03, 0x62, 0x65, 0x64, 0x88, 0x01, 0x01, 0x12, 0x23, 0x0a, + 0x0d, 0x69, 0x73, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, + 0x65, 0x64, 0x1a, 0x43, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, + 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x29, 0x0a, 0x03, 0x42, - 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0xc4, 0x03, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x58, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, - 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x2d, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x73, 0x73, - 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1d, - 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, - 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x5e, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, - 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x6d, 0x65, 0x1a, 0xb8, 0x03, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x52, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x3a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, + 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, + 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x58, 0x0a, 0x08, 0x73, + 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, @@ -3116,75 +3110,72 @@ var file_proto_services_task_svc_v1_patient_svc_proto_rawDesc = []byte{ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, - 0x64, 0x22, 0x98, 0x0c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x06, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, - 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, 0x52, 0x6f, 0x6f, 0x6d, - 0x41, 0x6e, 0x64, 0x42, 0x65, 0x64, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x6b, - 0x0a, 0x13, 0x75, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x74, - 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, - 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x12, 0x75, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x64, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x6b, 0x0a, 0x13, 0x64, - 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x74, - 0x69, 0x65, 0x6e, 0x74, 0x52, 0x12, 0x64, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x64, - 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0xba, 0x01, 0x0a, 0x07, 0x50, 0x61, 0x74, - 0x69, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, - 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, - 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, - 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x1a, 0x43, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, - 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, - 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0xdf, 0x02, 0x0a, 0x15, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x57, 0x69, 0x74, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x41, 0x6e, 0x64, 0x42, 0x65, 0x64, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, - 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, - 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x4b, 0x0a, 0x04, 0x72, - 0x6f, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, - 0x6f, 0x6d, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x48, 0x0a, 0x03, 0x62, 0x65, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x03, 0x62, - 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, - 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, - 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0xbe, 0x03, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, + 0x64, 0x22, 0xe2, 0x0b, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x06, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x41, 0x6e, 0x64, 0x42, 0x65, 0x64, + 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x65, 0x0a, 0x13, 0x75, 0x6e, 0x61, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x12, 0x75, 0x6e, 0x61, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, + 0x65, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x64, 0x5f, 0x70, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x52, 0x12, 0x64, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x64, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0xb4, 0x01, 0x0a, 0x07, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, + 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x14, + 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, + 0x6f, 0x74, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x29, 0x0a, + 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x43, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0xcd, 0x02, + 0x0a, 0x15, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, 0x52, 0x6f, 0x6f, + 0x6d, 0x41, 0x6e, 0x64, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, + 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, + 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, + 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x42, 0x0a, 0x03, 0x62, 0x65, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x03, 0x62, 0x65, 0x64, 0x12, 0x14, + 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, + 0x6f, 0x74, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0xb2, 0x03, + 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, @@ -3195,274 +3186,261 @@ var file_proto_services_task_svc_v1_patient_svc_proto_rawDesc = []byte{ 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x12, 0x5b, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, - 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x53, - 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, - 0x1a, 0x41, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, - 0x6f, 0x6e, 0x65, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, - 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x72, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, - 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x55, 0x53, 0x5f, 0x54, 0x4f, 0x44, 0x4f, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x53, - 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, - 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, - 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x36, 0x0a, 0x15, - 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, - 0x6e, 0x74, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe9, - 0x0d, 0x0a, 0x0e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x12, 0x76, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, - 0x6e, 0x74, 0x12, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0a, 0x47, 0x65, 0x74, - 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x65, 0x64, 0x12, 0x32, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, - 0x65, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x6c, 0x69, 0x63, 0x12, 0x55, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x12, 0x34, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, - 0x69, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x41, 0x0a, 0x07, 0x53, 0x75, + 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x6f, 0x6e, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x42, 0x13, 0x0a, + 0x11, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x22, 0x72, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, + 0x10, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x4f, 0x44, + 0x4f, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, + 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, + 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x36, 0x0a, 0x15, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, + 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x18, + 0x0a, 0x16, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbe, 0x0c, 0x0a, 0x0e, 0x50, 0x61, 0x74, + 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6a, 0x0a, 0x0d, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, + 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x65, 0x64, 0x12, 0x2c, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x42, + 0x79, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x42, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x9d, 0x01, 0x0a, 0x1a, - 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, - 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x12, 0x3d, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, - 0x6e, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x57, 0x61, - 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x57, 0x61, 0x72, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x11, - 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, - 0x73, 0x12, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x64, 0x12, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, + 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, + 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x91, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, + 0x65, 0x6e, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x57, + 0x61, 0x72, 0x64, 0x12, 0x37, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, + 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2e, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x76, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x12, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x12, 0x6a, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, + 0x74, 0x12, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x09, + 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x12, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x09, 0x41, 0x73, 0x73, 0x69, - 0x67, 0x6e, 0x42, 0x65, 0x64, 0x12, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, + 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, + 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0b, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, - 0x42, 0x65, 0x64, 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, - 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, - 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, + 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, + 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x34, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x0e, - 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x31, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2e, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x6d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, + 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x79, 0x0a, 0x0e, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xd5, 0x01, 0x0a, 0x1e, 0x63, - 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x1b, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, - 0x50, 0x53, 0x54, 0xaa, 0x02, 0x19, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, - 0x02, 0x19, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x25, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, - 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, + 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, + 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x74, + 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x52, 0x65, + 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xb6, 0x01, 0x0a, 0x18, 0x63, 0x6f, + 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, + 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, + 0x73, 0x6b, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x54, 0x58, 0xaa, 0x02, 0x13, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, + 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_proto_services_task_svc_v1_patient_svc_proto_rawDescOnce sync.Once - file_proto_services_task_svc_v1_patient_svc_proto_rawDescData = file_proto_services_task_svc_v1_patient_svc_proto_rawDesc + file_services_task_svc_v1_patient_svc_proto_rawDescOnce sync.Once + file_services_task_svc_v1_patient_svc_proto_rawDescData = file_services_task_svc_v1_patient_svc_proto_rawDesc ) -func file_proto_services_task_svc_v1_patient_svc_proto_rawDescGZIP() []byte { - file_proto_services_task_svc_v1_patient_svc_proto_rawDescOnce.Do(func() { - file_proto_services_task_svc_v1_patient_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_task_svc_v1_patient_svc_proto_rawDescData) +func file_services_task_svc_v1_patient_svc_proto_rawDescGZIP() []byte { + file_services_task_svc_v1_patient_svc_proto_rawDescOnce.Do(func() { + file_services_task_svc_v1_patient_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_task_svc_v1_patient_svc_proto_rawDescData) }) - return file_proto_services_task_svc_v1_patient_svc_proto_rawDescData -} - -var file_proto_services_task_svc_v1_patient_svc_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_proto_services_task_svc_v1_patient_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 47) -var file_proto_services_task_svc_v1_patient_svc_proto_goTypes = []interface{}{ - (GetPatientDetailsResponse_TaskStatus)(0), // 0: proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus - (GetPatientListResponse_TaskStatus)(0), // 1: proto.services.task_svc.v1.GetPatientListResponse.TaskStatus - (*CreatePatientRequest)(nil), // 2: proto.services.task_svc.v1.CreatePatientRequest - (*CreatePatientResponse)(nil), // 3: proto.services.task_svc.v1.CreatePatientResponse - (*GetPatientRequest)(nil), // 4: proto.services.task_svc.v1.GetPatientRequest - (*GetPatientResponse)(nil), // 5: proto.services.task_svc.v1.GetPatientResponse - (*DeletePatientRequest)(nil), // 6: proto.services.task_svc.v1.DeletePatientRequest - (*DeletePatientResponse)(nil), // 7: proto.services.task_svc.v1.DeletePatientResponse - (*GetPatientByBedRequest)(nil), // 8: proto.services.task_svc.v1.GetPatientByBedRequest - (*GetPatientByBedResponse)(nil), // 9: proto.services.task_svc.v1.GetPatientByBedResponse - (*GetPatientsByWardRequest)(nil), // 10: proto.services.task_svc.v1.GetPatientsByWardRequest - (*GetPatientsByWardResponse)(nil), // 11: proto.services.task_svc.v1.GetPatientsByWardResponse - (*GetPatientAssignmentByWardRequest)(nil), // 12: proto.services.task_svc.v1.GetPatientAssignmentByWardRequest - (*GetPatientAssignmentByWardResponse)(nil), // 13: proto.services.task_svc.v1.GetPatientAssignmentByWardResponse - (*GetRecentPatientsRequest)(nil), // 14: proto.services.task_svc.v1.GetRecentPatientsRequest - (*GetRecentPatientsResponse)(nil), // 15: proto.services.task_svc.v1.GetRecentPatientsResponse - (*UpdatePatientRequest)(nil), // 16: proto.services.task_svc.v1.UpdatePatientRequest - (*UpdatePatientResponse)(nil), // 17: proto.services.task_svc.v1.UpdatePatientResponse - (*AssignBedRequest)(nil), // 18: proto.services.task_svc.v1.AssignBedRequest - (*AssignBedResponse)(nil), // 19: proto.services.task_svc.v1.AssignBedResponse - (*UnassignBedRequest)(nil), // 20: proto.services.task_svc.v1.UnassignBedRequest - (*UnassignBedResponse)(nil), // 21: proto.services.task_svc.v1.UnassignBedResponse - (*DischargePatientRequest)(nil), // 22: proto.services.task_svc.v1.DischargePatientRequest - (*DischargePatientResponse)(nil), // 23: proto.services.task_svc.v1.DischargePatientResponse - (*GetPatientDetailsRequest)(nil), // 24: proto.services.task_svc.v1.GetPatientDetailsRequest - (*GetPatientDetailsResponse)(nil), // 25: proto.services.task_svc.v1.GetPatientDetailsResponse - (*GetPatientListRequest)(nil), // 26: proto.services.task_svc.v1.GetPatientListRequest - (*GetPatientListResponse)(nil), // 27: proto.services.task_svc.v1.GetPatientListResponse - (*ReadmitPatientRequest)(nil), // 28: proto.services.task_svc.v1.ReadmitPatientRequest - (*ReadmitPatientResponse)(nil), // 29: proto.services.task_svc.v1.ReadmitPatientResponse - (*GetPatientResponse_Room)(nil), // 30: proto.services.task_svc.v1.GetPatientResponse.Room - (*GetPatientResponse_Bed)(nil), // 31: proto.services.task_svc.v1.GetPatientResponse.Bed - (*GetPatientsByWardResponse_Patient)(nil), // 32: proto.services.task_svc.v1.GetPatientsByWardResponse.Patient - (*GetPatientAssignmentByWardResponse_Room)(nil), // 33: proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room - (*GetPatientAssignmentByWardResponse_Room_Bed)(nil), // 34: proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed - (*GetPatientAssignmentByWardResponse_Room_Bed_Patient)(nil), // 35: proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient - (*GetRecentPatientsResponse_Bed)(nil), // 36: proto.services.task_svc.v1.GetRecentPatientsResponse.Bed - (*GetRecentPatientsResponse_Room)(nil), // 37: proto.services.task_svc.v1.GetRecentPatientsResponse.Room - (*GetRecentPatientsResponse_PatientWithRoomAndBed)(nil), // 38: proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed - (*GetPatientDetailsResponse_Room)(nil), // 39: proto.services.task_svc.v1.GetPatientDetailsResponse.Room - (*GetPatientDetailsResponse_Bed)(nil), // 40: proto.services.task_svc.v1.GetPatientDetailsResponse.Bed - (*GetPatientDetailsResponse_Task)(nil), // 41: proto.services.task_svc.v1.GetPatientDetailsResponse.Task - (*GetPatientDetailsResponse_Task_SubTask)(nil), // 42: proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask - (*GetPatientListResponse_Patient)(nil), // 43: proto.services.task_svc.v1.GetPatientListResponse.Patient - (*GetPatientListResponse_Bed)(nil), // 44: proto.services.task_svc.v1.GetPatientListResponse.Bed - (*GetPatientListResponse_Room)(nil), // 45: proto.services.task_svc.v1.GetPatientListResponse.Room - (*GetPatientListResponse_PatientWithRoomAndBed)(nil), // 46: proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed - (*GetPatientListResponse_Task)(nil), // 47: proto.services.task_svc.v1.GetPatientListResponse.Task - (*GetPatientListResponse_Task_SubTask)(nil), // 48: proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask -} -var file_proto_services_task_svc_v1_patient_svc_proto_depIdxs = []int32{ - 30, // 0: proto.services.task_svc.v1.GetPatientResponse.room:type_name -> proto.services.task_svc.v1.GetPatientResponse.Room - 31, // 1: proto.services.task_svc.v1.GetPatientResponse.bed:type_name -> proto.services.task_svc.v1.GetPatientResponse.Bed - 32, // 2: proto.services.task_svc.v1.GetPatientsByWardResponse.patients:type_name -> proto.services.task_svc.v1.GetPatientsByWardResponse.Patient - 33, // 3: proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.rooms:type_name -> proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room - 38, // 4: proto.services.task_svc.v1.GetRecentPatientsResponse.recent_patients:type_name -> proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed - 41, // 5: proto.services.task_svc.v1.GetPatientDetailsResponse.tasks:type_name -> proto.services.task_svc.v1.GetPatientDetailsResponse.Task - 39, // 6: proto.services.task_svc.v1.GetPatientDetailsResponse.room:type_name -> proto.services.task_svc.v1.GetPatientDetailsResponse.Room - 40, // 7: proto.services.task_svc.v1.GetPatientDetailsResponse.bed:type_name -> proto.services.task_svc.v1.GetPatientDetailsResponse.Bed - 46, // 8: proto.services.task_svc.v1.GetPatientListResponse.active:type_name -> proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed - 43, // 9: proto.services.task_svc.v1.GetPatientListResponse.unassigned_patients:type_name -> proto.services.task_svc.v1.GetPatientListResponse.Patient - 43, // 10: proto.services.task_svc.v1.GetPatientListResponse.discharged_patients:type_name -> proto.services.task_svc.v1.GetPatientListResponse.Patient - 34, // 11: proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.beds:type_name -> proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed - 35, // 12: proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.patient:type_name -> proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient - 37, // 13: proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.room:type_name -> proto.services.task_svc.v1.GetRecentPatientsResponse.Room - 36, // 14: proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.bed:type_name -> proto.services.task_svc.v1.GetRecentPatientsResponse.Bed - 0, // 15: proto.services.task_svc.v1.GetPatientDetailsResponse.Task.status:type_name -> proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus - 42, // 16: proto.services.task_svc.v1.GetPatientDetailsResponse.Task.subtasks:type_name -> proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask - 47, // 17: proto.services.task_svc.v1.GetPatientListResponse.Patient.tasks:type_name -> proto.services.task_svc.v1.GetPatientListResponse.Task - 45, // 18: proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.room:type_name -> proto.services.task_svc.v1.GetPatientListResponse.Room - 44, // 19: proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.bed:type_name -> proto.services.task_svc.v1.GetPatientListResponse.Bed - 47, // 20: proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.tasks:type_name -> proto.services.task_svc.v1.GetPatientListResponse.Task - 1, // 21: proto.services.task_svc.v1.GetPatientListResponse.Task.status:type_name -> proto.services.task_svc.v1.GetPatientListResponse.TaskStatus - 48, // 22: proto.services.task_svc.v1.GetPatientListResponse.Task.subtasks:type_name -> proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask - 2, // 23: proto.services.task_svc.v1.PatientService.CreatePatient:input_type -> proto.services.task_svc.v1.CreatePatientRequest - 4, // 24: proto.services.task_svc.v1.PatientService.GetPatient:input_type -> proto.services.task_svc.v1.GetPatientRequest - 8, // 25: proto.services.task_svc.v1.PatientService.GetPatientByBed:input_type -> proto.services.task_svc.v1.GetPatientByBedRequest - 10, // 26: proto.services.task_svc.v1.PatientService.GetPatientsByWard:input_type -> proto.services.task_svc.v1.GetPatientsByWardRequest - 12, // 27: proto.services.task_svc.v1.PatientService.GetPatientAssignmentByWard:input_type -> proto.services.task_svc.v1.GetPatientAssignmentByWardRequest - 14, // 28: proto.services.task_svc.v1.PatientService.GetRecentPatients:input_type -> proto.services.task_svc.v1.GetRecentPatientsRequest - 16, // 29: proto.services.task_svc.v1.PatientService.UpdatePatient:input_type -> proto.services.task_svc.v1.UpdatePatientRequest - 18, // 30: proto.services.task_svc.v1.PatientService.AssignBed:input_type -> proto.services.task_svc.v1.AssignBedRequest - 20, // 31: proto.services.task_svc.v1.PatientService.UnassignBed:input_type -> proto.services.task_svc.v1.UnassignBedRequest - 22, // 32: proto.services.task_svc.v1.PatientService.DischargePatient:input_type -> proto.services.task_svc.v1.DischargePatientRequest - 24, // 33: proto.services.task_svc.v1.PatientService.GetPatientDetails:input_type -> proto.services.task_svc.v1.GetPatientDetailsRequest - 26, // 34: proto.services.task_svc.v1.PatientService.GetPatientList:input_type -> proto.services.task_svc.v1.GetPatientListRequest - 6, // 35: proto.services.task_svc.v1.PatientService.DeletePatient:input_type -> proto.services.task_svc.v1.DeletePatientRequest - 28, // 36: proto.services.task_svc.v1.PatientService.ReadmitPatient:input_type -> proto.services.task_svc.v1.ReadmitPatientRequest - 3, // 37: proto.services.task_svc.v1.PatientService.CreatePatient:output_type -> proto.services.task_svc.v1.CreatePatientResponse - 5, // 38: proto.services.task_svc.v1.PatientService.GetPatient:output_type -> proto.services.task_svc.v1.GetPatientResponse - 9, // 39: proto.services.task_svc.v1.PatientService.GetPatientByBed:output_type -> proto.services.task_svc.v1.GetPatientByBedResponse - 11, // 40: proto.services.task_svc.v1.PatientService.GetPatientsByWard:output_type -> proto.services.task_svc.v1.GetPatientsByWardResponse - 13, // 41: proto.services.task_svc.v1.PatientService.GetPatientAssignmentByWard:output_type -> proto.services.task_svc.v1.GetPatientAssignmentByWardResponse - 15, // 42: proto.services.task_svc.v1.PatientService.GetRecentPatients:output_type -> proto.services.task_svc.v1.GetRecentPatientsResponse - 17, // 43: proto.services.task_svc.v1.PatientService.UpdatePatient:output_type -> proto.services.task_svc.v1.UpdatePatientResponse - 19, // 44: proto.services.task_svc.v1.PatientService.AssignBed:output_type -> proto.services.task_svc.v1.AssignBedResponse - 21, // 45: proto.services.task_svc.v1.PatientService.UnassignBed:output_type -> proto.services.task_svc.v1.UnassignBedResponse - 23, // 46: proto.services.task_svc.v1.PatientService.DischargePatient:output_type -> proto.services.task_svc.v1.DischargePatientResponse - 25, // 47: proto.services.task_svc.v1.PatientService.GetPatientDetails:output_type -> proto.services.task_svc.v1.GetPatientDetailsResponse - 27, // 48: proto.services.task_svc.v1.PatientService.GetPatientList:output_type -> proto.services.task_svc.v1.GetPatientListResponse - 7, // 49: proto.services.task_svc.v1.PatientService.DeletePatient:output_type -> proto.services.task_svc.v1.DeletePatientResponse - 29, // 50: proto.services.task_svc.v1.PatientService.ReadmitPatient:output_type -> proto.services.task_svc.v1.ReadmitPatientResponse + return file_services_task_svc_v1_patient_svc_proto_rawDescData +} + +var file_services_task_svc_v1_patient_svc_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_services_task_svc_v1_patient_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 47) +var file_services_task_svc_v1_patient_svc_proto_goTypes = []interface{}{ + (GetPatientDetailsResponse_TaskStatus)(0), // 0: services.task_svc.v1.GetPatientDetailsResponse.TaskStatus + (GetPatientListResponse_TaskStatus)(0), // 1: services.task_svc.v1.GetPatientListResponse.TaskStatus + (*CreatePatientRequest)(nil), // 2: services.task_svc.v1.CreatePatientRequest + (*CreatePatientResponse)(nil), // 3: services.task_svc.v1.CreatePatientResponse + (*GetPatientRequest)(nil), // 4: services.task_svc.v1.GetPatientRequest + (*GetPatientResponse)(nil), // 5: services.task_svc.v1.GetPatientResponse + (*DeletePatientRequest)(nil), // 6: services.task_svc.v1.DeletePatientRequest + (*DeletePatientResponse)(nil), // 7: services.task_svc.v1.DeletePatientResponse + (*GetPatientByBedRequest)(nil), // 8: services.task_svc.v1.GetPatientByBedRequest + (*GetPatientByBedResponse)(nil), // 9: services.task_svc.v1.GetPatientByBedResponse + (*GetPatientsByWardRequest)(nil), // 10: services.task_svc.v1.GetPatientsByWardRequest + (*GetPatientsByWardResponse)(nil), // 11: services.task_svc.v1.GetPatientsByWardResponse + (*GetPatientAssignmentByWardRequest)(nil), // 12: services.task_svc.v1.GetPatientAssignmentByWardRequest + (*GetPatientAssignmentByWardResponse)(nil), // 13: services.task_svc.v1.GetPatientAssignmentByWardResponse + (*GetRecentPatientsRequest)(nil), // 14: services.task_svc.v1.GetRecentPatientsRequest + (*GetRecentPatientsResponse)(nil), // 15: services.task_svc.v1.GetRecentPatientsResponse + (*UpdatePatientRequest)(nil), // 16: services.task_svc.v1.UpdatePatientRequest + (*UpdatePatientResponse)(nil), // 17: services.task_svc.v1.UpdatePatientResponse + (*AssignBedRequest)(nil), // 18: services.task_svc.v1.AssignBedRequest + (*AssignBedResponse)(nil), // 19: services.task_svc.v1.AssignBedResponse + (*UnassignBedRequest)(nil), // 20: services.task_svc.v1.UnassignBedRequest + (*UnassignBedResponse)(nil), // 21: services.task_svc.v1.UnassignBedResponse + (*DischargePatientRequest)(nil), // 22: services.task_svc.v1.DischargePatientRequest + (*DischargePatientResponse)(nil), // 23: services.task_svc.v1.DischargePatientResponse + (*GetPatientDetailsRequest)(nil), // 24: services.task_svc.v1.GetPatientDetailsRequest + (*GetPatientDetailsResponse)(nil), // 25: services.task_svc.v1.GetPatientDetailsResponse + (*GetPatientListRequest)(nil), // 26: services.task_svc.v1.GetPatientListRequest + (*GetPatientListResponse)(nil), // 27: services.task_svc.v1.GetPatientListResponse + (*ReadmitPatientRequest)(nil), // 28: services.task_svc.v1.ReadmitPatientRequest + (*ReadmitPatientResponse)(nil), // 29: services.task_svc.v1.ReadmitPatientResponse + (*GetPatientResponse_Room)(nil), // 30: services.task_svc.v1.GetPatientResponse.Room + (*GetPatientResponse_Bed)(nil), // 31: services.task_svc.v1.GetPatientResponse.Bed + (*GetPatientsByWardResponse_Patient)(nil), // 32: services.task_svc.v1.GetPatientsByWardResponse.Patient + (*GetPatientAssignmentByWardResponse_Room)(nil), // 33: services.task_svc.v1.GetPatientAssignmentByWardResponse.Room + (*GetPatientAssignmentByWardResponse_Room_Bed)(nil), // 34: services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed + (*GetPatientAssignmentByWardResponse_Room_Bed_Patient)(nil), // 35: services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient + (*GetRecentPatientsResponse_Bed)(nil), // 36: services.task_svc.v1.GetRecentPatientsResponse.Bed + (*GetRecentPatientsResponse_Room)(nil), // 37: services.task_svc.v1.GetRecentPatientsResponse.Room + (*GetRecentPatientsResponse_PatientWithRoomAndBed)(nil), // 38: services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed + (*GetPatientDetailsResponse_Room)(nil), // 39: services.task_svc.v1.GetPatientDetailsResponse.Room + (*GetPatientDetailsResponse_Bed)(nil), // 40: services.task_svc.v1.GetPatientDetailsResponse.Bed + (*GetPatientDetailsResponse_Task)(nil), // 41: services.task_svc.v1.GetPatientDetailsResponse.Task + (*GetPatientDetailsResponse_Task_SubTask)(nil), // 42: services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask + (*GetPatientListResponse_Patient)(nil), // 43: services.task_svc.v1.GetPatientListResponse.Patient + (*GetPatientListResponse_Bed)(nil), // 44: services.task_svc.v1.GetPatientListResponse.Bed + (*GetPatientListResponse_Room)(nil), // 45: services.task_svc.v1.GetPatientListResponse.Room + (*GetPatientListResponse_PatientWithRoomAndBed)(nil), // 46: services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed + (*GetPatientListResponse_Task)(nil), // 47: services.task_svc.v1.GetPatientListResponse.Task + (*GetPatientListResponse_Task_SubTask)(nil), // 48: services.task_svc.v1.GetPatientListResponse.Task.SubTask +} +var file_services_task_svc_v1_patient_svc_proto_depIdxs = []int32{ + 30, // 0: services.task_svc.v1.GetPatientResponse.room:type_name -> services.task_svc.v1.GetPatientResponse.Room + 31, // 1: services.task_svc.v1.GetPatientResponse.bed:type_name -> services.task_svc.v1.GetPatientResponse.Bed + 32, // 2: services.task_svc.v1.GetPatientsByWardResponse.patients:type_name -> services.task_svc.v1.GetPatientsByWardResponse.Patient + 33, // 3: services.task_svc.v1.GetPatientAssignmentByWardResponse.rooms:type_name -> services.task_svc.v1.GetPatientAssignmentByWardResponse.Room + 38, // 4: services.task_svc.v1.GetRecentPatientsResponse.recent_patients:type_name -> services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed + 41, // 5: services.task_svc.v1.GetPatientDetailsResponse.tasks:type_name -> services.task_svc.v1.GetPatientDetailsResponse.Task + 39, // 6: services.task_svc.v1.GetPatientDetailsResponse.room:type_name -> services.task_svc.v1.GetPatientDetailsResponse.Room + 40, // 7: services.task_svc.v1.GetPatientDetailsResponse.bed:type_name -> services.task_svc.v1.GetPatientDetailsResponse.Bed + 46, // 8: services.task_svc.v1.GetPatientListResponse.active:type_name -> services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed + 43, // 9: services.task_svc.v1.GetPatientListResponse.unassigned_patients:type_name -> services.task_svc.v1.GetPatientListResponse.Patient + 43, // 10: services.task_svc.v1.GetPatientListResponse.discharged_patients:type_name -> services.task_svc.v1.GetPatientListResponse.Patient + 34, // 11: services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.beds:type_name -> services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed + 35, // 12: services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.patient:type_name -> services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient + 37, // 13: services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.room:type_name -> services.task_svc.v1.GetRecentPatientsResponse.Room + 36, // 14: services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.bed:type_name -> services.task_svc.v1.GetRecentPatientsResponse.Bed + 0, // 15: services.task_svc.v1.GetPatientDetailsResponse.Task.status:type_name -> services.task_svc.v1.GetPatientDetailsResponse.TaskStatus + 42, // 16: services.task_svc.v1.GetPatientDetailsResponse.Task.subtasks:type_name -> services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask + 47, // 17: services.task_svc.v1.GetPatientListResponse.Patient.tasks:type_name -> services.task_svc.v1.GetPatientListResponse.Task + 45, // 18: services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.room:type_name -> services.task_svc.v1.GetPatientListResponse.Room + 44, // 19: services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.bed:type_name -> services.task_svc.v1.GetPatientListResponse.Bed + 47, // 20: services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.tasks:type_name -> services.task_svc.v1.GetPatientListResponse.Task + 1, // 21: services.task_svc.v1.GetPatientListResponse.Task.status:type_name -> services.task_svc.v1.GetPatientListResponse.TaskStatus + 48, // 22: services.task_svc.v1.GetPatientListResponse.Task.subtasks:type_name -> services.task_svc.v1.GetPatientListResponse.Task.SubTask + 2, // 23: services.task_svc.v1.PatientService.CreatePatient:input_type -> services.task_svc.v1.CreatePatientRequest + 4, // 24: services.task_svc.v1.PatientService.GetPatient:input_type -> services.task_svc.v1.GetPatientRequest + 8, // 25: services.task_svc.v1.PatientService.GetPatientByBed:input_type -> services.task_svc.v1.GetPatientByBedRequest + 10, // 26: services.task_svc.v1.PatientService.GetPatientsByWard:input_type -> services.task_svc.v1.GetPatientsByWardRequest + 12, // 27: services.task_svc.v1.PatientService.GetPatientAssignmentByWard:input_type -> services.task_svc.v1.GetPatientAssignmentByWardRequest + 14, // 28: services.task_svc.v1.PatientService.GetRecentPatients:input_type -> services.task_svc.v1.GetRecentPatientsRequest + 16, // 29: services.task_svc.v1.PatientService.UpdatePatient:input_type -> services.task_svc.v1.UpdatePatientRequest + 18, // 30: services.task_svc.v1.PatientService.AssignBed:input_type -> services.task_svc.v1.AssignBedRequest + 20, // 31: services.task_svc.v1.PatientService.UnassignBed:input_type -> services.task_svc.v1.UnassignBedRequest + 22, // 32: services.task_svc.v1.PatientService.DischargePatient:input_type -> services.task_svc.v1.DischargePatientRequest + 24, // 33: services.task_svc.v1.PatientService.GetPatientDetails:input_type -> services.task_svc.v1.GetPatientDetailsRequest + 26, // 34: services.task_svc.v1.PatientService.GetPatientList:input_type -> services.task_svc.v1.GetPatientListRequest + 6, // 35: services.task_svc.v1.PatientService.DeletePatient:input_type -> services.task_svc.v1.DeletePatientRequest + 28, // 36: services.task_svc.v1.PatientService.ReadmitPatient:input_type -> services.task_svc.v1.ReadmitPatientRequest + 3, // 37: services.task_svc.v1.PatientService.CreatePatient:output_type -> services.task_svc.v1.CreatePatientResponse + 5, // 38: services.task_svc.v1.PatientService.GetPatient:output_type -> services.task_svc.v1.GetPatientResponse + 9, // 39: services.task_svc.v1.PatientService.GetPatientByBed:output_type -> services.task_svc.v1.GetPatientByBedResponse + 11, // 40: services.task_svc.v1.PatientService.GetPatientsByWard:output_type -> services.task_svc.v1.GetPatientsByWardResponse + 13, // 41: services.task_svc.v1.PatientService.GetPatientAssignmentByWard:output_type -> services.task_svc.v1.GetPatientAssignmentByWardResponse + 15, // 42: services.task_svc.v1.PatientService.GetRecentPatients:output_type -> services.task_svc.v1.GetRecentPatientsResponse + 17, // 43: services.task_svc.v1.PatientService.UpdatePatient:output_type -> services.task_svc.v1.UpdatePatientResponse + 19, // 44: services.task_svc.v1.PatientService.AssignBed:output_type -> services.task_svc.v1.AssignBedResponse + 21, // 45: services.task_svc.v1.PatientService.UnassignBed:output_type -> services.task_svc.v1.UnassignBedResponse + 23, // 46: services.task_svc.v1.PatientService.DischargePatient:output_type -> services.task_svc.v1.DischargePatientResponse + 25, // 47: services.task_svc.v1.PatientService.GetPatientDetails:output_type -> services.task_svc.v1.GetPatientDetailsResponse + 27, // 48: services.task_svc.v1.PatientService.GetPatientList:output_type -> services.task_svc.v1.GetPatientListResponse + 7, // 49: services.task_svc.v1.PatientService.DeletePatient:output_type -> services.task_svc.v1.DeletePatientResponse + 29, // 50: services.task_svc.v1.PatientService.ReadmitPatient:output_type -> services.task_svc.v1.ReadmitPatientResponse 37, // [37:51] is the sub-list for method output_type 23, // [23:37] is the sub-list for method input_type 23, // [23:23] is the sub-list for extension type_name @@ -3470,13 +3448,13 @@ var file_proto_services_task_svc_v1_patient_svc_proto_depIdxs = []int32{ 0, // [0:23] is the sub-list for field type_name } -func init() { file_proto_services_task_svc_v1_patient_svc_proto_init() } -func file_proto_services_task_svc_v1_patient_svc_proto_init() { - if File_proto_services_task_svc_v1_patient_svc_proto != nil { +func init() { file_services_task_svc_v1_patient_svc_proto_init() } +func file_services_task_svc_v1_patient_svc_proto_init() { + if File_services_task_svc_v1_patient_svc_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreatePatientRequest); i { case 0: return &v.state @@ -3488,7 +3466,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreatePatientResponse); i { case 0: return &v.state @@ -3500,7 +3478,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientRequest); i { case 0: return &v.state @@ -3512,7 +3490,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientResponse); i { case 0: return &v.state @@ -3524,7 +3502,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeletePatientRequest); i { case 0: return &v.state @@ -3536,7 +3514,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeletePatientResponse); i { case 0: return &v.state @@ -3548,7 +3526,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientByBedRequest); i { case 0: return &v.state @@ -3560,7 +3538,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientByBedResponse); i { case 0: return &v.state @@ -3572,7 +3550,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientsByWardRequest); i { case 0: return &v.state @@ -3584,7 +3562,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientsByWardResponse); i { case 0: return &v.state @@ -3596,7 +3574,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientAssignmentByWardRequest); i { case 0: return &v.state @@ -3608,7 +3586,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientAssignmentByWardResponse); i { case 0: return &v.state @@ -3620,7 +3598,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentPatientsRequest); i { case 0: return &v.state @@ -3632,7 +3610,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentPatientsResponse); i { case 0: return &v.state @@ -3644,7 +3622,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdatePatientRequest); i { case 0: return &v.state @@ -3656,7 +3634,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdatePatientResponse); i { case 0: return &v.state @@ -3668,7 +3646,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssignBedRequest); i { case 0: return &v.state @@ -3680,7 +3658,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssignBedResponse); i { case 0: return &v.state @@ -3692,7 +3670,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnassignBedRequest); i { case 0: return &v.state @@ -3704,7 +3682,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnassignBedResponse); i { case 0: return &v.state @@ -3716,7 +3694,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DischargePatientRequest); i { case 0: return &v.state @@ -3728,7 +3706,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DischargePatientResponse); i { case 0: return &v.state @@ -3740,7 +3718,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientDetailsRequest); i { case 0: return &v.state @@ -3752,7 +3730,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientDetailsResponse); i { case 0: return &v.state @@ -3764,7 +3742,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientListRequest); i { case 0: return &v.state @@ -3776,7 +3754,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientListResponse); i { case 0: return &v.state @@ -3788,7 +3766,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadmitPatientRequest); i { case 0: return &v.state @@ -3800,7 +3778,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadmitPatientResponse); i { case 0: return &v.state @@ -3812,7 +3790,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientResponse_Room); i { case 0: return &v.state @@ -3824,7 +3802,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientResponse_Bed); i { case 0: return &v.state @@ -3836,7 +3814,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientsByWardResponse_Patient); i { case 0: return &v.state @@ -3848,7 +3826,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientAssignmentByWardResponse_Room); i { case 0: return &v.state @@ -3860,7 +3838,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientAssignmentByWardResponse_Room_Bed); i { case 0: return &v.state @@ -3872,7 +3850,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientAssignmentByWardResponse_Room_Bed_Patient); i { case 0: return &v.state @@ -3884,7 +3862,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentPatientsResponse_Bed); i { case 0: return &v.state @@ -3896,7 +3874,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentPatientsResponse_Room); i { case 0: return &v.state @@ -3908,7 +3886,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentPatientsResponse_PatientWithRoomAndBed); i { case 0: return &v.state @@ -3920,7 +3898,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientDetailsResponse_Room); i { case 0: return &v.state @@ -3932,7 +3910,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientDetailsResponse_Bed); i { case 0: return &v.state @@ -3944,7 +3922,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientDetailsResponse_Task); i { case 0: return &v.state @@ -3956,7 +3934,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientDetailsResponse_Task_SubTask); i { case 0: return &v.state @@ -3968,7 +3946,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientListResponse_Patient); i { case 0: return &v.state @@ -3980,7 +3958,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientListResponse_Bed); i { case 0: return &v.state @@ -3992,7 +3970,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientListResponse_Room); i { case 0: return &v.state @@ -4004,7 +3982,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientListResponse_PatientWithRoomAndBed); i { case 0: return &v.state @@ -4016,7 +3994,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientListResponse_Task); i { case 0: return &v.state @@ -4028,7 +4006,7 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_patient_svc_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientListResponse_Task_SubTask); i { case 0: return &v.state @@ -4041,32 +4019,32 @@ func file_proto_services_task_svc_v1_patient_svc_proto_init() { } } } - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[3].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[14].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[23].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[24].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[30].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[32].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[39].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_patient_svc_proto_msgTypes[45].OneofWrappers = []interface{}{} + file_services_task_svc_v1_patient_svc_proto_msgTypes[3].OneofWrappers = []interface{}{} + file_services_task_svc_v1_patient_svc_proto_msgTypes[7].OneofWrappers = []interface{}{} + file_services_task_svc_v1_patient_svc_proto_msgTypes[14].OneofWrappers = []interface{}{} + file_services_task_svc_v1_patient_svc_proto_msgTypes[23].OneofWrappers = []interface{}{} + file_services_task_svc_v1_patient_svc_proto_msgTypes[24].OneofWrappers = []interface{}{} + file_services_task_svc_v1_patient_svc_proto_msgTypes[30].OneofWrappers = []interface{}{} + file_services_task_svc_v1_patient_svc_proto_msgTypes[32].OneofWrappers = []interface{}{} + file_services_task_svc_v1_patient_svc_proto_msgTypes[39].OneofWrappers = []interface{}{} + file_services_task_svc_v1_patient_svc_proto_msgTypes[45].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_task_svc_v1_patient_svc_proto_rawDesc, + RawDescriptor: file_services_task_svc_v1_patient_svc_proto_rawDesc, NumEnums: 2, NumMessages: 47, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_task_svc_v1_patient_svc_proto_goTypes, - DependencyIndexes: file_proto_services_task_svc_v1_patient_svc_proto_depIdxs, - EnumInfos: file_proto_services_task_svc_v1_patient_svc_proto_enumTypes, - MessageInfos: file_proto_services_task_svc_v1_patient_svc_proto_msgTypes, + GoTypes: file_services_task_svc_v1_patient_svc_proto_goTypes, + DependencyIndexes: file_services_task_svc_v1_patient_svc_proto_depIdxs, + EnumInfos: file_services_task_svc_v1_patient_svc_proto_enumTypes, + MessageInfos: file_services_task_svc_v1_patient_svc_proto_msgTypes, }.Build() - File_proto_services_task_svc_v1_patient_svc_proto = out.File - file_proto_services_task_svc_v1_patient_svc_proto_rawDesc = nil - file_proto_services_task_svc_v1_patient_svc_proto_goTypes = nil - file_proto_services_task_svc_v1_patient_svc_proto_depIdxs = nil + File_services_task_svc_v1_patient_svc_proto = out.File + file_services_task_svc_v1_patient_svc_proto_rawDesc = nil + file_services_task_svc_v1_patient_svc_proto_goTypes = nil + file_services_task_svc_v1_patient_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/task_svc/v1/patient_svc_grpc.pb.go b/gen/go/services/task_svc/v1/patient_svc_grpc.pb.go similarity index 88% rename from gen/go/proto/services/task_svc/v1/patient_svc_grpc.pb.go rename to gen/go/services/task_svc/v1/patient_svc_grpc.pb.go index 3aa82a4fd..8d43f09d8 100644 --- a/gen/go/proto/services/task_svc/v1/patient_svc_grpc.pb.go +++ b/gen/go/services/task_svc/v1/patient_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/task_svc/v1/patient_svc.proto +// source: services/task_svc/v1/patient_svc.proto package task_svc @@ -15,24 +15,24 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - PatientService_CreatePatient_FullMethodName = "/proto.services.task_svc.v1.PatientService/CreatePatient" - PatientService_GetPatient_FullMethodName = "/proto.services.task_svc.v1.PatientService/GetPatient" - PatientService_GetPatientByBed_FullMethodName = "/proto.services.task_svc.v1.PatientService/GetPatientByBed" - PatientService_GetPatientsByWard_FullMethodName = "/proto.services.task_svc.v1.PatientService/GetPatientsByWard" - PatientService_GetPatientAssignmentByWard_FullMethodName = "/proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard" - PatientService_GetRecentPatients_FullMethodName = "/proto.services.task_svc.v1.PatientService/GetRecentPatients" - PatientService_UpdatePatient_FullMethodName = "/proto.services.task_svc.v1.PatientService/UpdatePatient" - PatientService_AssignBed_FullMethodName = "/proto.services.task_svc.v1.PatientService/AssignBed" - PatientService_UnassignBed_FullMethodName = "/proto.services.task_svc.v1.PatientService/UnassignBed" - PatientService_DischargePatient_FullMethodName = "/proto.services.task_svc.v1.PatientService/DischargePatient" - PatientService_GetPatientDetails_FullMethodName = "/proto.services.task_svc.v1.PatientService/GetPatientDetails" - PatientService_GetPatientList_FullMethodName = "/proto.services.task_svc.v1.PatientService/GetPatientList" - PatientService_DeletePatient_FullMethodName = "/proto.services.task_svc.v1.PatientService/DeletePatient" - PatientService_ReadmitPatient_FullMethodName = "/proto.services.task_svc.v1.PatientService/ReadmitPatient" + PatientService_CreatePatient_FullMethodName = "/services.task_svc.v1.PatientService/CreatePatient" + PatientService_GetPatient_FullMethodName = "/services.task_svc.v1.PatientService/GetPatient" + PatientService_GetPatientByBed_FullMethodName = "/services.task_svc.v1.PatientService/GetPatientByBed" + PatientService_GetPatientsByWard_FullMethodName = "/services.task_svc.v1.PatientService/GetPatientsByWard" + PatientService_GetPatientAssignmentByWard_FullMethodName = "/services.task_svc.v1.PatientService/GetPatientAssignmentByWard" + PatientService_GetRecentPatients_FullMethodName = "/services.task_svc.v1.PatientService/GetRecentPatients" + PatientService_UpdatePatient_FullMethodName = "/services.task_svc.v1.PatientService/UpdatePatient" + PatientService_AssignBed_FullMethodName = "/services.task_svc.v1.PatientService/AssignBed" + PatientService_UnassignBed_FullMethodName = "/services.task_svc.v1.PatientService/UnassignBed" + PatientService_DischargePatient_FullMethodName = "/services.task_svc.v1.PatientService/DischargePatient" + PatientService_GetPatientDetails_FullMethodName = "/services.task_svc.v1.PatientService/GetPatientDetails" + PatientService_GetPatientList_FullMethodName = "/services.task_svc.v1.PatientService/GetPatientList" + PatientService_DeletePatient_FullMethodName = "/services.task_svc.v1.PatientService/DeletePatient" + PatientService_ReadmitPatient_FullMethodName = "/services.task_svc.v1.PatientService/ReadmitPatient" ) // PatientServiceClient is the client API for PatientService service. @@ -64,8 +64,9 @@ func NewPatientServiceClient(cc grpc.ClientConnInterface) PatientServiceClient { } func (c *patientServiceClient) CreatePatient(ctx context.Context, in *CreatePatientRequest, opts ...grpc.CallOption) (*CreatePatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreatePatientResponse) - err := c.cc.Invoke(ctx, PatientService_CreatePatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_CreatePatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -73,8 +74,9 @@ func (c *patientServiceClient) CreatePatient(ctx context.Context, in *CreatePati } func (c *patientServiceClient) GetPatient(ctx context.Context, in *GetPatientRequest, opts ...grpc.CallOption) (*GetPatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetPatientResponse) - err := c.cc.Invoke(ctx, PatientService_GetPatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_GetPatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -82,8 +84,9 @@ func (c *patientServiceClient) GetPatient(ctx context.Context, in *GetPatientReq } func (c *patientServiceClient) GetPatientByBed(ctx context.Context, in *GetPatientByBedRequest, opts ...grpc.CallOption) (*GetPatientByBedResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetPatientByBedResponse) - err := c.cc.Invoke(ctx, PatientService_GetPatientByBed_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_GetPatientByBed_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -91,8 +94,9 @@ func (c *patientServiceClient) GetPatientByBed(ctx context.Context, in *GetPatie } func (c *patientServiceClient) GetPatientsByWard(ctx context.Context, in *GetPatientsByWardRequest, opts ...grpc.CallOption) (*GetPatientsByWardResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetPatientsByWardResponse) - err := c.cc.Invoke(ctx, PatientService_GetPatientsByWard_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_GetPatientsByWard_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -100,8 +104,9 @@ func (c *patientServiceClient) GetPatientsByWard(ctx context.Context, in *GetPat } func (c *patientServiceClient) GetPatientAssignmentByWard(ctx context.Context, in *GetPatientAssignmentByWardRequest, opts ...grpc.CallOption) (*GetPatientAssignmentByWardResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetPatientAssignmentByWardResponse) - err := c.cc.Invoke(ctx, PatientService_GetPatientAssignmentByWard_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_GetPatientAssignmentByWard_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -109,8 +114,9 @@ func (c *patientServiceClient) GetPatientAssignmentByWard(ctx context.Context, i } func (c *patientServiceClient) GetRecentPatients(ctx context.Context, in *GetRecentPatientsRequest, opts ...grpc.CallOption) (*GetRecentPatientsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetRecentPatientsResponse) - err := c.cc.Invoke(ctx, PatientService_GetRecentPatients_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_GetRecentPatients_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -118,8 +124,9 @@ func (c *patientServiceClient) GetRecentPatients(ctx context.Context, in *GetRec } func (c *patientServiceClient) UpdatePatient(ctx context.Context, in *UpdatePatientRequest, opts ...grpc.CallOption) (*UpdatePatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdatePatientResponse) - err := c.cc.Invoke(ctx, PatientService_UpdatePatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_UpdatePatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -127,8 +134,9 @@ func (c *patientServiceClient) UpdatePatient(ctx context.Context, in *UpdatePati } func (c *patientServiceClient) AssignBed(ctx context.Context, in *AssignBedRequest, opts ...grpc.CallOption) (*AssignBedResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssignBedResponse) - err := c.cc.Invoke(ctx, PatientService_AssignBed_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_AssignBed_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -136,8 +144,9 @@ func (c *patientServiceClient) AssignBed(ctx context.Context, in *AssignBedReque } func (c *patientServiceClient) UnassignBed(ctx context.Context, in *UnassignBedRequest, opts ...grpc.CallOption) (*UnassignBedResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UnassignBedResponse) - err := c.cc.Invoke(ctx, PatientService_UnassignBed_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_UnassignBed_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -145,8 +154,9 @@ func (c *patientServiceClient) UnassignBed(ctx context.Context, in *UnassignBedR } func (c *patientServiceClient) DischargePatient(ctx context.Context, in *DischargePatientRequest, opts ...grpc.CallOption) (*DischargePatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DischargePatientResponse) - err := c.cc.Invoke(ctx, PatientService_DischargePatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_DischargePatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -154,8 +164,9 @@ func (c *patientServiceClient) DischargePatient(ctx context.Context, in *Dischar } func (c *patientServiceClient) GetPatientDetails(ctx context.Context, in *GetPatientDetailsRequest, opts ...grpc.CallOption) (*GetPatientDetailsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetPatientDetailsResponse) - err := c.cc.Invoke(ctx, PatientService_GetPatientDetails_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_GetPatientDetails_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -163,8 +174,9 @@ func (c *patientServiceClient) GetPatientDetails(ctx context.Context, in *GetPat } func (c *patientServiceClient) GetPatientList(ctx context.Context, in *GetPatientListRequest, opts ...grpc.CallOption) (*GetPatientListResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetPatientListResponse) - err := c.cc.Invoke(ctx, PatientService_GetPatientList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_GetPatientList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -172,8 +184,9 @@ func (c *patientServiceClient) GetPatientList(ctx context.Context, in *GetPatien } func (c *patientServiceClient) DeletePatient(ctx context.Context, in *DeletePatientRequest, opts ...grpc.CallOption) (*DeletePatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeletePatientResponse) - err := c.cc.Invoke(ctx, PatientService_DeletePatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_DeletePatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -181,8 +194,9 @@ func (c *patientServiceClient) DeletePatient(ctx context.Context, in *DeletePati } func (c *patientServiceClient) ReadmitPatient(ctx context.Context, in *ReadmitPatientRequest, opts ...grpc.CallOption) (*ReadmitPatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ReadmitPatientResponse) - err := c.cc.Invoke(ctx, PatientService_ReadmitPatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_ReadmitPatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -525,7 +539,7 @@ func _PatientService_ReadmitPatient_Handler(srv interface{}, ctx context.Context // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var PatientService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.task_svc.v1.PatientService", + ServiceName: "services.task_svc.v1.PatientService", HandlerType: (*PatientServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -586,5 +600,5 @@ var PatientService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/task_svc/v1/patient_svc.proto", + Metadata: "services/task_svc/v1/patient_svc.proto", } diff --git a/gen/go/proto/services/task_svc/v1/room_svc.pb.go b/gen/go/services/task_svc/v1/room_svc.pb.go similarity index 59% rename from gen/go/proto/services/task_svc/v1/room_svc.pb.go rename to gen/go/services/task_svc/v1/room_svc.pb.go index 4018a3855..e1c496eeb 100644 --- a/gen/go/proto/services/task_svc/v1/room_svc.pb.go +++ b/gen/go/services/task_svc/v1/room_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/task_svc/v1/room_svc.proto +// source: services/task_svc/v1/room_svc.proto package task_svc @@ -32,7 +32,7 @@ type CreateRoomRequest struct { func (x *CreateRoomRequest) Reset() { *x = CreateRoomRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -45,7 +45,7 @@ func (x *CreateRoomRequest) String() string { func (*CreateRoomRequest) ProtoMessage() {} func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -58,7 +58,7 @@ func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRoomRequest.ProtoReflect.Descriptor instead. func (*CreateRoomRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{0} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{0} } func (x *CreateRoomRequest) GetName() string { @@ -86,7 +86,7 @@ type CreateRoomResponse struct { func (x *CreateRoomResponse) Reset() { *x = CreateRoomResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -99,7 +99,7 @@ func (x *CreateRoomResponse) String() string { func (*CreateRoomResponse) ProtoMessage() {} func (x *CreateRoomResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -112,7 +112,7 @@ func (x *CreateRoomResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRoomResponse.ProtoReflect.Descriptor instead. func (*CreateRoomResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{1} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{1} } func (x *CreateRoomResponse) GetId() string { @@ -133,7 +133,7 @@ type GetRoomRequest struct { func (x *GetRoomRequest) Reset() { *x = GetRoomRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -146,7 +146,7 @@ func (x *GetRoomRequest) String() string { func (*GetRoomRequest) ProtoMessage() {} func (x *GetRoomRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -159,7 +159,7 @@ func (x *GetRoomRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomRequest.ProtoReflect.Descriptor instead. func (*GetRoomRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{2} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{2} } func (x *GetRoomRequest) GetId() string { @@ -184,7 +184,7 @@ type GetRoomResponse struct { func (x *GetRoomResponse) Reset() { *x = GetRoomResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -197,7 +197,7 @@ func (x *GetRoomResponse) String() string { func (*GetRoomResponse) ProtoMessage() {} func (x *GetRoomResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -210,7 +210,7 @@ func (x *GetRoomResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomResponse.ProtoReflect.Descriptor instead. func (*GetRoomResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{3} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{3} } func (x *GetRoomResponse) GetId() string { @@ -257,7 +257,7 @@ type GetRoomsRequest struct { func (x *GetRoomsRequest) Reset() { *x = GetRoomsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -270,7 +270,7 @@ func (x *GetRoomsRequest) String() string { func (*GetRoomsRequest) ProtoMessage() {} func (x *GetRoomsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -283,7 +283,7 @@ func (x *GetRoomsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomsRequest.ProtoReflect.Descriptor instead. func (*GetRoomsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{4} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{4} } type GetRoomsResponse struct { @@ -297,7 +297,7 @@ type GetRoomsResponse struct { func (x *GetRoomsResponse) Reset() { *x = GetRoomsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -310,7 +310,7 @@ func (x *GetRoomsResponse) String() string { func (*GetRoomsResponse) ProtoMessage() {} func (x *GetRoomsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -323,7 +323,7 @@ func (x *GetRoomsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomsResponse.ProtoReflect.Descriptor instead. func (*GetRoomsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{5} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{5} } func (x *GetRoomsResponse) GetRooms() []*GetRoomsResponse_Room { @@ -344,7 +344,7 @@ type GetRoomsByWardRequest struct { func (x *GetRoomsByWardRequest) Reset() { *x = GetRoomsByWardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -357,7 +357,7 @@ func (x *GetRoomsByWardRequest) String() string { func (*GetRoomsByWardRequest) ProtoMessage() {} func (x *GetRoomsByWardRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -370,7 +370,7 @@ func (x *GetRoomsByWardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomsByWardRequest.ProtoReflect.Descriptor instead. func (*GetRoomsByWardRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{6} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{6} } func (x *GetRoomsByWardRequest) GetWardId() string { @@ -391,7 +391,7 @@ type GetRoomsByWardResponse struct { func (x *GetRoomsByWardResponse) Reset() { *x = GetRoomsByWardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -404,7 +404,7 @@ func (x *GetRoomsByWardResponse) String() string { func (*GetRoomsByWardResponse) ProtoMessage() {} func (x *GetRoomsByWardResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -417,7 +417,7 @@ func (x *GetRoomsByWardResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomsByWardResponse.ProtoReflect.Descriptor instead. func (*GetRoomsByWardResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{7} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{7} } func (x *GetRoomsByWardResponse) GetRooms() []*GetRoomsByWardResponse_Room { @@ -439,7 +439,7 @@ type UpdateRoomRequest struct { func (x *UpdateRoomRequest) Reset() { *x = UpdateRoomRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -452,7 +452,7 @@ func (x *UpdateRoomRequest) String() string { func (*UpdateRoomRequest) ProtoMessage() {} func (x *UpdateRoomRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -465,7 +465,7 @@ func (x *UpdateRoomRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRoomRequest.ProtoReflect.Descriptor instead. func (*UpdateRoomRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{8} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{8} } func (x *UpdateRoomRequest) GetId() string { @@ -491,7 +491,7 @@ type UpdateRoomResponse struct { func (x *UpdateRoomResponse) Reset() { *x = UpdateRoomResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -504,7 +504,7 @@ func (x *UpdateRoomResponse) String() string { func (*UpdateRoomResponse) ProtoMessage() {} func (x *UpdateRoomResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -517,7 +517,7 @@ func (x *UpdateRoomResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRoomResponse.ProtoReflect.Descriptor instead. func (*UpdateRoomResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{9} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{9} } type DeleteRoomRequest struct { @@ -531,7 +531,7 @@ type DeleteRoomRequest struct { func (x *DeleteRoomRequest) Reset() { *x = DeleteRoomRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -544,7 +544,7 @@ func (x *DeleteRoomRequest) String() string { func (*DeleteRoomRequest) ProtoMessage() {} func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -557,7 +557,7 @@ func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRoomRequest.ProtoReflect.Descriptor instead. func (*DeleteRoomRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{10} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{10} } func (x *DeleteRoomRequest) GetId() string { @@ -576,7 +576,7 @@ type DeleteRoomResponse struct { func (x *DeleteRoomResponse) Reset() { *x = DeleteRoomResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -589,7 +589,7 @@ func (x *DeleteRoomResponse) String() string { func (*DeleteRoomResponse) ProtoMessage() {} func (x *DeleteRoomResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -602,7 +602,7 @@ func (x *DeleteRoomResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRoomResponse.ProtoReflect.Descriptor instead. func (*DeleteRoomResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{11} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{11} } type GetRoomOverviewsByWardRequest struct { @@ -616,7 +616,7 @@ type GetRoomOverviewsByWardRequest struct { func (x *GetRoomOverviewsByWardRequest) Reset() { *x = GetRoomOverviewsByWardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -629,7 +629,7 @@ func (x *GetRoomOverviewsByWardRequest) String() string { func (*GetRoomOverviewsByWardRequest) ProtoMessage() {} func (x *GetRoomOverviewsByWardRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -642,7 +642,7 @@ func (x *GetRoomOverviewsByWardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomOverviewsByWardRequest.ProtoReflect.Descriptor instead. func (*GetRoomOverviewsByWardRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{12} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{12} } func (x *GetRoomOverviewsByWardRequest) GetId() string { @@ -663,7 +663,7 @@ type GetRoomOverviewsByWardResponse struct { func (x *GetRoomOverviewsByWardResponse) Reset() { *x = GetRoomOverviewsByWardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -676,7 +676,7 @@ func (x *GetRoomOverviewsByWardResponse) String() string { func (*GetRoomOverviewsByWardResponse) ProtoMessage() {} func (x *GetRoomOverviewsByWardResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -689,7 +689,7 @@ func (x *GetRoomOverviewsByWardResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomOverviewsByWardResponse.ProtoReflect.Descriptor instead. func (*GetRoomOverviewsByWardResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{13} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{13} } func (x *GetRoomOverviewsByWardResponse) GetRooms() []*GetRoomOverviewsByWardResponse_Room { @@ -711,7 +711,7 @@ type GetRoomResponse_Bed struct { func (x *GetRoomResponse_Bed) Reset() { *x = GetRoomResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -724,7 +724,7 @@ func (x *GetRoomResponse_Bed) String() string { func (*GetRoomResponse_Bed) ProtoMessage() {} func (x *GetRoomResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -737,7 +737,7 @@ func (x *GetRoomResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomResponse_Bed.ProtoReflect.Descriptor instead. func (*GetRoomResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{3, 0} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{3, 0} } func (x *GetRoomResponse_Bed) GetId() string { @@ -769,7 +769,7 @@ type GetRoomsResponse_Room struct { func (x *GetRoomsResponse_Room) Reset() { *x = GetRoomsResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -782,7 +782,7 @@ func (x *GetRoomsResponse_Room) String() string { func (*GetRoomsResponse_Room) ProtoMessage() {} func (x *GetRoomsResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -795,7 +795,7 @@ func (x *GetRoomsResponse_Room) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomsResponse_Room.ProtoReflect.Descriptor instead. func (*GetRoomsResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{5, 0} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{5, 0} } func (x *GetRoomsResponse_Room) GetId() string { @@ -845,7 +845,7 @@ type GetRoomsResponse_Room_Bed struct { func (x *GetRoomsResponse_Room_Bed) Reset() { *x = GetRoomsResponse_Room_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -858,7 +858,7 @@ func (x *GetRoomsResponse_Room_Bed) String() string { func (*GetRoomsResponse_Room_Bed) ProtoMessage() {} func (x *GetRoomsResponse_Room_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -871,7 +871,7 @@ func (x *GetRoomsResponse_Room_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomsResponse_Room_Bed.ProtoReflect.Descriptor instead. func (*GetRoomsResponse_Room_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{5, 0, 0} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{5, 0, 0} } func (x *GetRoomsResponse_Room_Bed) GetId() string { @@ -903,7 +903,7 @@ type GetRoomsByWardResponse_Room struct { func (x *GetRoomsByWardResponse_Room) Reset() { *x = GetRoomsByWardResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -916,7 +916,7 @@ func (x *GetRoomsByWardResponse_Room) String() string { func (*GetRoomsByWardResponse_Room) ProtoMessage() {} func (x *GetRoomsByWardResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -929,7 +929,7 @@ func (x *GetRoomsByWardResponse_Room) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomsByWardResponse_Room.ProtoReflect.Descriptor instead. func (*GetRoomsByWardResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{7, 0} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{7, 0} } func (x *GetRoomsByWardResponse_Room) GetId() string { @@ -979,7 +979,7 @@ type GetRoomsByWardResponse_Room_Bed struct { func (x *GetRoomsByWardResponse_Room_Bed) Reset() { *x = GetRoomsByWardResponse_Room_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -992,7 +992,7 @@ func (x *GetRoomsByWardResponse_Room_Bed) String() string { func (*GetRoomsByWardResponse_Room_Bed) ProtoMessage() {} func (x *GetRoomsByWardResponse_Room_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1005,7 +1005,7 @@ func (x *GetRoomsByWardResponse_Room_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoomsByWardResponse_Room_Bed.ProtoReflect.Descriptor instead. func (*GetRoomsByWardResponse_Room_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{7, 0, 0} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{7, 0, 0} } func (x *GetRoomsByWardResponse_Room_Bed) GetId() string { @@ -1035,7 +1035,7 @@ type GetRoomOverviewsByWardResponse_Room struct { func (x *GetRoomOverviewsByWardResponse_Room) Reset() { *x = GetRoomOverviewsByWardResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1048,7 +1048,7 @@ func (x *GetRoomOverviewsByWardResponse_Room) String() string { func (*GetRoomOverviewsByWardResponse_Room) ProtoMessage() {} func (x *GetRoomOverviewsByWardResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1061,7 +1061,7 @@ func (x *GetRoomOverviewsByWardResponse_Room) ProtoReflect() protoreflect.Messag // Deprecated: Use GetRoomOverviewsByWardResponse_Room.ProtoReflect.Descriptor instead. func (*GetRoomOverviewsByWardResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{13, 0} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{13, 0} } func (x *GetRoomOverviewsByWardResponse_Room) GetId() string { @@ -1098,7 +1098,7 @@ type GetRoomOverviewsByWardResponse_Room_Bed struct { func (x *GetRoomOverviewsByWardResponse_Room_Bed) Reset() { *x = GetRoomOverviewsByWardResponse_Room_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1111,7 +1111,7 @@ func (x *GetRoomOverviewsByWardResponse_Room_Bed) String() string { func (*GetRoomOverviewsByWardResponse_Room_Bed) ProtoMessage() {} func (x *GetRoomOverviewsByWardResponse_Room_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1124,7 +1124,7 @@ func (x *GetRoomOverviewsByWardResponse_Room_Bed) ProtoReflect() protoreflect.Me // Deprecated: Use GetRoomOverviewsByWardResponse_Room_Bed.ProtoReflect.Descriptor instead. func (*GetRoomOverviewsByWardResponse_Room_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{13, 0, 0} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{13, 0, 0} } func (x *GetRoomOverviewsByWardResponse_Room_Bed) GetId() string { @@ -1163,7 +1163,7 @@ type GetRoomOverviewsByWardResponse_Room_Bed_Patient struct { func (x *GetRoomOverviewsByWardResponse_Room_Bed_Patient) Reset() { *x = GetRoomOverviewsByWardResponse_Room_Bed_Patient{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[21] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1176,7 +1176,7 @@ func (x *GetRoomOverviewsByWardResponse_Room_Bed_Patient) String() string { func (*GetRoomOverviewsByWardResponse_Room_Bed_Patient) ProtoMessage() {} func (x *GetRoomOverviewsByWardResponse_Room_Bed_Patient) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_room_svc_proto_msgTypes[21] + mi := &file_services_task_svc_v1_room_svc_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1189,7 +1189,7 @@ func (x *GetRoomOverviewsByWardResponse_Room_Bed_Patient) ProtoReflect() protore // Deprecated: Use GetRoomOverviewsByWardResponse_Room_Bed_Patient.ProtoReflect.Descriptor instead. func (*GetRoomOverviewsByWardResponse_Room_Bed_Patient) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{13, 0, 0, 0} + return file_services_task_svc_v1_room_svc_proto_rawDescGZIP(), []int{13, 0, 0, 0} } func (x *GetRoomOverviewsByWardResponse_Room_Bed_Patient) GetId() string { @@ -1227,262 +1227,251 @@ func (x *GetRoomOverviewsByWardResponse_Room_Bed_Patient) GetTasksDone() uint32 return 0 } -var File_proto_services_task_svc_v1_room_svc_proto protoreflect.FileDescriptor - -var file_proto_services_task_svc_v1_room_svc_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x6f, - 0x6d, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x40, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0x24, 0x0a, 0x12, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, - 0x20, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x22, 0xe7, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x62, 0x65, 0x64, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x12, 0x27, - 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, - 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, - 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x47, - 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xc0, - 0x02, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x1a, 0xe2, 0x01, 0x0a, - 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, +var File_services_task_svc_v1_room_svc_proto protoreflect.FileDescriptor + +var file_services_task_svc_v1_room_svc_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x40, 0x0a, 0x11, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0x24, 0x0a, + 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x22, 0x20, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xe1, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, + 0x04, 0x62, 0x65, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x29, + 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x04, 0x62, 0x65, 0x64, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, - 0x62, 0x65, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, - 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xb4, 0x02, 0x0a, + 0x10, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x41, 0x0a, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x05, 0x72, + 0x6f, 0x6f, 0x6d, 0x73, 0x1a, 0xdc, 0x01, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x30, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x42, 0x79, 0x57, - 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, - 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, - 0x64, 0x49, 0x64, 0x22, 0xd2, 0x02, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, - 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, - 0x0a, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, - 0x6f, 0x6d, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x1a, 0xe8, 0x01, - 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x04, 0x62, 0x65, - 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x42, 0x79, - 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, - 0x6d, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x29, 0x0a, - 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x45, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, - 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x2f, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, - 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x22, 0xf1, 0x04, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, - 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x12, 0x43, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x42, 0x65, 0x64, + 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0x30, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x42, + 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, + 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0xc6, 0x02, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, + 0x6d, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x47, 0x0a, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x42, + 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, + 0x6f, 0x6d, 0x52, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x1a, 0xe2, 0x01, 0x0a, 0x04, 0x52, 0x6f, + 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, + 0x6f, 0x6f, 0x6d, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, + 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, + 0x64, 0x49, 0x64, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x45, + 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x0a, 0x11, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, + 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xdf, 0x04, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x52, + 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, 0x57, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x05, 0x72, 0x6f, + 0x6f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x1a, 0xf7, 0x03, 0x0a, 0x04, + 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x1a, 0xeb, 0x03, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x57, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, - 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, - 0x73, 0x1a, 0xf1, 0x02, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x6a, 0x0a, - 0x07, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, - 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, 0x57, 0x61, - 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, - 0x42, 0x65, 0x64, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 0x70, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x1a, 0xcd, 0x01, 0x0a, 0x07, 0x50, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, - 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, - 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x75, 0x6e, 0x73, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x74, 0x61, - 0x73, 0x6b, 0x73, 0x55, 0x6e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x12, 0x2a, - 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x61, 0x73, 0x6b, 0x73, - 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, - 0x73, 0x6b, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, - 0x74, 0x61, 0x73, 0x6b, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x32, 0xb8, 0x06, 0x0a, 0x0b, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6d, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x6f, 0x6f, 0x6d, 0x12, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, + 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, + 0x6d, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x1a, 0xeb, 0x02, 0x0a, 0x03, + 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x64, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x12, - 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x08, 0x47, 0x65, - 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, + 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, + 0x6f, 0x6f, 0x6d, 0x2e, 0x42, 0x65, 0x64, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x48, + 0x00, 0x52, 0x07, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x1a, 0xcd, 0x01, + 0x0a, 0x07, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, + 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, + 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x75, + 0x6e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x55, 0x6e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x70, + 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, + 0x61, 0x73, 0x6b, 0x73, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, + 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x42, 0x0a, 0x0a, + 0x08, 0x5f, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x32, 0xe4, 0x05, 0x0a, 0x0b, 0x52, 0x6f, + 0x6f, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x0a, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, + 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x07, + 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, + 0x6d, 0x73, 0x12, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, + 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x42, - 0x79, 0x57, 0x61, 0x72, 0x64, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x42, 0x79, - 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, - 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x2d, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, - 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, - 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x2d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, - 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, - 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x91, 0x01, 0x0a, - 0x16, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, - 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x12, 0x39, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, - 0x76, 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x42, + 0x79, 0x57, 0x61, 0x72, 0x64, 0x12, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x6f, 0x6d, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, + 0x6d, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, + 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, + 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x6f, 0x6f, 0x6d, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, 0x57, + 0x61, 0x72, 0x64, 0x12, 0x33, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, + 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x42, 0xd2, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2d, 0x73, 0x76, 0x63, - 0xa2, 0x02, 0x03, 0x50, 0x53, 0x54, 0xaa, 0x02, 0x19, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x2e, - 0x56, 0x31, 0xca, 0x02, 0x19, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, - 0x25, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, - 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, - 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x42, 0xb3, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x52, + 0x6f, 0x6f, 0x6d, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x54, 0x58, + 0xaa, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, + 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, + 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x15, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x53, + 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_proto_services_task_svc_v1_room_svc_proto_rawDescOnce sync.Once - file_proto_services_task_svc_v1_room_svc_proto_rawDescData = file_proto_services_task_svc_v1_room_svc_proto_rawDesc + file_services_task_svc_v1_room_svc_proto_rawDescOnce sync.Once + file_services_task_svc_v1_room_svc_proto_rawDescData = file_services_task_svc_v1_room_svc_proto_rawDesc ) -func file_proto_services_task_svc_v1_room_svc_proto_rawDescGZIP() []byte { - file_proto_services_task_svc_v1_room_svc_proto_rawDescOnce.Do(func() { - file_proto_services_task_svc_v1_room_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_task_svc_v1_room_svc_proto_rawDescData) +func file_services_task_svc_v1_room_svc_proto_rawDescGZIP() []byte { + file_services_task_svc_v1_room_svc_proto_rawDescOnce.Do(func() { + file_services_task_svc_v1_room_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_task_svc_v1_room_svc_proto_rawDescData) }) - return file_proto_services_task_svc_v1_room_svc_proto_rawDescData -} - -var file_proto_services_task_svc_v1_room_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 22) -var file_proto_services_task_svc_v1_room_svc_proto_goTypes = []interface{}{ - (*CreateRoomRequest)(nil), // 0: proto.services.task_svc.v1.CreateRoomRequest - (*CreateRoomResponse)(nil), // 1: proto.services.task_svc.v1.CreateRoomResponse - (*GetRoomRequest)(nil), // 2: proto.services.task_svc.v1.GetRoomRequest - (*GetRoomResponse)(nil), // 3: proto.services.task_svc.v1.GetRoomResponse - (*GetRoomsRequest)(nil), // 4: proto.services.task_svc.v1.GetRoomsRequest - (*GetRoomsResponse)(nil), // 5: proto.services.task_svc.v1.GetRoomsResponse - (*GetRoomsByWardRequest)(nil), // 6: proto.services.task_svc.v1.GetRoomsByWardRequest - (*GetRoomsByWardResponse)(nil), // 7: proto.services.task_svc.v1.GetRoomsByWardResponse - (*UpdateRoomRequest)(nil), // 8: proto.services.task_svc.v1.UpdateRoomRequest - (*UpdateRoomResponse)(nil), // 9: proto.services.task_svc.v1.UpdateRoomResponse - (*DeleteRoomRequest)(nil), // 10: proto.services.task_svc.v1.DeleteRoomRequest - (*DeleteRoomResponse)(nil), // 11: proto.services.task_svc.v1.DeleteRoomResponse - (*GetRoomOverviewsByWardRequest)(nil), // 12: proto.services.task_svc.v1.GetRoomOverviewsByWardRequest - (*GetRoomOverviewsByWardResponse)(nil), // 13: proto.services.task_svc.v1.GetRoomOverviewsByWardResponse - (*GetRoomResponse_Bed)(nil), // 14: proto.services.task_svc.v1.GetRoomResponse.Bed - (*GetRoomsResponse_Room)(nil), // 15: proto.services.task_svc.v1.GetRoomsResponse.Room - (*GetRoomsResponse_Room_Bed)(nil), // 16: proto.services.task_svc.v1.GetRoomsResponse.Room.Bed - (*GetRoomsByWardResponse_Room)(nil), // 17: proto.services.task_svc.v1.GetRoomsByWardResponse.Room - (*GetRoomsByWardResponse_Room_Bed)(nil), // 18: proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed - (*GetRoomOverviewsByWardResponse_Room)(nil), // 19: proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room - (*GetRoomOverviewsByWardResponse_Room_Bed)(nil), // 20: proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed - (*GetRoomOverviewsByWardResponse_Room_Bed_Patient)(nil), // 21: proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient -} -var file_proto_services_task_svc_v1_room_svc_proto_depIdxs = []int32{ - 14, // 0: proto.services.task_svc.v1.GetRoomResponse.beds:type_name -> proto.services.task_svc.v1.GetRoomResponse.Bed - 15, // 1: proto.services.task_svc.v1.GetRoomsResponse.rooms:type_name -> proto.services.task_svc.v1.GetRoomsResponse.Room - 17, // 2: proto.services.task_svc.v1.GetRoomsByWardResponse.rooms:type_name -> proto.services.task_svc.v1.GetRoomsByWardResponse.Room - 19, // 3: proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.rooms:type_name -> proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room - 16, // 4: proto.services.task_svc.v1.GetRoomsResponse.Room.beds:type_name -> proto.services.task_svc.v1.GetRoomsResponse.Room.Bed - 18, // 5: proto.services.task_svc.v1.GetRoomsByWardResponse.Room.beds:type_name -> proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed - 20, // 6: proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.beds:type_name -> proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed - 21, // 7: proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.patient:type_name -> proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient - 0, // 8: proto.services.task_svc.v1.RoomService.CreateRoom:input_type -> proto.services.task_svc.v1.CreateRoomRequest - 2, // 9: proto.services.task_svc.v1.RoomService.GetRoom:input_type -> proto.services.task_svc.v1.GetRoomRequest - 4, // 10: proto.services.task_svc.v1.RoomService.GetRooms:input_type -> proto.services.task_svc.v1.GetRoomsRequest - 6, // 11: proto.services.task_svc.v1.RoomService.GetRoomsByWard:input_type -> proto.services.task_svc.v1.GetRoomsByWardRequest - 8, // 12: proto.services.task_svc.v1.RoomService.UpdateRoom:input_type -> proto.services.task_svc.v1.UpdateRoomRequest - 10, // 13: proto.services.task_svc.v1.RoomService.DeleteRoom:input_type -> proto.services.task_svc.v1.DeleteRoomRequest - 12, // 14: proto.services.task_svc.v1.RoomService.GetRoomOverviewsByWard:input_type -> proto.services.task_svc.v1.GetRoomOverviewsByWardRequest - 1, // 15: proto.services.task_svc.v1.RoomService.CreateRoom:output_type -> proto.services.task_svc.v1.CreateRoomResponse - 3, // 16: proto.services.task_svc.v1.RoomService.GetRoom:output_type -> proto.services.task_svc.v1.GetRoomResponse - 5, // 17: proto.services.task_svc.v1.RoomService.GetRooms:output_type -> proto.services.task_svc.v1.GetRoomsResponse - 7, // 18: proto.services.task_svc.v1.RoomService.GetRoomsByWard:output_type -> proto.services.task_svc.v1.GetRoomsByWardResponse - 9, // 19: proto.services.task_svc.v1.RoomService.UpdateRoom:output_type -> proto.services.task_svc.v1.UpdateRoomResponse - 11, // 20: proto.services.task_svc.v1.RoomService.DeleteRoom:output_type -> proto.services.task_svc.v1.DeleteRoomResponse - 13, // 21: proto.services.task_svc.v1.RoomService.GetRoomOverviewsByWard:output_type -> proto.services.task_svc.v1.GetRoomOverviewsByWardResponse + return file_services_task_svc_v1_room_svc_proto_rawDescData +} + +var file_services_task_svc_v1_room_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 22) +var file_services_task_svc_v1_room_svc_proto_goTypes = []interface{}{ + (*CreateRoomRequest)(nil), // 0: services.task_svc.v1.CreateRoomRequest + (*CreateRoomResponse)(nil), // 1: services.task_svc.v1.CreateRoomResponse + (*GetRoomRequest)(nil), // 2: services.task_svc.v1.GetRoomRequest + (*GetRoomResponse)(nil), // 3: services.task_svc.v1.GetRoomResponse + (*GetRoomsRequest)(nil), // 4: services.task_svc.v1.GetRoomsRequest + (*GetRoomsResponse)(nil), // 5: services.task_svc.v1.GetRoomsResponse + (*GetRoomsByWardRequest)(nil), // 6: services.task_svc.v1.GetRoomsByWardRequest + (*GetRoomsByWardResponse)(nil), // 7: services.task_svc.v1.GetRoomsByWardResponse + (*UpdateRoomRequest)(nil), // 8: services.task_svc.v1.UpdateRoomRequest + (*UpdateRoomResponse)(nil), // 9: services.task_svc.v1.UpdateRoomResponse + (*DeleteRoomRequest)(nil), // 10: services.task_svc.v1.DeleteRoomRequest + (*DeleteRoomResponse)(nil), // 11: services.task_svc.v1.DeleteRoomResponse + (*GetRoomOverviewsByWardRequest)(nil), // 12: services.task_svc.v1.GetRoomOverviewsByWardRequest + (*GetRoomOverviewsByWardResponse)(nil), // 13: services.task_svc.v1.GetRoomOverviewsByWardResponse + (*GetRoomResponse_Bed)(nil), // 14: services.task_svc.v1.GetRoomResponse.Bed + (*GetRoomsResponse_Room)(nil), // 15: services.task_svc.v1.GetRoomsResponse.Room + (*GetRoomsResponse_Room_Bed)(nil), // 16: services.task_svc.v1.GetRoomsResponse.Room.Bed + (*GetRoomsByWardResponse_Room)(nil), // 17: services.task_svc.v1.GetRoomsByWardResponse.Room + (*GetRoomsByWardResponse_Room_Bed)(nil), // 18: services.task_svc.v1.GetRoomsByWardResponse.Room.Bed + (*GetRoomOverviewsByWardResponse_Room)(nil), // 19: services.task_svc.v1.GetRoomOverviewsByWardResponse.Room + (*GetRoomOverviewsByWardResponse_Room_Bed)(nil), // 20: services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed + (*GetRoomOverviewsByWardResponse_Room_Bed_Patient)(nil), // 21: services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient +} +var file_services_task_svc_v1_room_svc_proto_depIdxs = []int32{ + 14, // 0: services.task_svc.v1.GetRoomResponse.beds:type_name -> services.task_svc.v1.GetRoomResponse.Bed + 15, // 1: services.task_svc.v1.GetRoomsResponse.rooms:type_name -> services.task_svc.v1.GetRoomsResponse.Room + 17, // 2: services.task_svc.v1.GetRoomsByWardResponse.rooms:type_name -> services.task_svc.v1.GetRoomsByWardResponse.Room + 19, // 3: services.task_svc.v1.GetRoomOverviewsByWardResponse.rooms:type_name -> services.task_svc.v1.GetRoomOverviewsByWardResponse.Room + 16, // 4: services.task_svc.v1.GetRoomsResponse.Room.beds:type_name -> services.task_svc.v1.GetRoomsResponse.Room.Bed + 18, // 5: services.task_svc.v1.GetRoomsByWardResponse.Room.beds:type_name -> services.task_svc.v1.GetRoomsByWardResponse.Room.Bed + 20, // 6: services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.beds:type_name -> services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed + 21, // 7: services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.patient:type_name -> services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient + 0, // 8: services.task_svc.v1.RoomService.CreateRoom:input_type -> services.task_svc.v1.CreateRoomRequest + 2, // 9: services.task_svc.v1.RoomService.GetRoom:input_type -> services.task_svc.v1.GetRoomRequest + 4, // 10: services.task_svc.v1.RoomService.GetRooms:input_type -> services.task_svc.v1.GetRoomsRequest + 6, // 11: services.task_svc.v1.RoomService.GetRoomsByWard:input_type -> services.task_svc.v1.GetRoomsByWardRequest + 8, // 12: services.task_svc.v1.RoomService.UpdateRoom:input_type -> services.task_svc.v1.UpdateRoomRequest + 10, // 13: services.task_svc.v1.RoomService.DeleteRoom:input_type -> services.task_svc.v1.DeleteRoomRequest + 12, // 14: services.task_svc.v1.RoomService.GetRoomOverviewsByWard:input_type -> services.task_svc.v1.GetRoomOverviewsByWardRequest + 1, // 15: services.task_svc.v1.RoomService.CreateRoom:output_type -> services.task_svc.v1.CreateRoomResponse + 3, // 16: services.task_svc.v1.RoomService.GetRoom:output_type -> services.task_svc.v1.GetRoomResponse + 5, // 17: services.task_svc.v1.RoomService.GetRooms:output_type -> services.task_svc.v1.GetRoomsResponse + 7, // 18: services.task_svc.v1.RoomService.GetRoomsByWard:output_type -> services.task_svc.v1.GetRoomsByWardResponse + 9, // 19: services.task_svc.v1.RoomService.UpdateRoom:output_type -> services.task_svc.v1.UpdateRoomResponse + 11, // 20: services.task_svc.v1.RoomService.DeleteRoom:output_type -> services.task_svc.v1.DeleteRoomResponse + 13, // 21: services.task_svc.v1.RoomService.GetRoomOverviewsByWard:output_type -> services.task_svc.v1.GetRoomOverviewsByWardResponse 15, // [15:22] is the sub-list for method output_type 8, // [8:15] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name @@ -1490,13 +1479,13 @@ var file_proto_services_task_svc_v1_room_svc_proto_depIdxs = []int32{ 0, // [0:8] is the sub-list for field type_name } -func init() { file_proto_services_task_svc_v1_room_svc_proto_init() } -func file_proto_services_task_svc_v1_room_svc_proto_init() { - if File_proto_services_task_svc_v1_room_svc_proto != nil { +func init() { file_services_task_svc_v1_room_svc_proto_init() } +func file_services_task_svc_v1_room_svc_proto_init() { + if File_services_task_svc_v1_room_svc_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateRoomRequest); i { case 0: return &v.state @@ -1508,7 +1497,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateRoomResponse); i { case 0: return &v.state @@ -1520,7 +1509,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomRequest); i { case 0: return &v.state @@ -1532,7 +1521,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomResponse); i { case 0: return &v.state @@ -1544,7 +1533,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomsRequest); i { case 0: return &v.state @@ -1556,7 +1545,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomsResponse); i { case 0: return &v.state @@ -1568,7 +1557,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomsByWardRequest); i { case 0: return &v.state @@ -1580,7 +1569,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomsByWardResponse); i { case 0: return &v.state @@ -1592,7 +1581,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateRoomRequest); i { case 0: return &v.state @@ -1604,7 +1593,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateRoomResponse); i { case 0: return &v.state @@ -1616,7 +1605,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteRoomRequest); i { case 0: return &v.state @@ -1628,7 +1617,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteRoomResponse); i { case 0: return &v.state @@ -1640,7 +1629,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomOverviewsByWardRequest); i { case 0: return &v.state @@ -1652,7 +1641,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomOverviewsByWardResponse); i { case 0: return &v.state @@ -1664,7 +1653,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomResponse_Bed); i { case 0: return &v.state @@ -1676,7 +1665,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomsResponse_Room); i { case 0: return &v.state @@ -1688,7 +1677,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomsResponse_Room_Bed); i { case 0: return &v.state @@ -1700,7 +1689,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomsByWardResponse_Room); i { case 0: return &v.state @@ -1712,7 +1701,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomsByWardResponse_Room_Bed); i { case 0: return &v.state @@ -1724,7 +1713,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomOverviewsByWardResponse_Room); i { case 0: return &v.state @@ -1736,7 +1725,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomOverviewsByWardResponse_Room_Bed); i { case 0: return &v.state @@ -1748,7 +1737,7 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_room_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRoomOverviewsByWardResponse_Room_Bed_Patient); i { case 0: return &v.state @@ -1761,24 +1750,24 @@ func file_proto_services_task_svc_v1_room_svc_proto_init() { } } } - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_room_svc_proto_msgTypes[20].OneofWrappers = []interface{}{} + file_services_task_svc_v1_room_svc_proto_msgTypes[8].OneofWrappers = []interface{}{} + file_services_task_svc_v1_room_svc_proto_msgTypes[20].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_task_svc_v1_room_svc_proto_rawDesc, + RawDescriptor: file_services_task_svc_v1_room_svc_proto_rawDesc, NumEnums: 0, NumMessages: 22, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_task_svc_v1_room_svc_proto_goTypes, - DependencyIndexes: file_proto_services_task_svc_v1_room_svc_proto_depIdxs, - MessageInfos: file_proto_services_task_svc_v1_room_svc_proto_msgTypes, + GoTypes: file_services_task_svc_v1_room_svc_proto_goTypes, + DependencyIndexes: file_services_task_svc_v1_room_svc_proto_depIdxs, + MessageInfos: file_services_task_svc_v1_room_svc_proto_msgTypes, }.Build() - File_proto_services_task_svc_v1_room_svc_proto = out.File - file_proto_services_task_svc_v1_room_svc_proto_rawDesc = nil - file_proto_services_task_svc_v1_room_svc_proto_goTypes = nil - file_proto_services_task_svc_v1_room_svc_proto_depIdxs = nil + File_services_task_svc_v1_room_svc_proto = out.File + file_services_task_svc_v1_room_svc_proto_rawDesc = nil + file_services_task_svc_v1_room_svc_proto_goTypes = nil + file_services_task_svc_v1_room_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/task_svc/v1/room_svc_grpc.pb.go b/gen/go/services/task_svc/v1/room_svc_grpc.pb.go similarity index 88% rename from gen/go/proto/services/task_svc/v1/room_svc_grpc.pb.go rename to gen/go/services/task_svc/v1/room_svc_grpc.pb.go index 721af6157..fbf03cb1f 100644 --- a/gen/go/proto/services/task_svc/v1/room_svc_grpc.pb.go +++ b/gen/go/services/task_svc/v1/room_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/task_svc/v1/room_svc.proto +// source: services/task_svc/v1/room_svc.proto package task_svc @@ -15,17 +15,17 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - RoomService_CreateRoom_FullMethodName = "/proto.services.task_svc.v1.RoomService/CreateRoom" - RoomService_GetRoom_FullMethodName = "/proto.services.task_svc.v1.RoomService/GetRoom" - RoomService_GetRooms_FullMethodName = "/proto.services.task_svc.v1.RoomService/GetRooms" - RoomService_GetRoomsByWard_FullMethodName = "/proto.services.task_svc.v1.RoomService/GetRoomsByWard" - RoomService_UpdateRoom_FullMethodName = "/proto.services.task_svc.v1.RoomService/UpdateRoom" - RoomService_DeleteRoom_FullMethodName = "/proto.services.task_svc.v1.RoomService/DeleteRoom" - RoomService_GetRoomOverviewsByWard_FullMethodName = "/proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard" + RoomService_CreateRoom_FullMethodName = "/services.task_svc.v1.RoomService/CreateRoom" + RoomService_GetRoom_FullMethodName = "/services.task_svc.v1.RoomService/GetRoom" + RoomService_GetRooms_FullMethodName = "/services.task_svc.v1.RoomService/GetRooms" + RoomService_GetRoomsByWard_FullMethodName = "/services.task_svc.v1.RoomService/GetRoomsByWard" + RoomService_UpdateRoom_FullMethodName = "/services.task_svc.v1.RoomService/UpdateRoom" + RoomService_DeleteRoom_FullMethodName = "/services.task_svc.v1.RoomService/DeleteRoom" + RoomService_GetRoomOverviewsByWard_FullMethodName = "/services.task_svc.v1.RoomService/GetRoomOverviewsByWard" ) // RoomServiceClient is the client API for RoomService service. @@ -50,8 +50,9 @@ func NewRoomServiceClient(cc grpc.ClientConnInterface) RoomServiceClient { } func (c *roomServiceClient) CreateRoom(ctx context.Context, in *CreateRoomRequest, opts ...grpc.CallOption) (*CreateRoomResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateRoomResponse) - err := c.cc.Invoke(ctx, RoomService_CreateRoom_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, RoomService_CreateRoom_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -59,8 +60,9 @@ func (c *roomServiceClient) CreateRoom(ctx context.Context, in *CreateRoomReques } func (c *roomServiceClient) GetRoom(ctx context.Context, in *GetRoomRequest, opts ...grpc.CallOption) (*GetRoomResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetRoomResponse) - err := c.cc.Invoke(ctx, RoomService_GetRoom_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, RoomService_GetRoom_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -68,8 +70,9 @@ func (c *roomServiceClient) GetRoom(ctx context.Context, in *GetRoomRequest, opt } func (c *roomServiceClient) GetRooms(ctx context.Context, in *GetRoomsRequest, opts ...grpc.CallOption) (*GetRoomsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetRoomsResponse) - err := c.cc.Invoke(ctx, RoomService_GetRooms_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, RoomService_GetRooms_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -77,8 +80,9 @@ func (c *roomServiceClient) GetRooms(ctx context.Context, in *GetRoomsRequest, o } func (c *roomServiceClient) GetRoomsByWard(ctx context.Context, in *GetRoomsByWardRequest, opts ...grpc.CallOption) (*GetRoomsByWardResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetRoomsByWardResponse) - err := c.cc.Invoke(ctx, RoomService_GetRoomsByWard_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, RoomService_GetRoomsByWard_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -86,8 +90,9 @@ func (c *roomServiceClient) GetRoomsByWard(ctx context.Context, in *GetRoomsByWa } func (c *roomServiceClient) UpdateRoom(ctx context.Context, in *UpdateRoomRequest, opts ...grpc.CallOption) (*UpdateRoomResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateRoomResponse) - err := c.cc.Invoke(ctx, RoomService_UpdateRoom_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, RoomService_UpdateRoom_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -95,8 +100,9 @@ func (c *roomServiceClient) UpdateRoom(ctx context.Context, in *UpdateRoomReques } func (c *roomServiceClient) DeleteRoom(ctx context.Context, in *DeleteRoomRequest, opts ...grpc.CallOption) (*DeleteRoomResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteRoomResponse) - err := c.cc.Invoke(ctx, RoomService_DeleteRoom_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, RoomService_DeleteRoom_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -104,8 +110,9 @@ func (c *roomServiceClient) DeleteRoom(ctx context.Context, in *DeleteRoomReques } func (c *roomServiceClient) GetRoomOverviewsByWard(ctx context.Context, in *GetRoomOverviewsByWardRequest, opts ...grpc.CallOption) (*GetRoomOverviewsByWardResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetRoomOverviewsByWardResponse) - err := c.cc.Invoke(ctx, RoomService_GetRoomOverviewsByWard_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, RoomService_GetRoomOverviewsByWard_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -294,7 +301,7 @@ func _RoomService_GetRoomOverviewsByWard_Handler(srv interface{}, ctx context.Co // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var RoomService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.task_svc.v1.RoomService", + ServiceName: "services.task_svc.v1.RoomService", HandlerType: (*RoomServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -327,5 +334,5 @@ var RoomService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/task_svc/v1/room_svc.proto", + Metadata: "services/task_svc/v1/room_svc.proto", } diff --git a/gen/go/proto/services/task_svc/v1/task_svc.pb.go b/gen/go/services/task_svc/v1/task_svc.pb.go similarity index 59% rename from gen/go/proto/services/task_svc/v1/task_svc.pb.go rename to gen/go/services/task_svc/v1/task_svc.pb.go index 7330c1fd5..bc7ad19ac 100644 --- a/gen/go/proto/services/task_svc/v1/task_svc.pb.go +++ b/gen/go/services/task_svc/v1/task_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/task_svc/v1/task_svc.proto +// source: services/task_svc/v1/task_svc.proto package task_svc @@ -57,11 +57,11 @@ func (x TaskStatus) String() string { } func (TaskStatus) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_task_svc_v1_task_svc_proto_enumTypes[0].Descriptor() + return file_services_task_svc_v1_task_svc_proto_enumTypes[0].Descriptor() } func (TaskStatus) Type() protoreflect.EnumType { - return &file_proto_services_task_svc_v1_task_svc_proto_enumTypes[0] + return &file_services_task_svc_v1_task_svc_proto_enumTypes[0] } func (x TaskStatus) Number() protoreflect.EnumNumber { @@ -70,7 +70,7 @@ func (x TaskStatus) Number() protoreflect.EnumNumber { // Deprecated: Use TaskStatus.Descriptor instead. func (TaskStatus) EnumDescriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{0} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{0} } type CreateTaskRequest struct { @@ -83,13 +83,13 @@ type CreateTaskRequest struct { PatientId string `protobuf:"bytes,3,opt,name=patient_id,json=patientId,proto3" json:"patient_id,omitempty" validate:"uuid4"` // @gotags: validate:"uuid4" Public bool `protobuf:"varint,4,opt,name=public,proto3" json:"public,omitempty"` DueAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=due_at,json=dueAt,proto3" json:"due_at,omitempty"` - InitialStatus *TaskStatus `protobuf:"varint,6,opt,name=initial_status,json=initialStatus,proto3,enum=proto.services.task_svc.v1.TaskStatus,oneof" json:"initial_status,omitempty"` + InitialStatus *TaskStatus `protobuf:"varint,6,opt,name=initial_status,json=initialStatus,proto3,enum=services.task_svc.v1.TaskStatus,oneof" json:"initial_status,omitempty"` } func (x *CreateTaskRequest) Reset() { *x = CreateTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -102,7 +102,7 @@ func (x *CreateTaskRequest) String() string { func (*CreateTaskRequest) ProtoMessage() {} func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -115,7 +115,7 @@ func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateTaskRequest.ProtoReflect.Descriptor instead. func (*CreateTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{0} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{0} } func (x *CreateTaskRequest) GetName() string { @@ -171,7 +171,7 @@ type CreateTaskResponse struct { func (x *CreateTaskResponse) Reset() { *x = CreateTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -184,7 +184,7 @@ func (x *CreateTaskResponse) String() string { func (*CreateTaskResponse) ProtoMessage() {} func (x *CreateTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -197,7 +197,7 @@ func (x *CreateTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateTaskResponse.ProtoReflect.Descriptor instead. func (*CreateTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{1} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{1} } func (x *CreateTaskResponse) GetId() string { @@ -218,7 +218,7 @@ type GetTaskRequest struct { func (x *GetTaskRequest) Reset() { *x = GetTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -231,7 +231,7 @@ func (x *GetTaskRequest) String() string { func (*GetTaskRequest) ProtoMessage() {} func (x *GetTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -244,7 +244,7 @@ func (x *GetTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead. func (*GetTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{2} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{2} } func (x *GetTaskRequest) GetId() string { @@ -262,7 +262,7 @@ type GetTaskResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Status TaskStatus `protobuf:"varint,4,opt,name=status,proto3,enum=proto.services.task_svc.v1.TaskStatus" json:"status,omitempty"` + Status TaskStatus `protobuf:"varint,4,opt,name=status,proto3,enum=services.task_svc.v1.TaskStatus" json:"status,omitempty"` AssignedUserId string `protobuf:"bytes,5,opt,name=assigned_user_id,json=assignedUserId,proto3" json:"assigned_user_id,omitempty"` Patient *GetTaskResponse_Patient `protobuf:"bytes,6,opt,name=patient,proto3" json:"patient,omitempty"` Public bool `protobuf:"varint,7,opt,name=public,proto3" json:"public,omitempty"` @@ -275,7 +275,7 @@ type GetTaskResponse struct { func (x *GetTaskResponse) Reset() { *x = GetTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -288,7 +288,7 @@ func (x *GetTaskResponse) String() string { func (*GetTaskResponse) ProtoMessage() {} func (x *GetTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -301,7 +301,7 @@ func (x *GetTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTaskResponse.ProtoReflect.Descriptor instead. func (*GetTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{3} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{3} } func (x *GetTaskResponse) GetId() string { @@ -392,7 +392,7 @@ type GetTasksByPatientRequest struct { func (x *GetTasksByPatientRequest) Reset() { *x = GetTasksByPatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -405,7 +405,7 @@ func (x *GetTasksByPatientRequest) String() string { func (*GetTasksByPatientRequest) ProtoMessage() {} func (x *GetTasksByPatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -418,7 +418,7 @@ func (x *GetTasksByPatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTasksByPatientRequest.ProtoReflect.Descriptor instead. func (*GetTasksByPatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{4} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{4} } func (x *GetTasksByPatientRequest) GetPatientId() string { @@ -439,7 +439,7 @@ type GetTasksByPatientResponse struct { func (x *GetTasksByPatientResponse) Reset() { *x = GetTasksByPatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -452,7 +452,7 @@ func (x *GetTasksByPatientResponse) String() string { func (*GetTasksByPatientResponse) ProtoMessage() {} func (x *GetTasksByPatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -465,7 +465,7 @@ func (x *GetTasksByPatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTasksByPatientResponse.ProtoReflect.Descriptor instead. func (*GetTasksByPatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{5} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{5} } func (x *GetTasksByPatientResponse) GetTasks() []*GetTasksByPatientResponse_Task { @@ -486,7 +486,7 @@ type GetTasksByPatientSortedByStatusRequest struct { func (x *GetTasksByPatientSortedByStatusRequest) Reset() { *x = GetTasksByPatientSortedByStatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -499,7 +499,7 @@ func (x *GetTasksByPatientSortedByStatusRequest) String() string { func (*GetTasksByPatientSortedByStatusRequest) ProtoMessage() {} func (x *GetTasksByPatientSortedByStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -512,7 +512,7 @@ func (x *GetTasksByPatientSortedByStatusRequest) ProtoReflect() protoreflect.Mes // Deprecated: Use GetTasksByPatientSortedByStatusRequest.ProtoReflect.Descriptor instead. func (*GetTasksByPatientSortedByStatusRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{6} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{6} } func (x *GetTasksByPatientSortedByStatusRequest) GetPatientId() string { @@ -535,7 +535,7 @@ type GetTasksByPatientSortedByStatusResponse struct { func (x *GetTasksByPatientSortedByStatusResponse) Reset() { *x = GetTasksByPatientSortedByStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -548,7 +548,7 @@ func (x *GetTasksByPatientSortedByStatusResponse) String() string { func (*GetTasksByPatientSortedByStatusResponse) ProtoMessage() {} func (x *GetTasksByPatientSortedByStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -561,7 +561,7 @@ func (x *GetTasksByPatientSortedByStatusResponse) ProtoReflect() protoreflect.Me // Deprecated: Use GetTasksByPatientSortedByStatusResponse.ProtoReflect.Descriptor instead. func (*GetTasksByPatientSortedByStatusResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{7} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{7} } func (x *GetTasksByPatientSortedByStatusResponse) GetTodo() []*GetTasksByPatientSortedByStatusResponse_Task { @@ -594,7 +594,7 @@ type GetAssignedTasksRequest struct { func (x *GetAssignedTasksRequest) Reset() { *x = GetAssignedTasksRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -607,7 +607,7 @@ func (x *GetAssignedTasksRequest) String() string { func (*GetAssignedTasksRequest) ProtoMessage() {} func (x *GetAssignedTasksRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -620,7 +620,7 @@ func (x *GetAssignedTasksRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAssignedTasksRequest.ProtoReflect.Descriptor instead. func (*GetAssignedTasksRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{8} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{8} } type GetAssignedTasksResponse struct { @@ -634,7 +634,7 @@ type GetAssignedTasksResponse struct { func (x *GetAssignedTasksResponse) Reset() { *x = GetAssignedTasksResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -647,7 +647,7 @@ func (x *GetAssignedTasksResponse) String() string { func (*GetAssignedTasksResponse) ProtoMessage() {} func (x *GetAssignedTasksResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -660,7 +660,7 @@ func (x *GetAssignedTasksResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAssignedTasksResponse.ProtoReflect.Descriptor instead. func (*GetAssignedTasksResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{9} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{9} } func (x *GetAssignedTasksResponse) GetTasks() []*GetAssignedTasksResponse_Task { @@ -685,7 +685,7 @@ type UpdateTaskRequest struct { func (x *UpdateTaskRequest) Reset() { *x = UpdateTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -698,7 +698,7 @@ func (x *UpdateTaskRequest) String() string { func (*UpdateTaskRequest) ProtoMessage() {} func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -711,7 +711,7 @@ func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateTaskRequest.ProtoReflect.Descriptor instead. func (*UpdateTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{10} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{10} } func (x *UpdateTaskRequest) GetId() string { @@ -758,7 +758,7 @@ type UpdateTaskResponse struct { func (x *UpdateTaskResponse) Reset() { *x = UpdateTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -771,7 +771,7 @@ func (x *UpdateTaskResponse) String() string { func (*UpdateTaskResponse) ProtoMessage() {} func (x *UpdateTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -784,7 +784,7 @@ func (x *UpdateTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateTaskResponse.ProtoReflect.Descriptor instead. func (*UpdateTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{11} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{11} } type AddSubTaskRequest struct { @@ -800,7 +800,7 @@ type AddSubTaskRequest struct { func (x *AddSubTaskRequest) Reset() { *x = AddSubTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -813,7 +813,7 @@ func (x *AddSubTaskRequest) String() string { func (*AddSubTaskRequest) ProtoMessage() {} func (x *AddSubTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -826,7 +826,7 @@ func (x *AddSubTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AddSubTaskRequest.ProtoReflect.Descriptor instead. func (*AddSubTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{12} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{12} } func (x *AddSubTaskRequest) GetName() string { @@ -861,7 +861,7 @@ type AddSubTaskResponse struct { func (x *AddSubTaskResponse) Reset() { *x = AddSubTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -874,7 +874,7 @@ func (x *AddSubTaskResponse) String() string { func (*AddSubTaskResponse) ProtoMessage() {} func (x *AddSubTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -887,7 +887,7 @@ func (x *AddSubTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AddSubTaskResponse.ProtoReflect.Descriptor instead. func (*AddSubTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{13} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{13} } func (x *AddSubTaskResponse) GetId() string { @@ -908,7 +908,7 @@ type RemoveSubTaskRequest struct { func (x *RemoveSubTaskRequest) Reset() { *x = RemoveSubTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -921,7 +921,7 @@ func (x *RemoveSubTaskRequest) String() string { func (*RemoveSubTaskRequest) ProtoMessage() {} func (x *RemoveSubTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -934,7 +934,7 @@ func (x *RemoveSubTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveSubTaskRequest.ProtoReflect.Descriptor instead. func (*RemoveSubTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{14} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{14} } func (x *RemoveSubTaskRequest) GetId() string { @@ -953,7 +953,7 @@ type RemoveSubTaskResponse struct { func (x *RemoveSubTaskResponse) Reset() { *x = RemoveSubTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -966,7 +966,7 @@ func (x *RemoveSubTaskResponse) String() string { func (*RemoveSubTaskResponse) ProtoMessage() {} func (x *RemoveSubTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -979,7 +979,7 @@ func (x *RemoveSubTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveSubTaskResponse.ProtoReflect.Descriptor instead. func (*RemoveSubTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{15} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{15} } type UpdateSubTaskRequest struct { @@ -994,7 +994,7 @@ type UpdateSubTaskRequest struct { func (x *UpdateSubTaskRequest) Reset() { *x = UpdateSubTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1007,7 +1007,7 @@ func (x *UpdateSubTaskRequest) String() string { func (*UpdateSubTaskRequest) ProtoMessage() {} func (x *UpdateSubTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1020,7 +1020,7 @@ func (x *UpdateSubTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateSubTaskRequest.ProtoReflect.Descriptor instead. func (*UpdateSubTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{16} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{16} } func (x *UpdateSubTaskRequest) GetId() string { @@ -1046,7 +1046,7 @@ type UpdateSubTaskResponse struct { func (x *UpdateSubTaskResponse) Reset() { *x = UpdateSubTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1059,7 +1059,7 @@ func (x *UpdateSubTaskResponse) String() string { func (*UpdateSubTaskResponse) ProtoMessage() {} func (x *UpdateSubTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1072,7 +1072,7 @@ func (x *UpdateSubTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateSubTaskResponse.ProtoReflect.Descriptor instead. func (*UpdateSubTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{17} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{17} } type SubTaskToToDoRequest struct { @@ -1086,7 +1086,7 @@ type SubTaskToToDoRequest struct { func (x *SubTaskToToDoRequest) Reset() { *x = SubTaskToToDoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1099,7 +1099,7 @@ func (x *SubTaskToToDoRequest) String() string { func (*SubTaskToToDoRequest) ProtoMessage() {} func (x *SubTaskToToDoRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1112,7 +1112,7 @@ func (x *SubTaskToToDoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SubTaskToToDoRequest.ProtoReflect.Descriptor instead. func (*SubTaskToToDoRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{18} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{18} } func (x *SubTaskToToDoRequest) GetId() string { @@ -1131,7 +1131,7 @@ type SubTaskToToDoResponse struct { func (x *SubTaskToToDoResponse) Reset() { *x = SubTaskToToDoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1144,7 +1144,7 @@ func (x *SubTaskToToDoResponse) String() string { func (*SubTaskToToDoResponse) ProtoMessage() {} func (x *SubTaskToToDoResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1157,7 +1157,7 @@ func (x *SubTaskToToDoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SubTaskToToDoResponse.ProtoReflect.Descriptor instead. func (*SubTaskToToDoResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{19} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{19} } type SubTaskToDoneRequest struct { @@ -1171,7 +1171,7 @@ type SubTaskToDoneRequest struct { func (x *SubTaskToDoneRequest) Reset() { *x = SubTaskToDoneRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1184,7 +1184,7 @@ func (x *SubTaskToDoneRequest) String() string { func (*SubTaskToDoneRequest) ProtoMessage() {} func (x *SubTaskToDoneRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1197,7 +1197,7 @@ func (x *SubTaskToDoneRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SubTaskToDoneRequest.ProtoReflect.Descriptor instead. func (*SubTaskToDoneRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{20} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{20} } func (x *SubTaskToDoneRequest) GetId() string { @@ -1216,7 +1216,7 @@ type SubTaskToDoneResponse struct { func (x *SubTaskToDoneResponse) Reset() { *x = SubTaskToDoneResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[21] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1229,7 +1229,7 @@ func (x *SubTaskToDoneResponse) String() string { func (*SubTaskToDoneResponse) ProtoMessage() {} func (x *SubTaskToDoneResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[21] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1242,7 +1242,7 @@ func (x *SubTaskToDoneResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SubTaskToDoneResponse.ProtoReflect.Descriptor instead. func (*SubTaskToDoneResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{21} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{21} } type TaskToToDoRequest struct { @@ -1256,7 +1256,7 @@ type TaskToToDoRequest struct { func (x *TaskToToDoRequest) Reset() { *x = TaskToToDoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[22] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1269,7 +1269,7 @@ func (x *TaskToToDoRequest) String() string { func (*TaskToToDoRequest) ProtoMessage() {} func (x *TaskToToDoRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[22] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1282,7 +1282,7 @@ func (x *TaskToToDoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskToToDoRequest.ProtoReflect.Descriptor instead. func (*TaskToToDoRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{22} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{22} } func (x *TaskToToDoRequest) GetId() string { @@ -1301,7 +1301,7 @@ type TaskToToDoResponse struct { func (x *TaskToToDoResponse) Reset() { *x = TaskToToDoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[23] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1314,7 +1314,7 @@ func (x *TaskToToDoResponse) String() string { func (*TaskToToDoResponse) ProtoMessage() {} func (x *TaskToToDoResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[23] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1327,7 +1327,7 @@ func (x *TaskToToDoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskToToDoResponse.ProtoReflect.Descriptor instead. func (*TaskToToDoResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{23} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{23} } type TaskToInProgressRequest struct { @@ -1341,7 +1341,7 @@ type TaskToInProgressRequest struct { func (x *TaskToInProgressRequest) Reset() { *x = TaskToInProgressRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[24] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1354,7 +1354,7 @@ func (x *TaskToInProgressRequest) String() string { func (*TaskToInProgressRequest) ProtoMessage() {} func (x *TaskToInProgressRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[24] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1367,7 +1367,7 @@ func (x *TaskToInProgressRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskToInProgressRequest.ProtoReflect.Descriptor instead. func (*TaskToInProgressRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{24} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{24} } func (x *TaskToInProgressRequest) GetId() string { @@ -1386,7 +1386,7 @@ type TaskToInProgressResponse struct { func (x *TaskToInProgressResponse) Reset() { *x = TaskToInProgressResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[25] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1399,7 +1399,7 @@ func (x *TaskToInProgressResponse) String() string { func (*TaskToInProgressResponse) ProtoMessage() {} func (x *TaskToInProgressResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[25] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1412,7 +1412,7 @@ func (x *TaskToInProgressResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskToInProgressResponse.ProtoReflect.Descriptor instead. func (*TaskToInProgressResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{25} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{25} } type TaskToDoneRequest struct { @@ -1426,7 +1426,7 @@ type TaskToDoneRequest struct { func (x *TaskToDoneRequest) Reset() { *x = TaskToDoneRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[26] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1439,7 +1439,7 @@ func (x *TaskToDoneRequest) String() string { func (*TaskToDoneRequest) ProtoMessage() {} func (x *TaskToDoneRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[26] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1452,7 +1452,7 @@ func (x *TaskToDoneRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskToDoneRequest.ProtoReflect.Descriptor instead. func (*TaskToDoneRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{26} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{26} } func (x *TaskToDoneRequest) GetId() string { @@ -1471,7 +1471,7 @@ type TaskToDoneResponse struct { func (x *TaskToDoneResponse) Reset() { *x = TaskToDoneResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[27] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1484,7 +1484,7 @@ func (x *TaskToDoneResponse) String() string { func (*TaskToDoneResponse) ProtoMessage() {} func (x *TaskToDoneResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[27] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1497,7 +1497,7 @@ func (x *TaskToDoneResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TaskToDoneResponse.ProtoReflect.Descriptor instead. func (*TaskToDoneResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{27} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{27} } type AssignTaskToUserRequest struct { @@ -1512,7 +1512,7 @@ type AssignTaskToUserRequest struct { func (x *AssignTaskToUserRequest) Reset() { *x = AssignTaskToUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[28] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1525,7 +1525,7 @@ func (x *AssignTaskToUserRequest) String() string { func (*AssignTaskToUserRequest) ProtoMessage() {} func (x *AssignTaskToUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[28] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1538,7 +1538,7 @@ func (x *AssignTaskToUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignTaskToUserRequest.ProtoReflect.Descriptor instead. func (*AssignTaskToUserRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{28} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{28} } func (x *AssignTaskToUserRequest) GetId() string { @@ -1564,7 +1564,7 @@ type AssignTaskToUserResponse struct { func (x *AssignTaskToUserResponse) Reset() { *x = AssignTaskToUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[29] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1577,7 +1577,7 @@ func (x *AssignTaskToUserResponse) String() string { func (*AssignTaskToUserResponse) ProtoMessage() {} func (x *AssignTaskToUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[29] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1590,7 +1590,7 @@ func (x *AssignTaskToUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignTaskToUserResponse.ProtoReflect.Descriptor instead. func (*AssignTaskToUserResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{29} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{29} } type UnassignTaskFromUserRequest struct { @@ -1604,7 +1604,7 @@ type UnassignTaskFromUserRequest struct { func (x *UnassignTaskFromUserRequest) Reset() { *x = UnassignTaskFromUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[30] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1617,7 +1617,7 @@ func (x *UnassignTaskFromUserRequest) String() string { func (*UnassignTaskFromUserRequest) ProtoMessage() {} func (x *UnassignTaskFromUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[30] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1630,7 +1630,7 @@ func (x *UnassignTaskFromUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UnassignTaskFromUserRequest.ProtoReflect.Descriptor instead. func (*UnassignTaskFromUserRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{30} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{30} } func (x *UnassignTaskFromUserRequest) GetId() string { @@ -1649,7 +1649,7 @@ type UnassignTaskFromUserResponse struct { func (x *UnassignTaskFromUserResponse) Reset() { *x = UnassignTaskFromUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[31] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1662,7 +1662,7 @@ func (x *UnassignTaskFromUserResponse) String() string { func (*UnassignTaskFromUserResponse) ProtoMessage() {} func (x *UnassignTaskFromUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[31] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1675,7 +1675,7 @@ func (x *UnassignTaskFromUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UnassignTaskFromUserResponse.ProtoReflect.Descriptor instead. func (*UnassignTaskFromUserResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{31} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{31} } type PublishTaskRequest struct { @@ -1689,7 +1689,7 @@ type PublishTaskRequest struct { func (x *PublishTaskRequest) Reset() { *x = PublishTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[32] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1702,7 +1702,7 @@ func (x *PublishTaskRequest) String() string { func (*PublishTaskRequest) ProtoMessage() {} func (x *PublishTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[32] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1715,7 +1715,7 @@ func (x *PublishTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PublishTaskRequest.ProtoReflect.Descriptor instead. func (*PublishTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{32} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{32} } func (x *PublishTaskRequest) GetId() string { @@ -1734,7 +1734,7 @@ type PublishTaskResponse struct { func (x *PublishTaskResponse) Reset() { *x = PublishTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[33] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1747,7 +1747,7 @@ func (x *PublishTaskResponse) String() string { func (*PublishTaskResponse) ProtoMessage() {} func (x *PublishTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[33] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1760,7 +1760,7 @@ func (x *PublishTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PublishTaskResponse.ProtoReflect.Descriptor instead. func (*PublishTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{33} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{33} } type UnpublishTaskRequest struct { @@ -1774,7 +1774,7 @@ type UnpublishTaskRequest struct { func (x *UnpublishTaskRequest) Reset() { *x = UnpublishTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[34] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1787,7 +1787,7 @@ func (x *UnpublishTaskRequest) String() string { func (*UnpublishTaskRequest) ProtoMessage() {} func (x *UnpublishTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[34] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1800,7 +1800,7 @@ func (x *UnpublishTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UnpublishTaskRequest.ProtoReflect.Descriptor instead. func (*UnpublishTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{34} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{34} } func (x *UnpublishTaskRequest) GetId() string { @@ -1819,7 +1819,7 @@ type UnpublishTaskResponse struct { func (x *UnpublishTaskResponse) Reset() { *x = UnpublishTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[35] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1832,7 +1832,7 @@ func (x *UnpublishTaskResponse) String() string { func (*UnpublishTaskResponse) ProtoMessage() {} func (x *UnpublishTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[35] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1845,7 +1845,7 @@ func (x *UnpublishTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UnpublishTaskResponse.ProtoReflect.Descriptor instead. func (*UnpublishTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{35} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{35} } type DeleteTaskRequest struct { @@ -1859,7 +1859,7 @@ type DeleteTaskRequest struct { func (x *DeleteTaskRequest) Reset() { *x = DeleteTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[36] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1872,7 +1872,7 @@ func (x *DeleteTaskRequest) String() string { func (*DeleteTaskRequest) ProtoMessage() {} func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[36] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1885,7 +1885,7 @@ func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteTaskRequest.ProtoReflect.Descriptor instead. func (*DeleteTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{36} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{36} } func (x *DeleteTaskRequest) GetId() string { @@ -1904,7 +1904,7 @@ type DeleteTaskResponse struct { func (x *DeleteTaskResponse) Reset() { *x = DeleteTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[37] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1917,7 +1917,7 @@ func (x *DeleteTaskResponse) String() string { func (*DeleteTaskResponse) ProtoMessage() {} func (x *DeleteTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[37] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1930,7 +1930,7 @@ func (x *DeleteTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteTaskResponse.ProtoReflect.Descriptor instead. func (*DeleteTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{37} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{37} } type GetTaskResponse_SubTask struct { @@ -1947,7 +1947,7 @@ type GetTaskResponse_SubTask struct { func (x *GetTaskResponse_SubTask) Reset() { *x = GetTaskResponse_SubTask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[38] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1960,7 +1960,7 @@ func (x *GetTaskResponse_SubTask) String() string { func (*GetTaskResponse_SubTask) ProtoMessage() {} func (x *GetTaskResponse_SubTask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[38] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1973,7 +1973,7 @@ func (x *GetTaskResponse_SubTask) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTaskResponse_SubTask.ProtoReflect.Descriptor instead. func (*GetTaskResponse_SubTask) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{3, 0} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{3, 0} } func (x *GetTaskResponse_SubTask) GetId() string { @@ -2016,7 +2016,7 @@ type GetTaskResponse_Patient struct { func (x *GetTaskResponse_Patient) Reset() { *x = GetTaskResponse_Patient{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[39] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2029,7 +2029,7 @@ func (x *GetTaskResponse_Patient) String() string { func (*GetTaskResponse_Patient) ProtoMessage() {} func (x *GetTaskResponse_Patient) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[39] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2042,7 +2042,7 @@ func (x *GetTaskResponse_Patient) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTaskResponse_Patient.ProtoReflect.Descriptor instead. func (*GetTaskResponse_Patient) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{3, 1} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{3, 1} } func (x *GetTaskResponse_Patient) GetId() string { @@ -2067,7 +2067,7 @@ type GetTasksByPatientResponse_Task struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Status TaskStatus `protobuf:"varint,4,opt,name=status,proto3,enum=proto.services.task_svc.v1.TaskStatus" json:"status,omitempty"` + Status TaskStatus `protobuf:"varint,4,opt,name=status,proto3,enum=services.task_svc.v1.TaskStatus" json:"status,omitempty"` AssignedUserId *string `protobuf:"bytes,5,opt,name=assigned_user_id,json=assignedUserId,proto3,oneof" json:"assigned_user_id,omitempty"` PatientId string `protobuf:"bytes,6,opt,name=patient_id,json=patientId,proto3" json:"patient_id,omitempty"` Public bool `protobuf:"varint,7,opt,name=public,proto3" json:"public,omitempty"` @@ -2079,7 +2079,7 @@ type GetTasksByPatientResponse_Task struct { func (x *GetTasksByPatientResponse_Task) Reset() { *x = GetTasksByPatientResponse_Task{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[40] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2092,7 +2092,7 @@ func (x *GetTasksByPatientResponse_Task) String() string { func (*GetTasksByPatientResponse_Task) ProtoMessage() {} func (x *GetTasksByPatientResponse_Task) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[40] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2105,7 +2105,7 @@ func (x *GetTasksByPatientResponse_Task) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTasksByPatientResponse_Task.ProtoReflect.Descriptor instead. func (*GetTasksByPatientResponse_Task) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{5, 0} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{5, 0} } func (x *GetTasksByPatientResponse_Task) GetId() string { @@ -2192,7 +2192,7 @@ type GetTasksByPatientResponse_Task_SubTask struct { func (x *GetTasksByPatientResponse_Task_SubTask) Reset() { *x = GetTasksByPatientResponse_Task_SubTask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[41] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2205,7 +2205,7 @@ func (x *GetTasksByPatientResponse_Task_SubTask) String() string { func (*GetTasksByPatientResponse_Task_SubTask) ProtoMessage() {} func (x *GetTasksByPatientResponse_Task_SubTask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[41] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2218,7 +2218,7 @@ func (x *GetTasksByPatientResponse_Task_SubTask) ProtoReflect() protoreflect.Mes // Deprecated: Use GetTasksByPatientResponse_Task_SubTask.ProtoReflect.Descriptor instead. func (*GetTasksByPatientResponse_Task_SubTask) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{5, 0, 0} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{5, 0, 0} } func (x *GetTasksByPatientResponse_Task_SubTask) GetId() string { @@ -2268,7 +2268,7 @@ type GetTasksByPatientSortedByStatusResponse_Task struct { func (x *GetTasksByPatientSortedByStatusResponse_Task) Reset() { *x = GetTasksByPatientSortedByStatusResponse_Task{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[42] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2281,7 +2281,7 @@ func (x *GetTasksByPatientSortedByStatusResponse_Task) String() string { func (*GetTasksByPatientSortedByStatusResponse_Task) ProtoMessage() {} func (x *GetTasksByPatientSortedByStatusResponse_Task) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[42] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2294,7 +2294,7 @@ func (x *GetTasksByPatientSortedByStatusResponse_Task) ProtoReflect() protorefle // Deprecated: Use GetTasksByPatientSortedByStatusResponse_Task.ProtoReflect.Descriptor instead. func (*GetTasksByPatientSortedByStatusResponse_Task) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{7, 0} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{7, 0} } func (x *GetTasksByPatientSortedByStatusResponse_Task) GetId() string { @@ -2374,7 +2374,7 @@ type GetTasksByPatientSortedByStatusResponse_Task_SubTask struct { func (x *GetTasksByPatientSortedByStatusResponse_Task_SubTask) Reset() { *x = GetTasksByPatientSortedByStatusResponse_Task_SubTask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[43] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2387,7 +2387,7 @@ func (x *GetTasksByPatientSortedByStatusResponse_Task_SubTask) String() string { func (*GetTasksByPatientSortedByStatusResponse_Task_SubTask) ProtoMessage() {} func (x *GetTasksByPatientSortedByStatusResponse_Task_SubTask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[43] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2400,7 +2400,7 @@ func (x *GetTasksByPatientSortedByStatusResponse_Task_SubTask) ProtoReflect() pr // Deprecated: Use GetTasksByPatientSortedByStatusResponse_Task_SubTask.ProtoReflect.Descriptor instead. func (*GetTasksByPatientSortedByStatusResponse_Task_SubTask) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{7, 0, 0} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{7, 0, 0} } func (x *GetTasksByPatientSortedByStatusResponse_Task_SubTask) GetId() string { @@ -2439,7 +2439,7 @@ type GetAssignedTasksResponse_Task struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Status TaskStatus `protobuf:"varint,4,opt,name=status,proto3,enum=proto.services.task_svc.v1.TaskStatus" json:"status,omitempty"` + Status TaskStatus `protobuf:"varint,4,opt,name=status,proto3,enum=services.task_svc.v1.TaskStatus" json:"status,omitempty"` AssignedUserId string `protobuf:"bytes,5,opt,name=assigned_user_id,json=assignedUserId,proto3" json:"assigned_user_id,omitempty"` Patient *GetAssignedTasksResponse_Task_Patient `protobuf:"bytes,6,opt,name=patient,proto3" json:"patient,omitempty"` Public bool `protobuf:"varint,7,opt,name=public,proto3" json:"public,omitempty"` @@ -2451,7 +2451,7 @@ type GetAssignedTasksResponse_Task struct { func (x *GetAssignedTasksResponse_Task) Reset() { *x = GetAssignedTasksResponse_Task{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[44] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2464,7 +2464,7 @@ func (x *GetAssignedTasksResponse_Task) String() string { func (*GetAssignedTasksResponse_Task) ProtoMessage() {} func (x *GetAssignedTasksResponse_Task) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[44] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2477,7 +2477,7 @@ func (x *GetAssignedTasksResponse_Task) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAssignedTasksResponse_Task.ProtoReflect.Descriptor instead. func (*GetAssignedTasksResponse_Task) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{9, 0} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{9, 0} } func (x *GetAssignedTasksResponse_Task) GetId() string { @@ -2562,7 +2562,7 @@ type GetAssignedTasksResponse_Task_Patient struct { func (x *GetAssignedTasksResponse_Task_Patient) Reset() { *x = GetAssignedTasksResponse_Task_Patient{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[45] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2575,7 +2575,7 @@ func (x *GetAssignedTasksResponse_Task_Patient) String() string { func (*GetAssignedTasksResponse_Task_Patient) ProtoMessage() {} func (x *GetAssignedTasksResponse_Task_Patient) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[45] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2588,7 +2588,7 @@ func (x *GetAssignedTasksResponse_Task_Patient) ProtoReflect() protoreflect.Mess // Deprecated: Use GetAssignedTasksResponse_Task_Patient.ProtoReflect.Descriptor instead. func (*GetAssignedTasksResponse_Task_Patient) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{9, 0, 0} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{9, 0, 0} } func (x *GetAssignedTasksResponse_Task_Patient) GetId() string { @@ -2619,7 +2619,7 @@ type GetAssignedTasksResponse_Task_SubTask struct { func (x *GetAssignedTasksResponse_Task_SubTask) Reset() { *x = GetAssignedTasksResponse_Task_SubTask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[46] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2632,7 +2632,7 @@ func (x *GetAssignedTasksResponse_Task_SubTask) String() string { func (*GetAssignedTasksResponse_Task_SubTask) ProtoMessage() {} func (x *GetAssignedTasksResponse_Task_SubTask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_svc_proto_msgTypes[46] + mi := &file_services_task_svc_v1_task_svc_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2645,7 +2645,7 @@ func (x *GetAssignedTasksResponse_Task_SubTask) ProtoReflect() protoreflect.Mess // Deprecated: Use GetAssignedTasksResponse_Task_SubTask.ProtoReflect.Descriptor instead. func (*GetAssignedTasksResponse_Task_SubTask) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{9, 0, 1} + return file_services_task_svc_v1_task_svc_proto_rawDescGZIP(), []int{9, 0, 1} } func (x *GetAssignedTasksResponse_Task_SubTask) GetId() string { @@ -2676,97 +2676,94 @@ func (x *GetAssignedTasksResponse_Task_SubTask) GetCreatedBy() string { return "" } -var File_proto_services_task_svc_v1_task_svc_proto protoreflect.FileDescriptor - -var file_proto_services_task_svc_v1_task_svc_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x02, 0x0a, 0x11, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, - 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x12, 0x31, 0x0a, 0x06, 0x64, 0x75, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x64, 0x75, - 0x65, 0x41, 0x74, 0x12, 0x52, 0x0a, 0x0e, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x48, 0x01, 0x52, 0x0d, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x69, 0x6e, 0x69, 0x74, - 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x24, 0x0a, 0x12, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, +var File_services_task_svc_v1_task_svc_proto protoreflect.FileDescriptor + +var file_services_task_svc_v1_task_svc_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x02, 0x0a, + 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x12, 0x31, 0x0a, 0x06, 0x64, 0x75, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, 0x12, 0x4c, 0x0a, 0x0e, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x20, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x48, 0x01, 0x52, 0x0d, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, + 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x24, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x20, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x22, 0x20, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x22, 0x85, 0x05, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x06, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x28, 0x0a, 0x10, - 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x70, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x31, 0x0a, - 0x06, 0x64, 0x75, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, - 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, - 0x4f, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, - 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, - 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x60, 0x0a, 0x07, 0x53, 0x75, 0x62, + 0x22, 0xf3, 0x04, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, + 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x47, + 0x0a, 0x07, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x07, + 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, + 0x31, 0x0a, 0x06, 0x64, 0x75, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x64, 0x75, 0x65, + 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, + 0x79, 0x12, 0x49, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x0a, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, + 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x27, 0x0a, 0x0f, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x60, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x1a, 0x2d, 0x0a, 0x07, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x39, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, + 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, + 0x64, 0x22, 0xf9, 0x04, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4a, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x8f, 0x04, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x1a, 0x2d, 0x0a, 0x07, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x39, 0x0a, 0x18, 0x47, 0x65, - 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, - 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x8b, 0x05, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, - 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, - 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x9b, 0x04, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, @@ -2780,99 +2777,96 @@ var file_proto_services_task_svc_v1_task_svc_proto_rawDesc = []byte{ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x5e, 0x0a, 0x08, - 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, - 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, - 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x60, 0x0a, 0x07, - 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, - 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x12, - 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x42, 0x13, - 0x0a, 0x11, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x22, 0x47, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, - 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, - 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xbc, 0x06, 0x0a, - 0x27, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, - 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x04, 0x74, 0x6f, 0x64, 0x6f, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, - 0x52, 0x04, 0x74, 0x6f, 0x64, 0x6f, 0x12, 0x69, 0x0a, 0x0b, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, - 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, - 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, - 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x5c, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, - 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x1a, - 0xe9, 0x03, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, - 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x69, - 0x67, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, - 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, - 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x63, 0x12, 0x31, 0x0a, 0x06, 0x64, 0x75, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x6c, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, - 0x6b, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x58, 0x0a, 0x08, + 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, - 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, - 0x73, 0x6b, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, - 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x60, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x47, - 0x65, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xdb, 0x05, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x73, - 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, - 0x61, 0x73, 0x6b, 0x73, 0x1a, 0xed, 0x04, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, - 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x5b, 0x0a, - 0x07, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, + 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x60, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, + 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x61, 0x73, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x47, 0x0a, + 0x26, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, + 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xa4, 0x06, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, + 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x56, 0x0a, 0x04, 0x74, 0x6f, 0x64, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x42, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, + 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x74, 0x6f, 0x64, 0x6f, 0x12, 0x63, 0x0a, 0x0b, 0x69, 0x6e, + 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x42, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, + 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, + 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x56, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, + 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, + 0x6b, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x1a, 0xe3, 0x03, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x31, 0x0a, 0x06, + 0x64, 0x75, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x66, + 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x4a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, + 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, + 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x60, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, + 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x61, 0x73, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x19, 0x0a, + 0x17, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xc3, 0x05, 0x0a, 0x18, 0x47, 0x65, 0x74, + 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x1a, 0xdb, 0x04, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x38, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x20, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x73, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x55, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, @@ -2883,393 +2877,376 @@ var file_proto_services_task_svc_v1_task_svc_proto_rawDesc = []byte{ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x42, 0x79, 0x12, 0x5d, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, - 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, - 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, - 0x6b, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, - 0x73, 0x6b, 0x73, 0x1a, 0x2d, 0x0a, 0x07, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x1a, 0x60, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x42, 0x79, 0x22, 0xe7, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x36, 0x0a, 0x06, 0x64, 0x75, - 0x65, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x02, 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, 0x88, - 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x08, 0x48, 0x03, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x88, 0x01, 0x01, 0x42, - 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x64, 0x75, 0x65, - 0x5f, 0x61, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x22, 0x14, - 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x53, 0x75, 0x62, 0x54, 0x61, - 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, - 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x88, 0x01, 0x01, 0x42, - 0x07, 0x0a, 0x05, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x22, 0x24, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x53, - 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x26, - 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x48, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, - 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x26, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, - 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x75, - 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x26, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, - 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x53, - 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x0a, 0x11, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, 0x6f, - 0x44, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x54, 0x61, 0x73, - 0x6b, 0x54, 0x6f, 0x54, 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x29, 0x0a, 0x17, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x54, 0x61, - 0x73, 0x6b, 0x54, 0x6f, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x0a, 0x11, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, - 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x54, - 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x42, 0x0a, 0x17, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x54, - 0x6f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, - 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x2d, 0x0a, 0x1b, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, - 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x65, 0x64, 0x42, 0x79, 0x12, 0x57, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x53, 0x75, 0x62, 0x54, + 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x2d, 0x0a, + 0x07, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x60, 0x0a, 0x07, + 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x22, 0xe7, + 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x88, 0x01, 0x01, 0x12, 0x36, 0x0a, 0x06, 0x64, 0x75, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x48, 0x02, 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x06, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x64, 0x75, 0x65, 0x5f, 0x61, 0x74, 0x42, 0x09, 0x0a, + 0x07, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, + 0x0a, 0x11, 0x41, 0x64, 0x64, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, + 0x12, 0x17, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, + 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x64, 0x6f, + 0x6e, 0x65, 0x22, 0x24, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x26, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x22, 0x1e, 0x0a, 0x1c, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, - 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x24, 0x0a, 0x12, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, - 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x0a, - 0x14, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, + 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0x0a, 0x14, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x0a, 0x14, + 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, + 0x6f, 0x54, 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x0a, + 0x14, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, - 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, + 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, + 0x0a, 0x11, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, - 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x72, 0x0a, 0x0a, 0x54, 0x61, 0x73, - 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x53, 0x4b, 0x5f, - 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, - 0x54, 0x55, 0x53, 0x5f, 0x54, 0x4f, 0x44, 0x4f, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, - 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, - 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x53, 0x4b, 0x5f, - 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x32, 0x9c, 0x12, - 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6d, 0x0a, - 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, - 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x07, - 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, - 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, 0x6f, 0x44, + 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x0a, 0x17, 0x54, 0x61, 0x73, + 0x6b, 0x54, 0x6f, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x49, 0x6e, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x23, 0x0a, 0x11, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, + 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x0a, 0x17, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, + 0x1a, 0x0a, 0x18, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x0a, 0x1b, 0x55, + 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1e, 0x0a, 0x1c, 0x55, 0x6e, + 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x0a, 0x12, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x22, 0x15, 0x0a, 0x13, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x0a, 0x14, 0x55, 0x6e, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, + 0x17, 0x0a, 0x15, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, + 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2a, 0x72, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, + 0x0a, 0x10, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x4f, + 0x44, 0x4f, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, + 0x02, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, + 0x5f, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x32, 0xb6, 0x10, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, - 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, - 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xac, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x54, - 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, - 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x42, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, - 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, - 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, - 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, - 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x33, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x07, 0x47, 0x65, + 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x53, 0x75, 0x62, - 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, + 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x64, 0x64, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, - 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x75, 0x62, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, - 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x30, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0d, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, - 0x54, 0x6f, 0x54, 0x6f, 0x44, 0x6f, 0x12, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, 0x6f, 0x44, - 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, - 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, - 0x0d, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x30, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x54, - 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, - 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, - 0x6f, 0x44, 0x6f, 0x12, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x10, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x49, 0x6e, - 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa0, 0x01, 0x0a, + 0x1f, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x3c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, + 0x42, 0x79, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x49, 0x6e, 0x50, 0x72, - 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, - 0x6f, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, - 0x6f, 0x6e, 0x65, 0x12, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x10, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, - 0x73, 0x6b, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x12, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x42, 0x79, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x73, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, + 0x73, 0x6b, 0x73, 0x12, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, + 0x73, 0x6b, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x53, 0x75, + 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, + 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, - 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, - 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8b, 0x01, 0x0a, 0x14, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, - 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x12, 0x37, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, 0x73, - 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, - 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0b, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, - 0x73, 0x6b, 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2a, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, + 0x6f, 0x44, 0x6f, 0x12, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, + 0x73, 0x6b, 0x54, 0x6f, 0x54, 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, + 0x54, 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, + 0x0a, 0x0d, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x12, + 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, + 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x54, 0x61, + 0x73, 0x6b, 0x54, 0x6f, 0x54, 0x6f, 0x44, 0x6f, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x54, + 0x6f, 0x44, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, + 0x10, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x49, + 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x49, 0x6e, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, + 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, + 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, + 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0d, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x55, 0x6e, + 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, + 0x65, 0x72, 0x12, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, + 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0b, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x6c, + 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6a, 0x0a, 0x0d, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, + 0x73, 0x6b, 0x12, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x73, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, - 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, - 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xd2, 0x01, 0x0a, - 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, - 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x1b, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, - 0x53, 0x54, 0xaa, 0x02, 0x19, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, - 0x19, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, - 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x25, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, - 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x1c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, + 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x27, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x42, 0xb3, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x54, + 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x54, 0x58, + 0xaa, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, + 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, + 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x15, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x53, + 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_proto_services_task_svc_v1_task_svc_proto_rawDescOnce sync.Once - file_proto_services_task_svc_v1_task_svc_proto_rawDescData = file_proto_services_task_svc_v1_task_svc_proto_rawDesc + file_services_task_svc_v1_task_svc_proto_rawDescOnce sync.Once + file_services_task_svc_v1_task_svc_proto_rawDescData = file_services_task_svc_v1_task_svc_proto_rawDesc ) -func file_proto_services_task_svc_v1_task_svc_proto_rawDescGZIP() []byte { - file_proto_services_task_svc_v1_task_svc_proto_rawDescOnce.Do(func() { - file_proto_services_task_svc_v1_task_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_task_svc_v1_task_svc_proto_rawDescData) +func file_services_task_svc_v1_task_svc_proto_rawDescGZIP() []byte { + file_services_task_svc_v1_task_svc_proto_rawDescOnce.Do(func() { + file_services_task_svc_v1_task_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_task_svc_v1_task_svc_proto_rawDescData) }) - return file_proto_services_task_svc_v1_task_svc_proto_rawDescData -} - -var file_proto_services_task_svc_v1_task_svc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_proto_services_task_svc_v1_task_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 47) -var file_proto_services_task_svc_v1_task_svc_proto_goTypes = []interface{}{ - (TaskStatus)(0), // 0: proto.services.task_svc.v1.TaskStatus - (*CreateTaskRequest)(nil), // 1: proto.services.task_svc.v1.CreateTaskRequest - (*CreateTaskResponse)(nil), // 2: proto.services.task_svc.v1.CreateTaskResponse - (*GetTaskRequest)(nil), // 3: proto.services.task_svc.v1.GetTaskRequest - (*GetTaskResponse)(nil), // 4: proto.services.task_svc.v1.GetTaskResponse - (*GetTasksByPatientRequest)(nil), // 5: proto.services.task_svc.v1.GetTasksByPatientRequest - (*GetTasksByPatientResponse)(nil), // 6: proto.services.task_svc.v1.GetTasksByPatientResponse - (*GetTasksByPatientSortedByStatusRequest)(nil), // 7: proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest - (*GetTasksByPatientSortedByStatusResponse)(nil), // 8: proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse - (*GetAssignedTasksRequest)(nil), // 9: proto.services.task_svc.v1.GetAssignedTasksRequest - (*GetAssignedTasksResponse)(nil), // 10: proto.services.task_svc.v1.GetAssignedTasksResponse - (*UpdateTaskRequest)(nil), // 11: proto.services.task_svc.v1.UpdateTaskRequest - (*UpdateTaskResponse)(nil), // 12: proto.services.task_svc.v1.UpdateTaskResponse - (*AddSubTaskRequest)(nil), // 13: proto.services.task_svc.v1.AddSubTaskRequest - (*AddSubTaskResponse)(nil), // 14: proto.services.task_svc.v1.AddSubTaskResponse - (*RemoveSubTaskRequest)(nil), // 15: proto.services.task_svc.v1.RemoveSubTaskRequest - (*RemoveSubTaskResponse)(nil), // 16: proto.services.task_svc.v1.RemoveSubTaskResponse - (*UpdateSubTaskRequest)(nil), // 17: proto.services.task_svc.v1.UpdateSubTaskRequest - (*UpdateSubTaskResponse)(nil), // 18: proto.services.task_svc.v1.UpdateSubTaskResponse - (*SubTaskToToDoRequest)(nil), // 19: proto.services.task_svc.v1.SubTaskToToDoRequest - (*SubTaskToToDoResponse)(nil), // 20: proto.services.task_svc.v1.SubTaskToToDoResponse - (*SubTaskToDoneRequest)(nil), // 21: proto.services.task_svc.v1.SubTaskToDoneRequest - (*SubTaskToDoneResponse)(nil), // 22: proto.services.task_svc.v1.SubTaskToDoneResponse - (*TaskToToDoRequest)(nil), // 23: proto.services.task_svc.v1.TaskToToDoRequest - (*TaskToToDoResponse)(nil), // 24: proto.services.task_svc.v1.TaskToToDoResponse - (*TaskToInProgressRequest)(nil), // 25: proto.services.task_svc.v1.TaskToInProgressRequest - (*TaskToInProgressResponse)(nil), // 26: proto.services.task_svc.v1.TaskToInProgressResponse - (*TaskToDoneRequest)(nil), // 27: proto.services.task_svc.v1.TaskToDoneRequest - (*TaskToDoneResponse)(nil), // 28: proto.services.task_svc.v1.TaskToDoneResponse - (*AssignTaskToUserRequest)(nil), // 29: proto.services.task_svc.v1.AssignTaskToUserRequest - (*AssignTaskToUserResponse)(nil), // 30: proto.services.task_svc.v1.AssignTaskToUserResponse - (*UnassignTaskFromUserRequest)(nil), // 31: proto.services.task_svc.v1.UnassignTaskFromUserRequest - (*UnassignTaskFromUserResponse)(nil), // 32: proto.services.task_svc.v1.UnassignTaskFromUserResponse - (*PublishTaskRequest)(nil), // 33: proto.services.task_svc.v1.PublishTaskRequest - (*PublishTaskResponse)(nil), // 34: proto.services.task_svc.v1.PublishTaskResponse - (*UnpublishTaskRequest)(nil), // 35: proto.services.task_svc.v1.UnpublishTaskRequest - (*UnpublishTaskResponse)(nil), // 36: proto.services.task_svc.v1.UnpublishTaskResponse - (*DeleteTaskRequest)(nil), // 37: proto.services.task_svc.v1.DeleteTaskRequest - (*DeleteTaskResponse)(nil), // 38: proto.services.task_svc.v1.DeleteTaskResponse - (*GetTaskResponse_SubTask)(nil), // 39: proto.services.task_svc.v1.GetTaskResponse.SubTask - (*GetTaskResponse_Patient)(nil), // 40: proto.services.task_svc.v1.GetTaskResponse.Patient - (*GetTasksByPatientResponse_Task)(nil), // 41: proto.services.task_svc.v1.GetTasksByPatientResponse.Task - (*GetTasksByPatientResponse_Task_SubTask)(nil), // 42: proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask - (*GetTasksByPatientSortedByStatusResponse_Task)(nil), // 43: proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task - (*GetTasksByPatientSortedByStatusResponse_Task_SubTask)(nil), // 44: proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask - (*GetAssignedTasksResponse_Task)(nil), // 45: proto.services.task_svc.v1.GetAssignedTasksResponse.Task - (*GetAssignedTasksResponse_Task_Patient)(nil), // 46: proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient - (*GetAssignedTasksResponse_Task_SubTask)(nil), // 47: proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask + return file_services_task_svc_v1_task_svc_proto_rawDescData +} + +var file_services_task_svc_v1_task_svc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_services_task_svc_v1_task_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 47) +var file_services_task_svc_v1_task_svc_proto_goTypes = []interface{}{ + (TaskStatus)(0), // 0: services.task_svc.v1.TaskStatus + (*CreateTaskRequest)(nil), // 1: services.task_svc.v1.CreateTaskRequest + (*CreateTaskResponse)(nil), // 2: services.task_svc.v1.CreateTaskResponse + (*GetTaskRequest)(nil), // 3: services.task_svc.v1.GetTaskRequest + (*GetTaskResponse)(nil), // 4: services.task_svc.v1.GetTaskResponse + (*GetTasksByPatientRequest)(nil), // 5: services.task_svc.v1.GetTasksByPatientRequest + (*GetTasksByPatientResponse)(nil), // 6: services.task_svc.v1.GetTasksByPatientResponse + (*GetTasksByPatientSortedByStatusRequest)(nil), // 7: services.task_svc.v1.GetTasksByPatientSortedByStatusRequest + (*GetTasksByPatientSortedByStatusResponse)(nil), // 8: services.task_svc.v1.GetTasksByPatientSortedByStatusResponse + (*GetAssignedTasksRequest)(nil), // 9: services.task_svc.v1.GetAssignedTasksRequest + (*GetAssignedTasksResponse)(nil), // 10: services.task_svc.v1.GetAssignedTasksResponse + (*UpdateTaskRequest)(nil), // 11: services.task_svc.v1.UpdateTaskRequest + (*UpdateTaskResponse)(nil), // 12: services.task_svc.v1.UpdateTaskResponse + (*AddSubTaskRequest)(nil), // 13: services.task_svc.v1.AddSubTaskRequest + (*AddSubTaskResponse)(nil), // 14: services.task_svc.v1.AddSubTaskResponse + (*RemoveSubTaskRequest)(nil), // 15: services.task_svc.v1.RemoveSubTaskRequest + (*RemoveSubTaskResponse)(nil), // 16: services.task_svc.v1.RemoveSubTaskResponse + (*UpdateSubTaskRequest)(nil), // 17: services.task_svc.v1.UpdateSubTaskRequest + (*UpdateSubTaskResponse)(nil), // 18: services.task_svc.v1.UpdateSubTaskResponse + (*SubTaskToToDoRequest)(nil), // 19: services.task_svc.v1.SubTaskToToDoRequest + (*SubTaskToToDoResponse)(nil), // 20: services.task_svc.v1.SubTaskToToDoResponse + (*SubTaskToDoneRequest)(nil), // 21: services.task_svc.v1.SubTaskToDoneRequest + (*SubTaskToDoneResponse)(nil), // 22: services.task_svc.v1.SubTaskToDoneResponse + (*TaskToToDoRequest)(nil), // 23: services.task_svc.v1.TaskToToDoRequest + (*TaskToToDoResponse)(nil), // 24: services.task_svc.v1.TaskToToDoResponse + (*TaskToInProgressRequest)(nil), // 25: services.task_svc.v1.TaskToInProgressRequest + (*TaskToInProgressResponse)(nil), // 26: services.task_svc.v1.TaskToInProgressResponse + (*TaskToDoneRequest)(nil), // 27: services.task_svc.v1.TaskToDoneRequest + (*TaskToDoneResponse)(nil), // 28: services.task_svc.v1.TaskToDoneResponse + (*AssignTaskToUserRequest)(nil), // 29: services.task_svc.v1.AssignTaskToUserRequest + (*AssignTaskToUserResponse)(nil), // 30: services.task_svc.v1.AssignTaskToUserResponse + (*UnassignTaskFromUserRequest)(nil), // 31: services.task_svc.v1.UnassignTaskFromUserRequest + (*UnassignTaskFromUserResponse)(nil), // 32: services.task_svc.v1.UnassignTaskFromUserResponse + (*PublishTaskRequest)(nil), // 33: services.task_svc.v1.PublishTaskRequest + (*PublishTaskResponse)(nil), // 34: services.task_svc.v1.PublishTaskResponse + (*UnpublishTaskRequest)(nil), // 35: services.task_svc.v1.UnpublishTaskRequest + (*UnpublishTaskResponse)(nil), // 36: services.task_svc.v1.UnpublishTaskResponse + (*DeleteTaskRequest)(nil), // 37: services.task_svc.v1.DeleteTaskRequest + (*DeleteTaskResponse)(nil), // 38: services.task_svc.v1.DeleteTaskResponse + (*GetTaskResponse_SubTask)(nil), // 39: services.task_svc.v1.GetTaskResponse.SubTask + (*GetTaskResponse_Patient)(nil), // 40: services.task_svc.v1.GetTaskResponse.Patient + (*GetTasksByPatientResponse_Task)(nil), // 41: services.task_svc.v1.GetTasksByPatientResponse.Task + (*GetTasksByPatientResponse_Task_SubTask)(nil), // 42: services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask + (*GetTasksByPatientSortedByStatusResponse_Task)(nil), // 43: services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task + (*GetTasksByPatientSortedByStatusResponse_Task_SubTask)(nil), // 44: services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask + (*GetAssignedTasksResponse_Task)(nil), // 45: services.task_svc.v1.GetAssignedTasksResponse.Task + (*GetAssignedTasksResponse_Task_Patient)(nil), // 46: services.task_svc.v1.GetAssignedTasksResponse.Task.Patient + (*GetAssignedTasksResponse_Task_SubTask)(nil), // 47: services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask (*timestamppb.Timestamp)(nil), // 48: google.protobuf.Timestamp } -var file_proto_services_task_svc_v1_task_svc_proto_depIdxs = []int32{ - 48, // 0: proto.services.task_svc.v1.CreateTaskRequest.due_at:type_name -> google.protobuf.Timestamp - 0, // 1: proto.services.task_svc.v1.CreateTaskRequest.initial_status:type_name -> proto.services.task_svc.v1.TaskStatus - 0, // 2: proto.services.task_svc.v1.GetTaskResponse.status:type_name -> proto.services.task_svc.v1.TaskStatus - 40, // 3: proto.services.task_svc.v1.GetTaskResponse.patient:type_name -> proto.services.task_svc.v1.GetTaskResponse.Patient - 48, // 4: proto.services.task_svc.v1.GetTaskResponse.due_at:type_name -> google.protobuf.Timestamp - 39, // 5: proto.services.task_svc.v1.GetTaskResponse.subtasks:type_name -> proto.services.task_svc.v1.GetTaskResponse.SubTask - 41, // 6: proto.services.task_svc.v1.GetTasksByPatientResponse.tasks:type_name -> proto.services.task_svc.v1.GetTasksByPatientResponse.Task - 43, // 7: proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.todo:type_name -> proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task - 43, // 8: proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.in_progress:type_name -> proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task - 43, // 9: proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.done:type_name -> proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task - 45, // 10: proto.services.task_svc.v1.GetAssignedTasksResponse.tasks:type_name -> proto.services.task_svc.v1.GetAssignedTasksResponse.Task - 48, // 11: proto.services.task_svc.v1.UpdateTaskRequest.due_at:type_name -> google.protobuf.Timestamp - 0, // 12: proto.services.task_svc.v1.GetTasksByPatientResponse.Task.status:type_name -> proto.services.task_svc.v1.TaskStatus - 48, // 13: proto.services.task_svc.v1.GetTasksByPatientResponse.Task.due_at:type_name -> google.protobuf.Timestamp - 42, // 14: proto.services.task_svc.v1.GetTasksByPatientResponse.Task.subtasks:type_name -> proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask - 48, // 15: proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.due_at:type_name -> google.protobuf.Timestamp - 44, // 16: proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.subtasks:type_name -> proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask - 0, // 17: proto.services.task_svc.v1.GetAssignedTasksResponse.Task.status:type_name -> proto.services.task_svc.v1.TaskStatus - 46, // 18: proto.services.task_svc.v1.GetAssignedTasksResponse.Task.patient:type_name -> proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient - 48, // 19: proto.services.task_svc.v1.GetAssignedTasksResponse.Task.due_at:type_name -> google.protobuf.Timestamp - 47, // 20: proto.services.task_svc.v1.GetAssignedTasksResponse.Task.subtasks:type_name -> proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask - 1, // 21: proto.services.task_svc.v1.TaskService.CreateTask:input_type -> proto.services.task_svc.v1.CreateTaskRequest - 3, // 22: proto.services.task_svc.v1.TaskService.GetTask:input_type -> proto.services.task_svc.v1.GetTaskRequest - 5, // 23: proto.services.task_svc.v1.TaskService.GetTasksByPatient:input_type -> proto.services.task_svc.v1.GetTasksByPatientRequest - 7, // 24: proto.services.task_svc.v1.TaskService.GetTasksByPatientSortedByStatus:input_type -> proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest - 9, // 25: proto.services.task_svc.v1.TaskService.GetAssignedTasks:input_type -> proto.services.task_svc.v1.GetAssignedTasksRequest - 11, // 26: proto.services.task_svc.v1.TaskService.UpdateTask:input_type -> proto.services.task_svc.v1.UpdateTaskRequest - 13, // 27: proto.services.task_svc.v1.TaskService.AddSubTask:input_type -> proto.services.task_svc.v1.AddSubTaskRequest - 15, // 28: proto.services.task_svc.v1.TaskService.RemoveSubTask:input_type -> proto.services.task_svc.v1.RemoveSubTaskRequest - 17, // 29: proto.services.task_svc.v1.TaskService.UpdateSubTask:input_type -> proto.services.task_svc.v1.UpdateSubTaskRequest - 19, // 30: proto.services.task_svc.v1.TaskService.SubTaskToToDo:input_type -> proto.services.task_svc.v1.SubTaskToToDoRequest - 21, // 31: proto.services.task_svc.v1.TaskService.SubTaskToDone:input_type -> proto.services.task_svc.v1.SubTaskToDoneRequest - 23, // 32: proto.services.task_svc.v1.TaskService.TaskToToDo:input_type -> proto.services.task_svc.v1.TaskToToDoRequest - 25, // 33: proto.services.task_svc.v1.TaskService.TaskToInProgress:input_type -> proto.services.task_svc.v1.TaskToInProgressRequest - 27, // 34: proto.services.task_svc.v1.TaskService.TaskToDone:input_type -> proto.services.task_svc.v1.TaskToDoneRequest - 29, // 35: proto.services.task_svc.v1.TaskService.AssignTaskToUser:input_type -> proto.services.task_svc.v1.AssignTaskToUserRequest - 31, // 36: proto.services.task_svc.v1.TaskService.UnassignTaskFromUser:input_type -> proto.services.task_svc.v1.UnassignTaskFromUserRequest - 33, // 37: proto.services.task_svc.v1.TaskService.PublishTask:input_type -> proto.services.task_svc.v1.PublishTaskRequest - 35, // 38: proto.services.task_svc.v1.TaskService.UnpublishTask:input_type -> proto.services.task_svc.v1.UnpublishTaskRequest - 37, // 39: proto.services.task_svc.v1.TaskService.DeleteTask:input_type -> proto.services.task_svc.v1.DeleteTaskRequest - 2, // 40: proto.services.task_svc.v1.TaskService.CreateTask:output_type -> proto.services.task_svc.v1.CreateTaskResponse - 4, // 41: proto.services.task_svc.v1.TaskService.GetTask:output_type -> proto.services.task_svc.v1.GetTaskResponse - 6, // 42: proto.services.task_svc.v1.TaskService.GetTasksByPatient:output_type -> proto.services.task_svc.v1.GetTasksByPatientResponse - 8, // 43: proto.services.task_svc.v1.TaskService.GetTasksByPatientSortedByStatus:output_type -> proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse - 10, // 44: proto.services.task_svc.v1.TaskService.GetAssignedTasks:output_type -> proto.services.task_svc.v1.GetAssignedTasksResponse - 12, // 45: proto.services.task_svc.v1.TaskService.UpdateTask:output_type -> proto.services.task_svc.v1.UpdateTaskResponse - 14, // 46: proto.services.task_svc.v1.TaskService.AddSubTask:output_type -> proto.services.task_svc.v1.AddSubTaskResponse - 16, // 47: proto.services.task_svc.v1.TaskService.RemoveSubTask:output_type -> proto.services.task_svc.v1.RemoveSubTaskResponse - 18, // 48: proto.services.task_svc.v1.TaskService.UpdateSubTask:output_type -> proto.services.task_svc.v1.UpdateSubTaskResponse - 20, // 49: proto.services.task_svc.v1.TaskService.SubTaskToToDo:output_type -> proto.services.task_svc.v1.SubTaskToToDoResponse - 22, // 50: proto.services.task_svc.v1.TaskService.SubTaskToDone:output_type -> proto.services.task_svc.v1.SubTaskToDoneResponse - 24, // 51: proto.services.task_svc.v1.TaskService.TaskToToDo:output_type -> proto.services.task_svc.v1.TaskToToDoResponse - 26, // 52: proto.services.task_svc.v1.TaskService.TaskToInProgress:output_type -> proto.services.task_svc.v1.TaskToInProgressResponse - 28, // 53: proto.services.task_svc.v1.TaskService.TaskToDone:output_type -> proto.services.task_svc.v1.TaskToDoneResponse - 30, // 54: proto.services.task_svc.v1.TaskService.AssignTaskToUser:output_type -> proto.services.task_svc.v1.AssignTaskToUserResponse - 32, // 55: proto.services.task_svc.v1.TaskService.UnassignTaskFromUser:output_type -> proto.services.task_svc.v1.UnassignTaskFromUserResponse - 34, // 56: proto.services.task_svc.v1.TaskService.PublishTask:output_type -> proto.services.task_svc.v1.PublishTaskResponse - 36, // 57: proto.services.task_svc.v1.TaskService.UnpublishTask:output_type -> proto.services.task_svc.v1.UnpublishTaskResponse - 38, // 58: proto.services.task_svc.v1.TaskService.DeleteTask:output_type -> proto.services.task_svc.v1.DeleteTaskResponse +var file_services_task_svc_v1_task_svc_proto_depIdxs = []int32{ + 48, // 0: services.task_svc.v1.CreateTaskRequest.due_at:type_name -> google.protobuf.Timestamp + 0, // 1: services.task_svc.v1.CreateTaskRequest.initial_status:type_name -> services.task_svc.v1.TaskStatus + 0, // 2: services.task_svc.v1.GetTaskResponse.status:type_name -> services.task_svc.v1.TaskStatus + 40, // 3: services.task_svc.v1.GetTaskResponse.patient:type_name -> services.task_svc.v1.GetTaskResponse.Patient + 48, // 4: services.task_svc.v1.GetTaskResponse.due_at:type_name -> google.protobuf.Timestamp + 39, // 5: services.task_svc.v1.GetTaskResponse.subtasks:type_name -> services.task_svc.v1.GetTaskResponse.SubTask + 41, // 6: services.task_svc.v1.GetTasksByPatientResponse.tasks:type_name -> services.task_svc.v1.GetTasksByPatientResponse.Task + 43, // 7: services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.todo:type_name -> services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task + 43, // 8: services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.in_progress:type_name -> services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task + 43, // 9: services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.done:type_name -> services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task + 45, // 10: services.task_svc.v1.GetAssignedTasksResponse.tasks:type_name -> services.task_svc.v1.GetAssignedTasksResponse.Task + 48, // 11: services.task_svc.v1.UpdateTaskRequest.due_at:type_name -> google.protobuf.Timestamp + 0, // 12: services.task_svc.v1.GetTasksByPatientResponse.Task.status:type_name -> services.task_svc.v1.TaskStatus + 48, // 13: services.task_svc.v1.GetTasksByPatientResponse.Task.due_at:type_name -> google.protobuf.Timestamp + 42, // 14: services.task_svc.v1.GetTasksByPatientResponse.Task.subtasks:type_name -> services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask + 48, // 15: services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.due_at:type_name -> google.protobuf.Timestamp + 44, // 16: services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.subtasks:type_name -> services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask + 0, // 17: services.task_svc.v1.GetAssignedTasksResponse.Task.status:type_name -> services.task_svc.v1.TaskStatus + 46, // 18: services.task_svc.v1.GetAssignedTasksResponse.Task.patient:type_name -> services.task_svc.v1.GetAssignedTasksResponse.Task.Patient + 48, // 19: services.task_svc.v1.GetAssignedTasksResponse.Task.due_at:type_name -> google.protobuf.Timestamp + 47, // 20: services.task_svc.v1.GetAssignedTasksResponse.Task.subtasks:type_name -> services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask + 1, // 21: services.task_svc.v1.TaskService.CreateTask:input_type -> services.task_svc.v1.CreateTaskRequest + 3, // 22: services.task_svc.v1.TaskService.GetTask:input_type -> services.task_svc.v1.GetTaskRequest + 5, // 23: services.task_svc.v1.TaskService.GetTasksByPatient:input_type -> services.task_svc.v1.GetTasksByPatientRequest + 7, // 24: services.task_svc.v1.TaskService.GetTasksByPatientSortedByStatus:input_type -> services.task_svc.v1.GetTasksByPatientSortedByStatusRequest + 9, // 25: services.task_svc.v1.TaskService.GetAssignedTasks:input_type -> services.task_svc.v1.GetAssignedTasksRequest + 11, // 26: services.task_svc.v1.TaskService.UpdateTask:input_type -> services.task_svc.v1.UpdateTaskRequest + 13, // 27: services.task_svc.v1.TaskService.AddSubTask:input_type -> services.task_svc.v1.AddSubTaskRequest + 15, // 28: services.task_svc.v1.TaskService.RemoveSubTask:input_type -> services.task_svc.v1.RemoveSubTaskRequest + 17, // 29: services.task_svc.v1.TaskService.UpdateSubTask:input_type -> services.task_svc.v1.UpdateSubTaskRequest + 19, // 30: services.task_svc.v1.TaskService.SubTaskToToDo:input_type -> services.task_svc.v1.SubTaskToToDoRequest + 21, // 31: services.task_svc.v1.TaskService.SubTaskToDone:input_type -> services.task_svc.v1.SubTaskToDoneRequest + 23, // 32: services.task_svc.v1.TaskService.TaskToToDo:input_type -> services.task_svc.v1.TaskToToDoRequest + 25, // 33: services.task_svc.v1.TaskService.TaskToInProgress:input_type -> services.task_svc.v1.TaskToInProgressRequest + 27, // 34: services.task_svc.v1.TaskService.TaskToDone:input_type -> services.task_svc.v1.TaskToDoneRequest + 29, // 35: services.task_svc.v1.TaskService.AssignTaskToUser:input_type -> services.task_svc.v1.AssignTaskToUserRequest + 31, // 36: services.task_svc.v1.TaskService.UnassignTaskFromUser:input_type -> services.task_svc.v1.UnassignTaskFromUserRequest + 33, // 37: services.task_svc.v1.TaskService.PublishTask:input_type -> services.task_svc.v1.PublishTaskRequest + 35, // 38: services.task_svc.v1.TaskService.UnpublishTask:input_type -> services.task_svc.v1.UnpublishTaskRequest + 37, // 39: services.task_svc.v1.TaskService.DeleteTask:input_type -> services.task_svc.v1.DeleteTaskRequest + 2, // 40: services.task_svc.v1.TaskService.CreateTask:output_type -> services.task_svc.v1.CreateTaskResponse + 4, // 41: services.task_svc.v1.TaskService.GetTask:output_type -> services.task_svc.v1.GetTaskResponse + 6, // 42: services.task_svc.v1.TaskService.GetTasksByPatient:output_type -> services.task_svc.v1.GetTasksByPatientResponse + 8, // 43: services.task_svc.v1.TaskService.GetTasksByPatientSortedByStatus:output_type -> services.task_svc.v1.GetTasksByPatientSortedByStatusResponse + 10, // 44: services.task_svc.v1.TaskService.GetAssignedTasks:output_type -> services.task_svc.v1.GetAssignedTasksResponse + 12, // 45: services.task_svc.v1.TaskService.UpdateTask:output_type -> services.task_svc.v1.UpdateTaskResponse + 14, // 46: services.task_svc.v1.TaskService.AddSubTask:output_type -> services.task_svc.v1.AddSubTaskResponse + 16, // 47: services.task_svc.v1.TaskService.RemoveSubTask:output_type -> services.task_svc.v1.RemoveSubTaskResponse + 18, // 48: services.task_svc.v1.TaskService.UpdateSubTask:output_type -> services.task_svc.v1.UpdateSubTaskResponse + 20, // 49: services.task_svc.v1.TaskService.SubTaskToToDo:output_type -> services.task_svc.v1.SubTaskToToDoResponse + 22, // 50: services.task_svc.v1.TaskService.SubTaskToDone:output_type -> services.task_svc.v1.SubTaskToDoneResponse + 24, // 51: services.task_svc.v1.TaskService.TaskToToDo:output_type -> services.task_svc.v1.TaskToToDoResponse + 26, // 52: services.task_svc.v1.TaskService.TaskToInProgress:output_type -> services.task_svc.v1.TaskToInProgressResponse + 28, // 53: services.task_svc.v1.TaskService.TaskToDone:output_type -> services.task_svc.v1.TaskToDoneResponse + 30, // 54: services.task_svc.v1.TaskService.AssignTaskToUser:output_type -> services.task_svc.v1.AssignTaskToUserResponse + 32, // 55: services.task_svc.v1.TaskService.UnassignTaskFromUser:output_type -> services.task_svc.v1.UnassignTaskFromUserResponse + 34, // 56: services.task_svc.v1.TaskService.PublishTask:output_type -> services.task_svc.v1.PublishTaskResponse + 36, // 57: services.task_svc.v1.TaskService.UnpublishTask:output_type -> services.task_svc.v1.UnpublishTaskResponse + 38, // 58: services.task_svc.v1.TaskService.DeleteTask:output_type -> services.task_svc.v1.DeleteTaskResponse 40, // [40:59] is the sub-list for method output_type 21, // [21:40] is the sub-list for method input_type 21, // [21:21] is the sub-list for extension type_name @@ -3277,13 +3254,13 @@ var file_proto_services_task_svc_v1_task_svc_proto_depIdxs = []int32{ 0, // [0:21] is the sub-list for field type_name } -func init() { file_proto_services_task_svc_v1_task_svc_proto_init() } -func file_proto_services_task_svc_v1_task_svc_proto_init() { - if File_proto_services_task_svc_v1_task_svc_proto != nil { +func init() { file_services_task_svc_v1_task_svc_proto_init() } +func file_services_task_svc_v1_task_svc_proto_init() { + if File_services_task_svc_v1_task_svc_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTaskRequest); i { case 0: return &v.state @@ -3295,7 +3272,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTaskResponse); i { case 0: return &v.state @@ -3307,7 +3284,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTaskRequest); i { case 0: return &v.state @@ -3319,7 +3296,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTaskResponse); i { case 0: return &v.state @@ -3331,7 +3308,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTasksByPatientRequest); i { case 0: return &v.state @@ -3343,7 +3320,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTasksByPatientResponse); i { case 0: return &v.state @@ -3355,7 +3332,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTasksByPatientSortedByStatusRequest); i { case 0: return &v.state @@ -3367,7 +3344,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTasksByPatientSortedByStatusResponse); i { case 0: return &v.state @@ -3379,7 +3356,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAssignedTasksRequest); i { case 0: return &v.state @@ -3391,7 +3368,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAssignedTasksResponse); i { case 0: return &v.state @@ -3403,7 +3380,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateTaskRequest); i { case 0: return &v.state @@ -3415,7 +3392,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateTaskResponse); i { case 0: return &v.state @@ -3427,7 +3404,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddSubTaskRequest); i { case 0: return &v.state @@ -3439,7 +3416,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddSubTaskResponse); i { case 0: return &v.state @@ -3451,7 +3428,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveSubTaskRequest); i { case 0: return &v.state @@ -3463,7 +3440,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveSubTaskResponse); i { case 0: return &v.state @@ -3475,7 +3452,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSubTaskRequest); i { case 0: return &v.state @@ -3487,7 +3464,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSubTaskResponse); i { case 0: return &v.state @@ -3499,7 +3476,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SubTaskToToDoRequest); i { case 0: return &v.state @@ -3511,7 +3488,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SubTaskToToDoResponse); i { case 0: return &v.state @@ -3523,7 +3500,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SubTaskToDoneRequest); i { case 0: return &v.state @@ -3535,7 +3512,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SubTaskToDoneResponse); i { case 0: return &v.state @@ -3547,7 +3524,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TaskToToDoRequest); i { case 0: return &v.state @@ -3559,7 +3536,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TaskToToDoResponse); i { case 0: return &v.state @@ -3571,7 +3548,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TaskToInProgressRequest); i { case 0: return &v.state @@ -3583,7 +3560,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TaskToInProgressResponse); i { case 0: return &v.state @@ -3595,7 +3572,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TaskToDoneRequest); i { case 0: return &v.state @@ -3607,7 +3584,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TaskToDoneResponse); i { case 0: return &v.state @@ -3619,7 +3596,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssignTaskToUserRequest); i { case 0: return &v.state @@ -3631,7 +3608,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssignTaskToUserResponse); i { case 0: return &v.state @@ -3643,7 +3620,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnassignTaskFromUserRequest); i { case 0: return &v.state @@ -3655,7 +3632,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnassignTaskFromUserResponse); i { case 0: return &v.state @@ -3667,7 +3644,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PublishTaskRequest); i { case 0: return &v.state @@ -3679,7 +3656,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PublishTaskResponse); i { case 0: return &v.state @@ -3691,7 +3668,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnpublishTaskRequest); i { case 0: return &v.state @@ -3703,7 +3680,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnpublishTaskResponse); i { case 0: return &v.state @@ -3715,7 +3692,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteTaskRequest); i { case 0: return &v.state @@ -3727,7 +3704,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteTaskResponse); i { case 0: return &v.state @@ -3739,7 +3716,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTaskResponse_SubTask); i { case 0: return &v.state @@ -3751,7 +3728,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTaskResponse_Patient); i { case 0: return &v.state @@ -3763,7 +3740,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTasksByPatientResponse_Task); i { case 0: return &v.state @@ -3775,7 +3752,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTasksByPatientResponse_Task_SubTask); i { case 0: return &v.state @@ -3787,7 +3764,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTasksByPatientSortedByStatusResponse_Task); i { case 0: return &v.state @@ -3799,7 +3776,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTasksByPatientSortedByStatusResponse_Task_SubTask); i { case 0: return &v.state @@ -3811,7 +3788,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAssignedTasksResponse_Task); i { case 0: return &v.state @@ -3823,7 +3800,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAssignedTasksResponse_Task_Patient); i { case 0: return &v.state @@ -3835,7 +3812,7 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_svc_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAssignedTasksResponse_Task_SubTask); i { case 0: return &v.state @@ -3848,29 +3825,29 @@ func file_proto_services_task_svc_v1_task_svc_proto_init() { } } } - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[10].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[12].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[16].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[40].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_task_svc_proto_msgTypes[42].OneofWrappers = []interface{}{} + file_services_task_svc_v1_task_svc_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_services_task_svc_v1_task_svc_proto_msgTypes[10].OneofWrappers = []interface{}{} + file_services_task_svc_v1_task_svc_proto_msgTypes[12].OneofWrappers = []interface{}{} + file_services_task_svc_v1_task_svc_proto_msgTypes[16].OneofWrappers = []interface{}{} + file_services_task_svc_v1_task_svc_proto_msgTypes[40].OneofWrappers = []interface{}{} + file_services_task_svc_v1_task_svc_proto_msgTypes[42].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_task_svc_v1_task_svc_proto_rawDesc, + RawDescriptor: file_services_task_svc_v1_task_svc_proto_rawDesc, NumEnums: 1, NumMessages: 47, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_task_svc_v1_task_svc_proto_goTypes, - DependencyIndexes: file_proto_services_task_svc_v1_task_svc_proto_depIdxs, - EnumInfos: file_proto_services_task_svc_v1_task_svc_proto_enumTypes, - MessageInfos: file_proto_services_task_svc_v1_task_svc_proto_msgTypes, + GoTypes: file_services_task_svc_v1_task_svc_proto_goTypes, + DependencyIndexes: file_services_task_svc_v1_task_svc_proto_depIdxs, + EnumInfos: file_services_task_svc_v1_task_svc_proto_enumTypes, + MessageInfos: file_services_task_svc_v1_task_svc_proto_msgTypes, }.Build() - File_proto_services_task_svc_v1_task_svc_proto = out.File - file_proto_services_task_svc_v1_task_svc_proto_rawDesc = nil - file_proto_services_task_svc_v1_task_svc_proto_goTypes = nil - file_proto_services_task_svc_v1_task_svc_proto_depIdxs = nil + File_services_task_svc_v1_task_svc_proto = out.File + file_services_task_svc_v1_task_svc_proto_rawDesc = nil + file_services_task_svc_v1_task_svc_proto_goTypes = nil + file_services_task_svc_v1_task_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/task_svc/v1/task_svc_grpc.pb.go b/gen/go/services/task_svc/v1/task_svc_grpc.pb.go similarity index 91% rename from gen/go/proto/services/task_svc/v1/task_svc_grpc.pb.go rename to gen/go/services/task_svc/v1/task_svc_grpc.pb.go index e7fd238d6..71c707386 100644 --- a/gen/go/proto/services/task_svc/v1/task_svc_grpc.pb.go +++ b/gen/go/services/task_svc/v1/task_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/task_svc/v1/task_svc.proto +// source: services/task_svc/v1/task_svc.proto package task_svc @@ -15,29 +15,29 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - TaskService_CreateTask_FullMethodName = "/proto.services.task_svc.v1.TaskService/CreateTask" - TaskService_GetTask_FullMethodName = "/proto.services.task_svc.v1.TaskService/GetTask" - TaskService_GetTasksByPatient_FullMethodName = "/proto.services.task_svc.v1.TaskService/GetTasksByPatient" - TaskService_GetTasksByPatientSortedByStatus_FullMethodName = "/proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus" - TaskService_GetAssignedTasks_FullMethodName = "/proto.services.task_svc.v1.TaskService/GetAssignedTasks" - TaskService_UpdateTask_FullMethodName = "/proto.services.task_svc.v1.TaskService/UpdateTask" - TaskService_AddSubTask_FullMethodName = "/proto.services.task_svc.v1.TaskService/AddSubTask" - TaskService_RemoveSubTask_FullMethodName = "/proto.services.task_svc.v1.TaskService/RemoveSubTask" - TaskService_UpdateSubTask_FullMethodName = "/proto.services.task_svc.v1.TaskService/UpdateSubTask" - TaskService_SubTaskToToDo_FullMethodName = "/proto.services.task_svc.v1.TaskService/SubTaskToToDo" - TaskService_SubTaskToDone_FullMethodName = "/proto.services.task_svc.v1.TaskService/SubTaskToDone" - TaskService_TaskToToDo_FullMethodName = "/proto.services.task_svc.v1.TaskService/TaskToToDo" - TaskService_TaskToInProgress_FullMethodName = "/proto.services.task_svc.v1.TaskService/TaskToInProgress" - TaskService_TaskToDone_FullMethodName = "/proto.services.task_svc.v1.TaskService/TaskToDone" - TaskService_AssignTaskToUser_FullMethodName = "/proto.services.task_svc.v1.TaskService/AssignTaskToUser" - TaskService_UnassignTaskFromUser_FullMethodName = "/proto.services.task_svc.v1.TaskService/UnassignTaskFromUser" - TaskService_PublishTask_FullMethodName = "/proto.services.task_svc.v1.TaskService/PublishTask" - TaskService_UnpublishTask_FullMethodName = "/proto.services.task_svc.v1.TaskService/UnpublishTask" - TaskService_DeleteTask_FullMethodName = "/proto.services.task_svc.v1.TaskService/DeleteTask" + TaskService_CreateTask_FullMethodName = "/services.task_svc.v1.TaskService/CreateTask" + TaskService_GetTask_FullMethodName = "/services.task_svc.v1.TaskService/GetTask" + TaskService_GetTasksByPatient_FullMethodName = "/services.task_svc.v1.TaskService/GetTasksByPatient" + TaskService_GetTasksByPatientSortedByStatus_FullMethodName = "/services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus" + TaskService_GetAssignedTasks_FullMethodName = "/services.task_svc.v1.TaskService/GetAssignedTasks" + TaskService_UpdateTask_FullMethodName = "/services.task_svc.v1.TaskService/UpdateTask" + TaskService_AddSubTask_FullMethodName = "/services.task_svc.v1.TaskService/AddSubTask" + TaskService_RemoveSubTask_FullMethodName = "/services.task_svc.v1.TaskService/RemoveSubTask" + TaskService_UpdateSubTask_FullMethodName = "/services.task_svc.v1.TaskService/UpdateSubTask" + TaskService_SubTaskToToDo_FullMethodName = "/services.task_svc.v1.TaskService/SubTaskToToDo" + TaskService_SubTaskToDone_FullMethodName = "/services.task_svc.v1.TaskService/SubTaskToDone" + TaskService_TaskToToDo_FullMethodName = "/services.task_svc.v1.TaskService/TaskToToDo" + TaskService_TaskToInProgress_FullMethodName = "/services.task_svc.v1.TaskService/TaskToInProgress" + TaskService_TaskToDone_FullMethodName = "/services.task_svc.v1.TaskService/TaskToDone" + TaskService_AssignTaskToUser_FullMethodName = "/services.task_svc.v1.TaskService/AssignTaskToUser" + TaskService_UnassignTaskFromUser_FullMethodName = "/services.task_svc.v1.TaskService/UnassignTaskFromUser" + TaskService_PublishTask_FullMethodName = "/services.task_svc.v1.TaskService/PublishTask" + TaskService_UnpublishTask_FullMethodName = "/services.task_svc.v1.TaskService/UnpublishTask" + TaskService_DeleteTask_FullMethodName = "/services.task_svc.v1.TaskService/DeleteTask" ) // TaskServiceClient is the client API for TaskService service. @@ -74,8 +74,9 @@ func NewTaskServiceClient(cc grpc.ClientConnInterface) TaskServiceClient { } func (c *taskServiceClient) CreateTask(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*CreateTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateTaskResponse) - err := c.cc.Invoke(ctx, TaskService_CreateTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_CreateTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -83,8 +84,9 @@ func (c *taskServiceClient) CreateTask(ctx context.Context, in *CreateTaskReques } func (c *taskServiceClient) GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*GetTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTaskResponse) - err := c.cc.Invoke(ctx, TaskService_GetTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_GetTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -92,8 +94,9 @@ func (c *taskServiceClient) GetTask(ctx context.Context, in *GetTaskRequest, opt } func (c *taskServiceClient) GetTasksByPatient(ctx context.Context, in *GetTasksByPatientRequest, opts ...grpc.CallOption) (*GetTasksByPatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTasksByPatientResponse) - err := c.cc.Invoke(ctx, TaskService_GetTasksByPatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_GetTasksByPatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -101,8 +104,9 @@ func (c *taskServiceClient) GetTasksByPatient(ctx context.Context, in *GetTasksB } func (c *taskServiceClient) GetTasksByPatientSortedByStatus(ctx context.Context, in *GetTasksByPatientSortedByStatusRequest, opts ...grpc.CallOption) (*GetTasksByPatientSortedByStatusResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTasksByPatientSortedByStatusResponse) - err := c.cc.Invoke(ctx, TaskService_GetTasksByPatientSortedByStatus_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_GetTasksByPatientSortedByStatus_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -110,8 +114,9 @@ func (c *taskServiceClient) GetTasksByPatientSortedByStatus(ctx context.Context, } func (c *taskServiceClient) GetAssignedTasks(ctx context.Context, in *GetAssignedTasksRequest, opts ...grpc.CallOption) (*GetAssignedTasksResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAssignedTasksResponse) - err := c.cc.Invoke(ctx, TaskService_GetAssignedTasks_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_GetAssignedTasks_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -119,8 +124,9 @@ func (c *taskServiceClient) GetAssignedTasks(ctx context.Context, in *GetAssigne } func (c *taskServiceClient) UpdateTask(ctx context.Context, in *UpdateTaskRequest, opts ...grpc.CallOption) (*UpdateTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateTaskResponse) - err := c.cc.Invoke(ctx, TaskService_UpdateTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_UpdateTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -128,8 +134,9 @@ func (c *taskServiceClient) UpdateTask(ctx context.Context, in *UpdateTaskReques } func (c *taskServiceClient) AddSubTask(ctx context.Context, in *AddSubTaskRequest, opts ...grpc.CallOption) (*AddSubTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AddSubTaskResponse) - err := c.cc.Invoke(ctx, TaskService_AddSubTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_AddSubTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -137,8 +144,9 @@ func (c *taskServiceClient) AddSubTask(ctx context.Context, in *AddSubTaskReques } func (c *taskServiceClient) RemoveSubTask(ctx context.Context, in *RemoveSubTaskRequest, opts ...grpc.CallOption) (*RemoveSubTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(RemoveSubTaskResponse) - err := c.cc.Invoke(ctx, TaskService_RemoveSubTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_RemoveSubTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -146,8 +154,9 @@ func (c *taskServiceClient) RemoveSubTask(ctx context.Context, in *RemoveSubTask } func (c *taskServiceClient) UpdateSubTask(ctx context.Context, in *UpdateSubTaskRequest, opts ...grpc.CallOption) (*UpdateSubTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateSubTaskResponse) - err := c.cc.Invoke(ctx, TaskService_UpdateSubTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_UpdateSubTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -155,8 +164,9 @@ func (c *taskServiceClient) UpdateSubTask(ctx context.Context, in *UpdateSubTask } func (c *taskServiceClient) SubTaskToToDo(ctx context.Context, in *SubTaskToToDoRequest, opts ...grpc.CallOption) (*SubTaskToToDoResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SubTaskToToDoResponse) - err := c.cc.Invoke(ctx, TaskService_SubTaskToToDo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_SubTaskToToDo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -164,8 +174,9 @@ func (c *taskServiceClient) SubTaskToToDo(ctx context.Context, in *SubTaskToToDo } func (c *taskServiceClient) SubTaskToDone(ctx context.Context, in *SubTaskToDoneRequest, opts ...grpc.CallOption) (*SubTaskToDoneResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SubTaskToDoneResponse) - err := c.cc.Invoke(ctx, TaskService_SubTaskToDone_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_SubTaskToDone_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -173,8 +184,9 @@ func (c *taskServiceClient) SubTaskToDone(ctx context.Context, in *SubTaskToDone } func (c *taskServiceClient) TaskToToDo(ctx context.Context, in *TaskToToDoRequest, opts ...grpc.CallOption) (*TaskToToDoResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TaskToToDoResponse) - err := c.cc.Invoke(ctx, TaskService_TaskToToDo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_TaskToToDo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -182,8 +194,9 @@ func (c *taskServiceClient) TaskToToDo(ctx context.Context, in *TaskToToDoReques } func (c *taskServiceClient) TaskToInProgress(ctx context.Context, in *TaskToInProgressRequest, opts ...grpc.CallOption) (*TaskToInProgressResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TaskToInProgressResponse) - err := c.cc.Invoke(ctx, TaskService_TaskToInProgress_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_TaskToInProgress_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -191,8 +204,9 @@ func (c *taskServiceClient) TaskToInProgress(ctx context.Context, in *TaskToInPr } func (c *taskServiceClient) TaskToDone(ctx context.Context, in *TaskToDoneRequest, opts ...grpc.CallOption) (*TaskToDoneResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TaskToDoneResponse) - err := c.cc.Invoke(ctx, TaskService_TaskToDone_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_TaskToDone_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -200,8 +214,9 @@ func (c *taskServiceClient) TaskToDone(ctx context.Context, in *TaskToDoneReques } func (c *taskServiceClient) AssignTaskToUser(ctx context.Context, in *AssignTaskToUserRequest, opts ...grpc.CallOption) (*AssignTaskToUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssignTaskToUserResponse) - err := c.cc.Invoke(ctx, TaskService_AssignTaskToUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_AssignTaskToUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -209,8 +224,9 @@ func (c *taskServiceClient) AssignTaskToUser(ctx context.Context, in *AssignTask } func (c *taskServiceClient) UnassignTaskFromUser(ctx context.Context, in *UnassignTaskFromUserRequest, opts ...grpc.CallOption) (*UnassignTaskFromUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UnassignTaskFromUserResponse) - err := c.cc.Invoke(ctx, TaskService_UnassignTaskFromUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_UnassignTaskFromUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -218,8 +234,9 @@ func (c *taskServiceClient) UnassignTaskFromUser(ctx context.Context, in *Unassi } func (c *taskServiceClient) PublishTask(ctx context.Context, in *PublishTaskRequest, opts ...grpc.CallOption) (*PublishTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PublishTaskResponse) - err := c.cc.Invoke(ctx, TaskService_PublishTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_PublishTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -227,8 +244,9 @@ func (c *taskServiceClient) PublishTask(ctx context.Context, in *PublishTaskRequ } func (c *taskServiceClient) UnpublishTask(ctx context.Context, in *UnpublishTaskRequest, opts ...grpc.CallOption) (*UnpublishTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UnpublishTaskResponse) - err := c.cc.Invoke(ctx, TaskService_UnpublishTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_UnpublishTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -236,8 +254,9 @@ func (c *taskServiceClient) UnpublishTask(ctx context.Context, in *UnpublishTask } func (c *taskServiceClient) DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*DeleteTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteTaskResponse) - err := c.cc.Invoke(ctx, TaskService_DeleteTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_DeleteTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -690,7 +709,7 @@ func _TaskService_DeleteTask_Handler(srv interface{}, ctx context.Context, dec f // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var TaskService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.task_svc.v1.TaskService", + ServiceName: "services.task_svc.v1.TaskService", HandlerType: (*TaskServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -771,5 +790,5 @@ var TaskService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/task_svc/v1/task_svc.proto", + Metadata: "services/task_svc/v1/task_svc.proto", } diff --git a/gen/go/proto/services/task_svc/v1/task_template_svc.pb.go b/gen/go/services/task_svc/v1/task_template_svc.pb.go similarity index 58% rename from gen/go/proto/services/task_svc/v1/task_template_svc.pb.go rename to gen/go/services/task_svc/v1/task_template_svc.pb.go index f4c06edb7..1d2fc898b 100644 --- a/gen/go/proto/services/task_svc/v1/task_template_svc.pb.go +++ b/gen/go/services/task_svc/v1/task_template_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/task_svc/v1/task_template_svc.proto +// source: services/task_svc/v1/task_template_svc.proto package task_svc @@ -34,7 +34,7 @@ type CreateTaskTemplateRequest struct { func (x *CreateTaskTemplateRequest) Reset() { *x = CreateTaskTemplateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -47,7 +47,7 @@ func (x *CreateTaskTemplateRequest) String() string { func (*CreateTaskTemplateRequest) ProtoMessage() {} func (x *CreateTaskTemplateRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -60,7 +60,7 @@ func (x *CreateTaskTemplateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateTaskTemplateRequest.ProtoReflect.Descriptor instead. func (*CreateTaskTemplateRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{0} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{0} } func (x *CreateTaskTemplateRequest) GetName() string { @@ -102,7 +102,7 @@ type CreateTaskTemplateResponse struct { func (x *CreateTaskTemplateResponse) Reset() { *x = CreateTaskTemplateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -115,7 +115,7 @@ func (x *CreateTaskTemplateResponse) String() string { func (*CreateTaskTemplateResponse) ProtoMessage() {} func (x *CreateTaskTemplateResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -128,7 +128,7 @@ func (x *CreateTaskTemplateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateTaskTemplateResponse.ProtoReflect.Descriptor instead. func (*CreateTaskTemplateResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{1} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{1} } func (x *CreateTaskTemplateResponse) GetId() string { @@ -147,7 +147,7 @@ type GetAllTaskTemplatesRequest struct { func (x *GetAllTaskTemplatesRequest) Reset() { *x = GetAllTaskTemplatesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -160,7 +160,7 @@ func (x *GetAllTaskTemplatesRequest) String() string { func (*GetAllTaskTemplatesRequest) ProtoMessage() {} func (x *GetAllTaskTemplatesRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -173,7 +173,7 @@ func (x *GetAllTaskTemplatesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAllTaskTemplatesRequest.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{2} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{2} } type GetAllTaskTemplatesResponse struct { @@ -187,7 +187,7 @@ type GetAllTaskTemplatesResponse struct { func (x *GetAllTaskTemplatesResponse) Reset() { *x = GetAllTaskTemplatesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -200,7 +200,7 @@ func (x *GetAllTaskTemplatesResponse) String() string { func (*GetAllTaskTemplatesResponse) ProtoMessage() {} func (x *GetAllTaskTemplatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -213,7 +213,7 @@ func (x *GetAllTaskTemplatesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAllTaskTemplatesResponse.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{3} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{3} } func (x *GetAllTaskTemplatesResponse) GetTemplates() []*GetAllTaskTemplatesResponse_TaskTemplate { @@ -234,7 +234,7 @@ type DeleteTaskTemplateRequest struct { func (x *DeleteTaskTemplateRequest) Reset() { *x = DeleteTaskTemplateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -247,7 +247,7 @@ func (x *DeleteTaskTemplateRequest) String() string { func (*DeleteTaskTemplateRequest) ProtoMessage() {} func (x *DeleteTaskTemplateRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -260,7 +260,7 @@ func (x *DeleteTaskTemplateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteTaskTemplateRequest.ProtoReflect.Descriptor instead. func (*DeleteTaskTemplateRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{4} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{4} } func (x *DeleteTaskTemplateRequest) GetId() string { @@ -279,7 +279,7 @@ type DeleteTaskTemplateResponse struct { func (x *DeleteTaskTemplateResponse) Reset() { *x = DeleteTaskTemplateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -292,7 +292,7 @@ func (x *DeleteTaskTemplateResponse) String() string { func (*DeleteTaskTemplateResponse) ProtoMessage() {} func (x *DeleteTaskTemplateResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -305,7 +305,7 @@ func (x *DeleteTaskTemplateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteTaskTemplateResponse.ProtoReflect.Descriptor instead. func (*DeleteTaskTemplateResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{5} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{5} } type DeleteTaskTemplateSubTaskRequest struct { @@ -319,7 +319,7 @@ type DeleteTaskTemplateSubTaskRequest struct { func (x *DeleteTaskTemplateSubTaskRequest) Reset() { *x = DeleteTaskTemplateSubTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -332,7 +332,7 @@ func (x *DeleteTaskTemplateSubTaskRequest) String() string { func (*DeleteTaskTemplateSubTaskRequest) ProtoMessage() {} func (x *DeleteTaskTemplateSubTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -345,7 +345,7 @@ func (x *DeleteTaskTemplateSubTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteTaskTemplateSubTaskRequest.ProtoReflect.Descriptor instead. func (*DeleteTaskTemplateSubTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{6} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{6} } func (x *DeleteTaskTemplateSubTaskRequest) GetId() string { @@ -364,7 +364,7 @@ type DeleteTaskTemplateSubTaskResponse struct { func (x *DeleteTaskTemplateSubTaskResponse) Reset() { *x = DeleteTaskTemplateSubTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -377,7 +377,7 @@ func (x *DeleteTaskTemplateSubTaskResponse) String() string { func (*DeleteTaskTemplateSubTaskResponse) ProtoMessage() {} func (x *DeleteTaskTemplateSubTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -390,7 +390,7 @@ func (x *DeleteTaskTemplateSubTaskResponse) ProtoReflect() protoreflect.Message // Deprecated: Use DeleteTaskTemplateSubTaskResponse.ProtoReflect.Descriptor instead. func (*DeleteTaskTemplateSubTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{7} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{7} } type UpdateTaskTemplateRequest struct { @@ -406,7 +406,7 @@ type UpdateTaskTemplateRequest struct { func (x *UpdateTaskTemplateRequest) Reset() { *x = UpdateTaskTemplateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -419,7 +419,7 @@ func (x *UpdateTaskTemplateRequest) String() string { func (*UpdateTaskTemplateRequest) ProtoMessage() {} func (x *UpdateTaskTemplateRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -432,7 +432,7 @@ func (x *UpdateTaskTemplateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateTaskTemplateRequest.ProtoReflect.Descriptor instead. func (*UpdateTaskTemplateRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{8} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{8} } func (x *UpdateTaskTemplateRequest) GetId() string { @@ -465,7 +465,7 @@ type UpdateTaskTemplateResponse struct { func (x *UpdateTaskTemplateResponse) Reset() { *x = UpdateTaskTemplateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -478,7 +478,7 @@ func (x *UpdateTaskTemplateResponse) String() string { func (*UpdateTaskTemplateResponse) ProtoMessage() {} func (x *UpdateTaskTemplateResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -491,7 +491,7 @@ func (x *UpdateTaskTemplateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateTaskTemplateResponse.ProtoReflect.Descriptor instead. func (*UpdateTaskTemplateResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{9} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{9} } type UpdateTaskTemplateSubTaskRequest struct { @@ -506,7 +506,7 @@ type UpdateTaskTemplateSubTaskRequest struct { func (x *UpdateTaskTemplateSubTaskRequest) Reset() { *x = UpdateTaskTemplateSubTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -519,7 +519,7 @@ func (x *UpdateTaskTemplateSubTaskRequest) String() string { func (*UpdateTaskTemplateSubTaskRequest) ProtoMessage() {} func (x *UpdateTaskTemplateSubTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -532,7 +532,7 @@ func (x *UpdateTaskTemplateSubTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateTaskTemplateSubTaskRequest.ProtoReflect.Descriptor instead. func (*UpdateTaskTemplateSubTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{10} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{10} } func (x *UpdateTaskTemplateSubTaskRequest) GetSubtaskId() string { @@ -558,7 +558,7 @@ type UpdateTaskTemplateSubTaskResponse struct { func (x *UpdateTaskTemplateSubTaskResponse) Reset() { *x = UpdateTaskTemplateSubTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -571,7 +571,7 @@ func (x *UpdateTaskTemplateSubTaskResponse) String() string { func (*UpdateTaskTemplateSubTaskResponse) ProtoMessage() {} func (x *UpdateTaskTemplateSubTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -584,7 +584,7 @@ func (x *UpdateTaskTemplateSubTaskResponse) ProtoReflect() protoreflect.Message // Deprecated: Use UpdateTaskTemplateSubTaskResponse.ProtoReflect.Descriptor instead. func (*UpdateTaskTemplateSubTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{11} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{11} } type CreateTaskTemplateSubTaskRequest struct { @@ -599,7 +599,7 @@ type CreateTaskTemplateSubTaskRequest struct { func (x *CreateTaskTemplateSubTaskRequest) Reset() { *x = CreateTaskTemplateSubTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -612,7 +612,7 @@ func (x *CreateTaskTemplateSubTaskRequest) String() string { func (*CreateTaskTemplateSubTaskRequest) ProtoMessage() {} func (x *CreateTaskTemplateSubTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -625,7 +625,7 @@ func (x *CreateTaskTemplateSubTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateTaskTemplateSubTaskRequest.ProtoReflect.Descriptor instead. func (*CreateTaskTemplateSubTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{12} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{12} } func (x *CreateTaskTemplateSubTaskRequest) GetTaskTemplateId() string { @@ -653,7 +653,7 @@ type CreateTaskTemplateSubTaskResponse struct { func (x *CreateTaskTemplateSubTaskResponse) Reset() { *x = CreateTaskTemplateSubTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -666,7 +666,7 @@ func (x *CreateTaskTemplateSubTaskResponse) String() string { func (*CreateTaskTemplateSubTaskResponse) ProtoMessage() {} func (x *CreateTaskTemplateSubTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -679,7 +679,7 @@ func (x *CreateTaskTemplateSubTaskResponse) ProtoReflect() protoreflect.Message // Deprecated: Use CreateTaskTemplateSubTaskResponse.ProtoReflect.Descriptor instead. func (*CreateTaskTemplateSubTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{13} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{13} } func (x *CreateTaskTemplateSubTaskResponse) GetId() string { @@ -701,7 +701,7 @@ type GetAllTaskTemplatesByCreatorRequest struct { func (x *GetAllTaskTemplatesByCreatorRequest) Reset() { *x = GetAllTaskTemplatesByCreatorRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -714,7 +714,7 @@ func (x *GetAllTaskTemplatesByCreatorRequest) String() string { func (*GetAllTaskTemplatesByCreatorRequest) ProtoMessage() {} func (x *GetAllTaskTemplatesByCreatorRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -727,7 +727,7 @@ func (x *GetAllTaskTemplatesByCreatorRequest) ProtoReflect() protoreflect.Messag // Deprecated: Use GetAllTaskTemplatesByCreatorRequest.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesByCreatorRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{14} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{14} } func (x *GetAllTaskTemplatesByCreatorRequest) GetCreatedBy() string { @@ -755,7 +755,7 @@ type GetAllTaskTemplatesByCreatorResponse struct { func (x *GetAllTaskTemplatesByCreatorResponse) Reset() { *x = GetAllTaskTemplatesByCreatorResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -768,7 +768,7 @@ func (x *GetAllTaskTemplatesByCreatorResponse) String() string { func (*GetAllTaskTemplatesByCreatorResponse) ProtoMessage() {} func (x *GetAllTaskTemplatesByCreatorResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -781,7 +781,7 @@ func (x *GetAllTaskTemplatesByCreatorResponse) ProtoReflect() protoreflect.Messa // Deprecated: Use GetAllTaskTemplatesByCreatorResponse.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesByCreatorResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{15} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{15} } func (x *GetAllTaskTemplatesByCreatorResponse) GetTemplates() []*GetAllTaskTemplatesByCreatorResponse_TaskTemplate { @@ -802,7 +802,7 @@ type GetAllTaskTemplatesByWardRequest struct { func (x *GetAllTaskTemplatesByWardRequest) Reset() { *x = GetAllTaskTemplatesByWardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -815,7 +815,7 @@ func (x *GetAllTaskTemplatesByWardRequest) String() string { func (*GetAllTaskTemplatesByWardRequest) ProtoMessage() {} func (x *GetAllTaskTemplatesByWardRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -828,7 +828,7 @@ func (x *GetAllTaskTemplatesByWardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetAllTaskTemplatesByWardRequest.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesByWardRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{16} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{16} } func (x *GetAllTaskTemplatesByWardRequest) GetWardId() string { @@ -849,7 +849,7 @@ type GetAllTaskTemplatesByWardResponse struct { func (x *GetAllTaskTemplatesByWardResponse) Reset() { *x = GetAllTaskTemplatesByWardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -862,7 +862,7 @@ func (x *GetAllTaskTemplatesByWardResponse) String() string { func (*GetAllTaskTemplatesByWardResponse) ProtoMessage() {} func (x *GetAllTaskTemplatesByWardResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -875,7 +875,7 @@ func (x *GetAllTaskTemplatesByWardResponse) ProtoReflect() protoreflect.Message // Deprecated: Use GetAllTaskTemplatesByWardResponse.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesByWardResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{17} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{17} } func (x *GetAllTaskTemplatesByWardResponse) GetTemplates() []*GetAllTaskTemplatesByWardResponse_TaskTemplate { @@ -896,7 +896,7 @@ type CreateTaskTemplateRequest_SubTask struct { func (x *CreateTaskTemplateRequest_SubTask) Reset() { *x = CreateTaskTemplateRequest_SubTask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -909,7 +909,7 @@ func (x *CreateTaskTemplateRequest_SubTask) String() string { func (*CreateTaskTemplateRequest_SubTask) ProtoMessage() {} func (x *CreateTaskTemplateRequest_SubTask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -922,7 +922,7 @@ func (x *CreateTaskTemplateRequest_SubTask) ProtoReflect() protoreflect.Message // Deprecated: Use CreateTaskTemplateRequest_SubTask.ProtoReflect.Descriptor instead. func (*CreateTaskTemplateRequest_SubTask) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{0, 0} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{0, 0} } func (x *CreateTaskTemplateRequest_SubTask) GetName() string { @@ -948,7 +948,7 @@ type GetAllTaskTemplatesResponse_TaskTemplate struct { func (x *GetAllTaskTemplatesResponse_TaskTemplate) Reset() { *x = GetAllTaskTemplatesResponse_TaskTemplate{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -961,7 +961,7 @@ func (x *GetAllTaskTemplatesResponse_TaskTemplate) String() string { func (*GetAllTaskTemplatesResponse_TaskTemplate) ProtoMessage() {} func (x *GetAllTaskTemplatesResponse_TaskTemplate) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -974,7 +974,7 @@ func (x *GetAllTaskTemplatesResponse_TaskTemplate) ProtoReflect() protoreflect.M // Deprecated: Use GetAllTaskTemplatesResponse_TaskTemplate.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesResponse_TaskTemplate) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{3, 0} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{3, 0} } func (x *GetAllTaskTemplatesResponse_TaskTemplate) GetId() string { @@ -1032,7 +1032,7 @@ type GetAllTaskTemplatesResponse_TaskTemplate_SubTask struct { func (x *GetAllTaskTemplatesResponse_TaskTemplate_SubTask) Reset() { *x = GetAllTaskTemplatesResponse_TaskTemplate_SubTask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1045,7 +1045,7 @@ func (x *GetAllTaskTemplatesResponse_TaskTemplate_SubTask) String() string { func (*GetAllTaskTemplatesResponse_TaskTemplate_SubTask) ProtoMessage() {} func (x *GetAllTaskTemplatesResponse_TaskTemplate_SubTask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1058,7 +1058,7 @@ func (x *GetAllTaskTemplatesResponse_TaskTemplate_SubTask) ProtoReflect() protor // Deprecated: Use GetAllTaskTemplatesResponse_TaskTemplate_SubTask.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesResponse_TaskTemplate_SubTask) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{3, 0, 0} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{3, 0, 0} } func (x *GetAllTaskTemplatesResponse_TaskTemplate_SubTask) GetId() string { @@ -1097,7 +1097,7 @@ type GetAllTaskTemplatesByCreatorResponse_TaskTemplate struct { func (x *GetAllTaskTemplatesByCreatorResponse_TaskTemplate) Reset() { *x = GetAllTaskTemplatesByCreatorResponse_TaskTemplate{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[21] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1110,7 +1110,7 @@ func (x *GetAllTaskTemplatesByCreatorResponse_TaskTemplate) String() string { func (*GetAllTaskTemplatesByCreatorResponse_TaskTemplate) ProtoMessage() {} func (x *GetAllTaskTemplatesByCreatorResponse_TaskTemplate) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[21] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1123,7 +1123,7 @@ func (x *GetAllTaskTemplatesByCreatorResponse_TaskTemplate) ProtoReflect() proto // Deprecated: Use GetAllTaskTemplatesByCreatorResponse_TaskTemplate.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesByCreatorResponse_TaskTemplate) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{15, 0} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{15, 0} } func (x *GetAllTaskTemplatesByCreatorResponse_TaskTemplate) GetId() string { @@ -1174,7 +1174,7 @@ type GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask struct { func (x *GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask) Reset() { *x = GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[22] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1187,7 +1187,7 @@ func (x *GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask) String() str func (*GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask) ProtoMessage() {} func (x *GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[22] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1200,7 +1200,7 @@ func (x *GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask) ProtoReflect // Deprecated: Use GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{15, 0, 0} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{15, 0, 0} } func (x *GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask) GetId() string { @@ -1240,7 +1240,7 @@ type GetAllTaskTemplatesByWardResponse_TaskTemplate struct { func (x *GetAllTaskTemplatesByWardResponse_TaskTemplate) Reset() { *x = GetAllTaskTemplatesByWardResponse_TaskTemplate{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[23] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1253,7 +1253,7 @@ func (x *GetAllTaskTemplatesByWardResponse_TaskTemplate) String() string { func (*GetAllTaskTemplatesByWardResponse_TaskTemplate) ProtoMessage() {} func (x *GetAllTaskTemplatesByWardResponse_TaskTemplate) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[23] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1266,7 +1266,7 @@ func (x *GetAllTaskTemplatesByWardResponse_TaskTemplate) ProtoReflect() protoref // Deprecated: Use GetAllTaskTemplatesByWardResponse_TaskTemplate.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesByWardResponse_TaskTemplate) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{17, 0} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{17, 0} } func (x *GetAllTaskTemplatesByWardResponse_TaskTemplate) GetId() string { @@ -1324,7 +1324,7 @@ type GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask struct { func (x *GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask) Reset() { *x = GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[24] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1337,7 +1337,7 @@ func (x *GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask) String() string func (*GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask) ProtoMessage() {} func (x *GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[24] + mi := &file_services_task_svc_v1_task_template_svc_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1350,7 +1350,7 @@ func (x *GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask) ProtoReflect() // Deprecated: Use GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask.ProtoReflect.Descriptor instead. func (*GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{17, 0, 0} + return file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP(), []int{17, 0, 0} } func (x *GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask) GetId() string { @@ -1374,155 +1374,152 @@ func (x *GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask) GetName() strin return "" } -var File_proto_services_task_svc_v1_task_template_svc_proto protoreflect.FileDescriptor - -var file_proto_services_task_svc_v1_task_template_svc_proto_rawDesc = []byte{ - 0x0a, 0x32, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x22, 0x8a, 0x02, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x07, 0x77, 0x61, 0x72, - 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x06, 0x77, 0x61, - 0x72, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x59, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, - 0x73, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, - 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, - 0x6b, 0x73, 0x1a, 0x1d, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x2c, 0x0a, - 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x47, - 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd7, 0x03, 0x0a, 0x1b, 0x47, 0x65, - 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x09, 0x74, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, - 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x52, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x1a, 0xd3, 0x02, - 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, - 0x12, 0x68, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, - 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x57, 0x0a, 0x07, 0x53, 0x75, - 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, - 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, - 0x0a, 0x20, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, +var File_services_task_svc_v1_task_template_svc_proto protoreflect.FileDescriptor + +var file_services_task_svc_v1_task_template_svc_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x22, 0x84, 0x02, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, + 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, + 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x53, 0x0a, 0x08, 0x73, + 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, + 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, + 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x1a, 0x1d, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, + 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x0a, 0x0a, 0x08, 0x5f, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x2c, 0x0a, 0x1a, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x47, 0x65, 0x74, + 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xcb, 0x03, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, + 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x09, 0x74, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x1a, 0xcd, 0x02, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, + 0x69, 0x73, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x62, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, + 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, + 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, + 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x57, 0x0a, 0x07, + 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, + 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x22, 0x23, 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, - 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, - 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1c, - 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x63, 0x0a, 0x20, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, - 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x23, 0x0a, 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x60, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x33, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, + 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, + 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x32, 0x0a, 0x20, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x22, 0x23, 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, + 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x19, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, + 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x63, + 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x49, + 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0x23, 0x0a, 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, + 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x60, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, - 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x7d, 0x0a, - 0x23, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x62, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x42, 0x79, 0x12, 0x26, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6f, - 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x72, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, - 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x22, 0xd3, 0x03, 0x0a, - 0x24, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x73, 0x1a, 0xbd, 0x02, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, - 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, - 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x71, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, - 0x6b, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x55, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, - 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x57, 0x0a, 0x07, 0x53, 0x75, 0x62, - 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x3b, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, - 0xe9, 0x03, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x33, 0x0a, 0x21, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, + 0x7d, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x5f, 0x62, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x26, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x70, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, + 0x0d, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x22, 0xc7, + 0x03, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x52, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x1a, 0xb7, + 0x02, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x12, 0x6b, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, + 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x75, + 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, + 0x57, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3b, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, + 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, + 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0xdd, 0x03, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, + 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x57, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x09, 0x74, + 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x1a, - 0xd9, 0x02, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0xd3, 0x02, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, @@ -1531,187 +1528,177 @@ var file_proto_services_task_svc_v1_task_template_svc_proto_rawDesc = []byte{ 0x6c, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x42, 0x79, 0x12, 0x6e, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, - 0x6b, 0x73, 0x1a, 0x57, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, - 0x10, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xd2, 0x0a, 0x0a, 0x13, - 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x85, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, - 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x35, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, - 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x13, - 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x73, 0x12, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, + 0x42, 0x79, 0x12, 0x68, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, + 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, + 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x54, 0x61, + 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x57, 0x0a, 0x07, + 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xe2, 0x09, 0x0a, 0x13, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x79, 0x0a, + 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, + 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, + 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x35, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x9a, - 0x01, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x3c, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, - 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, - 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x12, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x12, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, + 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x8e, 0x01, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, + 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, + 0x36, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, + 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, + 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, - 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x9a, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, - 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, - 0x6b, 0x12, 0x3c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x3d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, - 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x9a, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x3c, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8e, 0x01, + 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x36, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8e, + 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x36, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, - 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa3, 0x01, - 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x3f, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, - 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, - 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x40, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, - 0x42, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x9a, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, - 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, - 0x64, 0x12, 0x3c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x62, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x97, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x12, 0x39, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, + 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8e, 0x01, 0x0a, 0x19, 0x47, 0x65, + 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x12, 0x36, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x3d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, - 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x42, 0xda, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x42, 0x14, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, - 0x74, 0x61, 0x73, 0x6b, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x54, 0xaa, 0x02, - 0x19, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, - 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x25, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, - 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x1c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x37, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x73, + 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x79, 0x57, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xbb, 0x01, 0x0a, 0x18, 0x63, + 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x1b, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, + 0x54, 0x58, 0xaa, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, + 0x73, 0x6b, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, + 0x1f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, + 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x15, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, + 0x6b, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_proto_services_task_svc_v1_task_template_svc_proto_rawDescOnce sync.Once - file_proto_services_task_svc_v1_task_template_svc_proto_rawDescData = file_proto_services_task_svc_v1_task_template_svc_proto_rawDesc + file_services_task_svc_v1_task_template_svc_proto_rawDescOnce sync.Once + file_services_task_svc_v1_task_template_svc_proto_rawDescData = file_services_task_svc_v1_task_template_svc_proto_rawDesc ) -func file_proto_services_task_svc_v1_task_template_svc_proto_rawDescGZIP() []byte { - file_proto_services_task_svc_v1_task_template_svc_proto_rawDescOnce.Do(func() { - file_proto_services_task_svc_v1_task_template_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_task_svc_v1_task_template_svc_proto_rawDescData) +func file_services_task_svc_v1_task_template_svc_proto_rawDescGZIP() []byte { + file_services_task_svc_v1_task_template_svc_proto_rawDescOnce.Do(func() { + file_services_task_svc_v1_task_template_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_task_svc_v1_task_template_svc_proto_rawDescData) }) - return file_proto_services_task_svc_v1_task_template_svc_proto_rawDescData -} - -var file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 25) -var file_proto_services_task_svc_v1_task_template_svc_proto_goTypes = []interface{}{ - (*CreateTaskTemplateRequest)(nil), // 0: proto.services.task_svc.v1.CreateTaskTemplateRequest - (*CreateTaskTemplateResponse)(nil), // 1: proto.services.task_svc.v1.CreateTaskTemplateResponse - (*GetAllTaskTemplatesRequest)(nil), // 2: proto.services.task_svc.v1.GetAllTaskTemplatesRequest - (*GetAllTaskTemplatesResponse)(nil), // 3: proto.services.task_svc.v1.GetAllTaskTemplatesResponse - (*DeleteTaskTemplateRequest)(nil), // 4: proto.services.task_svc.v1.DeleteTaskTemplateRequest - (*DeleteTaskTemplateResponse)(nil), // 5: proto.services.task_svc.v1.DeleteTaskTemplateResponse - (*DeleteTaskTemplateSubTaskRequest)(nil), // 6: proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest - (*DeleteTaskTemplateSubTaskResponse)(nil), // 7: proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse - (*UpdateTaskTemplateRequest)(nil), // 8: proto.services.task_svc.v1.UpdateTaskTemplateRequest - (*UpdateTaskTemplateResponse)(nil), // 9: proto.services.task_svc.v1.UpdateTaskTemplateResponse - (*UpdateTaskTemplateSubTaskRequest)(nil), // 10: proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest - (*UpdateTaskTemplateSubTaskResponse)(nil), // 11: proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse - (*CreateTaskTemplateSubTaskRequest)(nil), // 12: proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest - (*CreateTaskTemplateSubTaskResponse)(nil), // 13: proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse - (*GetAllTaskTemplatesByCreatorRequest)(nil), // 14: proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest - (*GetAllTaskTemplatesByCreatorResponse)(nil), // 15: proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse - (*GetAllTaskTemplatesByWardRequest)(nil), // 16: proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest - (*GetAllTaskTemplatesByWardResponse)(nil), // 17: proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse - (*CreateTaskTemplateRequest_SubTask)(nil), // 18: proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask - (*GetAllTaskTemplatesResponse_TaskTemplate)(nil), // 19: proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate - (*GetAllTaskTemplatesResponse_TaskTemplate_SubTask)(nil), // 20: proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask - (*GetAllTaskTemplatesByCreatorResponse_TaskTemplate)(nil), // 21: proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate - (*GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask)(nil), // 22: proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask - (*GetAllTaskTemplatesByWardResponse_TaskTemplate)(nil), // 23: proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate - (*GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask)(nil), // 24: proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask -} -var file_proto_services_task_svc_v1_task_template_svc_proto_depIdxs = []int32{ - 18, // 0: proto.services.task_svc.v1.CreateTaskTemplateRequest.subtasks:type_name -> proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask - 19, // 1: proto.services.task_svc.v1.GetAllTaskTemplatesResponse.templates:type_name -> proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate - 21, // 2: proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.templates:type_name -> proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate - 23, // 3: proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.templates:type_name -> proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate - 20, // 4: proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.subtasks:type_name -> proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask - 22, // 5: proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.subtasks:type_name -> proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask - 24, // 6: proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.subtasks:type_name -> proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask - 0, // 7: proto.services.task_svc.v1.TaskTemplateService.CreateTaskTemplate:input_type -> proto.services.task_svc.v1.CreateTaskTemplateRequest - 2, // 8: proto.services.task_svc.v1.TaskTemplateService.GetAllTaskTemplates:input_type -> proto.services.task_svc.v1.GetAllTaskTemplatesRequest - 4, // 9: proto.services.task_svc.v1.TaskTemplateService.DeleteTaskTemplate:input_type -> proto.services.task_svc.v1.DeleteTaskTemplateRequest - 6, // 10: proto.services.task_svc.v1.TaskTemplateService.DeleteTaskTemplateSubTask:input_type -> proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest - 8, // 11: proto.services.task_svc.v1.TaskTemplateService.UpdateTaskTemplate:input_type -> proto.services.task_svc.v1.UpdateTaskTemplateRequest - 10, // 12: proto.services.task_svc.v1.TaskTemplateService.UpdateTaskTemplateSubTask:input_type -> proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest - 12, // 13: proto.services.task_svc.v1.TaskTemplateService.CreateTaskTemplateSubTask:input_type -> proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest - 14, // 14: proto.services.task_svc.v1.TaskTemplateService.GetAllTaskTemplatesByCreator:input_type -> proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest - 16, // 15: proto.services.task_svc.v1.TaskTemplateService.GetAllTaskTemplatesByWard:input_type -> proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest - 1, // 16: proto.services.task_svc.v1.TaskTemplateService.CreateTaskTemplate:output_type -> proto.services.task_svc.v1.CreateTaskTemplateResponse - 3, // 17: proto.services.task_svc.v1.TaskTemplateService.GetAllTaskTemplates:output_type -> proto.services.task_svc.v1.GetAllTaskTemplatesResponse - 5, // 18: proto.services.task_svc.v1.TaskTemplateService.DeleteTaskTemplate:output_type -> proto.services.task_svc.v1.DeleteTaskTemplateResponse - 7, // 19: proto.services.task_svc.v1.TaskTemplateService.DeleteTaskTemplateSubTask:output_type -> proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse - 9, // 20: proto.services.task_svc.v1.TaskTemplateService.UpdateTaskTemplate:output_type -> proto.services.task_svc.v1.UpdateTaskTemplateResponse - 11, // 21: proto.services.task_svc.v1.TaskTemplateService.UpdateTaskTemplateSubTask:output_type -> proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse - 13, // 22: proto.services.task_svc.v1.TaskTemplateService.CreateTaskTemplateSubTask:output_type -> proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse - 15, // 23: proto.services.task_svc.v1.TaskTemplateService.GetAllTaskTemplatesByCreator:output_type -> proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse - 17, // 24: proto.services.task_svc.v1.TaskTemplateService.GetAllTaskTemplatesByWard:output_type -> proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse + return file_services_task_svc_v1_task_template_svc_proto_rawDescData +} + +var file_services_task_svc_v1_task_template_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 25) +var file_services_task_svc_v1_task_template_svc_proto_goTypes = []interface{}{ + (*CreateTaskTemplateRequest)(nil), // 0: services.task_svc.v1.CreateTaskTemplateRequest + (*CreateTaskTemplateResponse)(nil), // 1: services.task_svc.v1.CreateTaskTemplateResponse + (*GetAllTaskTemplatesRequest)(nil), // 2: services.task_svc.v1.GetAllTaskTemplatesRequest + (*GetAllTaskTemplatesResponse)(nil), // 3: services.task_svc.v1.GetAllTaskTemplatesResponse + (*DeleteTaskTemplateRequest)(nil), // 4: services.task_svc.v1.DeleteTaskTemplateRequest + (*DeleteTaskTemplateResponse)(nil), // 5: services.task_svc.v1.DeleteTaskTemplateResponse + (*DeleteTaskTemplateSubTaskRequest)(nil), // 6: services.task_svc.v1.DeleteTaskTemplateSubTaskRequest + (*DeleteTaskTemplateSubTaskResponse)(nil), // 7: services.task_svc.v1.DeleteTaskTemplateSubTaskResponse + (*UpdateTaskTemplateRequest)(nil), // 8: services.task_svc.v1.UpdateTaskTemplateRequest + (*UpdateTaskTemplateResponse)(nil), // 9: services.task_svc.v1.UpdateTaskTemplateResponse + (*UpdateTaskTemplateSubTaskRequest)(nil), // 10: services.task_svc.v1.UpdateTaskTemplateSubTaskRequest + (*UpdateTaskTemplateSubTaskResponse)(nil), // 11: services.task_svc.v1.UpdateTaskTemplateSubTaskResponse + (*CreateTaskTemplateSubTaskRequest)(nil), // 12: services.task_svc.v1.CreateTaskTemplateSubTaskRequest + (*CreateTaskTemplateSubTaskResponse)(nil), // 13: services.task_svc.v1.CreateTaskTemplateSubTaskResponse + (*GetAllTaskTemplatesByCreatorRequest)(nil), // 14: services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest + (*GetAllTaskTemplatesByCreatorResponse)(nil), // 15: services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse + (*GetAllTaskTemplatesByWardRequest)(nil), // 16: services.task_svc.v1.GetAllTaskTemplatesByWardRequest + (*GetAllTaskTemplatesByWardResponse)(nil), // 17: services.task_svc.v1.GetAllTaskTemplatesByWardResponse + (*CreateTaskTemplateRequest_SubTask)(nil), // 18: services.task_svc.v1.CreateTaskTemplateRequest.SubTask + (*GetAllTaskTemplatesResponse_TaskTemplate)(nil), // 19: services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate + (*GetAllTaskTemplatesResponse_TaskTemplate_SubTask)(nil), // 20: services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask + (*GetAllTaskTemplatesByCreatorResponse_TaskTemplate)(nil), // 21: services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate + (*GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask)(nil), // 22: services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask + (*GetAllTaskTemplatesByWardResponse_TaskTemplate)(nil), // 23: services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate + (*GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask)(nil), // 24: services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask +} +var file_services_task_svc_v1_task_template_svc_proto_depIdxs = []int32{ + 18, // 0: services.task_svc.v1.CreateTaskTemplateRequest.subtasks:type_name -> services.task_svc.v1.CreateTaskTemplateRequest.SubTask + 19, // 1: services.task_svc.v1.GetAllTaskTemplatesResponse.templates:type_name -> services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate + 21, // 2: services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.templates:type_name -> services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate + 23, // 3: services.task_svc.v1.GetAllTaskTemplatesByWardResponse.templates:type_name -> services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate + 20, // 4: services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.subtasks:type_name -> services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask + 22, // 5: services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.subtasks:type_name -> services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask + 24, // 6: services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.subtasks:type_name -> services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask + 0, // 7: services.task_svc.v1.TaskTemplateService.CreateTaskTemplate:input_type -> services.task_svc.v1.CreateTaskTemplateRequest + 2, // 8: services.task_svc.v1.TaskTemplateService.GetAllTaskTemplates:input_type -> services.task_svc.v1.GetAllTaskTemplatesRequest + 4, // 9: services.task_svc.v1.TaskTemplateService.DeleteTaskTemplate:input_type -> services.task_svc.v1.DeleteTaskTemplateRequest + 6, // 10: services.task_svc.v1.TaskTemplateService.DeleteTaskTemplateSubTask:input_type -> services.task_svc.v1.DeleteTaskTemplateSubTaskRequest + 8, // 11: services.task_svc.v1.TaskTemplateService.UpdateTaskTemplate:input_type -> services.task_svc.v1.UpdateTaskTemplateRequest + 10, // 12: services.task_svc.v1.TaskTemplateService.UpdateTaskTemplateSubTask:input_type -> services.task_svc.v1.UpdateTaskTemplateSubTaskRequest + 12, // 13: services.task_svc.v1.TaskTemplateService.CreateTaskTemplateSubTask:input_type -> services.task_svc.v1.CreateTaskTemplateSubTaskRequest + 14, // 14: services.task_svc.v1.TaskTemplateService.GetAllTaskTemplatesByCreator:input_type -> services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest + 16, // 15: services.task_svc.v1.TaskTemplateService.GetAllTaskTemplatesByWard:input_type -> services.task_svc.v1.GetAllTaskTemplatesByWardRequest + 1, // 16: services.task_svc.v1.TaskTemplateService.CreateTaskTemplate:output_type -> services.task_svc.v1.CreateTaskTemplateResponse + 3, // 17: services.task_svc.v1.TaskTemplateService.GetAllTaskTemplates:output_type -> services.task_svc.v1.GetAllTaskTemplatesResponse + 5, // 18: services.task_svc.v1.TaskTemplateService.DeleteTaskTemplate:output_type -> services.task_svc.v1.DeleteTaskTemplateResponse + 7, // 19: services.task_svc.v1.TaskTemplateService.DeleteTaskTemplateSubTask:output_type -> services.task_svc.v1.DeleteTaskTemplateSubTaskResponse + 9, // 20: services.task_svc.v1.TaskTemplateService.UpdateTaskTemplate:output_type -> services.task_svc.v1.UpdateTaskTemplateResponse + 11, // 21: services.task_svc.v1.TaskTemplateService.UpdateTaskTemplateSubTask:output_type -> services.task_svc.v1.UpdateTaskTemplateSubTaskResponse + 13, // 22: services.task_svc.v1.TaskTemplateService.CreateTaskTemplateSubTask:output_type -> services.task_svc.v1.CreateTaskTemplateSubTaskResponse + 15, // 23: services.task_svc.v1.TaskTemplateService.GetAllTaskTemplatesByCreator:output_type -> services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse + 17, // 24: services.task_svc.v1.TaskTemplateService.GetAllTaskTemplatesByWard:output_type -> services.task_svc.v1.GetAllTaskTemplatesByWardResponse 16, // [16:25] is the sub-list for method output_type 7, // [7:16] is the sub-list for method input_type 7, // [7:7] is the sub-list for extension type_name @@ -1719,13 +1706,13 @@ var file_proto_services_task_svc_v1_task_template_svc_proto_depIdxs = []int32{ 0, // [0:7] is the sub-list for field type_name } -func init() { file_proto_services_task_svc_v1_task_template_svc_proto_init() } -func file_proto_services_task_svc_v1_task_template_svc_proto_init() { - if File_proto_services_task_svc_v1_task_template_svc_proto != nil { +func init() { file_services_task_svc_v1_task_template_svc_proto_init() } +func file_services_task_svc_v1_task_template_svc_proto_init() { + if File_services_task_svc_v1_task_template_svc_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTaskTemplateRequest); i { case 0: return &v.state @@ -1737,7 +1724,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTaskTemplateResponse); i { case 0: return &v.state @@ -1749,7 +1736,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesRequest); i { case 0: return &v.state @@ -1761,7 +1748,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesResponse); i { case 0: return &v.state @@ -1773,7 +1760,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteTaskTemplateRequest); i { case 0: return &v.state @@ -1785,7 +1772,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteTaskTemplateResponse); i { case 0: return &v.state @@ -1797,7 +1784,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteTaskTemplateSubTaskRequest); i { case 0: return &v.state @@ -1809,7 +1796,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteTaskTemplateSubTaskResponse); i { case 0: return &v.state @@ -1821,7 +1808,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateTaskTemplateRequest); i { case 0: return &v.state @@ -1833,7 +1820,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateTaskTemplateResponse); i { case 0: return &v.state @@ -1845,7 +1832,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateTaskTemplateSubTaskRequest); i { case 0: return &v.state @@ -1857,7 +1844,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateTaskTemplateSubTaskResponse); i { case 0: return &v.state @@ -1869,7 +1856,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTaskTemplateSubTaskRequest); i { case 0: return &v.state @@ -1881,7 +1868,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTaskTemplateSubTaskResponse); i { case 0: return &v.state @@ -1893,7 +1880,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesByCreatorRequest); i { case 0: return &v.state @@ -1905,7 +1892,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesByCreatorResponse); i { case 0: return &v.state @@ -1917,7 +1904,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesByWardRequest); i { case 0: return &v.state @@ -1929,7 +1916,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesByWardResponse); i { case 0: return &v.state @@ -1941,7 +1928,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTaskTemplateRequest_SubTask); i { case 0: return &v.state @@ -1953,7 +1940,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesResponse_TaskTemplate); i { case 0: return &v.state @@ -1965,7 +1952,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesResponse_TaskTemplate_SubTask); i { case 0: return &v.state @@ -1977,7 +1964,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesByCreatorResponse_TaskTemplate); i { case 0: return &v.state @@ -1989,7 +1976,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesByCreatorResponse_TaskTemplate_SubTask); i { case 0: return &v.state @@ -2001,7 +1988,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesByWardResponse_TaskTemplate); i { case 0: return &v.state @@ -2013,7 +2000,7 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_task_template_svc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllTaskTemplatesByWardResponse_TaskTemplate_SubTask); i { case 0: return &v.state @@ -2026,26 +2013,26 @@ func file_proto_services_task_svc_v1_task_template_svc_proto_init() { } } } - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[10].OneofWrappers = []interface{}{} - file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes[14].OneofWrappers = []interface{}{} + file_services_task_svc_v1_task_template_svc_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_services_task_svc_v1_task_template_svc_proto_msgTypes[8].OneofWrappers = []interface{}{} + file_services_task_svc_v1_task_template_svc_proto_msgTypes[10].OneofWrappers = []interface{}{} + file_services_task_svc_v1_task_template_svc_proto_msgTypes[14].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_task_svc_v1_task_template_svc_proto_rawDesc, + RawDescriptor: file_services_task_svc_v1_task_template_svc_proto_rawDesc, NumEnums: 0, NumMessages: 25, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_task_svc_v1_task_template_svc_proto_goTypes, - DependencyIndexes: file_proto_services_task_svc_v1_task_template_svc_proto_depIdxs, - MessageInfos: file_proto_services_task_svc_v1_task_template_svc_proto_msgTypes, + GoTypes: file_services_task_svc_v1_task_template_svc_proto_goTypes, + DependencyIndexes: file_services_task_svc_v1_task_template_svc_proto_depIdxs, + MessageInfos: file_services_task_svc_v1_task_template_svc_proto_msgTypes, }.Build() - File_proto_services_task_svc_v1_task_template_svc_proto = out.File - file_proto_services_task_svc_v1_task_template_svc_proto_rawDesc = nil - file_proto_services_task_svc_v1_task_template_svc_proto_goTypes = nil - file_proto_services_task_svc_v1_task_template_svc_proto_depIdxs = nil + File_services_task_svc_v1_task_template_svc_proto = out.File + file_services_task_svc_v1_task_template_svc_proto_rawDesc = nil + file_services_task_svc_v1_task_template_svc_proto_goTypes = nil + file_services_task_svc_v1_task_template_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/task_svc/v1/task_template_svc_grpc.pb.go b/gen/go/services/task_svc/v1/task_template_svc_grpc.pb.go similarity index 90% rename from gen/go/proto/services/task_svc/v1/task_template_svc_grpc.pb.go rename to gen/go/services/task_svc/v1/task_template_svc_grpc.pb.go index 3f64c6d99..c5086ca4b 100644 --- a/gen/go/proto/services/task_svc/v1/task_template_svc_grpc.pb.go +++ b/gen/go/services/task_svc/v1/task_template_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/task_svc/v1/task_template_svc.proto +// source: services/task_svc/v1/task_template_svc.proto package task_svc @@ -15,19 +15,19 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - TaskTemplateService_CreateTaskTemplate_FullMethodName = "/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplate" - TaskTemplateService_GetAllTaskTemplates_FullMethodName = "/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates" - TaskTemplateService_DeleteTaskTemplate_FullMethodName = "/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate" - TaskTemplateService_DeleteTaskTemplateSubTask_FullMethodName = "/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask" - TaskTemplateService_UpdateTaskTemplate_FullMethodName = "/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate" - TaskTemplateService_UpdateTaskTemplateSubTask_FullMethodName = "/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask" - TaskTemplateService_CreateTaskTemplateSubTask_FullMethodName = "/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask" - TaskTemplateService_GetAllTaskTemplatesByCreator_FullMethodName = "/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator" - TaskTemplateService_GetAllTaskTemplatesByWard_FullMethodName = "/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard" + TaskTemplateService_CreateTaskTemplate_FullMethodName = "/services.task_svc.v1.TaskTemplateService/CreateTaskTemplate" + TaskTemplateService_GetAllTaskTemplates_FullMethodName = "/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates" + TaskTemplateService_DeleteTaskTemplate_FullMethodName = "/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate" + TaskTemplateService_DeleteTaskTemplateSubTask_FullMethodName = "/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask" + TaskTemplateService_UpdateTaskTemplate_FullMethodName = "/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate" + TaskTemplateService_UpdateTaskTemplateSubTask_FullMethodName = "/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask" + TaskTemplateService_CreateTaskTemplateSubTask_FullMethodName = "/services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask" + TaskTemplateService_GetAllTaskTemplatesByCreator_FullMethodName = "/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator" + TaskTemplateService_GetAllTaskTemplatesByWard_FullMethodName = "/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard" ) // TaskTemplateServiceClient is the client API for TaskTemplateService service. @@ -54,8 +54,9 @@ func NewTaskTemplateServiceClient(cc grpc.ClientConnInterface) TaskTemplateServi } func (c *taskTemplateServiceClient) CreateTaskTemplate(ctx context.Context, in *CreateTaskTemplateRequest, opts ...grpc.CallOption) (*CreateTaskTemplateResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateTaskTemplateResponse) - err := c.cc.Invoke(ctx, TaskTemplateService_CreateTaskTemplate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskTemplateService_CreateTaskTemplate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -63,8 +64,9 @@ func (c *taskTemplateServiceClient) CreateTaskTemplate(ctx context.Context, in * } func (c *taskTemplateServiceClient) GetAllTaskTemplates(ctx context.Context, in *GetAllTaskTemplatesRequest, opts ...grpc.CallOption) (*GetAllTaskTemplatesResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAllTaskTemplatesResponse) - err := c.cc.Invoke(ctx, TaskTemplateService_GetAllTaskTemplates_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskTemplateService_GetAllTaskTemplates_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -72,8 +74,9 @@ func (c *taskTemplateServiceClient) GetAllTaskTemplates(ctx context.Context, in } func (c *taskTemplateServiceClient) DeleteTaskTemplate(ctx context.Context, in *DeleteTaskTemplateRequest, opts ...grpc.CallOption) (*DeleteTaskTemplateResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteTaskTemplateResponse) - err := c.cc.Invoke(ctx, TaskTemplateService_DeleteTaskTemplate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskTemplateService_DeleteTaskTemplate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -81,8 +84,9 @@ func (c *taskTemplateServiceClient) DeleteTaskTemplate(ctx context.Context, in * } func (c *taskTemplateServiceClient) DeleteTaskTemplateSubTask(ctx context.Context, in *DeleteTaskTemplateSubTaskRequest, opts ...grpc.CallOption) (*DeleteTaskTemplateSubTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteTaskTemplateSubTaskResponse) - err := c.cc.Invoke(ctx, TaskTemplateService_DeleteTaskTemplateSubTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskTemplateService_DeleteTaskTemplateSubTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -90,8 +94,9 @@ func (c *taskTemplateServiceClient) DeleteTaskTemplateSubTask(ctx context.Contex } func (c *taskTemplateServiceClient) UpdateTaskTemplate(ctx context.Context, in *UpdateTaskTemplateRequest, opts ...grpc.CallOption) (*UpdateTaskTemplateResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateTaskTemplateResponse) - err := c.cc.Invoke(ctx, TaskTemplateService_UpdateTaskTemplate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskTemplateService_UpdateTaskTemplate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -99,8 +104,9 @@ func (c *taskTemplateServiceClient) UpdateTaskTemplate(ctx context.Context, in * } func (c *taskTemplateServiceClient) UpdateTaskTemplateSubTask(ctx context.Context, in *UpdateTaskTemplateSubTaskRequest, opts ...grpc.CallOption) (*UpdateTaskTemplateSubTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateTaskTemplateSubTaskResponse) - err := c.cc.Invoke(ctx, TaskTemplateService_UpdateTaskTemplateSubTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskTemplateService_UpdateTaskTemplateSubTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -108,8 +114,9 @@ func (c *taskTemplateServiceClient) UpdateTaskTemplateSubTask(ctx context.Contex } func (c *taskTemplateServiceClient) CreateTaskTemplateSubTask(ctx context.Context, in *CreateTaskTemplateSubTaskRequest, opts ...grpc.CallOption) (*CreateTaskTemplateSubTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateTaskTemplateSubTaskResponse) - err := c.cc.Invoke(ctx, TaskTemplateService_CreateTaskTemplateSubTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskTemplateService_CreateTaskTemplateSubTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -117,8 +124,9 @@ func (c *taskTemplateServiceClient) CreateTaskTemplateSubTask(ctx context.Contex } func (c *taskTemplateServiceClient) GetAllTaskTemplatesByCreator(ctx context.Context, in *GetAllTaskTemplatesByCreatorRequest, opts ...grpc.CallOption) (*GetAllTaskTemplatesByCreatorResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAllTaskTemplatesByCreatorResponse) - err := c.cc.Invoke(ctx, TaskTemplateService_GetAllTaskTemplatesByCreator_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskTemplateService_GetAllTaskTemplatesByCreator_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -126,8 +134,9 @@ func (c *taskTemplateServiceClient) GetAllTaskTemplatesByCreator(ctx context.Con } func (c *taskTemplateServiceClient) GetAllTaskTemplatesByWard(ctx context.Context, in *GetAllTaskTemplatesByWardRequest, opts ...grpc.CallOption) (*GetAllTaskTemplatesByWardResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAllTaskTemplatesByWardResponse) - err := c.cc.Invoke(ctx, TaskTemplateService_GetAllTaskTemplatesByWard_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskTemplateService_GetAllTaskTemplatesByWard_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -360,7 +369,7 @@ func _TaskTemplateService_GetAllTaskTemplatesByWard_Handler(srv interface{}, ctx // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var TaskTemplateService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.task_svc.v1.TaskTemplateService", + ServiceName: "services.task_svc.v1.TaskTemplateService", HandlerType: (*TaskTemplateServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -401,5 +410,5 @@ var TaskTemplateService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/task_svc/v1/task_template_svc.proto", + Metadata: "services/task_svc/v1/task_template_svc.proto", } diff --git a/gen/go/proto/services/task_svc/v1/ward_svc.pb.go b/gen/go/services/task_svc/v1/ward_svc.pb.go similarity index 57% rename from gen/go/proto/services/task_svc/v1/ward_svc.pb.go rename to gen/go/services/task_svc/v1/ward_svc.pb.go index 7647aade3..3a40df16e 100644 --- a/gen/go/proto/services/task_svc/v1/ward_svc.pb.go +++ b/gen/go/services/task_svc/v1/ward_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/task_svc/v1/ward_svc.proto +// source: services/task_svc/v1/ward_svc.proto package task_svc @@ -31,7 +31,7 @@ type CreateWardRequest struct { func (x *CreateWardRequest) Reset() { *x = CreateWardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -44,7 +44,7 @@ func (x *CreateWardRequest) String() string { func (*CreateWardRequest) ProtoMessage() {} func (x *CreateWardRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[0] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -57,7 +57,7 @@ func (x *CreateWardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateWardRequest.ProtoReflect.Descriptor instead. func (*CreateWardRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{0} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{0} } func (x *CreateWardRequest) GetName() string { @@ -78,7 +78,7 @@ type CreateWardResponse struct { func (x *CreateWardResponse) Reset() { *x = CreateWardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -91,7 +91,7 @@ func (x *CreateWardResponse) String() string { func (*CreateWardResponse) ProtoMessage() {} func (x *CreateWardResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[1] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -104,7 +104,7 @@ func (x *CreateWardResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateWardResponse.ProtoReflect.Descriptor instead. func (*CreateWardResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{1} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{1} } func (x *CreateWardResponse) GetId() string { @@ -125,7 +125,7 @@ type GetWardRequest struct { func (x *GetWardRequest) Reset() { *x = GetWardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -138,7 +138,7 @@ func (x *GetWardRequest) String() string { func (*GetWardRequest) ProtoMessage() {} func (x *GetWardRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[2] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -151,7 +151,7 @@ func (x *GetWardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardRequest.ProtoReflect.Descriptor instead. func (*GetWardRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{2} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{2} } func (x *GetWardRequest) GetId() string { @@ -174,7 +174,7 @@ type GetWardResponse struct { func (x *GetWardResponse) Reset() { *x = GetWardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -187,7 +187,7 @@ func (x *GetWardResponse) String() string { func (*GetWardResponse) ProtoMessage() {} func (x *GetWardResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[3] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -200,7 +200,7 @@ func (x *GetWardResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardResponse.ProtoReflect.Descriptor instead. func (*GetWardResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{3} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{3} } func (x *GetWardResponse) GetId() string { @@ -233,7 +233,7 @@ type GetWardsRequest struct { func (x *GetWardsRequest) Reset() { *x = GetWardsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -246,7 +246,7 @@ func (x *GetWardsRequest) String() string { func (*GetWardsRequest) ProtoMessage() {} func (x *GetWardsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[4] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -259,7 +259,7 @@ func (x *GetWardsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardsRequest.ProtoReflect.Descriptor instead. func (*GetWardsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{4} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{4} } type GetWardsResponse struct { @@ -273,7 +273,7 @@ type GetWardsResponse struct { func (x *GetWardsResponse) Reset() { *x = GetWardsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -286,7 +286,7 @@ func (x *GetWardsResponse) String() string { func (*GetWardsResponse) ProtoMessage() {} func (x *GetWardsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[5] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -299,7 +299,7 @@ func (x *GetWardsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardsResponse.ProtoReflect.Descriptor instead. func (*GetWardsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{5} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{5} } func (x *GetWardsResponse) GetWards() []*GetWardsResponse_Ward { @@ -318,7 +318,7 @@ type GetRecentWardsRequest struct { func (x *GetRecentWardsRequest) Reset() { *x = GetRecentWardsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -331,7 +331,7 @@ func (x *GetRecentWardsRequest) String() string { func (*GetRecentWardsRequest) ProtoMessage() {} func (x *GetRecentWardsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[6] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -344,7 +344,7 @@ func (x *GetRecentWardsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRecentWardsRequest.ProtoReflect.Descriptor instead. func (*GetRecentWardsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{6} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{6} } type GetRecentWardsResponse struct { @@ -358,7 +358,7 @@ type GetRecentWardsResponse struct { func (x *GetRecentWardsResponse) Reset() { *x = GetRecentWardsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -371,7 +371,7 @@ func (x *GetRecentWardsResponse) String() string { func (*GetRecentWardsResponse) ProtoMessage() {} func (x *GetRecentWardsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[7] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -384,7 +384,7 @@ func (x *GetRecentWardsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRecentWardsResponse.ProtoReflect.Descriptor instead. func (*GetRecentWardsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{7} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{7} } func (x *GetRecentWardsResponse) GetWards() []*GetRecentWardsResponse_Ward { @@ -406,7 +406,7 @@ type UpdateWardRequest struct { func (x *UpdateWardRequest) Reset() { *x = UpdateWardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -419,7 +419,7 @@ func (x *UpdateWardRequest) String() string { func (*UpdateWardRequest) ProtoMessage() {} func (x *UpdateWardRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[8] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -432,7 +432,7 @@ func (x *UpdateWardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateWardRequest.ProtoReflect.Descriptor instead. func (*UpdateWardRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{8} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{8} } func (x *UpdateWardRequest) GetId() string { @@ -458,7 +458,7 @@ type UpdateWardResponse struct { func (x *UpdateWardResponse) Reset() { *x = UpdateWardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -471,7 +471,7 @@ func (x *UpdateWardResponse) String() string { func (*UpdateWardResponse) ProtoMessage() {} func (x *UpdateWardResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[9] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -484,7 +484,7 @@ func (x *UpdateWardResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateWardResponse.ProtoReflect.Descriptor instead. func (*UpdateWardResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{9} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{9} } type DeleteWardRequest struct { @@ -498,7 +498,7 @@ type DeleteWardRequest struct { func (x *DeleteWardRequest) Reset() { *x = DeleteWardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -511,7 +511,7 @@ func (x *DeleteWardRequest) String() string { func (*DeleteWardRequest) ProtoMessage() {} func (x *DeleteWardRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[10] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -524,7 +524,7 @@ func (x *DeleteWardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteWardRequest.ProtoReflect.Descriptor instead. func (*DeleteWardRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{10} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{10} } func (x *DeleteWardRequest) GetId() string { @@ -543,7 +543,7 @@ type DeleteWardResponse struct { func (x *DeleteWardResponse) Reset() { *x = DeleteWardResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -556,7 +556,7 @@ func (x *DeleteWardResponse) String() string { func (*DeleteWardResponse) ProtoMessage() {} func (x *DeleteWardResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[11] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -569,7 +569,7 @@ func (x *DeleteWardResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteWardResponse.ProtoReflect.Descriptor instead. func (*DeleteWardResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{11} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{11} } type GetWardDetailsRequest struct { @@ -583,7 +583,7 @@ type GetWardDetailsRequest struct { func (x *GetWardDetailsRequest) Reset() { *x = GetWardDetailsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -596,7 +596,7 @@ func (x *GetWardDetailsRequest) String() string { func (*GetWardDetailsRequest) ProtoMessage() {} func (x *GetWardDetailsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[12] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -609,7 +609,7 @@ func (x *GetWardDetailsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardDetailsRequest.ProtoReflect.Descriptor instead. func (*GetWardDetailsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{12} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{12} } func (x *GetWardDetailsRequest) GetId() string { @@ -633,7 +633,7 @@ type GetWardDetailsResponse struct { func (x *GetWardDetailsResponse) Reset() { *x = GetWardDetailsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -646,7 +646,7 @@ func (x *GetWardDetailsResponse) String() string { func (*GetWardDetailsResponse) ProtoMessage() {} func (x *GetWardDetailsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[13] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -659,7 +659,7 @@ func (x *GetWardDetailsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardDetailsResponse.ProtoReflect.Descriptor instead. func (*GetWardDetailsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{13} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{13} } func (x *GetWardDetailsResponse) GetId() string { @@ -699,7 +699,7 @@ type GetWardOverviewsRequest struct { func (x *GetWardOverviewsRequest) Reset() { *x = GetWardOverviewsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -712,7 +712,7 @@ func (x *GetWardOverviewsRequest) String() string { func (*GetWardOverviewsRequest) ProtoMessage() {} func (x *GetWardOverviewsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[14] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -725,7 +725,7 @@ func (x *GetWardOverviewsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardOverviewsRequest.ProtoReflect.Descriptor instead. func (*GetWardOverviewsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{14} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{14} } type GetWardOverviewsResponse struct { @@ -739,7 +739,7 @@ type GetWardOverviewsResponse struct { func (x *GetWardOverviewsResponse) Reset() { *x = GetWardOverviewsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -752,7 +752,7 @@ func (x *GetWardOverviewsResponse) String() string { func (*GetWardOverviewsResponse) ProtoMessage() {} func (x *GetWardOverviewsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[15] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -765,7 +765,7 @@ func (x *GetWardOverviewsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardOverviewsResponse.ProtoReflect.Descriptor instead. func (*GetWardOverviewsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{15} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{15} } func (x *GetWardOverviewsResponse) GetWards() []*GetWardOverviewsResponse_Ward { @@ -787,7 +787,7 @@ type GetWardsResponse_Ward struct { func (x *GetWardsResponse_Ward) Reset() { *x = GetWardsResponse_Ward{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -800,7 +800,7 @@ func (x *GetWardsResponse_Ward) String() string { func (*GetWardsResponse_Ward) ProtoMessage() {} func (x *GetWardsResponse_Ward) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[16] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -813,7 +813,7 @@ func (x *GetWardsResponse_Ward) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardsResponse_Ward.ProtoReflect.Descriptor instead. func (*GetWardsResponse_Ward) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{5, 0} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{5, 0} } func (x *GetWardsResponse_Ward) GetId() string { @@ -846,7 +846,7 @@ type GetRecentWardsResponse_Ward struct { func (x *GetRecentWardsResponse_Ward) Reset() { *x = GetRecentWardsResponse_Ward{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -859,7 +859,7 @@ func (x *GetRecentWardsResponse_Ward) String() string { func (*GetRecentWardsResponse_Ward) ProtoMessage() {} func (x *GetRecentWardsResponse_Ward) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[17] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -872,7 +872,7 @@ func (x *GetRecentWardsResponse_Ward) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRecentWardsResponse_Ward.ProtoReflect.Descriptor instead. func (*GetRecentWardsResponse_Ward) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{7, 0} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{7, 0} } func (x *GetRecentWardsResponse_Ward) GetId() string { @@ -929,7 +929,7 @@ type GetWardDetailsResponse_Bed struct { func (x *GetWardDetailsResponse_Bed) Reset() { *x = GetWardDetailsResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -942,7 +942,7 @@ func (x *GetWardDetailsResponse_Bed) String() string { func (*GetWardDetailsResponse_Bed) ProtoMessage() {} func (x *GetWardDetailsResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[18] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -955,7 +955,7 @@ func (x *GetWardDetailsResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardDetailsResponse_Bed.ProtoReflect.Descriptor instead. func (*GetWardDetailsResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{13, 0} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{13, 0} } func (x *GetWardDetailsResponse_Bed) GetId() string { @@ -984,7 +984,7 @@ type GetWardDetailsResponse_Subtask struct { func (x *GetWardDetailsResponse_Subtask) Reset() { *x = GetWardDetailsResponse_Subtask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -997,7 +997,7 @@ func (x *GetWardDetailsResponse_Subtask) String() string { func (*GetWardDetailsResponse_Subtask) ProtoMessage() {} func (x *GetWardDetailsResponse_Subtask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[19] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1010,7 +1010,7 @@ func (x *GetWardDetailsResponse_Subtask) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardDetailsResponse_Subtask.ProtoReflect.Descriptor instead. func (*GetWardDetailsResponse_Subtask) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{13, 1} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{13, 1} } func (x *GetWardDetailsResponse_Subtask) GetId() string { @@ -1040,7 +1040,7 @@ type GetWardDetailsResponse_Room struct { func (x *GetWardDetailsResponse_Room) Reset() { *x = GetWardDetailsResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1053,7 +1053,7 @@ func (x *GetWardDetailsResponse_Room) String() string { func (*GetWardDetailsResponse_Room) ProtoMessage() {} func (x *GetWardDetailsResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[20] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1066,7 +1066,7 @@ func (x *GetWardDetailsResponse_Room) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardDetailsResponse_Room.ProtoReflect.Descriptor instead. func (*GetWardDetailsResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{13, 2} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{13, 2} } func (x *GetWardDetailsResponse_Room) GetId() string { @@ -1103,7 +1103,7 @@ type GetWardDetailsResponse_TaskTemplate struct { func (x *GetWardDetailsResponse_TaskTemplate) Reset() { *x = GetWardDetailsResponse_TaskTemplate{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[21] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1116,7 +1116,7 @@ func (x *GetWardDetailsResponse_TaskTemplate) String() string { func (*GetWardDetailsResponse_TaskTemplate) ProtoMessage() {} func (x *GetWardDetailsResponse_TaskTemplate) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[21] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1129,7 +1129,7 @@ func (x *GetWardDetailsResponse_TaskTemplate) ProtoReflect() protoreflect.Messag // Deprecated: Use GetWardDetailsResponse_TaskTemplate.ProtoReflect.Descriptor instead. func (*GetWardDetailsResponse_TaskTemplate) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{13, 3} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{13, 3} } func (x *GetWardDetailsResponse_TaskTemplate) GetId() string { @@ -1169,7 +1169,7 @@ type GetWardOverviewsResponse_Ward struct { func (x *GetWardOverviewsResponse_Ward) Reset() { *x = GetWardOverviewsResponse_Ward{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[22] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1182,7 +1182,7 @@ func (x *GetWardOverviewsResponse_Ward) String() string { func (*GetWardOverviewsResponse_Ward) ProtoMessage() {} func (x *GetWardOverviewsResponse_Ward) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[22] + mi := &file_services_task_svc_v1_ward_svc_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1195,7 +1195,7 @@ func (x *GetWardOverviewsResponse_Ward) ProtoReflect() protoreflect.Message { // Deprecated: Use GetWardOverviewsResponse_Ward.ProtoReflect.Descriptor instead. func (*GetWardOverviewsResponse_Ward) Descriptor() ([]byte, []int) { - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{15, 0} + return file_services_task_svc_v1_ward_svc_proto_rawDescGZIP(), []int{15, 0} } func (x *GetWardOverviewsResponse_Ward) GetId() string { @@ -1240,261 +1240,250 @@ func (x *GetWardOverviewsResponse_Ward) GetTasksDone() uint32 { return 0 } -var File_proto_services_task_svc_v1_ward_svc_proto protoreflect.FileDescriptor - -var file_proto_services_task_svc_v1_ward_svc_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x61, 0x72, - 0x64, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x27, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x24, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x20, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x57, - 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x57, - 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x87, 0x01, 0x0a, 0x10, - 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x47, 0x0a, 0x05, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x57, 0x61, - 0x72, 0x64, 0x52, 0x05, 0x77, 0x61, 0x72, 0x64, 0x73, 0x1a, 0x2a, 0x0a, 0x04, 0x57, 0x61, 0x72, - 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, - 0x6e, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x9b, - 0x02, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x57, 0x61, 0x72, 0x64, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x05, 0x77, 0x61, 0x72, - 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x57, - 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x57, 0x61, 0x72, - 0x64, 0x52, 0x05, 0x77, 0x61, 0x72, 0x64, 0x73, 0x1a, 0xb1, 0x01, 0x0a, 0x04, 0x57, 0x61, 0x72, - 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x65, 0x64, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x74, 0x6f, 0x64, 0x6f, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x54, 0x6f, 0x64, - 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x70, 0x72, - 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x61, - 0x73, 0x6b, 0x73, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, - 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x22, 0x45, 0x0a, 0x11, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x0a, 0x11, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, - 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xd2, 0x04, - 0x0a, 0x16, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x05, - 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x12, 0x66, 0x0a, 0x0e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x73, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x2d, - 0x0a, 0x07, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, +var File_services_task_svc_v1_ward_svc_proto protoreflect.FileDescriptor + +var file_services_task_svc_v1_ward_svc_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x27, 0x0a, 0x11, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x20, 0x0a, 0x0e, 0x47, 0x65, + 0x74, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5e, 0x0a, 0x0f, + 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x11, 0x0a, 0x0f, + 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x81, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, + 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x57, 0x61, 0x72, 0x64, + 0x52, 0x05, 0x77, 0x61, 0x72, 0x64, 0x73, 0x1a, 0x2a, 0x0a, 0x04, 0x57, 0x61, 0x72, 0x64, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, + 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x95, 0x02, 0x0a, + 0x16, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x77, 0x61, 0x72, 0x64, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x57, 0x61, 0x72, 0x64, 0x52, 0x05, 0x77, 0x61, 0x72, 0x64, 0x73, + 0x1a, 0xb1, 0x01, 0x0a, 0x04, 0x57, 0x61, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x76, 0x0a, - 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x04, 0x62, 0x65, 0x64, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x52, - 0x04, 0x62, 0x65, 0x64, 0x73, 0x1a, 0x8a, 0x01, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x62, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x62, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x73, 0x6b, 0x73, 0x5f, 0x74, 0x6f, 0x64, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x54, 0x6f, 0x64, 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x61, 0x73, + 0x6b, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x49, 0x6e, 0x50, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x64, + 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x44, 0x6f, 0x6e, 0x65, 0x22, 0x45, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, + 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x23, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x0a, 0x15, + 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xba, 0x04, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, + 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, + 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x05, 0x72, 0x6f, 0x6f, 0x6d, 0x73, 0x12, 0x60, 0x0a, + 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x57, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x52, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x1a, + 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x08, 0x73, 0x75, - 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x2d, 0x0a, 0x07, 0x53, 0x75, + 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x70, 0x0a, 0x04, 0x52, 0x6f, 0x6f, + 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, + 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x04, 0x62, 0x65, 0x64, 0x73, 0x1a, 0x84, 0x01, 0x0a, 0x0c, + 0x54, 0x61, 0x73, 0x6b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x50, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x4f, 0x76, 0x65, - 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x9f, 0x02, + 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x99, 0x02, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, - 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x05, 0x77, 0x61, - 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x4f, 0x76, - 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x57, 0x61, 0x72, 0x64, 0x52, 0x05, 0x77, 0x61, 0x72, 0x64, 0x73, 0x1a, 0xb1, 0x01, 0x0a, 0x04, - 0x57, 0x61, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x65, 0x64, 0x5f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x65, 0x64, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x74, - 0x6f, 0x64, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x73, - 0x54, 0x6f, 0x64, 0x6f, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x69, 0x6e, - 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x32, - 0xa0, 0x07, 0x0a, 0x0b, 0x57, 0x61, 0x72, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x6d, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x12, 0x2d, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, - 0x0a, 0x07, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x12, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, - 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, - 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, - 0x0e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x12, - 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x05, 0x77, 0x61, + 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x57, 0x61, 0x72, 0x64, 0x52, 0x05, + 0x77, 0x61, 0x72, 0x64, 0x73, 0x1a, 0xb1, 0x01, 0x0a, 0x04, 0x57, 0x61, 0x72, 0x64, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x74, 0x6f, 0x64, 0x6f, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x54, 0x6f, 0x64, 0x6f, 0x12, 0x2a, + 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, + 0x73, 0x6b, 0x73, 0x5f, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x32, 0xc0, 0x06, 0x0a, 0x0b, 0x57, 0x61, + 0x72, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x0a, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x07, + 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x12, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, + 0x64, 0x73, 0x12, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, + 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, + 0x57, 0x61, 0x72, 0x64, 0x73, 0x12, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x12, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, + 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, + 0x65, 0x6e, 0x74, 0x57, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, + 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, + 0x61, 0x72, 0x64, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x57, 0x61, 0x72, 0x64, 0x12, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x57, + 0x61, 0x72, 0x64, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x2d, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x4f, 0x76, 0x65, 0x72, 0x76, + 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, - 0x64, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x33, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x4f, - 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x57, 0x61, 0x72, 0x64, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x57, 0x61, - 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, + 0x65, 0x77, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, + 0x0e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, + 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, - 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x42, 0xd2, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x57, 0x61, 0x72, 0x64, 0x53, 0x76, 0x63, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2d, 0x73, - 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x54, 0xaa, 0x02, 0x19, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, - 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, - 0xe2, 0x02, 0x25, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, - 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xb3, 0x01, 0x0a, + 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x57, 0x61, 0x72, 0x64, 0x53, + 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, + 0x73, 0x6b, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x54, 0x58, 0xaa, 0x02, 0x13, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, + 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x3a, 0x3a, + 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_proto_services_task_svc_v1_ward_svc_proto_rawDescOnce sync.Once - file_proto_services_task_svc_v1_ward_svc_proto_rawDescData = file_proto_services_task_svc_v1_ward_svc_proto_rawDesc + file_services_task_svc_v1_ward_svc_proto_rawDescOnce sync.Once + file_services_task_svc_v1_ward_svc_proto_rawDescData = file_services_task_svc_v1_ward_svc_proto_rawDesc ) -func file_proto_services_task_svc_v1_ward_svc_proto_rawDescGZIP() []byte { - file_proto_services_task_svc_v1_ward_svc_proto_rawDescOnce.Do(func() { - file_proto_services_task_svc_v1_ward_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_task_svc_v1_ward_svc_proto_rawDescData) +func file_services_task_svc_v1_ward_svc_proto_rawDescGZIP() []byte { + file_services_task_svc_v1_ward_svc_proto_rawDescOnce.Do(func() { + file_services_task_svc_v1_ward_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_task_svc_v1_ward_svc_proto_rawDescData) }) - return file_proto_services_task_svc_v1_ward_svc_proto_rawDescData -} - -var file_proto_services_task_svc_v1_ward_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 23) -var file_proto_services_task_svc_v1_ward_svc_proto_goTypes = []interface{}{ - (*CreateWardRequest)(nil), // 0: proto.services.task_svc.v1.CreateWardRequest - (*CreateWardResponse)(nil), // 1: proto.services.task_svc.v1.CreateWardResponse - (*GetWardRequest)(nil), // 2: proto.services.task_svc.v1.GetWardRequest - (*GetWardResponse)(nil), // 3: proto.services.task_svc.v1.GetWardResponse - (*GetWardsRequest)(nil), // 4: proto.services.task_svc.v1.GetWardsRequest - (*GetWardsResponse)(nil), // 5: proto.services.task_svc.v1.GetWardsResponse - (*GetRecentWardsRequest)(nil), // 6: proto.services.task_svc.v1.GetRecentWardsRequest - (*GetRecentWardsResponse)(nil), // 7: proto.services.task_svc.v1.GetRecentWardsResponse - (*UpdateWardRequest)(nil), // 8: proto.services.task_svc.v1.UpdateWardRequest - (*UpdateWardResponse)(nil), // 9: proto.services.task_svc.v1.UpdateWardResponse - (*DeleteWardRequest)(nil), // 10: proto.services.task_svc.v1.DeleteWardRequest - (*DeleteWardResponse)(nil), // 11: proto.services.task_svc.v1.DeleteWardResponse - (*GetWardDetailsRequest)(nil), // 12: proto.services.task_svc.v1.GetWardDetailsRequest - (*GetWardDetailsResponse)(nil), // 13: proto.services.task_svc.v1.GetWardDetailsResponse - (*GetWardOverviewsRequest)(nil), // 14: proto.services.task_svc.v1.GetWardOverviewsRequest - (*GetWardOverviewsResponse)(nil), // 15: proto.services.task_svc.v1.GetWardOverviewsResponse - (*GetWardsResponse_Ward)(nil), // 16: proto.services.task_svc.v1.GetWardsResponse.Ward - (*GetRecentWardsResponse_Ward)(nil), // 17: proto.services.task_svc.v1.GetRecentWardsResponse.Ward - (*GetWardDetailsResponse_Bed)(nil), // 18: proto.services.task_svc.v1.GetWardDetailsResponse.Bed - (*GetWardDetailsResponse_Subtask)(nil), // 19: proto.services.task_svc.v1.GetWardDetailsResponse.Subtask - (*GetWardDetailsResponse_Room)(nil), // 20: proto.services.task_svc.v1.GetWardDetailsResponse.Room - (*GetWardDetailsResponse_TaskTemplate)(nil), // 21: proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate - (*GetWardOverviewsResponse_Ward)(nil), // 22: proto.services.task_svc.v1.GetWardOverviewsResponse.Ward -} -var file_proto_services_task_svc_v1_ward_svc_proto_depIdxs = []int32{ - 16, // 0: proto.services.task_svc.v1.GetWardsResponse.wards:type_name -> proto.services.task_svc.v1.GetWardsResponse.Ward - 17, // 1: proto.services.task_svc.v1.GetRecentWardsResponse.wards:type_name -> proto.services.task_svc.v1.GetRecentWardsResponse.Ward - 20, // 2: proto.services.task_svc.v1.GetWardDetailsResponse.rooms:type_name -> proto.services.task_svc.v1.GetWardDetailsResponse.Room - 21, // 3: proto.services.task_svc.v1.GetWardDetailsResponse.task_templates:type_name -> proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate - 22, // 4: proto.services.task_svc.v1.GetWardOverviewsResponse.wards:type_name -> proto.services.task_svc.v1.GetWardOverviewsResponse.Ward - 18, // 5: proto.services.task_svc.v1.GetWardDetailsResponse.Room.beds:type_name -> proto.services.task_svc.v1.GetWardDetailsResponse.Bed - 19, // 6: proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.subtasks:type_name -> proto.services.task_svc.v1.GetWardDetailsResponse.Subtask - 0, // 7: proto.services.task_svc.v1.WardService.CreateWard:input_type -> proto.services.task_svc.v1.CreateWardRequest - 2, // 8: proto.services.task_svc.v1.WardService.GetWard:input_type -> proto.services.task_svc.v1.GetWardRequest - 4, // 9: proto.services.task_svc.v1.WardService.GetWards:input_type -> proto.services.task_svc.v1.GetWardsRequest - 6, // 10: proto.services.task_svc.v1.WardService.GetRecentWards:input_type -> proto.services.task_svc.v1.GetRecentWardsRequest - 8, // 11: proto.services.task_svc.v1.WardService.UpdateWard:input_type -> proto.services.task_svc.v1.UpdateWardRequest - 10, // 12: proto.services.task_svc.v1.WardService.DeleteWard:input_type -> proto.services.task_svc.v1.DeleteWardRequest - 14, // 13: proto.services.task_svc.v1.WardService.GetWardOverviews:input_type -> proto.services.task_svc.v1.GetWardOverviewsRequest - 12, // 14: proto.services.task_svc.v1.WardService.GetWardDetails:input_type -> proto.services.task_svc.v1.GetWardDetailsRequest - 1, // 15: proto.services.task_svc.v1.WardService.CreateWard:output_type -> proto.services.task_svc.v1.CreateWardResponse - 3, // 16: proto.services.task_svc.v1.WardService.GetWard:output_type -> proto.services.task_svc.v1.GetWardResponse - 5, // 17: proto.services.task_svc.v1.WardService.GetWards:output_type -> proto.services.task_svc.v1.GetWardsResponse - 7, // 18: proto.services.task_svc.v1.WardService.GetRecentWards:output_type -> proto.services.task_svc.v1.GetRecentWardsResponse - 9, // 19: proto.services.task_svc.v1.WardService.UpdateWard:output_type -> proto.services.task_svc.v1.UpdateWardResponse - 11, // 20: proto.services.task_svc.v1.WardService.DeleteWard:output_type -> proto.services.task_svc.v1.DeleteWardResponse - 15, // 21: proto.services.task_svc.v1.WardService.GetWardOverviews:output_type -> proto.services.task_svc.v1.GetWardOverviewsResponse - 13, // 22: proto.services.task_svc.v1.WardService.GetWardDetails:output_type -> proto.services.task_svc.v1.GetWardDetailsResponse + return file_services_task_svc_v1_ward_svc_proto_rawDescData +} + +var file_services_task_svc_v1_ward_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_services_task_svc_v1_ward_svc_proto_goTypes = []interface{}{ + (*CreateWardRequest)(nil), // 0: services.task_svc.v1.CreateWardRequest + (*CreateWardResponse)(nil), // 1: services.task_svc.v1.CreateWardResponse + (*GetWardRequest)(nil), // 2: services.task_svc.v1.GetWardRequest + (*GetWardResponse)(nil), // 3: services.task_svc.v1.GetWardResponse + (*GetWardsRequest)(nil), // 4: services.task_svc.v1.GetWardsRequest + (*GetWardsResponse)(nil), // 5: services.task_svc.v1.GetWardsResponse + (*GetRecentWardsRequest)(nil), // 6: services.task_svc.v1.GetRecentWardsRequest + (*GetRecentWardsResponse)(nil), // 7: services.task_svc.v1.GetRecentWardsResponse + (*UpdateWardRequest)(nil), // 8: services.task_svc.v1.UpdateWardRequest + (*UpdateWardResponse)(nil), // 9: services.task_svc.v1.UpdateWardResponse + (*DeleteWardRequest)(nil), // 10: services.task_svc.v1.DeleteWardRequest + (*DeleteWardResponse)(nil), // 11: services.task_svc.v1.DeleteWardResponse + (*GetWardDetailsRequest)(nil), // 12: services.task_svc.v1.GetWardDetailsRequest + (*GetWardDetailsResponse)(nil), // 13: services.task_svc.v1.GetWardDetailsResponse + (*GetWardOverviewsRequest)(nil), // 14: services.task_svc.v1.GetWardOverviewsRequest + (*GetWardOverviewsResponse)(nil), // 15: services.task_svc.v1.GetWardOverviewsResponse + (*GetWardsResponse_Ward)(nil), // 16: services.task_svc.v1.GetWardsResponse.Ward + (*GetRecentWardsResponse_Ward)(nil), // 17: services.task_svc.v1.GetRecentWardsResponse.Ward + (*GetWardDetailsResponse_Bed)(nil), // 18: services.task_svc.v1.GetWardDetailsResponse.Bed + (*GetWardDetailsResponse_Subtask)(nil), // 19: services.task_svc.v1.GetWardDetailsResponse.Subtask + (*GetWardDetailsResponse_Room)(nil), // 20: services.task_svc.v1.GetWardDetailsResponse.Room + (*GetWardDetailsResponse_TaskTemplate)(nil), // 21: services.task_svc.v1.GetWardDetailsResponse.TaskTemplate + (*GetWardOverviewsResponse_Ward)(nil), // 22: services.task_svc.v1.GetWardOverviewsResponse.Ward +} +var file_services_task_svc_v1_ward_svc_proto_depIdxs = []int32{ + 16, // 0: services.task_svc.v1.GetWardsResponse.wards:type_name -> services.task_svc.v1.GetWardsResponse.Ward + 17, // 1: services.task_svc.v1.GetRecentWardsResponse.wards:type_name -> services.task_svc.v1.GetRecentWardsResponse.Ward + 20, // 2: services.task_svc.v1.GetWardDetailsResponse.rooms:type_name -> services.task_svc.v1.GetWardDetailsResponse.Room + 21, // 3: services.task_svc.v1.GetWardDetailsResponse.task_templates:type_name -> services.task_svc.v1.GetWardDetailsResponse.TaskTemplate + 22, // 4: services.task_svc.v1.GetWardOverviewsResponse.wards:type_name -> services.task_svc.v1.GetWardOverviewsResponse.Ward + 18, // 5: services.task_svc.v1.GetWardDetailsResponse.Room.beds:type_name -> services.task_svc.v1.GetWardDetailsResponse.Bed + 19, // 6: services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.subtasks:type_name -> services.task_svc.v1.GetWardDetailsResponse.Subtask + 0, // 7: services.task_svc.v1.WardService.CreateWard:input_type -> services.task_svc.v1.CreateWardRequest + 2, // 8: services.task_svc.v1.WardService.GetWard:input_type -> services.task_svc.v1.GetWardRequest + 4, // 9: services.task_svc.v1.WardService.GetWards:input_type -> services.task_svc.v1.GetWardsRequest + 6, // 10: services.task_svc.v1.WardService.GetRecentWards:input_type -> services.task_svc.v1.GetRecentWardsRequest + 8, // 11: services.task_svc.v1.WardService.UpdateWard:input_type -> services.task_svc.v1.UpdateWardRequest + 10, // 12: services.task_svc.v1.WardService.DeleteWard:input_type -> services.task_svc.v1.DeleteWardRequest + 14, // 13: services.task_svc.v1.WardService.GetWardOverviews:input_type -> services.task_svc.v1.GetWardOverviewsRequest + 12, // 14: services.task_svc.v1.WardService.GetWardDetails:input_type -> services.task_svc.v1.GetWardDetailsRequest + 1, // 15: services.task_svc.v1.WardService.CreateWard:output_type -> services.task_svc.v1.CreateWardResponse + 3, // 16: services.task_svc.v1.WardService.GetWard:output_type -> services.task_svc.v1.GetWardResponse + 5, // 17: services.task_svc.v1.WardService.GetWards:output_type -> services.task_svc.v1.GetWardsResponse + 7, // 18: services.task_svc.v1.WardService.GetRecentWards:output_type -> services.task_svc.v1.GetRecentWardsResponse + 9, // 19: services.task_svc.v1.WardService.UpdateWard:output_type -> services.task_svc.v1.UpdateWardResponse + 11, // 20: services.task_svc.v1.WardService.DeleteWard:output_type -> services.task_svc.v1.DeleteWardResponse + 15, // 21: services.task_svc.v1.WardService.GetWardOverviews:output_type -> services.task_svc.v1.GetWardOverviewsResponse + 13, // 22: services.task_svc.v1.WardService.GetWardDetails:output_type -> services.task_svc.v1.GetWardDetailsResponse 15, // [15:23] is the sub-list for method output_type 7, // [7:15] is the sub-list for method input_type 7, // [7:7] is the sub-list for extension type_name @@ -1502,13 +1491,13 @@ var file_proto_services_task_svc_v1_ward_svc_proto_depIdxs = []int32{ 0, // [0:7] is the sub-list for field type_name } -func init() { file_proto_services_task_svc_v1_ward_svc_proto_init() } -func file_proto_services_task_svc_v1_ward_svc_proto_init() { - if File_proto_services_task_svc_v1_ward_svc_proto != nil { +func init() { file_services_task_svc_v1_ward_svc_proto_init() } +func file_services_task_svc_v1_ward_svc_proto_init() { + if File_services_task_svc_v1_ward_svc_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateWardRequest); i { case 0: return &v.state @@ -1520,7 +1509,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateWardResponse); i { case 0: return &v.state @@ -1532,7 +1521,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardRequest); i { case 0: return &v.state @@ -1544,7 +1533,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardResponse); i { case 0: return &v.state @@ -1556,7 +1545,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardsRequest); i { case 0: return &v.state @@ -1568,7 +1557,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardsResponse); i { case 0: return &v.state @@ -1580,7 +1569,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentWardsRequest); i { case 0: return &v.state @@ -1592,7 +1581,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentWardsResponse); i { case 0: return &v.state @@ -1604,7 +1593,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateWardRequest); i { case 0: return &v.state @@ -1616,7 +1605,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateWardResponse); i { case 0: return &v.state @@ -1628,7 +1617,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteWardRequest); i { case 0: return &v.state @@ -1640,7 +1629,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteWardResponse); i { case 0: return &v.state @@ -1652,7 +1641,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardDetailsRequest); i { case 0: return &v.state @@ -1664,7 +1653,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardDetailsResponse); i { case 0: return &v.state @@ -1676,7 +1665,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardOverviewsRequest); i { case 0: return &v.state @@ -1688,7 +1677,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardOverviewsResponse); i { case 0: return &v.state @@ -1700,7 +1689,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardsResponse_Ward); i { case 0: return &v.state @@ -1712,7 +1701,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentWardsResponse_Ward); i { case 0: return &v.state @@ -1724,7 +1713,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardDetailsResponse_Bed); i { case 0: return &v.state @@ -1736,7 +1725,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardDetailsResponse_Subtask); i { case 0: return &v.state @@ -1748,7 +1737,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardDetailsResponse_Room); i { case 0: return &v.state @@ -1760,7 +1749,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardDetailsResponse_TaskTemplate); i { case 0: return &v.state @@ -1772,7 +1761,7 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { return nil } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_services_task_svc_v1_ward_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetWardOverviewsResponse_Ward); i { case 0: return &v.state @@ -1785,23 +1774,23 @@ func file_proto_services_task_svc_v1_ward_svc_proto_init() { } } } - file_proto_services_task_svc_v1_ward_svc_proto_msgTypes[8].OneofWrappers = []interface{}{} + file_services_task_svc_v1_ward_svc_proto_msgTypes[8].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_task_svc_v1_ward_svc_proto_rawDesc, + RawDescriptor: file_services_task_svc_v1_ward_svc_proto_rawDesc, NumEnums: 0, NumMessages: 23, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_task_svc_v1_ward_svc_proto_goTypes, - DependencyIndexes: file_proto_services_task_svc_v1_ward_svc_proto_depIdxs, - MessageInfos: file_proto_services_task_svc_v1_ward_svc_proto_msgTypes, + GoTypes: file_services_task_svc_v1_ward_svc_proto_goTypes, + DependencyIndexes: file_services_task_svc_v1_ward_svc_proto_depIdxs, + MessageInfos: file_services_task_svc_v1_ward_svc_proto_msgTypes, }.Build() - File_proto_services_task_svc_v1_ward_svc_proto = out.File - file_proto_services_task_svc_v1_ward_svc_proto_rawDesc = nil - file_proto_services_task_svc_v1_ward_svc_proto_goTypes = nil - file_proto_services_task_svc_v1_ward_svc_proto_depIdxs = nil + File_services_task_svc_v1_ward_svc_proto = out.File + file_services_task_svc_v1_ward_svc_proto_rawDesc = nil + file_services_task_svc_v1_ward_svc_proto_goTypes = nil + file_services_task_svc_v1_ward_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/task_svc/v1/ward_svc_grpc.pb.go b/gen/go/services/task_svc/v1/ward_svc_grpc.pb.go similarity index 88% rename from gen/go/proto/services/task_svc/v1/ward_svc_grpc.pb.go rename to gen/go/services/task_svc/v1/ward_svc_grpc.pb.go index 257b47e66..5edddd84b 100644 --- a/gen/go/proto/services/task_svc/v1/ward_svc_grpc.pb.go +++ b/gen/go/services/task_svc/v1/ward_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/task_svc/v1/ward_svc.proto +// source: services/task_svc/v1/ward_svc.proto package task_svc @@ -15,18 +15,18 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - WardService_CreateWard_FullMethodName = "/proto.services.task_svc.v1.WardService/CreateWard" - WardService_GetWard_FullMethodName = "/proto.services.task_svc.v1.WardService/GetWard" - WardService_GetWards_FullMethodName = "/proto.services.task_svc.v1.WardService/GetWards" - WardService_GetRecentWards_FullMethodName = "/proto.services.task_svc.v1.WardService/GetRecentWards" - WardService_UpdateWard_FullMethodName = "/proto.services.task_svc.v1.WardService/UpdateWard" - WardService_DeleteWard_FullMethodName = "/proto.services.task_svc.v1.WardService/DeleteWard" - WardService_GetWardOverviews_FullMethodName = "/proto.services.task_svc.v1.WardService/GetWardOverviews" - WardService_GetWardDetails_FullMethodName = "/proto.services.task_svc.v1.WardService/GetWardDetails" + WardService_CreateWard_FullMethodName = "/services.task_svc.v1.WardService/CreateWard" + WardService_GetWard_FullMethodName = "/services.task_svc.v1.WardService/GetWard" + WardService_GetWards_FullMethodName = "/services.task_svc.v1.WardService/GetWards" + WardService_GetRecentWards_FullMethodName = "/services.task_svc.v1.WardService/GetRecentWards" + WardService_UpdateWard_FullMethodName = "/services.task_svc.v1.WardService/UpdateWard" + WardService_DeleteWard_FullMethodName = "/services.task_svc.v1.WardService/DeleteWard" + WardService_GetWardOverviews_FullMethodName = "/services.task_svc.v1.WardService/GetWardOverviews" + WardService_GetWardDetails_FullMethodName = "/services.task_svc.v1.WardService/GetWardDetails" ) // WardServiceClient is the client API for WardService service. @@ -52,8 +52,9 @@ func NewWardServiceClient(cc grpc.ClientConnInterface) WardServiceClient { } func (c *wardServiceClient) CreateWard(ctx context.Context, in *CreateWardRequest, opts ...grpc.CallOption) (*CreateWardResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateWardResponse) - err := c.cc.Invoke(ctx, WardService_CreateWard_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WardService_CreateWard_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -61,8 +62,9 @@ func (c *wardServiceClient) CreateWard(ctx context.Context, in *CreateWardReques } func (c *wardServiceClient) GetWard(ctx context.Context, in *GetWardRequest, opts ...grpc.CallOption) (*GetWardResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetWardResponse) - err := c.cc.Invoke(ctx, WardService_GetWard_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WardService_GetWard_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -70,8 +72,9 @@ func (c *wardServiceClient) GetWard(ctx context.Context, in *GetWardRequest, opt } func (c *wardServiceClient) GetWards(ctx context.Context, in *GetWardsRequest, opts ...grpc.CallOption) (*GetWardsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetWardsResponse) - err := c.cc.Invoke(ctx, WardService_GetWards_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WardService_GetWards_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -79,8 +82,9 @@ func (c *wardServiceClient) GetWards(ctx context.Context, in *GetWardsRequest, o } func (c *wardServiceClient) GetRecentWards(ctx context.Context, in *GetRecentWardsRequest, opts ...grpc.CallOption) (*GetRecentWardsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetRecentWardsResponse) - err := c.cc.Invoke(ctx, WardService_GetRecentWards_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WardService_GetRecentWards_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -88,8 +92,9 @@ func (c *wardServiceClient) GetRecentWards(ctx context.Context, in *GetRecentWar } func (c *wardServiceClient) UpdateWard(ctx context.Context, in *UpdateWardRequest, opts ...grpc.CallOption) (*UpdateWardResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateWardResponse) - err := c.cc.Invoke(ctx, WardService_UpdateWard_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WardService_UpdateWard_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -97,8 +102,9 @@ func (c *wardServiceClient) UpdateWard(ctx context.Context, in *UpdateWardReques } func (c *wardServiceClient) DeleteWard(ctx context.Context, in *DeleteWardRequest, opts ...grpc.CallOption) (*DeleteWardResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteWardResponse) - err := c.cc.Invoke(ctx, WardService_DeleteWard_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WardService_DeleteWard_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -106,8 +112,9 @@ func (c *wardServiceClient) DeleteWard(ctx context.Context, in *DeleteWardReques } func (c *wardServiceClient) GetWardOverviews(ctx context.Context, in *GetWardOverviewsRequest, opts ...grpc.CallOption) (*GetWardOverviewsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetWardOverviewsResponse) - err := c.cc.Invoke(ctx, WardService_GetWardOverviews_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WardService_GetWardOverviews_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -115,8 +122,9 @@ func (c *wardServiceClient) GetWardOverviews(ctx context.Context, in *GetWardOve } func (c *wardServiceClient) GetWardDetails(ctx context.Context, in *GetWardDetailsRequest, opts ...grpc.CallOption) (*GetWardDetailsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetWardDetailsResponse) - err := c.cc.Invoke(ctx, WardService_GetWardDetails_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WardService_GetWardDetails_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -327,7 +335,7 @@ func _WardService_GetWardDetails_Handler(srv interface{}, ctx context.Context, d // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var WardService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.task_svc.v1.WardService", + ServiceName: "services.task_svc.v1.WardService", HandlerType: (*WardServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -364,5 +372,5 @@ var WardService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/task_svc/v1/ward_svc.proto", + Metadata: "services/task_svc/v1/ward_svc.proto", } diff --git a/gen/go/proto/services/tasks_svc/v1/patient_svc.pb.go b/gen/go/services/tasks_svc/v1/patient_svc.pb.go similarity index 56% rename from gen/go/proto/services/tasks_svc/v1/patient_svc.pb.go rename to gen/go/services/tasks_svc/v1/patient_svc.pb.go index 828b84fce..7a857ee25 100644 --- a/gen/go/proto/services/tasks_svc/v1/patient_svc.pb.go +++ b/gen/go/services/tasks_svc/v1/patient_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/tasks_svc/v1/patient_svc.proto +// source: services/tasks_svc/v1/patient_svc.proto package tasks_svc @@ -32,7 +32,7 @@ type CreatePatientRequest struct { func (x *CreatePatientRequest) Reset() { *x = CreatePatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[0] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -45,7 +45,7 @@ func (x *CreatePatientRequest) String() string { func (*CreatePatientRequest) ProtoMessage() {} func (x *CreatePatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[0] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -58,7 +58,7 @@ func (x *CreatePatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreatePatientRequest.ProtoReflect.Descriptor instead. func (*CreatePatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{0} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{0} } func (x *CreatePatientRequest) GetHumanReadableIdentifier() string { @@ -86,7 +86,7 @@ type CreatePatientResponse struct { func (x *CreatePatientResponse) Reset() { *x = CreatePatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[1] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -99,7 +99,7 @@ func (x *CreatePatientResponse) String() string { func (*CreatePatientResponse) ProtoMessage() {} func (x *CreatePatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[1] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -112,7 +112,7 @@ func (x *CreatePatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreatePatientResponse.ProtoReflect.Descriptor instead. func (*CreatePatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{1} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{1} } func (x *CreatePatientResponse) GetId() string { @@ -133,7 +133,7 @@ type GetPatientRequest struct { func (x *GetPatientRequest) Reset() { *x = GetPatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[2] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -146,7 +146,7 @@ func (x *GetPatientRequest) String() string { func (*GetPatientRequest) ProtoMessage() {} func (x *GetPatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[2] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -159,7 +159,7 @@ func (x *GetPatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientRequest.ProtoReflect.Descriptor instead. func (*GetPatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{2} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{2} } func (x *GetPatientRequest) GetId() string { @@ -186,7 +186,7 @@ type GetPatientResponse struct { func (x *GetPatientResponse) Reset() { *x = GetPatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[3] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -199,7 +199,7 @@ func (x *GetPatientResponse) String() string { func (*GetPatientResponse) ProtoMessage() {} func (x *GetPatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[3] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -212,7 +212,7 @@ func (x *GetPatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientResponse.ProtoReflect.Descriptor instead. func (*GetPatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3} } func (x *GetPatientResponse) GetId() string { @@ -273,7 +273,7 @@ type GetRecentPatientsRequest struct { func (x *GetRecentPatientsRequest) Reset() { *x = GetRecentPatientsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[4] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -286,7 +286,7 @@ func (x *GetRecentPatientsRequest) String() string { func (*GetRecentPatientsRequest) ProtoMessage() {} func (x *GetRecentPatientsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[4] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -299,7 +299,7 @@ func (x *GetRecentPatientsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRecentPatientsRequest.ProtoReflect.Descriptor instead. func (*GetRecentPatientsRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{4} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{4} } type GetRecentPatientsResponse struct { @@ -313,7 +313,7 @@ type GetRecentPatientsResponse struct { func (x *GetRecentPatientsResponse) Reset() { *x = GetRecentPatientsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[5] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -326,7 +326,7 @@ func (x *GetRecentPatientsResponse) String() string { func (*GetRecentPatientsResponse) ProtoMessage() {} func (x *GetRecentPatientsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[5] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -339,7 +339,7 @@ func (x *GetRecentPatientsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRecentPatientsResponse.ProtoReflect.Descriptor instead. func (*GetRecentPatientsResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{5} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{5} } func (x *GetRecentPatientsResponse) GetRecentPatients() []*GetRecentPatientsResponse_PatientWithRoomAndBed { @@ -362,7 +362,7 @@ type UpdatePatientRequest struct { func (x *UpdatePatientRequest) Reset() { *x = UpdatePatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[6] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -375,7 +375,7 @@ func (x *UpdatePatientRequest) String() string { func (*UpdatePatientRequest) ProtoMessage() {} func (x *UpdatePatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[6] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -388,7 +388,7 @@ func (x *UpdatePatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdatePatientRequest.ProtoReflect.Descriptor instead. func (*UpdatePatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{6} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{6} } func (x *UpdatePatientRequest) GetId() string { @@ -421,7 +421,7 @@ type UpdatePatientResponse struct { func (x *UpdatePatientResponse) Reset() { *x = UpdatePatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[7] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -434,7 +434,7 @@ func (x *UpdatePatientResponse) String() string { func (*UpdatePatientResponse) ProtoMessage() {} func (x *UpdatePatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[7] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -447,7 +447,7 @@ func (x *UpdatePatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdatePatientResponse.ProtoReflect.Descriptor instead. func (*UpdatePatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{7} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{7} } type AssignBedRequest struct { @@ -462,7 +462,7 @@ type AssignBedRequest struct { func (x *AssignBedRequest) Reset() { *x = AssignBedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[8] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -475,7 +475,7 @@ func (x *AssignBedRequest) String() string { func (*AssignBedRequest) ProtoMessage() {} func (x *AssignBedRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[8] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -488,7 +488,7 @@ func (x *AssignBedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignBedRequest.ProtoReflect.Descriptor instead. func (*AssignBedRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{8} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{8} } func (x *AssignBedRequest) GetId() string { @@ -514,7 +514,7 @@ type AssignBedResponse struct { func (x *AssignBedResponse) Reset() { *x = AssignBedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[9] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -527,7 +527,7 @@ func (x *AssignBedResponse) String() string { func (*AssignBedResponse) ProtoMessage() {} func (x *AssignBedResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[9] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -540,7 +540,7 @@ func (x *AssignBedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignBedResponse.ProtoReflect.Descriptor instead. func (*AssignBedResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{9} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{9} } type UnassignBedRequest struct { @@ -554,7 +554,7 @@ type UnassignBedRequest struct { func (x *UnassignBedRequest) Reset() { *x = UnassignBedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[10] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -567,7 +567,7 @@ func (x *UnassignBedRequest) String() string { func (*UnassignBedRequest) ProtoMessage() {} func (x *UnassignBedRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[10] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -580,7 +580,7 @@ func (x *UnassignBedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UnassignBedRequest.ProtoReflect.Descriptor instead. func (*UnassignBedRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{10} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{10} } func (x *UnassignBedRequest) GetId() string { @@ -599,7 +599,7 @@ type UnassignBedResponse struct { func (x *UnassignBedResponse) Reset() { *x = UnassignBedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[11] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -612,7 +612,7 @@ func (x *UnassignBedResponse) String() string { func (*UnassignBedResponse) ProtoMessage() {} func (x *UnassignBedResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[11] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -625,7 +625,7 @@ func (x *UnassignBedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UnassignBedResponse.ProtoReflect.Descriptor instead. func (*UnassignBedResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{11} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{11} } type DischargePatientRequest struct { @@ -639,7 +639,7 @@ type DischargePatientRequest struct { func (x *DischargePatientRequest) Reset() { *x = DischargePatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[12] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -652,7 +652,7 @@ func (x *DischargePatientRequest) String() string { func (*DischargePatientRequest) ProtoMessage() {} func (x *DischargePatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[12] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -665,7 +665,7 @@ func (x *DischargePatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DischargePatientRequest.ProtoReflect.Descriptor instead. func (*DischargePatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{12} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{12} } func (x *DischargePatientRequest) GetId() string { @@ -684,7 +684,7 @@ type DischargePatientResponse struct { func (x *DischargePatientResponse) Reset() { *x = DischargePatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[13] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -697,7 +697,7 @@ func (x *DischargePatientResponse) String() string { func (*DischargePatientResponse) ProtoMessage() {} func (x *DischargePatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[13] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -710,7 +710,7 @@ func (x *DischargePatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DischargePatientResponse.ProtoReflect.Descriptor instead. func (*DischargePatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{13} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{13} } type ReadmitPatientRequest struct { @@ -724,7 +724,7 @@ type ReadmitPatientRequest struct { func (x *ReadmitPatientRequest) Reset() { *x = ReadmitPatientRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[14] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -737,7 +737,7 @@ func (x *ReadmitPatientRequest) String() string { func (*ReadmitPatientRequest) ProtoMessage() {} func (x *ReadmitPatientRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[14] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -750,7 +750,7 @@ func (x *ReadmitPatientRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadmitPatientRequest.ProtoReflect.Descriptor instead. func (*ReadmitPatientRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{14} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{14} } func (x *ReadmitPatientRequest) GetPatientId() string { @@ -769,7 +769,7 @@ type ReadmitPatientResponse struct { func (x *ReadmitPatientResponse) Reset() { *x = ReadmitPatientResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[15] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -782,7 +782,7 @@ func (x *ReadmitPatientResponse) String() string { func (*ReadmitPatientResponse) ProtoMessage() {} func (x *ReadmitPatientResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[15] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -795,7 +795,7 @@ func (x *ReadmitPatientResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadmitPatientResponse.ProtoReflect.Descriptor instead. func (*ReadmitPatientResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{15} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{15} } type GetPatientResponse_Room struct { @@ -811,7 +811,7 @@ type GetPatientResponse_Room struct { func (x *GetPatientResponse_Room) Reset() { *x = GetPatientResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[16] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -824,7 +824,7 @@ func (x *GetPatientResponse_Room) String() string { func (*GetPatientResponse_Room) ProtoMessage() {} func (x *GetPatientResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[16] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -837,7 +837,7 @@ func (x *GetPatientResponse_Room) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientResponse_Room.ProtoReflect.Descriptor instead. func (*GetPatientResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3, 0} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3, 0} } func (x *GetPatientResponse_Room) GetId() string { @@ -873,7 +873,7 @@ type GetPatientResponse_Bed struct { func (x *GetPatientResponse_Bed) Reset() { *x = GetPatientResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[17] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -886,7 +886,7 @@ func (x *GetPatientResponse_Bed) String() string { func (*GetPatientResponse_Bed) ProtoMessage() {} func (x *GetPatientResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[17] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -899,7 +899,7 @@ func (x *GetPatientResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetPatientResponse_Bed.ProtoReflect.Descriptor instead. func (*GetPatientResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3, 1} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{3, 1} } func (x *GetPatientResponse_Bed) GetId() string { @@ -928,7 +928,7 @@ type GetRecentPatientsResponse_Bed struct { func (x *GetRecentPatientsResponse_Bed) Reset() { *x = GetRecentPatientsResponse_Bed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[18] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -941,7 +941,7 @@ func (x *GetRecentPatientsResponse_Bed) String() string { func (*GetRecentPatientsResponse_Bed) ProtoMessage() {} func (x *GetRecentPatientsResponse_Bed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[18] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -954,7 +954,7 @@ func (x *GetRecentPatientsResponse_Bed) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRecentPatientsResponse_Bed.ProtoReflect.Descriptor instead. func (*GetRecentPatientsResponse_Bed) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{5, 0} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{5, 0} } func (x *GetRecentPatientsResponse_Bed) GetId() string { @@ -984,7 +984,7 @@ type GetRecentPatientsResponse_Room struct { func (x *GetRecentPatientsResponse_Room) Reset() { *x = GetRecentPatientsResponse_Room{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[19] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -997,7 +997,7 @@ func (x *GetRecentPatientsResponse_Room) String() string { func (*GetRecentPatientsResponse_Room) ProtoMessage() {} func (x *GetRecentPatientsResponse_Room) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[19] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1010,7 +1010,7 @@ func (x *GetRecentPatientsResponse_Room) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRecentPatientsResponse_Room.ProtoReflect.Descriptor instead. func (*GetRecentPatientsResponse_Room) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{5, 1} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{5, 1} } func (x *GetRecentPatientsResponse_Room) GetId() string { @@ -1048,7 +1048,7 @@ type GetRecentPatientsResponse_PatientWithRoomAndBed struct { func (x *GetRecentPatientsResponse_PatientWithRoomAndBed) Reset() { *x = GetRecentPatientsResponse_PatientWithRoomAndBed{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[20] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1061,7 +1061,7 @@ func (x *GetRecentPatientsResponse_PatientWithRoomAndBed) String() string { func (*GetRecentPatientsResponse_PatientWithRoomAndBed) ProtoMessage() {} func (x *GetRecentPatientsResponse_PatientWithRoomAndBed) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[20] + mi := &file_services_tasks_svc_v1_patient_svc_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1074,7 +1074,7 @@ func (x *GetRecentPatientsResponse_PatientWithRoomAndBed) ProtoReflect() protore // Deprecated: Use GetRecentPatientsResponse_PatientWithRoomAndBed.ProtoReflect.Descriptor instead. func (*GetRecentPatientsResponse_PatientWithRoomAndBed) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{5, 2} + return file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP(), []int{5, 2} } func (x *GetRecentPatientsResponse_PatientWithRoomAndBed) GetId() string { @@ -1105,259 +1105,248 @@ func (x *GetRecentPatientsResponse_PatientWithRoomAndBed) GetBed() *GetRecentPat return nil } -var File_proto_services_tasks_svc_v1_patient_svc_proto protoreflect.FileDescriptor - -var file_proto_services_tasks_svc_v1_patient_svc_proto_rawDesc = []byte{ - 0x0a, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x1b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x77, 0x0a, 0x14, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, - 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, - 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x12, 0x19, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, - 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x27, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, +var File_services_tasks_svc_v1_patient_svc_proto protoreflect.FileDescriptor + +var file_services_tasks_svc_v1_patient_svc_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x22, 0x77, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, + 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, + 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01, 0x42, + 0x08, 0x0a, 0x06, 0x5f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x27, 0x0a, 0x15, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x22, 0x23, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xd7, 0x03, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x23, - 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0xe3, 0x03, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, - 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, - 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x06, - 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, - 0x62, 0x65, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, - 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x06, 0x77, 0x61, 0x72, - 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x4d, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x48, 0x02, 0x52, 0x04, 0x72, 0x6f, - 0x6f, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x4a, 0x0a, 0x03, 0x62, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, + 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, + 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, + 0x12, 0x1a, 0x0a, 0x06, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x07, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, + 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x47, 0x0a, 0x04, 0x72, 0x6f, + 0x6f, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x48, 0x03, 0x52, 0x03, 0x62, 0x65, 0x64, 0x88, 0x01, - 0x01, 0x1a, 0x43, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, - 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x42, 0x0a, 0x0a, 0x08, - 0x5f, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x72, 0x6f, 0x6f, - 0x6d, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x62, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, 0x74, - 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x87, 0x04, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, - 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, - 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, - 0x52, 0x6f, 0x6f, 0x6d, 0x41, 0x6e, 0x64, 0x42, 0x65, 0x64, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x65, - 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x29, 0x0a, 0x03, 0x42, 0x65, - 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x48, 0x02, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, + 0x88, 0x01, 0x01, 0x12, 0x44, 0x0a, 0x03, 0x62, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x48, + 0x03, 0x52, 0x03, 0x62, 0x65, 0x64, 0x88, 0x01, 0x01, 0x1a, 0x43, 0x0a, 0x04, 0x52, 0x6f, 0x6f, + 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x43, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x82, 0x02, 0x0a, 0x15, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x41, 0x6e, - 0x64, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, - 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, - 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x12, 0x4f, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x72, 0x6f, 0x6f, - 0x6d, 0x12, 0x4c, 0x0a, 0x03, 0x62, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0x29, + 0x0a, 0x03, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x62, 0x65, + 0x64, 0x5f, 0x69, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, + 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x62, 0x65, + 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xf5, 0x03, + 0x0a, 0x19, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x0f, 0x72, + 0x65, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, 0x52, 0x03, 0x62, 0x65, 0x64, 0x22, - 0xaa, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, - 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x17, 0x68, - 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6e, 0x6f, 0x74, - 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, - 0x73, 0x88, 0x01, 0x01, 0x42, 0x1c, 0x0a, 0x1a, 0x5f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, - 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x17, 0x0a, 0x15, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x0a, 0x10, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, - 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x62, 0x65, 0x64, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, - 0x22, 0x13, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x0a, 0x12, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, - 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x55, - 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x29, 0x0a, 0x17, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1a, 0x0a, - 0x18, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x15, 0x52, 0x65, 0x61, - 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, - 0x64, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xdf, 0x07, 0x0a, 0x0e, - 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, - 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, - 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x69, + 0x74, 0x68, 0x52, 0x6f, 0x6f, 0x6d, 0x41, 0x6e, 0x64, 0x42, 0x65, 0x64, 0x52, 0x0e, 0x72, 0x65, + 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x29, 0x0a, 0x03, + 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x43, 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x6d, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x61, 0x72, 0x64, 0x49, 0x64, 0x1a, 0xf6, 0x01, 0x0a, + 0x15, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x69, 0x74, 0x68, 0x52, 0x6f, 0x6f, 0x6d, + 0x41, 0x6e, 0x64, 0x42, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, + 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, + 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x12, 0x49, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x35, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, + 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x46, 0x0a, + 0x03, 0x62, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, + 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x64, + 0x52, 0x03, 0x62, 0x65, 0x64, 0x22, 0xaa, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3f, + 0x0a, 0x19, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x17, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x61, 0x62, + 0x6c, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, + 0x19, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, + 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01, 0x42, 0x1c, 0x0a, 0x1a, 0x5f, 0x68, + 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6e, 0x6f, 0x74, + 0x65, 0x73, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x0a, 0x10, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x15, 0x0a, 0x06, 0x62, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x62, 0x65, 0x64, 0x49, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x0a, 0x12, 0x55, + 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x0a, 0x17, 0x44, 0x69, 0x73, 0x63, + 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x36, 0x0a, 0x15, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, + 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x61, 0x64, 0x6d, + 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x32, 0xfd, 0x06, 0x0a, 0x0e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x11, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, - 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, + 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, + 0x12, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x78, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x65, + 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, 0x61, - 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x78, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x09, 0x41, 0x73, - 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x12, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x50, + 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6c, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x12, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, + 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x60, 0x0a, 0x09, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x0b, 0x55, 0x6e, 0x61, 0x73, - 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x12, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x66, 0x0a, 0x0b, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, + 0x12, 0x29, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, + 0x6e, 0x42, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x10, 0x44, 0x69, 0x73, + 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, 0x65, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x42, - 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x81, 0x01, 0x0a, - 0x10, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, - 0x74, 0x12, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, + 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x7b, 0x0a, 0x0e, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, - 0x6e, 0x74, 0x12, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xdb, 0x01, - 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x42, 0x0f, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1c, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2d, 0x73, - 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x54, 0xaa, 0x02, 0x1a, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, - 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, 0x5c, - 0x56, 0x31, 0xe2, 0x02, 0x26, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, - 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x12, 0x6f, 0x0a, 0x0e, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, + 0x6e, 0x74, 0x12, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x6d, + 0x69, 0x74, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x6d, 0x69, 0x74, + 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x42, 0xbc, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, + 0x0f, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x1c, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2d, 0x73, 0x76, 0x63, + 0xa2, 0x02, 0x03, 0x53, 0x54, 0x58, 0xaa, 0x02, 0x14, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x14, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, + 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, + 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescOnce sync.Once - file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescData = file_proto_services_tasks_svc_v1_patient_svc_proto_rawDesc + file_services_tasks_svc_v1_patient_svc_proto_rawDescOnce sync.Once + file_services_tasks_svc_v1_patient_svc_proto_rawDescData = file_services_tasks_svc_v1_patient_svc_proto_rawDesc ) -func file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP() []byte { - file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescOnce.Do(func() { - file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescData) +func file_services_tasks_svc_v1_patient_svc_proto_rawDescGZIP() []byte { + file_services_tasks_svc_v1_patient_svc_proto_rawDescOnce.Do(func() { + file_services_tasks_svc_v1_patient_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_tasks_svc_v1_patient_svc_proto_rawDescData) }) - return file_proto_services_tasks_svc_v1_patient_svc_proto_rawDescData -} - -var file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_proto_services_tasks_svc_v1_patient_svc_proto_goTypes = []interface{}{ - (*CreatePatientRequest)(nil), // 0: proto.services.tasks_svc.v1.CreatePatientRequest - (*CreatePatientResponse)(nil), // 1: proto.services.tasks_svc.v1.CreatePatientResponse - (*GetPatientRequest)(nil), // 2: proto.services.tasks_svc.v1.GetPatientRequest - (*GetPatientResponse)(nil), // 3: proto.services.tasks_svc.v1.GetPatientResponse - (*GetRecentPatientsRequest)(nil), // 4: proto.services.tasks_svc.v1.GetRecentPatientsRequest - (*GetRecentPatientsResponse)(nil), // 5: proto.services.tasks_svc.v1.GetRecentPatientsResponse - (*UpdatePatientRequest)(nil), // 6: proto.services.tasks_svc.v1.UpdatePatientRequest - (*UpdatePatientResponse)(nil), // 7: proto.services.tasks_svc.v1.UpdatePatientResponse - (*AssignBedRequest)(nil), // 8: proto.services.tasks_svc.v1.AssignBedRequest - (*AssignBedResponse)(nil), // 9: proto.services.tasks_svc.v1.AssignBedResponse - (*UnassignBedRequest)(nil), // 10: proto.services.tasks_svc.v1.UnassignBedRequest - (*UnassignBedResponse)(nil), // 11: proto.services.tasks_svc.v1.UnassignBedResponse - (*DischargePatientRequest)(nil), // 12: proto.services.tasks_svc.v1.DischargePatientRequest - (*DischargePatientResponse)(nil), // 13: proto.services.tasks_svc.v1.DischargePatientResponse - (*ReadmitPatientRequest)(nil), // 14: proto.services.tasks_svc.v1.ReadmitPatientRequest - (*ReadmitPatientResponse)(nil), // 15: proto.services.tasks_svc.v1.ReadmitPatientResponse - (*GetPatientResponse_Room)(nil), // 16: proto.services.tasks_svc.v1.GetPatientResponse.Room - (*GetPatientResponse_Bed)(nil), // 17: proto.services.tasks_svc.v1.GetPatientResponse.Bed - (*GetRecentPatientsResponse_Bed)(nil), // 18: proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed - (*GetRecentPatientsResponse_Room)(nil), // 19: proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room - (*GetRecentPatientsResponse_PatientWithRoomAndBed)(nil), // 20: proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed -} -var file_proto_services_tasks_svc_v1_patient_svc_proto_depIdxs = []int32{ - 16, // 0: proto.services.tasks_svc.v1.GetPatientResponse.room:type_name -> proto.services.tasks_svc.v1.GetPatientResponse.Room - 17, // 1: proto.services.tasks_svc.v1.GetPatientResponse.bed:type_name -> proto.services.tasks_svc.v1.GetPatientResponse.Bed - 20, // 2: proto.services.tasks_svc.v1.GetRecentPatientsResponse.recent_patients:type_name -> proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed - 19, // 3: proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.room:type_name -> proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room - 18, // 4: proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.bed:type_name -> proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed - 0, // 5: proto.services.tasks_svc.v1.PatientService.CreatePatient:input_type -> proto.services.tasks_svc.v1.CreatePatientRequest - 2, // 6: proto.services.tasks_svc.v1.PatientService.GetPatient:input_type -> proto.services.tasks_svc.v1.GetPatientRequest - 4, // 7: proto.services.tasks_svc.v1.PatientService.GetRecentPatients:input_type -> proto.services.tasks_svc.v1.GetRecentPatientsRequest - 6, // 8: proto.services.tasks_svc.v1.PatientService.UpdatePatient:input_type -> proto.services.tasks_svc.v1.UpdatePatientRequest - 8, // 9: proto.services.tasks_svc.v1.PatientService.AssignBed:input_type -> proto.services.tasks_svc.v1.AssignBedRequest - 10, // 10: proto.services.tasks_svc.v1.PatientService.UnassignBed:input_type -> proto.services.tasks_svc.v1.UnassignBedRequest - 12, // 11: proto.services.tasks_svc.v1.PatientService.DischargePatient:input_type -> proto.services.tasks_svc.v1.DischargePatientRequest - 14, // 12: proto.services.tasks_svc.v1.PatientService.ReadmitPatient:input_type -> proto.services.tasks_svc.v1.ReadmitPatientRequest - 1, // 13: proto.services.tasks_svc.v1.PatientService.CreatePatient:output_type -> proto.services.tasks_svc.v1.CreatePatientResponse - 3, // 14: proto.services.tasks_svc.v1.PatientService.GetPatient:output_type -> proto.services.tasks_svc.v1.GetPatientResponse - 5, // 15: proto.services.tasks_svc.v1.PatientService.GetRecentPatients:output_type -> proto.services.tasks_svc.v1.GetRecentPatientsResponse - 7, // 16: proto.services.tasks_svc.v1.PatientService.UpdatePatient:output_type -> proto.services.tasks_svc.v1.UpdatePatientResponse - 9, // 17: proto.services.tasks_svc.v1.PatientService.AssignBed:output_type -> proto.services.tasks_svc.v1.AssignBedResponse - 11, // 18: proto.services.tasks_svc.v1.PatientService.UnassignBed:output_type -> proto.services.tasks_svc.v1.UnassignBedResponse - 13, // 19: proto.services.tasks_svc.v1.PatientService.DischargePatient:output_type -> proto.services.tasks_svc.v1.DischargePatientResponse - 15, // 20: proto.services.tasks_svc.v1.PatientService.ReadmitPatient:output_type -> proto.services.tasks_svc.v1.ReadmitPatientResponse + return file_services_tasks_svc_v1_patient_svc_proto_rawDescData +} + +var file_services_tasks_svc_v1_patient_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 21) +var file_services_tasks_svc_v1_patient_svc_proto_goTypes = []interface{}{ + (*CreatePatientRequest)(nil), // 0: services.tasks_svc.v1.CreatePatientRequest + (*CreatePatientResponse)(nil), // 1: services.tasks_svc.v1.CreatePatientResponse + (*GetPatientRequest)(nil), // 2: services.tasks_svc.v1.GetPatientRequest + (*GetPatientResponse)(nil), // 3: services.tasks_svc.v1.GetPatientResponse + (*GetRecentPatientsRequest)(nil), // 4: services.tasks_svc.v1.GetRecentPatientsRequest + (*GetRecentPatientsResponse)(nil), // 5: services.tasks_svc.v1.GetRecentPatientsResponse + (*UpdatePatientRequest)(nil), // 6: services.tasks_svc.v1.UpdatePatientRequest + (*UpdatePatientResponse)(nil), // 7: services.tasks_svc.v1.UpdatePatientResponse + (*AssignBedRequest)(nil), // 8: services.tasks_svc.v1.AssignBedRequest + (*AssignBedResponse)(nil), // 9: services.tasks_svc.v1.AssignBedResponse + (*UnassignBedRequest)(nil), // 10: services.tasks_svc.v1.UnassignBedRequest + (*UnassignBedResponse)(nil), // 11: services.tasks_svc.v1.UnassignBedResponse + (*DischargePatientRequest)(nil), // 12: services.tasks_svc.v1.DischargePatientRequest + (*DischargePatientResponse)(nil), // 13: services.tasks_svc.v1.DischargePatientResponse + (*ReadmitPatientRequest)(nil), // 14: services.tasks_svc.v1.ReadmitPatientRequest + (*ReadmitPatientResponse)(nil), // 15: services.tasks_svc.v1.ReadmitPatientResponse + (*GetPatientResponse_Room)(nil), // 16: services.tasks_svc.v1.GetPatientResponse.Room + (*GetPatientResponse_Bed)(nil), // 17: services.tasks_svc.v1.GetPatientResponse.Bed + (*GetRecentPatientsResponse_Bed)(nil), // 18: services.tasks_svc.v1.GetRecentPatientsResponse.Bed + (*GetRecentPatientsResponse_Room)(nil), // 19: services.tasks_svc.v1.GetRecentPatientsResponse.Room + (*GetRecentPatientsResponse_PatientWithRoomAndBed)(nil), // 20: services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed +} +var file_services_tasks_svc_v1_patient_svc_proto_depIdxs = []int32{ + 16, // 0: services.tasks_svc.v1.GetPatientResponse.room:type_name -> services.tasks_svc.v1.GetPatientResponse.Room + 17, // 1: services.tasks_svc.v1.GetPatientResponse.bed:type_name -> services.tasks_svc.v1.GetPatientResponse.Bed + 20, // 2: services.tasks_svc.v1.GetRecentPatientsResponse.recent_patients:type_name -> services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed + 19, // 3: services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.room:type_name -> services.tasks_svc.v1.GetRecentPatientsResponse.Room + 18, // 4: services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.bed:type_name -> services.tasks_svc.v1.GetRecentPatientsResponse.Bed + 0, // 5: services.tasks_svc.v1.PatientService.CreatePatient:input_type -> services.tasks_svc.v1.CreatePatientRequest + 2, // 6: services.tasks_svc.v1.PatientService.GetPatient:input_type -> services.tasks_svc.v1.GetPatientRequest + 4, // 7: services.tasks_svc.v1.PatientService.GetRecentPatients:input_type -> services.tasks_svc.v1.GetRecentPatientsRequest + 6, // 8: services.tasks_svc.v1.PatientService.UpdatePatient:input_type -> services.tasks_svc.v1.UpdatePatientRequest + 8, // 9: services.tasks_svc.v1.PatientService.AssignBed:input_type -> services.tasks_svc.v1.AssignBedRequest + 10, // 10: services.tasks_svc.v1.PatientService.UnassignBed:input_type -> services.tasks_svc.v1.UnassignBedRequest + 12, // 11: services.tasks_svc.v1.PatientService.DischargePatient:input_type -> services.tasks_svc.v1.DischargePatientRequest + 14, // 12: services.tasks_svc.v1.PatientService.ReadmitPatient:input_type -> services.tasks_svc.v1.ReadmitPatientRequest + 1, // 13: services.tasks_svc.v1.PatientService.CreatePatient:output_type -> services.tasks_svc.v1.CreatePatientResponse + 3, // 14: services.tasks_svc.v1.PatientService.GetPatient:output_type -> services.tasks_svc.v1.GetPatientResponse + 5, // 15: services.tasks_svc.v1.PatientService.GetRecentPatients:output_type -> services.tasks_svc.v1.GetRecentPatientsResponse + 7, // 16: services.tasks_svc.v1.PatientService.UpdatePatient:output_type -> services.tasks_svc.v1.UpdatePatientResponse + 9, // 17: services.tasks_svc.v1.PatientService.AssignBed:output_type -> services.tasks_svc.v1.AssignBedResponse + 11, // 18: services.tasks_svc.v1.PatientService.UnassignBed:output_type -> services.tasks_svc.v1.UnassignBedResponse + 13, // 19: services.tasks_svc.v1.PatientService.DischargePatient:output_type -> services.tasks_svc.v1.DischargePatientResponse + 15, // 20: services.tasks_svc.v1.PatientService.ReadmitPatient:output_type -> services.tasks_svc.v1.ReadmitPatientResponse 13, // [13:21] is the sub-list for method output_type 5, // [5:13] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name @@ -1365,13 +1354,13 @@ var file_proto_services_tasks_svc_v1_patient_svc_proto_depIdxs = []int32{ 0, // [0:5] is the sub-list for field type_name } -func init() { file_proto_services_tasks_svc_v1_patient_svc_proto_init() } -func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { - if File_proto_services_tasks_svc_v1_patient_svc_proto != nil { +func init() { file_services_tasks_svc_v1_patient_svc_proto_init() } +func file_services_tasks_svc_v1_patient_svc_proto_init() { + if File_services_tasks_svc_v1_patient_svc_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreatePatientRequest); i { case 0: return &v.state @@ -1383,7 +1372,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreatePatientResponse); i { case 0: return &v.state @@ -1395,7 +1384,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientRequest); i { case 0: return &v.state @@ -1407,7 +1396,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientResponse); i { case 0: return &v.state @@ -1419,7 +1408,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentPatientsRequest); i { case 0: return &v.state @@ -1431,7 +1420,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentPatientsResponse); i { case 0: return &v.state @@ -1443,7 +1432,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdatePatientRequest); i { case 0: return &v.state @@ -1455,7 +1444,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdatePatientResponse); i { case 0: return &v.state @@ -1467,7 +1456,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssignBedRequest); i { case 0: return &v.state @@ -1479,7 +1468,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssignBedResponse); i { case 0: return &v.state @@ -1491,7 +1480,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnassignBedRequest); i { case 0: return &v.state @@ -1503,7 +1492,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnassignBedResponse); i { case 0: return &v.state @@ -1515,7 +1504,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DischargePatientRequest); i { case 0: return &v.state @@ -1527,7 +1516,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DischargePatientResponse); i { case 0: return &v.state @@ -1539,7 +1528,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadmitPatientRequest); i { case 0: return &v.state @@ -1551,7 +1540,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadmitPatientResponse); i { case 0: return &v.state @@ -1563,7 +1552,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientResponse_Room); i { case 0: return &v.state @@ -1575,7 +1564,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetPatientResponse_Bed); i { case 0: return &v.state @@ -1587,7 +1576,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentPatientsResponse_Bed); i { case 0: return &v.state @@ -1599,7 +1588,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentPatientsResponse_Room); i { case 0: return &v.state @@ -1611,7 +1600,7 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRecentPatientsResponse_PatientWithRoomAndBed); i { case 0: return &v.state @@ -1624,25 +1613,25 @@ func file_proto_services_tasks_svc_v1_patient_svc_proto_init() { } } } - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[3].OneofWrappers = []interface{}{} - file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[3].OneofWrappers = []interface{}{} + file_services_tasks_svc_v1_patient_svc_proto_msgTypes[6].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_tasks_svc_v1_patient_svc_proto_rawDesc, + RawDescriptor: file_services_tasks_svc_v1_patient_svc_proto_rawDesc, NumEnums: 0, NumMessages: 21, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_tasks_svc_v1_patient_svc_proto_goTypes, - DependencyIndexes: file_proto_services_tasks_svc_v1_patient_svc_proto_depIdxs, - MessageInfos: file_proto_services_tasks_svc_v1_patient_svc_proto_msgTypes, + GoTypes: file_services_tasks_svc_v1_patient_svc_proto_goTypes, + DependencyIndexes: file_services_tasks_svc_v1_patient_svc_proto_depIdxs, + MessageInfos: file_services_tasks_svc_v1_patient_svc_proto_msgTypes, }.Build() - File_proto_services_tasks_svc_v1_patient_svc_proto = out.File - file_proto_services_tasks_svc_v1_patient_svc_proto_rawDesc = nil - file_proto_services_tasks_svc_v1_patient_svc_proto_goTypes = nil - file_proto_services_tasks_svc_v1_patient_svc_proto_depIdxs = nil + File_services_tasks_svc_v1_patient_svc_proto = out.File + file_services_tasks_svc_v1_patient_svc_proto_rawDesc = nil + file_services_tasks_svc_v1_patient_svc_proto_goTypes = nil + file_services_tasks_svc_v1_patient_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/tasks_svc/v1/patient_svc_grpc.pb.go b/gen/go/services/tasks_svc/v1/patient_svc_grpc.pb.go similarity index 88% rename from gen/go/proto/services/tasks_svc/v1/patient_svc_grpc.pb.go rename to gen/go/services/tasks_svc/v1/patient_svc_grpc.pb.go index c2efc4370..95d40c000 100644 --- a/gen/go/proto/services/tasks_svc/v1/patient_svc_grpc.pb.go +++ b/gen/go/services/tasks_svc/v1/patient_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/tasks_svc/v1/patient_svc.proto +// source: services/tasks_svc/v1/patient_svc.proto package tasks_svc @@ -15,18 +15,18 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - PatientService_CreatePatient_FullMethodName = "/proto.services.tasks_svc.v1.PatientService/CreatePatient" - PatientService_GetPatient_FullMethodName = "/proto.services.tasks_svc.v1.PatientService/GetPatient" - PatientService_GetRecentPatients_FullMethodName = "/proto.services.tasks_svc.v1.PatientService/GetRecentPatients" - PatientService_UpdatePatient_FullMethodName = "/proto.services.tasks_svc.v1.PatientService/UpdatePatient" - PatientService_AssignBed_FullMethodName = "/proto.services.tasks_svc.v1.PatientService/AssignBed" - PatientService_UnassignBed_FullMethodName = "/proto.services.tasks_svc.v1.PatientService/UnassignBed" - PatientService_DischargePatient_FullMethodName = "/proto.services.tasks_svc.v1.PatientService/DischargePatient" - PatientService_ReadmitPatient_FullMethodName = "/proto.services.tasks_svc.v1.PatientService/ReadmitPatient" + PatientService_CreatePatient_FullMethodName = "/services.tasks_svc.v1.PatientService/CreatePatient" + PatientService_GetPatient_FullMethodName = "/services.tasks_svc.v1.PatientService/GetPatient" + PatientService_GetRecentPatients_FullMethodName = "/services.tasks_svc.v1.PatientService/GetRecentPatients" + PatientService_UpdatePatient_FullMethodName = "/services.tasks_svc.v1.PatientService/UpdatePatient" + PatientService_AssignBed_FullMethodName = "/services.tasks_svc.v1.PatientService/AssignBed" + PatientService_UnassignBed_FullMethodName = "/services.tasks_svc.v1.PatientService/UnassignBed" + PatientService_DischargePatient_FullMethodName = "/services.tasks_svc.v1.PatientService/DischargePatient" + PatientService_ReadmitPatient_FullMethodName = "/services.tasks_svc.v1.PatientService/ReadmitPatient" ) // PatientServiceClient is the client API for PatientService service. @@ -52,8 +52,9 @@ func NewPatientServiceClient(cc grpc.ClientConnInterface) PatientServiceClient { } func (c *patientServiceClient) CreatePatient(ctx context.Context, in *CreatePatientRequest, opts ...grpc.CallOption) (*CreatePatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreatePatientResponse) - err := c.cc.Invoke(ctx, PatientService_CreatePatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_CreatePatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -61,8 +62,9 @@ func (c *patientServiceClient) CreatePatient(ctx context.Context, in *CreatePati } func (c *patientServiceClient) GetPatient(ctx context.Context, in *GetPatientRequest, opts ...grpc.CallOption) (*GetPatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetPatientResponse) - err := c.cc.Invoke(ctx, PatientService_GetPatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_GetPatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -70,8 +72,9 @@ func (c *patientServiceClient) GetPatient(ctx context.Context, in *GetPatientReq } func (c *patientServiceClient) GetRecentPatients(ctx context.Context, in *GetRecentPatientsRequest, opts ...grpc.CallOption) (*GetRecentPatientsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetRecentPatientsResponse) - err := c.cc.Invoke(ctx, PatientService_GetRecentPatients_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_GetRecentPatients_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -79,8 +82,9 @@ func (c *patientServiceClient) GetRecentPatients(ctx context.Context, in *GetRec } func (c *patientServiceClient) UpdatePatient(ctx context.Context, in *UpdatePatientRequest, opts ...grpc.CallOption) (*UpdatePatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdatePatientResponse) - err := c.cc.Invoke(ctx, PatientService_UpdatePatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_UpdatePatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -88,8 +92,9 @@ func (c *patientServiceClient) UpdatePatient(ctx context.Context, in *UpdatePati } func (c *patientServiceClient) AssignBed(ctx context.Context, in *AssignBedRequest, opts ...grpc.CallOption) (*AssignBedResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssignBedResponse) - err := c.cc.Invoke(ctx, PatientService_AssignBed_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_AssignBed_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -97,8 +102,9 @@ func (c *patientServiceClient) AssignBed(ctx context.Context, in *AssignBedReque } func (c *patientServiceClient) UnassignBed(ctx context.Context, in *UnassignBedRequest, opts ...grpc.CallOption) (*UnassignBedResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UnassignBedResponse) - err := c.cc.Invoke(ctx, PatientService_UnassignBed_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_UnassignBed_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -106,8 +112,9 @@ func (c *patientServiceClient) UnassignBed(ctx context.Context, in *UnassignBedR } func (c *patientServiceClient) DischargePatient(ctx context.Context, in *DischargePatientRequest, opts ...grpc.CallOption) (*DischargePatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DischargePatientResponse) - err := c.cc.Invoke(ctx, PatientService_DischargePatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_DischargePatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -115,8 +122,9 @@ func (c *patientServiceClient) DischargePatient(ctx context.Context, in *Dischar } func (c *patientServiceClient) ReadmitPatient(ctx context.Context, in *ReadmitPatientRequest, opts ...grpc.CallOption) (*ReadmitPatientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ReadmitPatientResponse) - err := c.cc.Invoke(ctx, PatientService_ReadmitPatient_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PatientService_ReadmitPatient_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -327,7 +335,7 @@ func _PatientService_ReadmitPatient_Handler(srv interface{}, ctx context.Context // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var PatientService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.tasks_svc.v1.PatientService", + ServiceName: "services.tasks_svc.v1.PatientService", HandlerType: (*PatientServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -364,5 +372,5 @@ var PatientService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/tasks_svc/v1/patient_svc.proto", + Metadata: "services/tasks_svc/v1/patient_svc.proto", } diff --git a/gen/go/proto/services/tasks_svc/v1/task_svc.pb.go b/gen/go/services/tasks_svc/v1/task_svc.pb.go similarity index 55% rename from gen/go/proto/services/tasks_svc/v1/task_svc.pb.go rename to gen/go/services/tasks_svc/v1/task_svc.pb.go index 5842c4fb7..25f24a936 100644 --- a/gen/go/proto/services/tasks_svc/v1/task_svc.pb.go +++ b/gen/go/services/tasks_svc/v1/task_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/tasks_svc/v1/task_svc.proto +// source: services/tasks_svc/v1/task_svc.proto package tasks_svc @@ -57,11 +57,11 @@ func (x TaskStatus) String() string { } func (TaskStatus) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_tasks_svc_v1_task_svc_proto_enumTypes[0].Descriptor() + return file_services_tasks_svc_v1_task_svc_proto_enumTypes[0].Descriptor() } func (TaskStatus) Type() protoreflect.EnumType { - return &file_proto_services_tasks_svc_v1_task_svc_proto_enumTypes[0] + return &file_services_tasks_svc_v1_task_svc_proto_enumTypes[0] } func (x TaskStatus) Number() protoreflect.EnumNumber { @@ -70,7 +70,7 @@ func (x TaskStatus) Number() protoreflect.EnumNumber { // Deprecated: Use TaskStatus.Descriptor instead. func (TaskStatus) EnumDescriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{0} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{0} } type CreateTaskRequest struct { @@ -83,13 +83,13 @@ type CreateTaskRequest struct { PatientId string `protobuf:"bytes,3,opt,name=patient_id,json=patientId,proto3" json:"patient_id,omitempty" validate:"uuid4"` // @gotags: validate:"uuid4" Public *bool `protobuf:"varint,4,opt,name=public,proto3,oneof" json:"public,omitempty"` DueAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=due_at,json=dueAt,proto3" json:"due_at,omitempty"` - InitialStatus *TaskStatus `protobuf:"varint,6,opt,name=initial_status,json=initialStatus,proto3,enum=proto.services.tasks_svc.v1.TaskStatus,oneof" json:"initial_status,omitempty"` + InitialStatus *TaskStatus `protobuf:"varint,6,opt,name=initial_status,json=initialStatus,proto3,enum=services.tasks_svc.v1.TaskStatus,oneof" json:"initial_status,omitempty"` } func (x *CreateTaskRequest) Reset() { *x = CreateTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[0] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -102,7 +102,7 @@ func (x *CreateTaskRequest) String() string { func (*CreateTaskRequest) ProtoMessage() {} func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[0] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -115,7 +115,7 @@ func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateTaskRequest.ProtoReflect.Descriptor instead. func (*CreateTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{0} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{0} } func (x *CreateTaskRequest) GetName() string { @@ -171,7 +171,7 @@ type CreateTaskResponse struct { func (x *CreateTaskResponse) Reset() { *x = CreateTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[1] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -184,7 +184,7 @@ func (x *CreateTaskResponse) String() string { func (*CreateTaskResponse) ProtoMessage() {} func (x *CreateTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[1] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -197,7 +197,7 @@ func (x *CreateTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateTaskResponse.ProtoReflect.Descriptor instead. func (*CreateTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{1} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{1} } func (x *CreateTaskResponse) GetId() string { @@ -221,7 +221,7 @@ type UpdateTaskRequest struct { func (x *UpdateTaskRequest) Reset() { *x = UpdateTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[2] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -234,7 +234,7 @@ func (x *UpdateTaskRequest) String() string { func (*UpdateTaskRequest) ProtoMessage() {} func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[2] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -247,7 +247,7 @@ func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateTaskRequest.ProtoReflect.Descriptor instead. func (*UpdateTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{2} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{2} } func (x *UpdateTaskRequest) GetId() string { @@ -287,7 +287,7 @@ type UpdateTaskResponse struct { func (x *UpdateTaskResponse) Reset() { *x = UpdateTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[3] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -300,7 +300,7 @@ func (x *UpdateTaskResponse) String() string { func (*UpdateTaskResponse) ProtoMessage() {} func (x *UpdateTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[3] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -313,7 +313,7 @@ func (x *UpdateTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateTaskResponse.ProtoReflect.Descriptor instead. func (*UpdateTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{3} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{3} } type GetTaskRequest struct { @@ -327,7 +327,7 @@ type GetTaskRequest struct { func (x *GetTaskRequest) Reset() { *x = GetTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[4] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -340,7 +340,7 @@ func (x *GetTaskRequest) String() string { func (*GetTaskRequest) ProtoMessage() {} func (x *GetTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[4] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -353,7 +353,7 @@ func (x *GetTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead. func (*GetTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{4} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{4} } func (x *GetTaskRequest) GetId() string { @@ -373,14 +373,14 @@ type GetTaskResponse struct { Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` AssignedUsers []string `protobuf:"bytes,4,rep,name=assigned_users,json=assignedUsers,proto3" json:"assigned_users,omitempty"` Subtasks []*GetTaskResponse_Subtask `protobuf:"bytes,5,rep,name=subtasks,proto3" json:"subtasks,omitempty"` - Status TaskStatus `protobuf:"varint,6,opt,name=status,proto3,enum=proto.services.tasks_svc.v1.TaskStatus" json:"status,omitempty"` + Status TaskStatus `protobuf:"varint,6,opt,name=status,proto3,enum=services.tasks_svc.v1.TaskStatus" json:"status,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` } func (x *GetTaskResponse) Reset() { *x = GetTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[5] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -393,7 +393,7 @@ func (x *GetTaskResponse) String() string { func (*GetTaskResponse) ProtoMessage() {} func (x *GetTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[5] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -406,7 +406,7 @@ func (x *GetTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTaskResponse.ProtoReflect.Descriptor instead. func (*GetTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{5} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{5} } func (x *GetTaskResponse) GetId() string { @@ -470,7 +470,7 @@ type AssignTaskRequest struct { func (x *AssignTaskRequest) Reset() { *x = AssignTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[6] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -483,7 +483,7 @@ func (x *AssignTaskRequest) String() string { func (*AssignTaskRequest) ProtoMessage() {} func (x *AssignTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[6] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -496,7 +496,7 @@ func (x *AssignTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignTaskRequest.ProtoReflect.Descriptor instead. func (*AssignTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{6} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{6} } func (x *AssignTaskRequest) GetTaskId() string { @@ -522,7 +522,7 @@ type AssignTaskResponse struct { func (x *AssignTaskResponse) Reset() { *x = AssignTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[7] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -535,7 +535,7 @@ func (x *AssignTaskResponse) String() string { func (*AssignTaskResponse) ProtoMessage() {} func (x *AssignTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[7] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -548,7 +548,7 @@ func (x *AssignTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignTaskResponse.ProtoReflect.Descriptor instead. func (*AssignTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{7} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{7} } type UnassignTaskRequest struct { @@ -563,7 +563,7 @@ type UnassignTaskRequest struct { func (x *UnassignTaskRequest) Reset() { *x = UnassignTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[8] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -576,7 +576,7 @@ func (x *UnassignTaskRequest) String() string { func (*UnassignTaskRequest) ProtoMessage() {} func (x *UnassignTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[8] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -589,7 +589,7 @@ func (x *UnassignTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UnassignTaskRequest.ProtoReflect.Descriptor instead. func (*UnassignTaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{8} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{8} } func (x *UnassignTaskRequest) GetTaskId() string { @@ -615,7 +615,7 @@ type UnassignTaskResponse struct { func (x *UnassignTaskResponse) Reset() { *x = UnassignTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[9] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -628,7 +628,7 @@ func (x *UnassignTaskResponse) String() string { func (*UnassignTaskResponse) ProtoMessage() {} func (x *UnassignTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[9] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -641,7 +641,7 @@ func (x *UnassignTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UnassignTaskResponse.ProtoReflect.Descriptor instead. func (*UnassignTaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{9} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{9} } type CreateSubtaskRequest struct { @@ -656,7 +656,7 @@ type CreateSubtaskRequest struct { func (x *CreateSubtaskRequest) Reset() { *x = CreateSubtaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[10] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -669,7 +669,7 @@ func (x *CreateSubtaskRequest) String() string { func (*CreateSubtaskRequest) ProtoMessage() {} func (x *CreateSubtaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[10] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -682,7 +682,7 @@ func (x *CreateSubtaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateSubtaskRequest.ProtoReflect.Descriptor instead. func (*CreateSubtaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{10} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{10} } func (x *CreateSubtaskRequest) GetTaskId() string { @@ -710,7 +710,7 @@ type CreateSubtaskResponse struct { func (x *CreateSubtaskResponse) Reset() { *x = CreateSubtaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[11] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -723,7 +723,7 @@ func (x *CreateSubtaskResponse) String() string { func (*CreateSubtaskResponse) ProtoMessage() {} func (x *CreateSubtaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[11] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -736,7 +736,7 @@ func (x *CreateSubtaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateSubtaskResponse.ProtoReflect.Descriptor instead. func (*CreateSubtaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{11} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{11} } func (x *CreateSubtaskResponse) GetSubtaskId() string { @@ -759,7 +759,7 @@ type UpdateSubtaskRequest struct { func (x *UpdateSubtaskRequest) Reset() { *x = UpdateSubtaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[12] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -772,7 +772,7 @@ func (x *UpdateSubtaskRequest) String() string { func (*UpdateSubtaskRequest) ProtoMessage() {} func (x *UpdateSubtaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[12] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -785,7 +785,7 @@ func (x *UpdateSubtaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateSubtaskRequest.ProtoReflect.Descriptor instead. func (*UpdateSubtaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{12} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{12} } func (x *UpdateSubtaskRequest) GetTaskId() string { @@ -818,7 +818,7 @@ type UpdateSubtaskResponse struct { func (x *UpdateSubtaskResponse) Reset() { *x = UpdateSubtaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[13] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -831,7 +831,7 @@ func (x *UpdateSubtaskResponse) String() string { func (*UpdateSubtaskResponse) ProtoMessage() {} func (x *UpdateSubtaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[13] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -844,7 +844,7 @@ func (x *UpdateSubtaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateSubtaskResponse.ProtoReflect.Descriptor instead. func (*UpdateSubtaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{13} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{13} } type CompleteSubtaskRequest struct { @@ -859,7 +859,7 @@ type CompleteSubtaskRequest struct { func (x *CompleteSubtaskRequest) Reset() { *x = CompleteSubtaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[14] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -872,7 +872,7 @@ func (x *CompleteSubtaskRequest) String() string { func (*CompleteSubtaskRequest) ProtoMessage() {} func (x *CompleteSubtaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[14] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -885,7 +885,7 @@ func (x *CompleteSubtaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CompleteSubtaskRequest.ProtoReflect.Descriptor instead. func (*CompleteSubtaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{14} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{14} } func (x *CompleteSubtaskRequest) GetTaskId() string { @@ -911,7 +911,7 @@ type CompleteSubtaskResponse struct { func (x *CompleteSubtaskResponse) Reset() { *x = CompleteSubtaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[15] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -924,7 +924,7 @@ func (x *CompleteSubtaskResponse) String() string { func (*CompleteSubtaskResponse) ProtoMessage() {} func (x *CompleteSubtaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[15] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -937,7 +937,7 @@ func (x *CompleteSubtaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CompleteSubtaskResponse.ProtoReflect.Descriptor instead. func (*CompleteSubtaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{15} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{15} } type UncompleteSubtaskRequest struct { @@ -952,7 +952,7 @@ type UncompleteSubtaskRequest struct { func (x *UncompleteSubtaskRequest) Reset() { *x = UncompleteSubtaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[16] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -965,7 +965,7 @@ func (x *UncompleteSubtaskRequest) String() string { func (*UncompleteSubtaskRequest) ProtoMessage() {} func (x *UncompleteSubtaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[16] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -978,7 +978,7 @@ func (x *UncompleteSubtaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UncompleteSubtaskRequest.ProtoReflect.Descriptor instead. func (*UncompleteSubtaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{16} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{16} } func (x *UncompleteSubtaskRequest) GetTaskId() string { @@ -1004,7 +1004,7 @@ type UncompleteSubtaskResponse struct { func (x *UncompleteSubtaskResponse) Reset() { *x = UncompleteSubtaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[17] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1017,7 +1017,7 @@ func (x *UncompleteSubtaskResponse) String() string { func (*UncompleteSubtaskResponse) ProtoMessage() {} func (x *UncompleteSubtaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[17] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1030,7 +1030,7 @@ func (x *UncompleteSubtaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UncompleteSubtaskResponse.ProtoReflect.Descriptor instead. func (*UncompleteSubtaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{17} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{17} } type DeleteSubtaskRequest struct { @@ -1045,7 +1045,7 @@ type DeleteSubtaskRequest struct { func (x *DeleteSubtaskRequest) Reset() { *x = DeleteSubtaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[18] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1058,7 +1058,7 @@ func (x *DeleteSubtaskRequest) String() string { func (*DeleteSubtaskRequest) ProtoMessage() {} func (x *DeleteSubtaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[18] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1071,7 +1071,7 @@ func (x *DeleteSubtaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteSubtaskRequest.ProtoReflect.Descriptor instead. func (*DeleteSubtaskRequest) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{18} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{18} } func (x *DeleteSubtaskRequest) GetTaskId() string { @@ -1097,7 +1097,7 @@ type DeleteSubtaskResponse struct { func (x *DeleteSubtaskResponse) Reset() { *x = DeleteSubtaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[19] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1110,7 +1110,7 @@ func (x *DeleteSubtaskResponse) String() string { func (*DeleteSubtaskResponse) ProtoMessage() {} func (x *DeleteSubtaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[19] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1123,7 +1123,7 @@ func (x *DeleteSubtaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteSubtaskResponse.ProtoReflect.Descriptor instead. func (*DeleteSubtaskResponse) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{19} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{19} } type GetTaskResponse_Subtask struct { @@ -1139,7 +1139,7 @@ type GetTaskResponse_Subtask struct { func (x *GetTaskResponse_Subtask) Reset() { *x = GetTaskResponse_Subtask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[20] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1152,7 +1152,7 @@ func (x *GetTaskResponse_Subtask) String() string { func (*GetTaskResponse_Subtask) ProtoMessage() {} func (x *GetTaskResponse_Subtask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[20] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1165,7 +1165,7 @@ func (x *GetTaskResponse_Subtask) ProtoReflect() protoreflect.Message { // Deprecated: Use GetTaskResponse_Subtask.ProtoReflect.Descriptor instead. func (*GetTaskResponse_Subtask) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{5, 0} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{5, 0} } func (x *GetTaskResponse_Subtask) GetId() string { @@ -1200,7 +1200,7 @@ type CreateSubtaskRequest_Subtask struct { func (x *CreateSubtaskRequest_Subtask) Reset() { *x = CreateSubtaskRequest_Subtask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[21] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1213,7 +1213,7 @@ func (x *CreateSubtaskRequest_Subtask) String() string { func (*CreateSubtaskRequest_Subtask) ProtoMessage() {} func (x *CreateSubtaskRequest_Subtask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[21] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1226,7 +1226,7 @@ func (x *CreateSubtaskRequest_Subtask) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateSubtaskRequest_Subtask.ProtoReflect.Descriptor instead. func (*CreateSubtaskRequest_Subtask) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{10, 0} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{10, 0} } func (x *CreateSubtaskRequest_Subtask) GetName() string { @@ -1247,7 +1247,7 @@ type UpdateSubtaskRequest_Subtask struct { func (x *UpdateSubtaskRequest_Subtask) Reset() { *x = UpdateSubtaskRequest_Subtask{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[22] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1260,7 +1260,7 @@ func (x *UpdateSubtaskRequest_Subtask) String() string { func (*UpdateSubtaskRequest_Subtask) ProtoMessage() {} func (x *UpdateSubtaskRequest_Subtask) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[22] + mi := &file_services_tasks_svc_v1_task_svc_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1273,7 +1273,7 @@ func (x *UpdateSubtaskRequest_Subtask) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateSubtaskRequest_Subtask.ProtoReflect.Descriptor instead. func (*UpdateSubtaskRequest_Subtask) Descriptor() ([]byte, []int) { - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{12, 0} + return file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP(), []int{12, 0} } func (x *UpdateSubtaskRequest_Subtask) GetName() string { @@ -1283,309 +1283,297 @@ func (x *UpdateSubtaskRequest_Subtask) GetName() string { return "" } -var File_proto_services_tasks_svc_v1_task_svc_proto protoreflect.FileDescriptor - -var file_proto_services_tasks_svc_v1_task_svc_proto_rawDesc = []byte{ - 0x0a, 0x2a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x02, 0x0a, 0x11, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x70, - 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, 0x52, 0x06, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x63, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x06, 0x64, 0x75, 0x65, 0x5f, 0x61, - 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, +var File_services_tasks_svc_v1_task_svc_proto protoreflect.FileDescriptor + +var file_services_tasks_svc_v1_task_svc_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, + 0x02, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, + 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, + 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, + 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x06, 0x64, + 0x75, 0x65, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, 0x12, 0x4d, + 0x0a, 0x0e, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, + 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x02, 0x52, 0x0d, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, + 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, + 0x07, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x24, 0x0a, 0x12, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x22, 0xbf, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, + 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x36, 0x0a, 0x06, 0x64, 0x75, 0x65, 0x5f, 0x61, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x69, 0x6e, - 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x61, 0x6d, 0x70, 0x48, 0x02, 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, 0x88, 0x01, 0x01, 0x42, + 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x64, 0x75, 0x65, + 0x5f, 0x61, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x0a, 0x0e, 0x47, 0x65, 0x74, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x83, 0x03, 0x0a, 0x0f, + 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x4a, 0x0a, 0x08, + 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x08, + 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x02, 0x52, 0x0d, 0x69, - 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x42, - 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, - 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x69, - 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x24, 0x0a, - 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0xbf, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, - 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, - 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x36, 0x0a, 0x06, 0x64, 0x75, 0x65, - 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x02, 0x52, 0x05, 0x64, 0x75, 0x65, 0x41, 0x74, 0x88, 0x01, - 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x64, - 0x75, 0x65, 0x5f, 0x61, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x0a, 0x0e, 0x47, - 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8f, 0x03, - 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x0d, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x50, - 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, - 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x73, - 0x12, 0x3f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, - 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x1a, 0x41, 0x0a, 0x07, - 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, - 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x22, - 0x45, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x17, 0x0a, - 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, - 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, 0x0a, 0x13, - 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, - 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa3, 0x01, - 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, + 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, + 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x1a, 0x41, + 0x0a, 0x07, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, + 0x65, 0x22, 0x45, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, - 0x53, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x39, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x07, 0x73, 0x75, 0x62, - 0x74, 0x61, 0x73, 0x6b, 0x1a, 0x1d, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, - 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, - 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0xd0, 0x01, 0x0a, 0x14, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1d, 0x0a, - 0x0a, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x53, 0x0a, 0x07, - 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, - 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x2e, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x07, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, - 0x6b, 0x1a, 0x2b, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x17, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, - 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x70, 0x6c, - 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, - 0x62, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x6f, 0x6d, - 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, 0x18, 0x55, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, + 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x69, + 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, + 0x0a, 0x13, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x17, + 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x6e, 0x61, 0x73, 0x73, + 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x9d, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, + 0x64, 0x12, 0x4d, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, + 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, + 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x07, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, + 0x1a, 0x1d, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x36, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, + 0x62, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0xca, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, - 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x6e, 0x63, 0x6f, - 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, - 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, - 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x74, - 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, - 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x72, - 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x17, - 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x53, - 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x4f, 0x44, 0x4f, 0x10, 0x01, 0x12, - 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, - 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, - 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x4f, 0x4e, 0x45, - 0x10, 0x03, 0x32, 0xb4, 0x09, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, - 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x74, + 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x07, + 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x1a, 0x2b, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x74, 0x61, + 0x73, 0x6b, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, + 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x0a, + 0x16, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, + 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, + 0x19, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, + 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, 0x18, 0x55, 0x6e, + 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, + 0x1d, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x1b, + 0x0a, 0x19, 0x55, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, + 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x14, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x73, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x72, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, + 0x14, 0x0a, 0x10, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, + 0x4f, 0x44, 0x4f, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, + 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x32, 0xbb, 0x08, 0x0a, 0x0b, 0x54, 0x61, 0x73, + 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, - 0x6b, 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, - 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, - 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, - 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x0a, - 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, - 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x75, 0x0a, - 0x0c, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x30, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, + 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x28, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x25, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, + 0x0a, 0x0a, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x28, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x0c, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, + 0x61, 0x73, 0x6b, 0x12, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, - 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x78, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, - 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, + 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6c, + 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, + 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, + 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, + 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x0d, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x2b, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, + 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x0f, 0x43, 0x6f, + 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x2d, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, + 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x78, - 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, - 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7e, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, - 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x33, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, - 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, - 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x11, 0x55, 0x6e, 0x63, - 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x35, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x0a, 0x11, 0x55, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, + 0x61, 0x73, 0x6b, 0x12, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, + 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6f, + 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, - 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x78, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, - 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6c, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xd8, 0x01, 0x0a, 0x1f, 0x63, 0x6f, - 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x54, - 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1c, 0x67, - 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, - 0x54, 0xaa, 0x02, 0x1a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, - 0x1a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, - 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x26, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, - 0x6b, 0x73, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, - 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xb9, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1c, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2d, 0x73, + 0x76, 0x63, 0xa2, 0x02, 0x03, 0x53, 0x54, 0x58, 0xaa, 0x02, 0x14, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x14, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x73, + 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x53, 0x76, 0x63, 0x3a, 0x3a, + 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_proto_services_tasks_svc_v1_task_svc_proto_rawDescOnce sync.Once - file_proto_services_tasks_svc_v1_task_svc_proto_rawDescData = file_proto_services_tasks_svc_v1_task_svc_proto_rawDesc + file_services_tasks_svc_v1_task_svc_proto_rawDescOnce sync.Once + file_services_tasks_svc_v1_task_svc_proto_rawDescData = file_services_tasks_svc_v1_task_svc_proto_rawDesc ) -func file_proto_services_tasks_svc_v1_task_svc_proto_rawDescGZIP() []byte { - file_proto_services_tasks_svc_v1_task_svc_proto_rawDescOnce.Do(func() { - file_proto_services_tasks_svc_v1_task_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_tasks_svc_v1_task_svc_proto_rawDescData) +func file_services_tasks_svc_v1_task_svc_proto_rawDescGZIP() []byte { + file_services_tasks_svc_v1_task_svc_proto_rawDescOnce.Do(func() { + file_services_tasks_svc_v1_task_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_tasks_svc_v1_task_svc_proto_rawDescData) }) - return file_proto_services_tasks_svc_v1_task_svc_proto_rawDescData -} - -var file_proto_services_tasks_svc_v1_task_svc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 23) -var file_proto_services_tasks_svc_v1_task_svc_proto_goTypes = []interface{}{ - (TaskStatus)(0), // 0: proto.services.tasks_svc.v1.TaskStatus - (*CreateTaskRequest)(nil), // 1: proto.services.tasks_svc.v1.CreateTaskRequest - (*CreateTaskResponse)(nil), // 2: proto.services.tasks_svc.v1.CreateTaskResponse - (*UpdateTaskRequest)(nil), // 3: proto.services.tasks_svc.v1.UpdateTaskRequest - (*UpdateTaskResponse)(nil), // 4: proto.services.tasks_svc.v1.UpdateTaskResponse - (*GetTaskRequest)(nil), // 5: proto.services.tasks_svc.v1.GetTaskRequest - (*GetTaskResponse)(nil), // 6: proto.services.tasks_svc.v1.GetTaskResponse - (*AssignTaskRequest)(nil), // 7: proto.services.tasks_svc.v1.AssignTaskRequest - (*AssignTaskResponse)(nil), // 8: proto.services.tasks_svc.v1.AssignTaskResponse - (*UnassignTaskRequest)(nil), // 9: proto.services.tasks_svc.v1.UnassignTaskRequest - (*UnassignTaskResponse)(nil), // 10: proto.services.tasks_svc.v1.UnassignTaskResponse - (*CreateSubtaskRequest)(nil), // 11: proto.services.tasks_svc.v1.CreateSubtaskRequest - (*CreateSubtaskResponse)(nil), // 12: proto.services.tasks_svc.v1.CreateSubtaskResponse - (*UpdateSubtaskRequest)(nil), // 13: proto.services.tasks_svc.v1.UpdateSubtaskRequest - (*UpdateSubtaskResponse)(nil), // 14: proto.services.tasks_svc.v1.UpdateSubtaskResponse - (*CompleteSubtaskRequest)(nil), // 15: proto.services.tasks_svc.v1.CompleteSubtaskRequest - (*CompleteSubtaskResponse)(nil), // 16: proto.services.tasks_svc.v1.CompleteSubtaskResponse - (*UncompleteSubtaskRequest)(nil), // 17: proto.services.tasks_svc.v1.UncompleteSubtaskRequest - (*UncompleteSubtaskResponse)(nil), // 18: proto.services.tasks_svc.v1.UncompleteSubtaskResponse - (*DeleteSubtaskRequest)(nil), // 19: proto.services.tasks_svc.v1.DeleteSubtaskRequest - (*DeleteSubtaskResponse)(nil), // 20: proto.services.tasks_svc.v1.DeleteSubtaskResponse - (*GetTaskResponse_Subtask)(nil), // 21: proto.services.tasks_svc.v1.GetTaskResponse.Subtask - (*CreateSubtaskRequest_Subtask)(nil), // 22: proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask - (*UpdateSubtaskRequest_Subtask)(nil), // 23: proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask + return file_services_tasks_svc_v1_task_svc_proto_rawDescData +} + +var file_services_tasks_svc_v1_task_svc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_services_tasks_svc_v1_task_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_services_tasks_svc_v1_task_svc_proto_goTypes = []interface{}{ + (TaskStatus)(0), // 0: services.tasks_svc.v1.TaskStatus + (*CreateTaskRequest)(nil), // 1: services.tasks_svc.v1.CreateTaskRequest + (*CreateTaskResponse)(nil), // 2: services.tasks_svc.v1.CreateTaskResponse + (*UpdateTaskRequest)(nil), // 3: services.tasks_svc.v1.UpdateTaskRequest + (*UpdateTaskResponse)(nil), // 4: services.tasks_svc.v1.UpdateTaskResponse + (*GetTaskRequest)(nil), // 5: services.tasks_svc.v1.GetTaskRequest + (*GetTaskResponse)(nil), // 6: services.tasks_svc.v1.GetTaskResponse + (*AssignTaskRequest)(nil), // 7: services.tasks_svc.v1.AssignTaskRequest + (*AssignTaskResponse)(nil), // 8: services.tasks_svc.v1.AssignTaskResponse + (*UnassignTaskRequest)(nil), // 9: services.tasks_svc.v1.UnassignTaskRequest + (*UnassignTaskResponse)(nil), // 10: services.tasks_svc.v1.UnassignTaskResponse + (*CreateSubtaskRequest)(nil), // 11: services.tasks_svc.v1.CreateSubtaskRequest + (*CreateSubtaskResponse)(nil), // 12: services.tasks_svc.v1.CreateSubtaskResponse + (*UpdateSubtaskRequest)(nil), // 13: services.tasks_svc.v1.UpdateSubtaskRequest + (*UpdateSubtaskResponse)(nil), // 14: services.tasks_svc.v1.UpdateSubtaskResponse + (*CompleteSubtaskRequest)(nil), // 15: services.tasks_svc.v1.CompleteSubtaskRequest + (*CompleteSubtaskResponse)(nil), // 16: services.tasks_svc.v1.CompleteSubtaskResponse + (*UncompleteSubtaskRequest)(nil), // 17: services.tasks_svc.v1.UncompleteSubtaskRequest + (*UncompleteSubtaskResponse)(nil), // 18: services.tasks_svc.v1.UncompleteSubtaskResponse + (*DeleteSubtaskRequest)(nil), // 19: services.tasks_svc.v1.DeleteSubtaskRequest + (*DeleteSubtaskResponse)(nil), // 20: services.tasks_svc.v1.DeleteSubtaskResponse + (*GetTaskResponse_Subtask)(nil), // 21: services.tasks_svc.v1.GetTaskResponse.Subtask + (*CreateSubtaskRequest_Subtask)(nil), // 22: services.tasks_svc.v1.CreateSubtaskRequest.Subtask + (*UpdateSubtaskRequest_Subtask)(nil), // 23: services.tasks_svc.v1.UpdateSubtaskRequest.Subtask (*timestamppb.Timestamp)(nil), // 24: google.protobuf.Timestamp } -var file_proto_services_tasks_svc_v1_task_svc_proto_depIdxs = []int32{ - 24, // 0: proto.services.tasks_svc.v1.CreateTaskRequest.due_at:type_name -> google.protobuf.Timestamp - 0, // 1: proto.services.tasks_svc.v1.CreateTaskRequest.initial_status:type_name -> proto.services.tasks_svc.v1.TaskStatus - 24, // 2: proto.services.tasks_svc.v1.UpdateTaskRequest.due_at:type_name -> google.protobuf.Timestamp - 21, // 3: proto.services.tasks_svc.v1.GetTaskResponse.subtasks:type_name -> proto.services.tasks_svc.v1.GetTaskResponse.Subtask - 0, // 4: proto.services.tasks_svc.v1.GetTaskResponse.status:type_name -> proto.services.tasks_svc.v1.TaskStatus - 24, // 5: proto.services.tasks_svc.v1.GetTaskResponse.created_at:type_name -> google.protobuf.Timestamp - 22, // 6: proto.services.tasks_svc.v1.CreateSubtaskRequest.subtask:type_name -> proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask - 23, // 7: proto.services.tasks_svc.v1.UpdateSubtaskRequest.subtask:type_name -> proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask - 1, // 8: proto.services.tasks_svc.v1.TaskService.CreateTask:input_type -> proto.services.tasks_svc.v1.CreateTaskRequest - 3, // 9: proto.services.tasks_svc.v1.TaskService.UpdateTask:input_type -> proto.services.tasks_svc.v1.UpdateTaskRequest - 5, // 10: proto.services.tasks_svc.v1.TaskService.GetTask:input_type -> proto.services.tasks_svc.v1.GetTaskRequest - 7, // 11: proto.services.tasks_svc.v1.TaskService.AssignTask:input_type -> proto.services.tasks_svc.v1.AssignTaskRequest - 9, // 12: proto.services.tasks_svc.v1.TaskService.UnassignTask:input_type -> proto.services.tasks_svc.v1.UnassignTaskRequest - 11, // 13: proto.services.tasks_svc.v1.TaskService.CreateSubtask:input_type -> proto.services.tasks_svc.v1.CreateSubtaskRequest - 13, // 14: proto.services.tasks_svc.v1.TaskService.UpdateSubtask:input_type -> proto.services.tasks_svc.v1.UpdateSubtaskRequest - 15, // 15: proto.services.tasks_svc.v1.TaskService.CompleteSubtask:input_type -> proto.services.tasks_svc.v1.CompleteSubtaskRequest - 17, // 16: proto.services.tasks_svc.v1.TaskService.UncompleteSubtask:input_type -> proto.services.tasks_svc.v1.UncompleteSubtaskRequest - 19, // 17: proto.services.tasks_svc.v1.TaskService.DeleteSubtask:input_type -> proto.services.tasks_svc.v1.DeleteSubtaskRequest - 2, // 18: proto.services.tasks_svc.v1.TaskService.CreateTask:output_type -> proto.services.tasks_svc.v1.CreateTaskResponse - 4, // 19: proto.services.tasks_svc.v1.TaskService.UpdateTask:output_type -> proto.services.tasks_svc.v1.UpdateTaskResponse - 6, // 20: proto.services.tasks_svc.v1.TaskService.GetTask:output_type -> proto.services.tasks_svc.v1.GetTaskResponse - 8, // 21: proto.services.tasks_svc.v1.TaskService.AssignTask:output_type -> proto.services.tasks_svc.v1.AssignTaskResponse - 10, // 22: proto.services.tasks_svc.v1.TaskService.UnassignTask:output_type -> proto.services.tasks_svc.v1.UnassignTaskResponse - 12, // 23: proto.services.tasks_svc.v1.TaskService.CreateSubtask:output_type -> proto.services.tasks_svc.v1.CreateSubtaskResponse - 14, // 24: proto.services.tasks_svc.v1.TaskService.UpdateSubtask:output_type -> proto.services.tasks_svc.v1.UpdateSubtaskResponse - 16, // 25: proto.services.tasks_svc.v1.TaskService.CompleteSubtask:output_type -> proto.services.tasks_svc.v1.CompleteSubtaskResponse - 18, // 26: proto.services.tasks_svc.v1.TaskService.UncompleteSubtask:output_type -> proto.services.tasks_svc.v1.UncompleteSubtaskResponse - 20, // 27: proto.services.tasks_svc.v1.TaskService.DeleteSubtask:output_type -> proto.services.tasks_svc.v1.DeleteSubtaskResponse +var file_services_tasks_svc_v1_task_svc_proto_depIdxs = []int32{ + 24, // 0: services.tasks_svc.v1.CreateTaskRequest.due_at:type_name -> google.protobuf.Timestamp + 0, // 1: services.tasks_svc.v1.CreateTaskRequest.initial_status:type_name -> services.tasks_svc.v1.TaskStatus + 24, // 2: services.tasks_svc.v1.UpdateTaskRequest.due_at:type_name -> google.protobuf.Timestamp + 21, // 3: services.tasks_svc.v1.GetTaskResponse.subtasks:type_name -> services.tasks_svc.v1.GetTaskResponse.Subtask + 0, // 4: services.tasks_svc.v1.GetTaskResponse.status:type_name -> services.tasks_svc.v1.TaskStatus + 24, // 5: services.tasks_svc.v1.GetTaskResponse.created_at:type_name -> google.protobuf.Timestamp + 22, // 6: services.tasks_svc.v1.CreateSubtaskRequest.subtask:type_name -> services.tasks_svc.v1.CreateSubtaskRequest.Subtask + 23, // 7: services.tasks_svc.v1.UpdateSubtaskRequest.subtask:type_name -> services.tasks_svc.v1.UpdateSubtaskRequest.Subtask + 1, // 8: services.tasks_svc.v1.TaskService.CreateTask:input_type -> services.tasks_svc.v1.CreateTaskRequest + 3, // 9: services.tasks_svc.v1.TaskService.UpdateTask:input_type -> services.tasks_svc.v1.UpdateTaskRequest + 5, // 10: services.tasks_svc.v1.TaskService.GetTask:input_type -> services.tasks_svc.v1.GetTaskRequest + 7, // 11: services.tasks_svc.v1.TaskService.AssignTask:input_type -> services.tasks_svc.v1.AssignTaskRequest + 9, // 12: services.tasks_svc.v1.TaskService.UnassignTask:input_type -> services.tasks_svc.v1.UnassignTaskRequest + 11, // 13: services.tasks_svc.v1.TaskService.CreateSubtask:input_type -> services.tasks_svc.v1.CreateSubtaskRequest + 13, // 14: services.tasks_svc.v1.TaskService.UpdateSubtask:input_type -> services.tasks_svc.v1.UpdateSubtaskRequest + 15, // 15: services.tasks_svc.v1.TaskService.CompleteSubtask:input_type -> services.tasks_svc.v1.CompleteSubtaskRequest + 17, // 16: services.tasks_svc.v1.TaskService.UncompleteSubtask:input_type -> services.tasks_svc.v1.UncompleteSubtaskRequest + 19, // 17: services.tasks_svc.v1.TaskService.DeleteSubtask:input_type -> services.tasks_svc.v1.DeleteSubtaskRequest + 2, // 18: services.tasks_svc.v1.TaskService.CreateTask:output_type -> services.tasks_svc.v1.CreateTaskResponse + 4, // 19: services.tasks_svc.v1.TaskService.UpdateTask:output_type -> services.tasks_svc.v1.UpdateTaskResponse + 6, // 20: services.tasks_svc.v1.TaskService.GetTask:output_type -> services.tasks_svc.v1.GetTaskResponse + 8, // 21: services.tasks_svc.v1.TaskService.AssignTask:output_type -> services.tasks_svc.v1.AssignTaskResponse + 10, // 22: services.tasks_svc.v1.TaskService.UnassignTask:output_type -> services.tasks_svc.v1.UnassignTaskResponse + 12, // 23: services.tasks_svc.v1.TaskService.CreateSubtask:output_type -> services.tasks_svc.v1.CreateSubtaskResponse + 14, // 24: services.tasks_svc.v1.TaskService.UpdateSubtask:output_type -> services.tasks_svc.v1.UpdateSubtaskResponse + 16, // 25: services.tasks_svc.v1.TaskService.CompleteSubtask:output_type -> services.tasks_svc.v1.CompleteSubtaskResponse + 18, // 26: services.tasks_svc.v1.TaskService.UncompleteSubtask:output_type -> services.tasks_svc.v1.UncompleteSubtaskResponse + 20, // 27: services.tasks_svc.v1.TaskService.DeleteSubtask:output_type -> services.tasks_svc.v1.DeleteSubtaskResponse 18, // [18:28] is the sub-list for method output_type 8, // [8:18] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name @@ -1593,13 +1581,13 @@ var file_proto_services_tasks_svc_v1_task_svc_proto_depIdxs = []int32{ 0, // [0:8] is the sub-list for field type_name } -func init() { file_proto_services_tasks_svc_v1_task_svc_proto_init() } -func file_proto_services_tasks_svc_v1_task_svc_proto_init() { - if File_proto_services_tasks_svc_v1_task_svc_proto != nil { +func init() { file_services_tasks_svc_v1_task_svc_proto_init() } +func file_services_tasks_svc_v1_task_svc_proto_init() { + if File_services_tasks_svc_v1_task_svc_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTaskRequest); i { case 0: return &v.state @@ -1611,7 +1599,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateTaskResponse); i { case 0: return &v.state @@ -1623,7 +1611,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateTaskRequest); i { case 0: return &v.state @@ -1635,7 +1623,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateTaskResponse); i { case 0: return &v.state @@ -1647,7 +1635,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTaskRequest); i { case 0: return &v.state @@ -1659,7 +1647,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTaskResponse); i { case 0: return &v.state @@ -1671,7 +1659,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssignTaskRequest); i { case 0: return &v.state @@ -1683,7 +1671,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssignTaskResponse); i { case 0: return &v.state @@ -1695,7 +1683,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnassignTaskRequest); i { case 0: return &v.state @@ -1707,7 +1695,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnassignTaskResponse); i { case 0: return &v.state @@ -1719,7 +1707,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateSubtaskRequest); i { case 0: return &v.state @@ -1731,7 +1719,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateSubtaskResponse); i { case 0: return &v.state @@ -1743,7 +1731,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSubtaskRequest); i { case 0: return &v.state @@ -1755,7 +1743,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSubtaskResponse); i { case 0: return &v.state @@ -1767,7 +1755,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CompleteSubtaskRequest); i { case 0: return &v.state @@ -1779,7 +1767,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CompleteSubtaskResponse); i { case 0: return &v.state @@ -1791,7 +1779,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UncompleteSubtaskRequest); i { case 0: return &v.state @@ -1803,7 +1791,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UncompleteSubtaskResponse); i { case 0: return &v.state @@ -1815,7 +1803,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteSubtaskRequest); i { case 0: return &v.state @@ -1827,7 +1815,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteSubtaskResponse); i { case 0: return &v.state @@ -1839,7 +1827,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTaskResponse_Subtask); i { case 0: return &v.state @@ -1851,7 +1839,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateSubtaskRequest_Subtask); i { case 0: return &v.state @@ -1863,7 +1851,7 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { return nil } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_services_tasks_svc_v1_task_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSubtaskRequest_Subtask); i { case 0: return &v.state @@ -1876,26 +1864,26 @@ func file_proto_services_tasks_svc_v1_task_svc_proto_init() { } } } - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes[22].OneofWrappers = []interface{}{} + file_services_tasks_svc_v1_task_svc_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_services_tasks_svc_v1_task_svc_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_services_tasks_svc_v1_task_svc_proto_msgTypes[22].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_tasks_svc_v1_task_svc_proto_rawDesc, + RawDescriptor: file_services_tasks_svc_v1_task_svc_proto_rawDesc, NumEnums: 1, NumMessages: 23, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_tasks_svc_v1_task_svc_proto_goTypes, - DependencyIndexes: file_proto_services_tasks_svc_v1_task_svc_proto_depIdxs, - EnumInfos: file_proto_services_tasks_svc_v1_task_svc_proto_enumTypes, - MessageInfos: file_proto_services_tasks_svc_v1_task_svc_proto_msgTypes, + GoTypes: file_services_tasks_svc_v1_task_svc_proto_goTypes, + DependencyIndexes: file_services_tasks_svc_v1_task_svc_proto_depIdxs, + EnumInfos: file_services_tasks_svc_v1_task_svc_proto_enumTypes, + MessageInfos: file_services_tasks_svc_v1_task_svc_proto_msgTypes, }.Build() - File_proto_services_tasks_svc_v1_task_svc_proto = out.File - file_proto_services_tasks_svc_v1_task_svc_proto_rawDesc = nil - file_proto_services_tasks_svc_v1_task_svc_proto_goTypes = nil - file_proto_services_tasks_svc_v1_task_svc_proto_depIdxs = nil + File_services_tasks_svc_v1_task_svc_proto = out.File + file_services_tasks_svc_v1_task_svc_proto_rawDesc = nil + file_services_tasks_svc_v1_task_svc_proto_goTypes = nil + file_services_tasks_svc_v1_task_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/tasks_svc/v1/task_svc_grpc.pb.go b/gen/go/services/tasks_svc/v1/task_svc_grpc.pb.go similarity index 88% rename from gen/go/proto/services/tasks_svc/v1/task_svc_grpc.pb.go rename to gen/go/services/tasks_svc/v1/task_svc_grpc.pb.go index ff52c8c38..826741159 100644 --- a/gen/go/proto/services/tasks_svc/v1/task_svc_grpc.pb.go +++ b/gen/go/services/tasks_svc/v1/task_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/tasks_svc/v1/task_svc.proto +// source: services/tasks_svc/v1/task_svc.proto package tasks_svc @@ -15,20 +15,20 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - TaskService_CreateTask_FullMethodName = "/proto.services.tasks_svc.v1.TaskService/CreateTask" - TaskService_UpdateTask_FullMethodName = "/proto.services.tasks_svc.v1.TaskService/UpdateTask" - TaskService_GetTask_FullMethodName = "/proto.services.tasks_svc.v1.TaskService/GetTask" - TaskService_AssignTask_FullMethodName = "/proto.services.tasks_svc.v1.TaskService/AssignTask" - TaskService_UnassignTask_FullMethodName = "/proto.services.tasks_svc.v1.TaskService/UnassignTask" - TaskService_CreateSubtask_FullMethodName = "/proto.services.tasks_svc.v1.TaskService/CreateSubtask" - TaskService_UpdateSubtask_FullMethodName = "/proto.services.tasks_svc.v1.TaskService/UpdateSubtask" - TaskService_CompleteSubtask_FullMethodName = "/proto.services.tasks_svc.v1.TaskService/CompleteSubtask" - TaskService_UncompleteSubtask_FullMethodName = "/proto.services.tasks_svc.v1.TaskService/UncompleteSubtask" - TaskService_DeleteSubtask_FullMethodName = "/proto.services.tasks_svc.v1.TaskService/DeleteSubtask" + TaskService_CreateTask_FullMethodName = "/services.tasks_svc.v1.TaskService/CreateTask" + TaskService_UpdateTask_FullMethodName = "/services.tasks_svc.v1.TaskService/UpdateTask" + TaskService_GetTask_FullMethodName = "/services.tasks_svc.v1.TaskService/GetTask" + TaskService_AssignTask_FullMethodName = "/services.tasks_svc.v1.TaskService/AssignTask" + TaskService_UnassignTask_FullMethodName = "/services.tasks_svc.v1.TaskService/UnassignTask" + TaskService_CreateSubtask_FullMethodName = "/services.tasks_svc.v1.TaskService/CreateSubtask" + TaskService_UpdateSubtask_FullMethodName = "/services.tasks_svc.v1.TaskService/UpdateSubtask" + TaskService_CompleteSubtask_FullMethodName = "/services.tasks_svc.v1.TaskService/CompleteSubtask" + TaskService_UncompleteSubtask_FullMethodName = "/services.tasks_svc.v1.TaskService/UncompleteSubtask" + TaskService_DeleteSubtask_FullMethodName = "/services.tasks_svc.v1.TaskService/DeleteSubtask" ) // TaskServiceClient is the client API for TaskService service. @@ -56,8 +56,9 @@ func NewTaskServiceClient(cc grpc.ClientConnInterface) TaskServiceClient { } func (c *taskServiceClient) CreateTask(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*CreateTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateTaskResponse) - err := c.cc.Invoke(ctx, TaskService_CreateTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_CreateTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -65,8 +66,9 @@ func (c *taskServiceClient) CreateTask(ctx context.Context, in *CreateTaskReques } func (c *taskServiceClient) UpdateTask(ctx context.Context, in *UpdateTaskRequest, opts ...grpc.CallOption) (*UpdateTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateTaskResponse) - err := c.cc.Invoke(ctx, TaskService_UpdateTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_UpdateTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -74,8 +76,9 @@ func (c *taskServiceClient) UpdateTask(ctx context.Context, in *UpdateTaskReques } func (c *taskServiceClient) GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*GetTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTaskResponse) - err := c.cc.Invoke(ctx, TaskService_GetTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_GetTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -83,8 +86,9 @@ func (c *taskServiceClient) GetTask(ctx context.Context, in *GetTaskRequest, opt } func (c *taskServiceClient) AssignTask(ctx context.Context, in *AssignTaskRequest, opts ...grpc.CallOption) (*AssignTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssignTaskResponse) - err := c.cc.Invoke(ctx, TaskService_AssignTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_AssignTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -92,8 +96,9 @@ func (c *taskServiceClient) AssignTask(ctx context.Context, in *AssignTaskReques } func (c *taskServiceClient) UnassignTask(ctx context.Context, in *UnassignTaskRequest, opts ...grpc.CallOption) (*UnassignTaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UnassignTaskResponse) - err := c.cc.Invoke(ctx, TaskService_UnassignTask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_UnassignTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -101,8 +106,9 @@ func (c *taskServiceClient) UnassignTask(ctx context.Context, in *UnassignTaskRe } func (c *taskServiceClient) CreateSubtask(ctx context.Context, in *CreateSubtaskRequest, opts ...grpc.CallOption) (*CreateSubtaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateSubtaskResponse) - err := c.cc.Invoke(ctx, TaskService_CreateSubtask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_CreateSubtask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -110,8 +116,9 @@ func (c *taskServiceClient) CreateSubtask(ctx context.Context, in *CreateSubtask } func (c *taskServiceClient) UpdateSubtask(ctx context.Context, in *UpdateSubtaskRequest, opts ...grpc.CallOption) (*UpdateSubtaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateSubtaskResponse) - err := c.cc.Invoke(ctx, TaskService_UpdateSubtask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_UpdateSubtask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -119,8 +126,9 @@ func (c *taskServiceClient) UpdateSubtask(ctx context.Context, in *UpdateSubtask } func (c *taskServiceClient) CompleteSubtask(ctx context.Context, in *CompleteSubtaskRequest, opts ...grpc.CallOption) (*CompleteSubtaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CompleteSubtaskResponse) - err := c.cc.Invoke(ctx, TaskService_CompleteSubtask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_CompleteSubtask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -128,8 +136,9 @@ func (c *taskServiceClient) CompleteSubtask(ctx context.Context, in *CompleteSub } func (c *taskServiceClient) UncompleteSubtask(ctx context.Context, in *UncompleteSubtaskRequest, opts ...grpc.CallOption) (*UncompleteSubtaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UncompleteSubtaskResponse) - err := c.cc.Invoke(ctx, TaskService_UncompleteSubtask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_UncompleteSubtask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -137,8 +146,9 @@ func (c *taskServiceClient) UncompleteSubtask(ctx context.Context, in *Uncomplet } func (c *taskServiceClient) DeleteSubtask(ctx context.Context, in *DeleteSubtaskRequest, opts ...grpc.CallOption) (*DeleteSubtaskResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteSubtaskResponse) - err := c.cc.Invoke(ctx, TaskService_DeleteSubtask_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TaskService_DeleteSubtask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -393,7 +403,7 @@ func _TaskService_DeleteSubtask_Handler(srv interface{}, ctx context.Context, de // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var TaskService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.tasks_svc.v1.TaskService", + ServiceName: "services.tasks_svc.v1.TaskService", HandlerType: (*TaskServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -438,5 +448,5 @@ var TaskService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/tasks_svc/v1/task_svc.proto", + Metadata: "services/tasks_svc/v1/task_svc.proto", } diff --git a/gen/go/proto/services/user_svc/v1/organization_svc.pb.go b/gen/go/services/user_svc/v1/organization_svc.pb.go similarity index 60% rename from gen/go/proto/services/user_svc/v1/organization_svc.pb.go rename to gen/go/services/user_svc/v1/organization_svc.pb.go index 4522e02e7..91e389464 100644 --- a/gen/go/proto/services/user_svc/v1/organization_svc.pb.go +++ b/gen/go/services/user_svc/v1/organization_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/user_svc/v1/organization_svc.proto +// source: services/user_svc/v1/organization_svc.proto package user_svc @@ -59,11 +59,11 @@ func (x InvitationState) String() string { } func (InvitationState) Descriptor() protoreflect.EnumDescriptor { - return file_proto_services_user_svc_v1_organization_svc_proto_enumTypes[0].Descriptor() + return file_services_user_svc_v1_organization_svc_proto_enumTypes[0].Descriptor() } func (InvitationState) Type() protoreflect.EnumType { - return &file_proto_services_user_svc_v1_organization_svc_proto_enumTypes[0] + return &file_services_user_svc_v1_organization_svc_proto_enumTypes[0] } func (x InvitationState) Number() protoreflect.EnumNumber { @@ -72,7 +72,7 @@ func (x InvitationState) Number() protoreflect.EnumNumber { // Deprecated: Use InvitationState.Descriptor instead. func (InvitationState) EnumDescriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{0} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{0} } type CreateOrganizationRequest struct { @@ -89,7 +89,7 @@ type CreateOrganizationRequest struct { func (x *CreateOrganizationRequest) Reset() { *x = CreateOrganizationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[0] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -102,7 +102,7 @@ func (x *CreateOrganizationRequest) String() string { func (*CreateOrganizationRequest) ProtoMessage() {} func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[0] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -115,7 +115,7 @@ func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead. func (*CreateOrganizationRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{0} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{0} } func (x *CreateOrganizationRequest) GetLongName() string { @@ -157,7 +157,7 @@ type CreateOrganizationResponse struct { func (x *CreateOrganizationResponse) Reset() { *x = CreateOrganizationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[1] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -170,7 +170,7 @@ func (x *CreateOrganizationResponse) String() string { func (*CreateOrganizationResponse) ProtoMessage() {} func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[1] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -183,7 +183,7 @@ func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateOrganizationResponse.ProtoReflect.Descriptor instead. func (*CreateOrganizationResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{1} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{1} } func (x *CreateOrganizationResponse) GetId() string { @@ -208,7 +208,7 @@ type CreateOrganizationForUserRequest struct { func (x *CreateOrganizationForUserRequest) Reset() { *x = CreateOrganizationForUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[2] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -221,7 +221,7 @@ func (x *CreateOrganizationForUserRequest) String() string { func (*CreateOrganizationForUserRequest) ProtoMessage() {} func (x *CreateOrganizationForUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[2] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -234,7 +234,7 @@ func (x *CreateOrganizationForUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateOrganizationForUserRequest.ProtoReflect.Descriptor instead. func (*CreateOrganizationForUserRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{2} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{2} } func (x *CreateOrganizationForUserRequest) GetLongName() string { @@ -283,7 +283,7 @@ type CreateOrganizationForUserResponse struct { func (x *CreateOrganizationForUserResponse) Reset() { *x = CreateOrganizationForUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[3] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -296,7 +296,7 @@ func (x *CreateOrganizationForUserResponse) String() string { func (*CreateOrganizationForUserResponse) ProtoMessage() {} func (x *CreateOrganizationForUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[3] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -309,7 +309,7 @@ func (x *CreateOrganizationForUserResponse) ProtoReflect() protoreflect.Message // Deprecated: Use CreateOrganizationForUserResponse.ProtoReflect.Descriptor instead. func (*CreateOrganizationForUserResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{3} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{3} } func (x *CreateOrganizationForUserResponse) GetId() string { @@ -330,7 +330,7 @@ type GetOrganizationMember struct { func (x *GetOrganizationMember) Reset() { *x = GetOrganizationMember{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[4] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -343,7 +343,7 @@ func (x *GetOrganizationMember) String() string { func (*GetOrganizationMember) ProtoMessage() {} func (x *GetOrganizationMember) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[4] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -356,7 +356,7 @@ func (x *GetOrganizationMember) ProtoReflect() protoreflect.Message { // Deprecated: Use GetOrganizationMember.ProtoReflect.Descriptor instead. func (*GetOrganizationMember) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{4} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{4} } func (x *GetOrganizationMember) GetUserId() string { @@ -377,7 +377,7 @@ type GetOrganizationRequest struct { func (x *GetOrganizationRequest) Reset() { *x = GetOrganizationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[5] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -390,7 +390,7 @@ func (x *GetOrganizationRequest) String() string { func (*GetOrganizationRequest) ProtoMessage() {} func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[5] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -403,7 +403,7 @@ func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetOrganizationRequest.ProtoReflect.Descriptor instead. func (*GetOrganizationRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{5} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{5} } func (x *GetOrganizationRequest) GetId() string { @@ -430,7 +430,7 @@ type GetOrganizationResponse struct { func (x *GetOrganizationResponse) Reset() { *x = GetOrganizationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[6] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -443,7 +443,7 @@ func (x *GetOrganizationResponse) String() string { func (*GetOrganizationResponse) ProtoMessage() {} func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[6] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -456,7 +456,7 @@ func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetOrganizationResponse.ProtoReflect.Descriptor instead. func (*GetOrganizationResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{6} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{6} } func (x *GetOrganizationResponse) GetId() string { @@ -519,7 +519,7 @@ type GetOrganizationsByUserRequest struct { func (x *GetOrganizationsByUserRequest) Reset() { *x = GetOrganizationsByUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[7] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -532,7 +532,7 @@ func (x *GetOrganizationsByUserRequest) String() string { func (*GetOrganizationsByUserRequest) ProtoMessage() {} func (x *GetOrganizationsByUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[7] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -545,7 +545,7 @@ func (x *GetOrganizationsByUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetOrganizationsByUserRequest.ProtoReflect.Descriptor instead. func (*GetOrganizationsByUserRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{7} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{7} } func (x *GetOrganizationsByUserRequest) GetUserId() string { @@ -566,7 +566,7 @@ type GetOrganizationsByUserResponse struct { func (x *GetOrganizationsByUserResponse) Reset() { *x = GetOrganizationsByUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[8] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -579,7 +579,7 @@ func (x *GetOrganizationsByUserResponse) String() string { func (*GetOrganizationsByUserResponse) ProtoMessage() {} func (x *GetOrganizationsByUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[8] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -592,7 +592,7 @@ func (x *GetOrganizationsByUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetOrganizationsByUserResponse.ProtoReflect.Descriptor instead. func (*GetOrganizationsByUserResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{8} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{8} } func (x *GetOrganizationsByUserResponse) GetOrganizations() []*GetOrganizationsByUserResponse_Organization { @@ -611,7 +611,7 @@ type GetOrganizationsForUserRequest struct { func (x *GetOrganizationsForUserRequest) Reset() { *x = GetOrganizationsForUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[9] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -624,7 +624,7 @@ func (x *GetOrganizationsForUserRequest) String() string { func (*GetOrganizationsForUserRequest) ProtoMessage() {} func (x *GetOrganizationsForUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[9] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -637,7 +637,7 @@ func (x *GetOrganizationsForUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetOrganizationsForUserRequest.ProtoReflect.Descriptor instead. func (*GetOrganizationsForUserRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{9} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{9} } type GetOrganizationsForUserResponse struct { @@ -651,7 +651,7 @@ type GetOrganizationsForUserResponse struct { func (x *GetOrganizationsForUserResponse) Reset() { *x = GetOrganizationsForUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[10] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -664,7 +664,7 @@ func (x *GetOrganizationsForUserResponse) String() string { func (*GetOrganizationsForUserResponse) ProtoMessage() {} func (x *GetOrganizationsForUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[10] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -677,7 +677,7 @@ func (x *GetOrganizationsForUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetOrganizationsForUserResponse.ProtoReflect.Descriptor instead. func (*GetOrganizationsForUserResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{10} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{10} } func (x *GetOrganizationsForUserResponse) GetOrganizations() []*GetOrganizationsForUserResponse_Organization { @@ -703,7 +703,7 @@ type UpdateOrganizationRequest struct { func (x *UpdateOrganizationRequest) Reset() { *x = UpdateOrganizationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[11] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -716,7 +716,7 @@ func (x *UpdateOrganizationRequest) String() string { func (*UpdateOrganizationRequest) ProtoMessage() {} func (x *UpdateOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[11] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -729,7 +729,7 @@ func (x *UpdateOrganizationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateOrganizationRequest.ProtoReflect.Descriptor instead. func (*UpdateOrganizationRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{11} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{11} } func (x *UpdateOrganizationRequest) GetId() string { @@ -783,7 +783,7 @@ type UpdateOrganizationResponse struct { func (x *UpdateOrganizationResponse) Reset() { *x = UpdateOrganizationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[12] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -796,7 +796,7 @@ func (x *UpdateOrganizationResponse) String() string { func (*UpdateOrganizationResponse) ProtoMessage() {} func (x *UpdateOrganizationResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[12] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -809,7 +809,7 @@ func (x *UpdateOrganizationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateOrganizationResponse.ProtoReflect.Descriptor instead. func (*UpdateOrganizationResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{12} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{12} } type DeleteOrganizationRequest struct { @@ -823,7 +823,7 @@ type DeleteOrganizationRequest struct { func (x *DeleteOrganizationRequest) Reset() { *x = DeleteOrganizationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[13] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -836,7 +836,7 @@ func (x *DeleteOrganizationRequest) String() string { func (*DeleteOrganizationRequest) ProtoMessage() {} func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[13] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -849,7 +849,7 @@ func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteOrganizationRequest.ProtoReflect.Descriptor instead. func (*DeleteOrganizationRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{13} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{13} } func (x *DeleteOrganizationRequest) GetId() string { @@ -868,7 +868,7 @@ type DeleteOrganizationResponse struct { func (x *DeleteOrganizationResponse) Reset() { *x = DeleteOrganizationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[14] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -881,7 +881,7 @@ func (x *DeleteOrganizationResponse) String() string { func (*DeleteOrganizationResponse) ProtoMessage() {} func (x *DeleteOrganizationResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[14] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -894,7 +894,7 @@ func (x *DeleteOrganizationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteOrganizationResponse.ProtoReflect.Descriptor instead. func (*DeleteOrganizationResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{14} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{14} } type GetMembersByOrganizationRequest struct { @@ -908,7 +908,7 @@ type GetMembersByOrganizationRequest struct { func (x *GetMembersByOrganizationRequest) Reset() { *x = GetMembersByOrganizationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[15] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -921,7 +921,7 @@ func (x *GetMembersByOrganizationRequest) String() string { func (*GetMembersByOrganizationRequest) ProtoMessage() {} func (x *GetMembersByOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[15] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -934,7 +934,7 @@ func (x *GetMembersByOrganizationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMembersByOrganizationRequest.ProtoReflect.Descriptor instead. func (*GetMembersByOrganizationRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{15} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{15} } func (x *GetMembersByOrganizationRequest) GetId() string { @@ -955,7 +955,7 @@ type GetMembersByOrganizationResponse struct { func (x *GetMembersByOrganizationResponse) Reset() { *x = GetMembersByOrganizationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[16] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -968,7 +968,7 @@ func (x *GetMembersByOrganizationResponse) String() string { func (*GetMembersByOrganizationResponse) ProtoMessage() {} func (x *GetMembersByOrganizationResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[16] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -981,7 +981,7 @@ func (x *GetMembersByOrganizationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMembersByOrganizationResponse.ProtoReflect.Descriptor instead. func (*GetMembersByOrganizationResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{16} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{16} } func (x *GetMembersByOrganizationResponse) GetMembers() []*GetMembersByOrganizationResponse_Member { @@ -1003,7 +1003,7 @@ type AddMemberRequest struct { func (x *AddMemberRequest) Reset() { *x = AddMemberRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[17] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1016,7 +1016,7 @@ func (x *AddMemberRequest) String() string { func (*AddMemberRequest) ProtoMessage() {} func (x *AddMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[17] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1029,7 +1029,7 @@ func (x *AddMemberRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AddMemberRequest.ProtoReflect.Descriptor instead. func (*AddMemberRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{17} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{17} } func (x *AddMemberRequest) GetId() string { @@ -1055,7 +1055,7 @@ type AddMemberResponse struct { func (x *AddMemberResponse) Reset() { *x = AddMemberResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[18] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1068,7 +1068,7 @@ func (x *AddMemberResponse) String() string { func (*AddMemberResponse) ProtoMessage() {} func (x *AddMemberResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[18] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1081,7 +1081,7 @@ func (x *AddMemberResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AddMemberResponse.ProtoReflect.Descriptor instead. func (*AddMemberResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{18} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{18} } type RemoveMemberRequest struct { @@ -1096,7 +1096,7 @@ type RemoveMemberRequest struct { func (x *RemoveMemberRequest) Reset() { *x = RemoveMemberRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[19] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1109,7 +1109,7 @@ func (x *RemoveMemberRequest) String() string { func (*RemoveMemberRequest) ProtoMessage() {} func (x *RemoveMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[19] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1122,7 +1122,7 @@ func (x *RemoveMemberRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveMemberRequest.ProtoReflect.Descriptor instead. func (*RemoveMemberRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{19} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{19} } func (x *RemoveMemberRequest) GetId() string { @@ -1148,7 +1148,7 @@ type RemoveMemberResponse struct { func (x *RemoveMemberResponse) Reset() { *x = RemoveMemberResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[20] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1161,7 +1161,7 @@ func (x *RemoveMemberResponse) String() string { func (*RemoveMemberResponse) ProtoMessage() {} func (x *RemoveMemberResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[20] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1174,7 +1174,7 @@ func (x *RemoveMemberResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveMemberResponse.ProtoReflect.Descriptor instead. func (*RemoveMemberResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{20} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{20} } type InviteMemberRequest struct { @@ -1189,7 +1189,7 @@ type InviteMemberRequest struct { func (x *InviteMemberRequest) Reset() { *x = InviteMemberRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[21] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1202,7 +1202,7 @@ func (x *InviteMemberRequest) String() string { func (*InviteMemberRequest) ProtoMessage() {} func (x *InviteMemberRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[21] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1215,7 +1215,7 @@ func (x *InviteMemberRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InviteMemberRequest.ProtoReflect.Descriptor instead. func (*InviteMemberRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{21} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{21} } func (x *InviteMemberRequest) GetOrganizationId() string { @@ -1243,7 +1243,7 @@ type InviteMemberResponse struct { func (x *InviteMemberResponse) Reset() { *x = InviteMemberResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[22] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1256,7 +1256,7 @@ func (x *InviteMemberResponse) String() string { func (*InviteMemberResponse) ProtoMessage() {} func (x *InviteMemberResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[22] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1269,7 +1269,7 @@ func (x *InviteMemberResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InviteMemberResponse.ProtoReflect.Descriptor instead. func (*InviteMemberResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{22} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{22} } func (x *InviteMemberResponse) GetId() string { @@ -1285,13 +1285,13 @@ type GetInvitationsByOrganizationRequest struct { unknownFields protoimpl.UnknownFields OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty" validate:"uuid4"` // @gotags: validate:"uuid4" - State *InvitationState `protobuf:"varint,2,opt,name=state,proto3,enum=proto.services.user_svc.v1.InvitationState,oneof" json:"state,omitempty"` + State *InvitationState `protobuf:"varint,2,opt,name=state,proto3,enum=services.user_svc.v1.InvitationState,oneof" json:"state,omitempty"` } func (x *GetInvitationsByOrganizationRequest) Reset() { *x = GetInvitationsByOrganizationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[23] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1304,7 +1304,7 @@ func (x *GetInvitationsByOrganizationRequest) String() string { func (*GetInvitationsByOrganizationRequest) ProtoMessage() {} func (x *GetInvitationsByOrganizationRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[23] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1317,7 +1317,7 @@ func (x *GetInvitationsByOrganizationRequest) ProtoReflect() protoreflect.Messag // Deprecated: Use GetInvitationsByOrganizationRequest.ProtoReflect.Descriptor instead. func (*GetInvitationsByOrganizationRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{23} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{23} } func (x *GetInvitationsByOrganizationRequest) GetOrganizationId() string { @@ -1345,7 +1345,7 @@ type GetInvitationsByOrganizationResponse struct { func (x *GetInvitationsByOrganizationResponse) Reset() { *x = GetInvitationsByOrganizationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[24] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1358,7 +1358,7 @@ func (x *GetInvitationsByOrganizationResponse) String() string { func (*GetInvitationsByOrganizationResponse) ProtoMessage() {} func (x *GetInvitationsByOrganizationResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[24] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1371,7 +1371,7 @@ func (x *GetInvitationsByOrganizationResponse) ProtoReflect() protoreflect.Messa // Deprecated: Use GetInvitationsByOrganizationResponse.ProtoReflect.Descriptor instead. func (*GetInvitationsByOrganizationResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{24} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{24} } func (x *GetInvitationsByOrganizationResponse) GetInvitations() []*GetInvitationsByOrganizationResponse_Invitation { @@ -1386,13 +1386,13 @@ type GetInvitationsByUserRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - State *InvitationState `protobuf:"varint,1,opt,name=state,proto3,enum=proto.services.user_svc.v1.InvitationState,oneof" json:"state,omitempty"` + State *InvitationState `protobuf:"varint,1,opt,name=state,proto3,enum=services.user_svc.v1.InvitationState,oneof" json:"state,omitempty"` } func (x *GetInvitationsByUserRequest) Reset() { *x = GetInvitationsByUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[25] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1405,7 +1405,7 @@ func (x *GetInvitationsByUserRequest) String() string { func (*GetInvitationsByUserRequest) ProtoMessage() {} func (x *GetInvitationsByUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[25] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1418,7 +1418,7 @@ func (x *GetInvitationsByUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetInvitationsByUserRequest.ProtoReflect.Descriptor instead. func (*GetInvitationsByUserRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{25} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{25} } func (x *GetInvitationsByUserRequest) GetState() InvitationState { @@ -1439,7 +1439,7 @@ type GetInvitationsByUserResponse struct { func (x *GetInvitationsByUserResponse) Reset() { *x = GetInvitationsByUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[26] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1452,7 +1452,7 @@ func (x *GetInvitationsByUserResponse) String() string { func (*GetInvitationsByUserResponse) ProtoMessage() {} func (x *GetInvitationsByUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[26] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1465,7 +1465,7 @@ func (x *GetInvitationsByUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetInvitationsByUserResponse.ProtoReflect.Descriptor instead. func (*GetInvitationsByUserResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{26} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{26} } func (x *GetInvitationsByUserResponse) GetInvitations() []*GetInvitationsByUserResponse_Invitation { @@ -1487,7 +1487,7 @@ type AcceptInvitationRequest struct { func (x *AcceptInvitationRequest) Reset() { *x = AcceptInvitationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[27] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1500,7 +1500,7 @@ func (x *AcceptInvitationRequest) String() string { func (*AcceptInvitationRequest) ProtoMessage() {} func (x *AcceptInvitationRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[27] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1513,7 +1513,7 @@ func (x *AcceptInvitationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AcceptInvitationRequest.ProtoReflect.Descriptor instead. func (*AcceptInvitationRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{27} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{27} } func (x *AcceptInvitationRequest) GetInvitationId() string { @@ -1532,7 +1532,7 @@ type AcceptInvitationResponse struct { func (x *AcceptInvitationResponse) Reset() { *x = AcceptInvitationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[28] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1545,7 +1545,7 @@ func (x *AcceptInvitationResponse) String() string { func (*AcceptInvitationResponse) ProtoMessage() {} func (x *AcceptInvitationResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[28] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1558,7 +1558,7 @@ func (x *AcceptInvitationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AcceptInvitationResponse.ProtoReflect.Descriptor instead. func (*AcceptInvitationResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{28} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{28} } type DeclineInvitationRequest struct { @@ -1572,7 +1572,7 @@ type DeclineInvitationRequest struct { func (x *DeclineInvitationRequest) Reset() { *x = DeclineInvitationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[29] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1585,7 +1585,7 @@ func (x *DeclineInvitationRequest) String() string { func (*DeclineInvitationRequest) ProtoMessage() {} func (x *DeclineInvitationRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[29] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1598,7 +1598,7 @@ func (x *DeclineInvitationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeclineInvitationRequest.ProtoReflect.Descriptor instead. func (*DeclineInvitationRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{29} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{29} } func (x *DeclineInvitationRequest) GetInvitationId() string { @@ -1617,7 +1617,7 @@ type DeclineInvitationResponse struct { func (x *DeclineInvitationResponse) Reset() { *x = DeclineInvitationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[30] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1630,7 +1630,7 @@ func (x *DeclineInvitationResponse) String() string { func (*DeclineInvitationResponse) ProtoMessage() {} func (x *DeclineInvitationResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[30] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1643,7 +1643,7 @@ func (x *DeclineInvitationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeclineInvitationResponse.ProtoReflect.Descriptor instead. func (*DeclineInvitationResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{30} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{30} } type RevokeInvitationRequest struct { @@ -1657,7 +1657,7 @@ type RevokeInvitationRequest struct { func (x *RevokeInvitationRequest) Reset() { *x = RevokeInvitationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[31] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1670,7 +1670,7 @@ func (x *RevokeInvitationRequest) String() string { func (*RevokeInvitationRequest) ProtoMessage() {} func (x *RevokeInvitationRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[31] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1683,7 +1683,7 @@ func (x *RevokeInvitationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RevokeInvitationRequest.ProtoReflect.Descriptor instead. func (*RevokeInvitationRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{31} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{31} } func (x *RevokeInvitationRequest) GetInvitationId() string { @@ -1702,7 +1702,7 @@ type RevokeInvitationResponse struct { func (x *RevokeInvitationResponse) Reset() { *x = RevokeInvitationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[32] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1715,7 +1715,7 @@ func (x *RevokeInvitationResponse) String() string { func (*RevokeInvitationResponse) ProtoMessage() {} func (x *RevokeInvitationResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[32] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1728,7 +1728,7 @@ func (x *RevokeInvitationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RevokeInvitationResponse.ProtoReflect.Descriptor instead. func (*RevokeInvitationResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{32} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{32} } type GetOrganizationsByUserResponse_Organization struct { @@ -1748,7 +1748,7 @@ type GetOrganizationsByUserResponse_Organization struct { func (x *GetOrganizationsByUserResponse_Organization) Reset() { *x = GetOrganizationsByUserResponse_Organization{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[33] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1761,7 +1761,7 @@ func (x *GetOrganizationsByUserResponse_Organization) String() string { func (*GetOrganizationsByUserResponse_Organization) ProtoMessage() {} func (x *GetOrganizationsByUserResponse_Organization) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[33] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1774,7 +1774,7 @@ func (x *GetOrganizationsByUserResponse_Organization) ProtoReflect() protoreflec // Deprecated: Use GetOrganizationsByUserResponse_Organization.ProtoReflect.Descriptor instead. func (*GetOrganizationsByUserResponse_Organization) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{8, 0} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{8, 0} } func (x *GetOrganizationsByUserResponse_Organization) GetId() string { @@ -1840,7 +1840,7 @@ type GetOrganizationsByUserResponse_Organization_Member struct { func (x *GetOrganizationsByUserResponse_Organization_Member) Reset() { *x = GetOrganizationsByUserResponse_Organization_Member{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[34] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1853,7 +1853,7 @@ func (x *GetOrganizationsByUserResponse_Organization_Member) String() string { func (*GetOrganizationsByUserResponse_Organization_Member) ProtoMessage() {} func (x *GetOrganizationsByUserResponse_Organization_Member) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[34] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1866,7 +1866,7 @@ func (x *GetOrganizationsByUserResponse_Organization_Member) ProtoReflect() prot // Deprecated: Use GetOrganizationsByUserResponse_Organization_Member.ProtoReflect.Descriptor instead. func (*GetOrganizationsByUserResponse_Organization_Member) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{8, 0, 0} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{8, 0, 0} } func (x *GetOrganizationsByUserResponse_Organization_Member) GetUserId() string { @@ -1914,7 +1914,7 @@ type GetOrganizationsForUserResponse_Organization struct { func (x *GetOrganizationsForUserResponse_Organization) Reset() { *x = GetOrganizationsForUserResponse_Organization{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[35] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1927,7 +1927,7 @@ func (x *GetOrganizationsForUserResponse_Organization) String() string { func (*GetOrganizationsForUserResponse_Organization) ProtoMessage() {} func (x *GetOrganizationsForUserResponse_Organization) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[35] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1940,7 +1940,7 @@ func (x *GetOrganizationsForUserResponse_Organization) ProtoReflect() protorefle // Deprecated: Use GetOrganizationsForUserResponse_Organization.ProtoReflect.Descriptor instead. func (*GetOrganizationsForUserResponse_Organization) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{10, 0} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{10, 0} } func (x *GetOrganizationsForUserResponse_Organization) GetId() string { @@ -2006,7 +2006,7 @@ type GetOrganizationsForUserResponse_Organization_Member struct { func (x *GetOrganizationsForUserResponse_Organization_Member) Reset() { *x = GetOrganizationsForUserResponse_Organization_Member{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[36] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2019,7 +2019,7 @@ func (x *GetOrganizationsForUserResponse_Organization_Member) String() string { func (*GetOrganizationsForUserResponse_Organization_Member) ProtoMessage() {} func (x *GetOrganizationsForUserResponse_Organization_Member) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[36] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2032,7 +2032,7 @@ func (x *GetOrganizationsForUserResponse_Organization_Member) ProtoReflect() pro // Deprecated: Use GetOrganizationsForUserResponse_Organization_Member.ProtoReflect.Descriptor instead. func (*GetOrganizationsForUserResponse_Organization_Member) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{10, 0, 0} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{10, 0, 0} } func (x *GetOrganizationsForUserResponse_Organization_Member) GetUserId() string { @@ -2077,7 +2077,7 @@ type GetMembersByOrganizationResponse_Member struct { func (x *GetMembersByOrganizationResponse_Member) Reset() { *x = GetMembersByOrganizationResponse_Member{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[37] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2090,7 +2090,7 @@ func (x *GetMembersByOrganizationResponse_Member) String() string { func (*GetMembersByOrganizationResponse_Member) ProtoMessage() {} func (x *GetMembersByOrganizationResponse_Member) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[37] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2103,7 +2103,7 @@ func (x *GetMembersByOrganizationResponse_Member) ProtoReflect() protoreflect.Me // Deprecated: Use GetMembersByOrganizationResponse_Member.ProtoReflect.Descriptor instead. func (*GetMembersByOrganizationResponse_Member) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{16, 0} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{16, 0} } func (x *GetMembersByOrganizationResponse_Member) GetUserId() string { @@ -2142,13 +2142,13 @@ type GetInvitationsByOrganizationResponse_Invitation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` - State InvitationState `protobuf:"varint,4,opt,name=state,proto3,enum=proto.services.user_svc.v1.InvitationState" json:"state,omitempty"` + State InvitationState `protobuf:"varint,4,opt,name=state,proto3,enum=services.user_svc.v1.InvitationState" json:"state,omitempty"` } func (x *GetInvitationsByOrganizationResponse_Invitation) Reset() { *x = GetInvitationsByOrganizationResponse_Invitation{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[38] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2161,7 +2161,7 @@ func (x *GetInvitationsByOrganizationResponse_Invitation) String() string { func (*GetInvitationsByOrganizationResponse_Invitation) ProtoMessage() {} func (x *GetInvitationsByOrganizationResponse_Invitation) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[38] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2174,7 +2174,7 @@ func (x *GetInvitationsByOrganizationResponse_Invitation) ProtoReflect() protore // Deprecated: Use GetInvitationsByOrganizationResponse_Invitation.ProtoReflect.Descriptor instead. func (*GetInvitationsByOrganizationResponse_Invitation) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{24, 0} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{24, 0} } func (x *GetInvitationsByOrganizationResponse_Invitation) GetId() string { @@ -2213,13 +2213,13 @@ type GetInvitationsByUserResponse_Invitation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Organization *GetInvitationsByUserResponse_Invitation_Organization `protobuf:"bytes,3,opt,name=organization,proto3" json:"organization,omitempty"` - State InvitationState `protobuf:"varint,4,opt,name=state,proto3,enum=proto.services.user_svc.v1.InvitationState" json:"state,omitempty"` + State InvitationState `protobuf:"varint,4,opt,name=state,proto3,enum=services.user_svc.v1.InvitationState" json:"state,omitempty"` } func (x *GetInvitationsByUserResponse_Invitation) Reset() { *x = GetInvitationsByUserResponse_Invitation{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[39] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2232,7 +2232,7 @@ func (x *GetInvitationsByUserResponse_Invitation) String() string { func (*GetInvitationsByUserResponse_Invitation) ProtoMessage() {} func (x *GetInvitationsByUserResponse_Invitation) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[39] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2245,7 +2245,7 @@ func (x *GetInvitationsByUserResponse_Invitation) ProtoReflect() protoreflect.Me // Deprecated: Use GetInvitationsByUserResponse_Invitation.ProtoReflect.Descriptor instead. func (*GetInvitationsByUserResponse_Invitation) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{26, 0} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{26, 0} } func (x *GetInvitationsByUserResponse_Invitation) GetId() string { @@ -2289,7 +2289,7 @@ type GetInvitationsByUserResponse_Invitation_Organization struct { func (x *GetInvitationsByUserResponse_Invitation_Organization) Reset() { *x = GetInvitationsByUserResponse_Invitation_Organization{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[40] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2302,7 +2302,7 @@ func (x *GetInvitationsByUserResponse_Invitation_Organization) String() string { func (*GetInvitationsByUserResponse_Invitation_Organization) ProtoMessage() {} func (x *GetInvitationsByUserResponse_Invitation_Organization) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[40] + mi := &file_services_user_svc_v1_organization_svc_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2315,7 +2315,7 @@ func (x *GetInvitationsByUserResponse_Invitation_Organization) ProtoReflect() pr // Deprecated: Use GetInvitationsByUserResponse_Invitation_Organization.ProtoReflect.Descriptor instead. func (*GetInvitationsByUserResponse_Invitation_Organization) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{26, 0, 0} + return file_services_user_svc_v1_organization_svc_proto_rawDescGZIP(), []int{26, 0, 0} } func (x *GetInvitationsByUserResponse_Invitation_Organization) GetId() string { @@ -2339,184 +2339,181 @@ func (x *GetInvitationsByUserResponse_Invitation_Organization) GetAvatarUrl() st return "" } -var File_proto_services_user_svc_v1_organization_svc_proto protoreflect.FileDescriptor - -var file_proto_services_user_svc_v1_organization_svc_proto_rawDesc = []byte{ - 0x0a, 0x31, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, - 0xb2, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, - 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, - 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, - 0x74, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x24, - 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, - 0x6c, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, - 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0x2c, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x22, 0xd2, 0x01, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x6e, 0x67, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x65, - 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, - 0x61, 0x63, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x24, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, - 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, - 0x0a, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x17, - 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x69, 0x73, 0x5f, 0x70, - 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0x33, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, +var File_services_user_svc_v1_organization_svc_proto protoreflect.FileDescriptor + +var file_services_user_svc_v1_organization_svc_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x22, 0xb2, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, + 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x12, 0x24, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, + 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x73, 0x50, 0x65, 0x72, + 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x69, 0x73, 0x5f, + 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0x2c, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xd2, 0x01, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x30, 0x0a, 0x15, - 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x28, - 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xab, 0x02, 0x0a, 0x17, 0x47, 0x65, 0x74, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, - 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, - 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, - 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x61, 0x76, 0x61, - 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, - 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, - 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x4b, 0x0a, 0x07, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, - 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, - 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, - 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x38, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, - 0x22, 0xd8, 0x04, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x1a, 0xc6, 0x03, 0x0a, 0x0c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x45, - 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, - 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, - 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, - 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, - 0x73, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x68, 0x0a, 0x07, 0x6d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6c, + 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, + 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, + 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x63, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x24, 0x0a, 0x0b, + 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x88, + 0x01, 0x01, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, + 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0x33, 0x0a, 0x21, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x22, 0x30, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, + 0x49, 0x64, 0x22, 0x28, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xa5, 0x02, 0x0a, + 0x17, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x6e, + 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, + 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, + 0x74, 0x61, 0x63, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, + 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x45, + 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2b, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, + 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x38, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x1a, 0x86, 0x01, 0x0a, 0x06, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x17, - 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, - 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, - 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, - 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, - 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x42, 0x0d, 0x0a, 0x0b, - 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x20, 0x0a, 0x1e, 0x47, - 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, - 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xdb, 0x04, - 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xcc, + 0x04, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x67, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xc0, 0x03, 0x0a, 0x0c, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6c, + 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, + 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, + 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x63, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0a, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, + 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, + 0x6c, 0x12, 0x62, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x73, 0x1a, 0x86, 0x01, 0x0a, 0x06, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, + 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, + 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x42, 0x0d, + 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x20, 0x0a, + 0x1e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0xcf, 0x04, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x6e, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x1a, 0xc7, 0x03, 0x0a, 0x0c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, - 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x45, 0x6d, - 0x61, 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, - 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, - 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x65, - 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, - 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x69, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x1a, 0x86, 0x01, 0x0a, 0x06, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x17, - 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, - 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, - 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, - 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, - 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x42, 0x0d, 0x0a, 0x0b, - 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0xb3, 0x02, 0x0a, 0x19, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, - 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, - 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x73, - 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x01, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, - 0x28, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, - 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, - 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, - 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, - 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x08, 0x48, 0x04, 0x52, 0x0a, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, - 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x6d, 0x61, - 0x69, 0x6c, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, - 0x6c, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, - 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x2b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x1f, 0x47, 0x65, - 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8a, 0x02, - 0x0a, 0x20, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x79, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xc1, 0x03, + 0x0a, 0x0c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, + 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, + 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, + 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, + 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, + 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x50, 0x65, 0x72, 0x73, + 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x63, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x6f, 0x72, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x1a, 0x86, 0x01, 0x0a, 0x06, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, + 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, + 0x72, 0x6c, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, + 0x6c, 0x22, 0xb3, 0x02, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x20, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, + 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, + 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0c, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x12, + 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, + 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, + 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x04, 0x52, 0x0a, 0x69, 0x73, 0x50, 0x65, + 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6c, 0x6f, + 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x68, 0x6f, 0x72, + 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x63, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, + 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x69, 0x73, 0x5f, 0x70, + 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x31, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x79, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x22, 0x84, 0x02, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, + 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, @@ -2548,361 +2545,344 @@ var file_proto_services_user_svc_v1_organization_svc_proto_rawDesc = []byte{ 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x26, 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x22, 0xa0, 0x01, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, + 0x69, 0x64, 0x22, 0x9a, 0x01, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, - 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0xb6, 0x02, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, - 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6d, - 0x0a, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, - 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x9e, 0x01, - 0x0a, 0x0a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, - 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, - 0x69, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x41, 0x0a, 0x05, 0x73, - 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x6f, - 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, + 0x6e, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, - 0xe3, 0x03, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x65, 0x0a, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xdb, 0x02, 0x0a, 0x0a, 0x49, 0x6e, 0x76, 0x69, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x74, 0x0a, 0x0c, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0xaa, 0x02, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x0b, 0x69, 0x6e, 0x76, 0x69, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x1a, 0x98, 0x01, 0x0a, 0x0a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x3b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x69, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x76, - 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x49, - 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x6e, 0x0a, 0x0c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, - 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, - 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x3e, 0x0a, 0x17, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, + 0x06, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0xd1, 0x03, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x49, + 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x69, 0x6e, 0x76, 0x69, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, + 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xcf, 0x02, 0x0a, 0x0a, 0x49, 0x6e, + 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x6e, + 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, + 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x6e, 0x0a, 0x0c, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6c, + 0x6f, 0x6e, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x6c, 0x6f, 0x6e, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, + 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, + 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x3e, 0x0a, 0x17, 0x41, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, + 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x41, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x0a, 0x18, 0x44, 0x65, 0x63, 0x6c, 0x69, + 0x6e, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x69, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x65, 0x63, 0x6c, + 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x0a, 0x17, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x3f, 0x0a, 0x18, 0x44, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x76, 0x69, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, - 0x0d, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x76, - 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x3e, 0x0a, 0x17, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, - 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, - 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0xad, 0x01, 0x0a, 0x0f, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x20, 0x0a, 0x1c, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, - 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, - 0x1d, 0x0a, 0x19, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, - 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x1d, - 0x0a, 0x19, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, - 0x54, 0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x1c, 0x0a, - 0x18, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x45, 0x5f, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x44, 0x10, 0x04, 0x32, 0x9e, 0x11, 0x0a, 0x13, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x85, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x9a, 0x01, 0x0a, 0x19, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x3c, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x65, 0x2a, 0xad, 0x01, 0x0a, 0x0f, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x4e, 0x56, 0x49, 0x54, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, + 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, + 0x45, 0x44, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, + 0x44, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x44, 0x10, + 0x04, 0x32, 0xd9, 0x0f, 0x0a, 0x13, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x79, 0x0a, 0x12, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, - 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x91, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, - 0x72, 0x12, 0x39, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, - 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x8e, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x55, 0x73, + 0x65, 0x72, 0x12, 0x36, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, + 0x65, 0x72, 0x12, 0x33, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x94, 0x01, 0x0a, 0x17, 0x47, - 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, - 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x3a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, + 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x88, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x34, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x35, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x85, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x12, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x8b, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, + 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x97, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, - 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, + 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, - 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x09, 0x41, - 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x0c, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, - 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, + 0x0a, 0x09, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, + 0x0a, 0x0c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x0c, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, - 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, - 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0xa3, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x3f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, - 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8b, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x49, - 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, - 0x12, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x0c, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x49, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x97, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x39, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x10, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, - 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x65, 0x72, 0x12, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x76, + 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x41, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x2d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, 0x6e, 0x76, - 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, - 0x70, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x63, 0x6c, 0x69, - 0x6e, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x6c, 0x69, 0x6e, - 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x10, 0x52, - 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, - 0x6f, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xda, 0x01, 0x0a, - 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, - 0x14, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x76, 0x63, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, - 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x55, 0xaa, 0x02, 0x19, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x5c, - 0x56, 0x31, 0xe2, 0x02, 0x25, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x55, 0x73, - 0x65, 0x72, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, 0x6e, 0x76, 0x69, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x76, 0x0a, 0x11, 0x44, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, + 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, + 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x10, 0x52, 0x65, 0x76, 0x6f, + 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xbb, 0x01, + 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x73, 0x76, 0x63, 0xa2, + 0x02, 0x03, 0x53, 0x55, 0x58, 0xaa, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, + 0x72, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, + 0x55, 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( - file_proto_services_user_svc_v1_organization_svc_proto_rawDescOnce sync.Once - file_proto_services_user_svc_v1_organization_svc_proto_rawDescData = file_proto_services_user_svc_v1_organization_svc_proto_rawDesc + file_services_user_svc_v1_organization_svc_proto_rawDescOnce sync.Once + file_services_user_svc_v1_organization_svc_proto_rawDescData = file_services_user_svc_v1_organization_svc_proto_rawDesc ) -func file_proto_services_user_svc_v1_organization_svc_proto_rawDescGZIP() []byte { - file_proto_services_user_svc_v1_organization_svc_proto_rawDescOnce.Do(func() { - file_proto_services_user_svc_v1_organization_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_user_svc_v1_organization_svc_proto_rawDescData) +func file_services_user_svc_v1_organization_svc_proto_rawDescGZIP() []byte { + file_services_user_svc_v1_organization_svc_proto_rawDescOnce.Do(func() { + file_services_user_svc_v1_organization_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_user_svc_v1_organization_svc_proto_rawDescData) }) - return file_proto_services_user_svc_v1_organization_svc_proto_rawDescData -} - -var file_proto_services_user_svc_v1_organization_svc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_proto_services_user_svc_v1_organization_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 41) -var file_proto_services_user_svc_v1_organization_svc_proto_goTypes = []interface{}{ - (InvitationState)(0), // 0: proto.services.user_svc.v1.InvitationState - (*CreateOrganizationRequest)(nil), // 1: proto.services.user_svc.v1.CreateOrganizationRequest - (*CreateOrganizationResponse)(nil), // 2: proto.services.user_svc.v1.CreateOrganizationResponse - (*CreateOrganizationForUserRequest)(nil), // 3: proto.services.user_svc.v1.CreateOrganizationForUserRequest - (*CreateOrganizationForUserResponse)(nil), // 4: proto.services.user_svc.v1.CreateOrganizationForUserResponse - (*GetOrganizationMember)(nil), // 5: proto.services.user_svc.v1.GetOrganizationMember - (*GetOrganizationRequest)(nil), // 6: proto.services.user_svc.v1.GetOrganizationRequest - (*GetOrganizationResponse)(nil), // 7: proto.services.user_svc.v1.GetOrganizationResponse - (*GetOrganizationsByUserRequest)(nil), // 8: proto.services.user_svc.v1.GetOrganizationsByUserRequest - (*GetOrganizationsByUserResponse)(nil), // 9: proto.services.user_svc.v1.GetOrganizationsByUserResponse - (*GetOrganizationsForUserRequest)(nil), // 10: proto.services.user_svc.v1.GetOrganizationsForUserRequest - (*GetOrganizationsForUserResponse)(nil), // 11: proto.services.user_svc.v1.GetOrganizationsForUserResponse - (*UpdateOrganizationRequest)(nil), // 12: proto.services.user_svc.v1.UpdateOrganizationRequest - (*UpdateOrganizationResponse)(nil), // 13: proto.services.user_svc.v1.UpdateOrganizationResponse - (*DeleteOrganizationRequest)(nil), // 14: proto.services.user_svc.v1.DeleteOrganizationRequest - (*DeleteOrganizationResponse)(nil), // 15: proto.services.user_svc.v1.DeleteOrganizationResponse - (*GetMembersByOrganizationRequest)(nil), // 16: proto.services.user_svc.v1.GetMembersByOrganizationRequest - (*GetMembersByOrganizationResponse)(nil), // 17: proto.services.user_svc.v1.GetMembersByOrganizationResponse - (*AddMemberRequest)(nil), // 18: proto.services.user_svc.v1.AddMemberRequest - (*AddMemberResponse)(nil), // 19: proto.services.user_svc.v1.AddMemberResponse - (*RemoveMemberRequest)(nil), // 20: proto.services.user_svc.v1.RemoveMemberRequest - (*RemoveMemberResponse)(nil), // 21: proto.services.user_svc.v1.RemoveMemberResponse - (*InviteMemberRequest)(nil), // 22: proto.services.user_svc.v1.InviteMemberRequest - (*InviteMemberResponse)(nil), // 23: proto.services.user_svc.v1.InviteMemberResponse - (*GetInvitationsByOrganizationRequest)(nil), // 24: proto.services.user_svc.v1.GetInvitationsByOrganizationRequest - (*GetInvitationsByOrganizationResponse)(nil), // 25: proto.services.user_svc.v1.GetInvitationsByOrganizationResponse - (*GetInvitationsByUserRequest)(nil), // 26: proto.services.user_svc.v1.GetInvitationsByUserRequest - (*GetInvitationsByUserResponse)(nil), // 27: proto.services.user_svc.v1.GetInvitationsByUserResponse - (*AcceptInvitationRequest)(nil), // 28: proto.services.user_svc.v1.AcceptInvitationRequest - (*AcceptInvitationResponse)(nil), // 29: proto.services.user_svc.v1.AcceptInvitationResponse - (*DeclineInvitationRequest)(nil), // 30: proto.services.user_svc.v1.DeclineInvitationRequest - (*DeclineInvitationResponse)(nil), // 31: proto.services.user_svc.v1.DeclineInvitationResponse - (*RevokeInvitationRequest)(nil), // 32: proto.services.user_svc.v1.RevokeInvitationRequest - (*RevokeInvitationResponse)(nil), // 33: proto.services.user_svc.v1.RevokeInvitationResponse - (*GetOrganizationsByUserResponse_Organization)(nil), // 34: proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization - (*GetOrganizationsByUserResponse_Organization_Member)(nil), // 35: proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member - (*GetOrganizationsForUserResponse_Organization)(nil), // 36: proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization - (*GetOrganizationsForUserResponse_Organization_Member)(nil), // 37: proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member - (*GetMembersByOrganizationResponse_Member)(nil), // 38: proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member - (*GetInvitationsByOrganizationResponse_Invitation)(nil), // 39: proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation - (*GetInvitationsByUserResponse_Invitation)(nil), // 40: proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation - (*GetInvitationsByUserResponse_Invitation_Organization)(nil), // 41: proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization -} -var file_proto_services_user_svc_v1_organization_svc_proto_depIdxs = []int32{ - 5, // 0: proto.services.user_svc.v1.GetOrganizationResponse.members:type_name -> proto.services.user_svc.v1.GetOrganizationMember - 34, // 1: proto.services.user_svc.v1.GetOrganizationsByUserResponse.organizations:type_name -> proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization - 36, // 2: proto.services.user_svc.v1.GetOrganizationsForUserResponse.organizations:type_name -> proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization - 38, // 3: proto.services.user_svc.v1.GetMembersByOrganizationResponse.members:type_name -> proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member - 0, // 4: proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.state:type_name -> proto.services.user_svc.v1.InvitationState - 39, // 5: proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.invitations:type_name -> proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation - 0, // 6: proto.services.user_svc.v1.GetInvitationsByUserRequest.state:type_name -> proto.services.user_svc.v1.InvitationState - 40, // 7: proto.services.user_svc.v1.GetInvitationsByUserResponse.invitations:type_name -> proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation - 35, // 8: proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.members:type_name -> proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member - 37, // 9: proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.members:type_name -> proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member - 0, // 10: proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.state:type_name -> proto.services.user_svc.v1.InvitationState - 41, // 11: proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.organization:type_name -> proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization - 0, // 12: proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.state:type_name -> proto.services.user_svc.v1.InvitationState - 1, // 13: proto.services.user_svc.v1.OrganizationService.CreateOrganization:input_type -> proto.services.user_svc.v1.CreateOrganizationRequest - 3, // 14: proto.services.user_svc.v1.OrganizationService.CreateOrganizationForUser:input_type -> proto.services.user_svc.v1.CreateOrganizationForUserRequest - 6, // 15: proto.services.user_svc.v1.OrganizationService.GetOrganization:input_type -> proto.services.user_svc.v1.GetOrganizationRequest - 8, // 16: proto.services.user_svc.v1.OrganizationService.GetOrganizationsByUser:input_type -> proto.services.user_svc.v1.GetOrganizationsByUserRequest - 10, // 17: proto.services.user_svc.v1.OrganizationService.GetOrganizationsForUser:input_type -> proto.services.user_svc.v1.GetOrganizationsForUserRequest - 12, // 18: proto.services.user_svc.v1.OrganizationService.UpdateOrganization:input_type -> proto.services.user_svc.v1.UpdateOrganizationRequest - 14, // 19: proto.services.user_svc.v1.OrganizationService.DeleteOrganization:input_type -> proto.services.user_svc.v1.DeleteOrganizationRequest - 16, // 20: proto.services.user_svc.v1.OrganizationService.GetMembersByOrganization:input_type -> proto.services.user_svc.v1.GetMembersByOrganizationRequest - 18, // 21: proto.services.user_svc.v1.OrganizationService.AddMember:input_type -> proto.services.user_svc.v1.AddMemberRequest - 20, // 22: proto.services.user_svc.v1.OrganizationService.RemoveMember:input_type -> proto.services.user_svc.v1.RemoveMemberRequest - 22, // 23: proto.services.user_svc.v1.OrganizationService.InviteMember:input_type -> proto.services.user_svc.v1.InviteMemberRequest - 24, // 24: proto.services.user_svc.v1.OrganizationService.GetInvitationsByOrganization:input_type -> proto.services.user_svc.v1.GetInvitationsByOrganizationRequest - 26, // 25: proto.services.user_svc.v1.OrganizationService.GetInvitationsByUser:input_type -> proto.services.user_svc.v1.GetInvitationsByUserRequest - 28, // 26: proto.services.user_svc.v1.OrganizationService.AcceptInvitation:input_type -> proto.services.user_svc.v1.AcceptInvitationRequest - 30, // 27: proto.services.user_svc.v1.OrganizationService.DeclineInvitation:input_type -> proto.services.user_svc.v1.DeclineInvitationRequest - 32, // 28: proto.services.user_svc.v1.OrganizationService.RevokeInvitation:input_type -> proto.services.user_svc.v1.RevokeInvitationRequest - 2, // 29: proto.services.user_svc.v1.OrganizationService.CreateOrganization:output_type -> proto.services.user_svc.v1.CreateOrganizationResponse - 4, // 30: proto.services.user_svc.v1.OrganizationService.CreateOrganizationForUser:output_type -> proto.services.user_svc.v1.CreateOrganizationForUserResponse - 7, // 31: proto.services.user_svc.v1.OrganizationService.GetOrganization:output_type -> proto.services.user_svc.v1.GetOrganizationResponse - 9, // 32: proto.services.user_svc.v1.OrganizationService.GetOrganizationsByUser:output_type -> proto.services.user_svc.v1.GetOrganizationsByUserResponse - 11, // 33: proto.services.user_svc.v1.OrganizationService.GetOrganizationsForUser:output_type -> proto.services.user_svc.v1.GetOrganizationsForUserResponse - 13, // 34: proto.services.user_svc.v1.OrganizationService.UpdateOrganization:output_type -> proto.services.user_svc.v1.UpdateOrganizationResponse - 15, // 35: proto.services.user_svc.v1.OrganizationService.DeleteOrganization:output_type -> proto.services.user_svc.v1.DeleteOrganizationResponse - 17, // 36: proto.services.user_svc.v1.OrganizationService.GetMembersByOrganization:output_type -> proto.services.user_svc.v1.GetMembersByOrganizationResponse - 19, // 37: proto.services.user_svc.v1.OrganizationService.AddMember:output_type -> proto.services.user_svc.v1.AddMemberResponse - 21, // 38: proto.services.user_svc.v1.OrganizationService.RemoveMember:output_type -> proto.services.user_svc.v1.RemoveMemberResponse - 23, // 39: proto.services.user_svc.v1.OrganizationService.InviteMember:output_type -> proto.services.user_svc.v1.InviteMemberResponse - 25, // 40: proto.services.user_svc.v1.OrganizationService.GetInvitationsByOrganization:output_type -> proto.services.user_svc.v1.GetInvitationsByOrganizationResponse - 27, // 41: proto.services.user_svc.v1.OrganizationService.GetInvitationsByUser:output_type -> proto.services.user_svc.v1.GetInvitationsByUserResponse - 29, // 42: proto.services.user_svc.v1.OrganizationService.AcceptInvitation:output_type -> proto.services.user_svc.v1.AcceptInvitationResponse - 31, // 43: proto.services.user_svc.v1.OrganizationService.DeclineInvitation:output_type -> proto.services.user_svc.v1.DeclineInvitationResponse - 33, // 44: proto.services.user_svc.v1.OrganizationService.RevokeInvitation:output_type -> proto.services.user_svc.v1.RevokeInvitationResponse + return file_services_user_svc_v1_organization_svc_proto_rawDescData +} + +var file_services_user_svc_v1_organization_svc_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_services_user_svc_v1_organization_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 41) +var file_services_user_svc_v1_organization_svc_proto_goTypes = []interface{}{ + (InvitationState)(0), // 0: services.user_svc.v1.InvitationState + (*CreateOrganizationRequest)(nil), // 1: services.user_svc.v1.CreateOrganizationRequest + (*CreateOrganizationResponse)(nil), // 2: services.user_svc.v1.CreateOrganizationResponse + (*CreateOrganizationForUserRequest)(nil), // 3: services.user_svc.v1.CreateOrganizationForUserRequest + (*CreateOrganizationForUserResponse)(nil), // 4: services.user_svc.v1.CreateOrganizationForUserResponse + (*GetOrganizationMember)(nil), // 5: services.user_svc.v1.GetOrganizationMember + (*GetOrganizationRequest)(nil), // 6: services.user_svc.v1.GetOrganizationRequest + (*GetOrganizationResponse)(nil), // 7: services.user_svc.v1.GetOrganizationResponse + (*GetOrganizationsByUserRequest)(nil), // 8: services.user_svc.v1.GetOrganizationsByUserRequest + (*GetOrganizationsByUserResponse)(nil), // 9: services.user_svc.v1.GetOrganizationsByUserResponse + (*GetOrganizationsForUserRequest)(nil), // 10: services.user_svc.v1.GetOrganizationsForUserRequest + (*GetOrganizationsForUserResponse)(nil), // 11: services.user_svc.v1.GetOrganizationsForUserResponse + (*UpdateOrganizationRequest)(nil), // 12: services.user_svc.v1.UpdateOrganizationRequest + (*UpdateOrganizationResponse)(nil), // 13: services.user_svc.v1.UpdateOrganizationResponse + (*DeleteOrganizationRequest)(nil), // 14: services.user_svc.v1.DeleteOrganizationRequest + (*DeleteOrganizationResponse)(nil), // 15: services.user_svc.v1.DeleteOrganizationResponse + (*GetMembersByOrganizationRequest)(nil), // 16: services.user_svc.v1.GetMembersByOrganizationRequest + (*GetMembersByOrganizationResponse)(nil), // 17: services.user_svc.v1.GetMembersByOrganizationResponse + (*AddMemberRequest)(nil), // 18: services.user_svc.v1.AddMemberRequest + (*AddMemberResponse)(nil), // 19: services.user_svc.v1.AddMemberResponse + (*RemoveMemberRequest)(nil), // 20: services.user_svc.v1.RemoveMemberRequest + (*RemoveMemberResponse)(nil), // 21: services.user_svc.v1.RemoveMemberResponse + (*InviteMemberRequest)(nil), // 22: services.user_svc.v1.InviteMemberRequest + (*InviteMemberResponse)(nil), // 23: services.user_svc.v1.InviteMemberResponse + (*GetInvitationsByOrganizationRequest)(nil), // 24: services.user_svc.v1.GetInvitationsByOrganizationRequest + (*GetInvitationsByOrganizationResponse)(nil), // 25: services.user_svc.v1.GetInvitationsByOrganizationResponse + (*GetInvitationsByUserRequest)(nil), // 26: services.user_svc.v1.GetInvitationsByUserRequest + (*GetInvitationsByUserResponse)(nil), // 27: services.user_svc.v1.GetInvitationsByUserResponse + (*AcceptInvitationRequest)(nil), // 28: services.user_svc.v1.AcceptInvitationRequest + (*AcceptInvitationResponse)(nil), // 29: services.user_svc.v1.AcceptInvitationResponse + (*DeclineInvitationRequest)(nil), // 30: services.user_svc.v1.DeclineInvitationRequest + (*DeclineInvitationResponse)(nil), // 31: services.user_svc.v1.DeclineInvitationResponse + (*RevokeInvitationRequest)(nil), // 32: services.user_svc.v1.RevokeInvitationRequest + (*RevokeInvitationResponse)(nil), // 33: services.user_svc.v1.RevokeInvitationResponse + (*GetOrganizationsByUserResponse_Organization)(nil), // 34: services.user_svc.v1.GetOrganizationsByUserResponse.Organization + (*GetOrganizationsByUserResponse_Organization_Member)(nil), // 35: services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member + (*GetOrganizationsForUserResponse_Organization)(nil), // 36: services.user_svc.v1.GetOrganizationsForUserResponse.Organization + (*GetOrganizationsForUserResponse_Organization_Member)(nil), // 37: services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member + (*GetMembersByOrganizationResponse_Member)(nil), // 38: services.user_svc.v1.GetMembersByOrganizationResponse.Member + (*GetInvitationsByOrganizationResponse_Invitation)(nil), // 39: services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation + (*GetInvitationsByUserResponse_Invitation)(nil), // 40: services.user_svc.v1.GetInvitationsByUserResponse.Invitation + (*GetInvitationsByUserResponse_Invitation_Organization)(nil), // 41: services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization +} +var file_services_user_svc_v1_organization_svc_proto_depIdxs = []int32{ + 5, // 0: services.user_svc.v1.GetOrganizationResponse.members:type_name -> services.user_svc.v1.GetOrganizationMember + 34, // 1: services.user_svc.v1.GetOrganizationsByUserResponse.organizations:type_name -> services.user_svc.v1.GetOrganizationsByUserResponse.Organization + 36, // 2: services.user_svc.v1.GetOrganizationsForUserResponse.organizations:type_name -> services.user_svc.v1.GetOrganizationsForUserResponse.Organization + 38, // 3: services.user_svc.v1.GetMembersByOrganizationResponse.members:type_name -> services.user_svc.v1.GetMembersByOrganizationResponse.Member + 0, // 4: services.user_svc.v1.GetInvitationsByOrganizationRequest.state:type_name -> services.user_svc.v1.InvitationState + 39, // 5: services.user_svc.v1.GetInvitationsByOrganizationResponse.invitations:type_name -> services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation + 0, // 6: services.user_svc.v1.GetInvitationsByUserRequest.state:type_name -> services.user_svc.v1.InvitationState + 40, // 7: services.user_svc.v1.GetInvitationsByUserResponse.invitations:type_name -> services.user_svc.v1.GetInvitationsByUserResponse.Invitation + 35, // 8: services.user_svc.v1.GetOrganizationsByUserResponse.Organization.members:type_name -> services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member + 37, // 9: services.user_svc.v1.GetOrganizationsForUserResponse.Organization.members:type_name -> services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member + 0, // 10: services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.state:type_name -> services.user_svc.v1.InvitationState + 41, // 11: services.user_svc.v1.GetInvitationsByUserResponse.Invitation.organization:type_name -> services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization + 0, // 12: services.user_svc.v1.GetInvitationsByUserResponse.Invitation.state:type_name -> services.user_svc.v1.InvitationState + 1, // 13: services.user_svc.v1.OrganizationService.CreateOrganization:input_type -> services.user_svc.v1.CreateOrganizationRequest + 3, // 14: services.user_svc.v1.OrganizationService.CreateOrganizationForUser:input_type -> services.user_svc.v1.CreateOrganizationForUserRequest + 6, // 15: services.user_svc.v1.OrganizationService.GetOrganization:input_type -> services.user_svc.v1.GetOrganizationRequest + 8, // 16: services.user_svc.v1.OrganizationService.GetOrganizationsByUser:input_type -> services.user_svc.v1.GetOrganizationsByUserRequest + 10, // 17: services.user_svc.v1.OrganizationService.GetOrganizationsForUser:input_type -> services.user_svc.v1.GetOrganizationsForUserRequest + 12, // 18: services.user_svc.v1.OrganizationService.UpdateOrganization:input_type -> services.user_svc.v1.UpdateOrganizationRequest + 14, // 19: services.user_svc.v1.OrganizationService.DeleteOrganization:input_type -> services.user_svc.v1.DeleteOrganizationRequest + 16, // 20: services.user_svc.v1.OrganizationService.GetMembersByOrganization:input_type -> services.user_svc.v1.GetMembersByOrganizationRequest + 18, // 21: services.user_svc.v1.OrganizationService.AddMember:input_type -> services.user_svc.v1.AddMemberRequest + 20, // 22: services.user_svc.v1.OrganizationService.RemoveMember:input_type -> services.user_svc.v1.RemoveMemberRequest + 22, // 23: services.user_svc.v1.OrganizationService.InviteMember:input_type -> services.user_svc.v1.InviteMemberRequest + 24, // 24: services.user_svc.v1.OrganizationService.GetInvitationsByOrganization:input_type -> services.user_svc.v1.GetInvitationsByOrganizationRequest + 26, // 25: services.user_svc.v1.OrganizationService.GetInvitationsByUser:input_type -> services.user_svc.v1.GetInvitationsByUserRequest + 28, // 26: services.user_svc.v1.OrganizationService.AcceptInvitation:input_type -> services.user_svc.v1.AcceptInvitationRequest + 30, // 27: services.user_svc.v1.OrganizationService.DeclineInvitation:input_type -> services.user_svc.v1.DeclineInvitationRequest + 32, // 28: services.user_svc.v1.OrganizationService.RevokeInvitation:input_type -> services.user_svc.v1.RevokeInvitationRequest + 2, // 29: services.user_svc.v1.OrganizationService.CreateOrganization:output_type -> services.user_svc.v1.CreateOrganizationResponse + 4, // 30: services.user_svc.v1.OrganizationService.CreateOrganizationForUser:output_type -> services.user_svc.v1.CreateOrganizationForUserResponse + 7, // 31: services.user_svc.v1.OrganizationService.GetOrganization:output_type -> services.user_svc.v1.GetOrganizationResponse + 9, // 32: services.user_svc.v1.OrganizationService.GetOrganizationsByUser:output_type -> services.user_svc.v1.GetOrganizationsByUserResponse + 11, // 33: services.user_svc.v1.OrganizationService.GetOrganizationsForUser:output_type -> services.user_svc.v1.GetOrganizationsForUserResponse + 13, // 34: services.user_svc.v1.OrganizationService.UpdateOrganization:output_type -> services.user_svc.v1.UpdateOrganizationResponse + 15, // 35: services.user_svc.v1.OrganizationService.DeleteOrganization:output_type -> services.user_svc.v1.DeleteOrganizationResponse + 17, // 36: services.user_svc.v1.OrganizationService.GetMembersByOrganization:output_type -> services.user_svc.v1.GetMembersByOrganizationResponse + 19, // 37: services.user_svc.v1.OrganizationService.AddMember:output_type -> services.user_svc.v1.AddMemberResponse + 21, // 38: services.user_svc.v1.OrganizationService.RemoveMember:output_type -> services.user_svc.v1.RemoveMemberResponse + 23, // 39: services.user_svc.v1.OrganizationService.InviteMember:output_type -> services.user_svc.v1.InviteMemberResponse + 25, // 40: services.user_svc.v1.OrganizationService.GetInvitationsByOrganization:output_type -> services.user_svc.v1.GetInvitationsByOrganizationResponse + 27, // 41: services.user_svc.v1.OrganizationService.GetInvitationsByUser:output_type -> services.user_svc.v1.GetInvitationsByUserResponse + 29, // 42: services.user_svc.v1.OrganizationService.AcceptInvitation:output_type -> services.user_svc.v1.AcceptInvitationResponse + 31, // 43: services.user_svc.v1.OrganizationService.DeclineInvitation:output_type -> services.user_svc.v1.DeclineInvitationResponse + 33, // 44: services.user_svc.v1.OrganizationService.RevokeInvitation:output_type -> services.user_svc.v1.RevokeInvitationResponse 29, // [29:45] is the sub-list for method output_type 13, // [13:29] is the sub-list for method input_type 13, // [13:13] is the sub-list for extension type_name @@ -2910,13 +2890,13 @@ var file_proto_services_user_svc_v1_organization_svc_proto_depIdxs = []int32{ 0, // [0:13] is the sub-list for field type_name } -func init() { file_proto_services_user_svc_v1_organization_svc_proto_init() } -func file_proto_services_user_svc_v1_organization_svc_proto_init() { - if File_proto_services_user_svc_v1_organization_svc_proto != nil { +func init() { file_services_user_svc_v1_organization_svc_proto_init() } +func file_services_user_svc_v1_organization_svc_proto_init() { + if File_services_user_svc_v1_organization_svc_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateOrganizationRequest); i { case 0: return &v.state @@ -2928,7 +2908,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateOrganizationResponse); i { case 0: return &v.state @@ -2940,7 +2920,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateOrganizationForUserRequest); i { case 0: return &v.state @@ -2952,7 +2932,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateOrganizationForUserResponse); i { case 0: return &v.state @@ -2964,7 +2944,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationMember); i { case 0: return &v.state @@ -2976,7 +2956,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationRequest); i { case 0: return &v.state @@ -2988,7 +2968,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationResponse); i { case 0: return &v.state @@ -3000,7 +2980,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationsByUserRequest); i { case 0: return &v.state @@ -3012,7 +2992,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationsByUserResponse); i { case 0: return &v.state @@ -3024,7 +3004,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationsForUserRequest); i { case 0: return &v.state @@ -3036,7 +3016,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationsForUserResponse); i { case 0: return &v.state @@ -3048,7 +3028,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateOrganizationRequest); i { case 0: return &v.state @@ -3060,7 +3040,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateOrganizationResponse); i { case 0: return &v.state @@ -3072,7 +3052,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteOrganizationRequest); i { case 0: return &v.state @@ -3084,7 +3064,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteOrganizationResponse); i { case 0: return &v.state @@ -3096,7 +3076,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetMembersByOrganizationRequest); i { case 0: return &v.state @@ -3108,7 +3088,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetMembersByOrganizationResponse); i { case 0: return &v.state @@ -3120,7 +3100,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddMemberRequest); i { case 0: return &v.state @@ -3132,7 +3112,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddMemberResponse); i { case 0: return &v.state @@ -3144,7 +3124,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveMemberRequest); i { case 0: return &v.state @@ -3156,7 +3136,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoveMemberResponse); i { case 0: return &v.state @@ -3168,7 +3148,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InviteMemberRequest); i { case 0: return &v.state @@ -3180,7 +3160,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InviteMemberResponse); i { case 0: return &v.state @@ -3192,7 +3172,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetInvitationsByOrganizationRequest); i { case 0: return &v.state @@ -3204,7 +3184,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetInvitationsByOrganizationResponse); i { case 0: return &v.state @@ -3216,7 +3196,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetInvitationsByUserRequest); i { case 0: return &v.state @@ -3228,7 +3208,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetInvitationsByUserResponse); i { case 0: return &v.state @@ -3240,7 +3220,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AcceptInvitationRequest); i { case 0: return &v.state @@ -3252,7 +3232,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AcceptInvitationResponse); i { case 0: return &v.state @@ -3264,7 +3244,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeclineInvitationRequest); i { case 0: return &v.state @@ -3276,7 +3256,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeclineInvitationResponse); i { case 0: return &v.state @@ -3288,7 +3268,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RevokeInvitationRequest); i { case 0: return &v.state @@ -3300,7 +3280,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RevokeInvitationResponse); i { case 0: return &v.state @@ -3312,7 +3292,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationsByUserResponse_Organization); i { case 0: return &v.state @@ -3324,7 +3304,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationsByUserResponse_Organization_Member); i { case 0: return &v.state @@ -3336,7 +3316,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationsForUserResponse_Organization); i { case 0: return &v.state @@ -3348,7 +3328,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOrganizationsForUserResponse_Organization_Member); i { case 0: return &v.state @@ -3360,7 +3340,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetMembersByOrganizationResponse_Member); i { case 0: return &v.state @@ -3372,7 +3352,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetInvitationsByOrganizationResponse_Invitation); i { case 0: return &v.state @@ -3384,7 +3364,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetInvitationsByUserResponse_Invitation); i { case 0: return &v.state @@ -3396,7 +3376,7 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_organization_svc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetInvitationsByUserResponse_Invitation_Organization); i { case 0: return &v.state @@ -3409,35 +3389,35 @@ func file_proto_services_user_svc_v1_organization_svc_proto_init() { } } } - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[6].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[11].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[23].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[25].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[33].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[34].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[35].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[36].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[37].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_organization_svc_proto_msgTypes[40].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[11].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[23].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[25].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[33].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[34].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[35].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[36].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[37].OneofWrappers = []interface{}{} + file_services_user_svc_v1_organization_svc_proto_msgTypes[40].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_user_svc_v1_organization_svc_proto_rawDesc, + RawDescriptor: file_services_user_svc_v1_organization_svc_proto_rawDesc, NumEnums: 1, NumMessages: 41, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_user_svc_v1_organization_svc_proto_goTypes, - DependencyIndexes: file_proto_services_user_svc_v1_organization_svc_proto_depIdxs, - EnumInfos: file_proto_services_user_svc_v1_organization_svc_proto_enumTypes, - MessageInfos: file_proto_services_user_svc_v1_organization_svc_proto_msgTypes, + GoTypes: file_services_user_svc_v1_organization_svc_proto_goTypes, + DependencyIndexes: file_services_user_svc_v1_organization_svc_proto_depIdxs, + EnumInfos: file_services_user_svc_v1_organization_svc_proto_enumTypes, + MessageInfos: file_services_user_svc_v1_organization_svc_proto_msgTypes, }.Build() - File_proto_services_user_svc_v1_organization_svc_proto = out.File - file_proto_services_user_svc_v1_organization_svc_proto_rawDesc = nil - file_proto_services_user_svc_v1_organization_svc_proto_goTypes = nil - file_proto_services_user_svc_v1_organization_svc_proto_depIdxs = nil + File_services_user_svc_v1_organization_svc_proto = out.File + file_services_user_svc_v1_organization_svc_proto_rawDesc = nil + file_services_user_svc_v1_organization_svc_proto_goTypes = nil + file_services_user_svc_v1_organization_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/user_svc/v1/organization_svc_grpc.pb.go b/gen/go/services/user_svc/v1/organization_svc_grpc.pb.go similarity index 90% rename from gen/go/proto/services/user_svc/v1/organization_svc_grpc.pb.go rename to gen/go/services/user_svc/v1/organization_svc_grpc.pb.go index 348bc62f5..0a41e8f64 100644 --- a/gen/go/proto/services/user_svc/v1/organization_svc_grpc.pb.go +++ b/gen/go/services/user_svc/v1/organization_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/user_svc/v1/organization_svc.proto +// source: services/user_svc/v1/organization_svc.proto package user_svc @@ -15,26 +15,26 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - OrganizationService_CreateOrganization_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/CreateOrganization" - OrganizationService_CreateOrganizationForUser_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/CreateOrganizationForUser" - OrganizationService_GetOrganization_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/GetOrganization" - OrganizationService_GetOrganizationsByUser_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/GetOrganizationsByUser" - OrganizationService_GetOrganizationsForUser_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/GetOrganizationsForUser" - OrganizationService_UpdateOrganization_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/UpdateOrganization" - OrganizationService_DeleteOrganization_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/DeleteOrganization" - OrganizationService_GetMembersByOrganization_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/GetMembersByOrganization" - OrganizationService_AddMember_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/AddMember" - OrganizationService_RemoveMember_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/RemoveMember" - OrganizationService_InviteMember_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/InviteMember" - OrganizationService_GetInvitationsByOrganization_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/GetInvitationsByOrganization" - OrganizationService_GetInvitationsByUser_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/GetInvitationsByUser" - OrganizationService_AcceptInvitation_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/AcceptInvitation" - OrganizationService_DeclineInvitation_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/DeclineInvitation" - OrganizationService_RevokeInvitation_FullMethodName = "/proto.services.user_svc.v1.OrganizationService/RevokeInvitation" + OrganizationService_CreateOrganization_FullMethodName = "/services.user_svc.v1.OrganizationService/CreateOrganization" + OrganizationService_CreateOrganizationForUser_FullMethodName = "/services.user_svc.v1.OrganizationService/CreateOrganizationForUser" + OrganizationService_GetOrganization_FullMethodName = "/services.user_svc.v1.OrganizationService/GetOrganization" + OrganizationService_GetOrganizationsByUser_FullMethodName = "/services.user_svc.v1.OrganizationService/GetOrganizationsByUser" + OrganizationService_GetOrganizationsForUser_FullMethodName = "/services.user_svc.v1.OrganizationService/GetOrganizationsForUser" + OrganizationService_UpdateOrganization_FullMethodName = "/services.user_svc.v1.OrganizationService/UpdateOrganization" + OrganizationService_DeleteOrganization_FullMethodName = "/services.user_svc.v1.OrganizationService/DeleteOrganization" + OrganizationService_GetMembersByOrganization_FullMethodName = "/services.user_svc.v1.OrganizationService/GetMembersByOrganization" + OrganizationService_AddMember_FullMethodName = "/services.user_svc.v1.OrganizationService/AddMember" + OrganizationService_RemoveMember_FullMethodName = "/services.user_svc.v1.OrganizationService/RemoveMember" + OrganizationService_InviteMember_FullMethodName = "/services.user_svc.v1.OrganizationService/InviteMember" + OrganizationService_GetInvitationsByOrganization_FullMethodName = "/services.user_svc.v1.OrganizationService/GetInvitationsByOrganization" + OrganizationService_GetInvitationsByUser_FullMethodName = "/services.user_svc.v1.OrganizationService/GetInvitationsByUser" + OrganizationService_AcceptInvitation_FullMethodName = "/services.user_svc.v1.OrganizationService/AcceptInvitation" + OrganizationService_DeclineInvitation_FullMethodName = "/services.user_svc.v1.OrganizationService/DeclineInvitation" + OrganizationService_RevokeInvitation_FullMethodName = "/services.user_svc.v1.OrganizationService/RevokeInvitation" ) // OrganizationServiceClient is the client API for OrganizationService service. @@ -68,8 +68,9 @@ func NewOrganizationServiceClient(cc grpc.ClientConnInterface) OrganizationServi } func (c *organizationServiceClient) CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*CreateOrganizationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateOrganizationResponse) - err := c.cc.Invoke(ctx, OrganizationService_CreateOrganization_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_CreateOrganization_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -77,8 +78,9 @@ func (c *organizationServiceClient) CreateOrganization(ctx context.Context, in * } func (c *organizationServiceClient) CreateOrganizationForUser(ctx context.Context, in *CreateOrganizationForUserRequest, opts ...grpc.CallOption) (*CreateOrganizationForUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateOrganizationForUserResponse) - err := c.cc.Invoke(ctx, OrganizationService_CreateOrganizationForUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_CreateOrganizationForUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -86,8 +88,9 @@ func (c *organizationServiceClient) CreateOrganizationForUser(ctx context.Contex } func (c *organizationServiceClient) GetOrganization(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*GetOrganizationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetOrganizationResponse) - err := c.cc.Invoke(ctx, OrganizationService_GetOrganization_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_GetOrganization_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -95,8 +98,9 @@ func (c *organizationServiceClient) GetOrganization(ctx context.Context, in *Get } func (c *organizationServiceClient) GetOrganizationsByUser(ctx context.Context, in *GetOrganizationsByUserRequest, opts ...grpc.CallOption) (*GetOrganizationsByUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetOrganizationsByUserResponse) - err := c.cc.Invoke(ctx, OrganizationService_GetOrganizationsByUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_GetOrganizationsByUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -104,8 +108,9 @@ func (c *organizationServiceClient) GetOrganizationsByUser(ctx context.Context, } func (c *organizationServiceClient) GetOrganizationsForUser(ctx context.Context, in *GetOrganizationsForUserRequest, opts ...grpc.CallOption) (*GetOrganizationsForUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetOrganizationsForUserResponse) - err := c.cc.Invoke(ctx, OrganizationService_GetOrganizationsForUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_GetOrganizationsForUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -113,8 +118,9 @@ func (c *organizationServiceClient) GetOrganizationsForUser(ctx context.Context, } func (c *organizationServiceClient) UpdateOrganization(ctx context.Context, in *UpdateOrganizationRequest, opts ...grpc.CallOption) (*UpdateOrganizationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateOrganizationResponse) - err := c.cc.Invoke(ctx, OrganizationService_UpdateOrganization_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_UpdateOrganization_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -122,8 +128,9 @@ func (c *organizationServiceClient) UpdateOrganization(ctx context.Context, in * } func (c *organizationServiceClient) DeleteOrganization(ctx context.Context, in *DeleteOrganizationRequest, opts ...grpc.CallOption) (*DeleteOrganizationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteOrganizationResponse) - err := c.cc.Invoke(ctx, OrganizationService_DeleteOrganization_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_DeleteOrganization_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -131,8 +138,9 @@ func (c *organizationServiceClient) DeleteOrganization(ctx context.Context, in * } func (c *organizationServiceClient) GetMembersByOrganization(ctx context.Context, in *GetMembersByOrganizationRequest, opts ...grpc.CallOption) (*GetMembersByOrganizationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetMembersByOrganizationResponse) - err := c.cc.Invoke(ctx, OrganizationService_GetMembersByOrganization_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_GetMembersByOrganization_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -140,8 +148,9 @@ func (c *organizationServiceClient) GetMembersByOrganization(ctx context.Context } func (c *organizationServiceClient) AddMember(ctx context.Context, in *AddMemberRequest, opts ...grpc.CallOption) (*AddMemberResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AddMemberResponse) - err := c.cc.Invoke(ctx, OrganizationService_AddMember_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_AddMember_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -149,8 +158,9 @@ func (c *organizationServiceClient) AddMember(ctx context.Context, in *AddMember } func (c *organizationServiceClient) RemoveMember(ctx context.Context, in *RemoveMemberRequest, opts ...grpc.CallOption) (*RemoveMemberResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(RemoveMemberResponse) - err := c.cc.Invoke(ctx, OrganizationService_RemoveMember_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_RemoveMember_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -158,8 +168,9 @@ func (c *organizationServiceClient) RemoveMember(ctx context.Context, in *Remove } func (c *organizationServiceClient) InviteMember(ctx context.Context, in *InviteMemberRequest, opts ...grpc.CallOption) (*InviteMemberResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(InviteMemberResponse) - err := c.cc.Invoke(ctx, OrganizationService_InviteMember_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_InviteMember_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -167,8 +178,9 @@ func (c *organizationServiceClient) InviteMember(ctx context.Context, in *Invite } func (c *organizationServiceClient) GetInvitationsByOrganization(ctx context.Context, in *GetInvitationsByOrganizationRequest, opts ...grpc.CallOption) (*GetInvitationsByOrganizationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetInvitationsByOrganizationResponse) - err := c.cc.Invoke(ctx, OrganizationService_GetInvitationsByOrganization_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_GetInvitationsByOrganization_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -176,8 +188,9 @@ func (c *organizationServiceClient) GetInvitationsByOrganization(ctx context.Con } func (c *organizationServiceClient) GetInvitationsByUser(ctx context.Context, in *GetInvitationsByUserRequest, opts ...grpc.CallOption) (*GetInvitationsByUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetInvitationsByUserResponse) - err := c.cc.Invoke(ctx, OrganizationService_GetInvitationsByUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_GetInvitationsByUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -185,8 +198,9 @@ func (c *organizationServiceClient) GetInvitationsByUser(ctx context.Context, in } func (c *organizationServiceClient) AcceptInvitation(ctx context.Context, in *AcceptInvitationRequest, opts ...grpc.CallOption) (*AcceptInvitationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AcceptInvitationResponse) - err := c.cc.Invoke(ctx, OrganizationService_AcceptInvitation_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_AcceptInvitation_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -194,8 +208,9 @@ func (c *organizationServiceClient) AcceptInvitation(ctx context.Context, in *Ac } func (c *organizationServiceClient) DeclineInvitation(ctx context.Context, in *DeclineInvitationRequest, opts ...grpc.CallOption) (*DeclineInvitationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeclineInvitationResponse) - err := c.cc.Invoke(ctx, OrganizationService_DeclineInvitation_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_DeclineInvitation_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -203,8 +218,9 @@ func (c *organizationServiceClient) DeclineInvitation(ctx context.Context, in *D } func (c *organizationServiceClient) RevokeInvitation(ctx context.Context, in *RevokeInvitationRequest, opts ...grpc.CallOption) (*RevokeInvitationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(RevokeInvitationResponse) - err := c.cc.Invoke(ctx, OrganizationService_RevokeInvitation_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, OrganizationService_RevokeInvitation_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -591,7 +607,7 @@ func _OrganizationService_RevokeInvitation_Handler(srv interface{}, ctx context. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var OrganizationService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.user_svc.v1.OrganizationService", + ServiceName: "services.user_svc.v1.OrganizationService", HandlerType: (*OrganizationServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -660,5 +676,5 @@ var OrganizationService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/user_svc/v1/organization_svc.proto", + Metadata: "services/user_svc/v1/organization_svc.proto", } diff --git a/gen/go/proto/services/user_svc/v1/user_svc.pb.go b/gen/go/services/user_svc/v1/user_svc.pb.go similarity index 50% rename from gen/go/proto/services/user_svc/v1/user_svc.pb.go rename to gen/go/services/user_svc/v1/user_svc.pb.go index aba89d14f..e4878132a 100644 --- a/gen/go/proto/services/user_svc/v1/user_svc.pb.go +++ b/gen/go/services/user_svc/v1/user_svc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 +// protoc-gen-go v1.34.1 // protoc (unknown) -// source: proto/services/user_svc/v1/user_svc.proto +// source: services/user_svc/v1/user_svc.proto package user_svc @@ -34,7 +34,7 @@ type CreateUserRequest struct { func (x *CreateUserRequest) Reset() { *x = CreateUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[0] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -47,7 +47,7 @@ func (x *CreateUserRequest) String() string { func (*CreateUserRequest) ProtoMessage() {} func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[0] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -60,7 +60,7 @@ func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead. func (*CreateUserRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{0} + return file_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{0} } func (x *CreateUserRequest) GetId() string { @@ -102,7 +102,7 @@ type CreateUserResponse struct { func (x *CreateUserResponse) Reset() { *x = CreateUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[1] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -115,7 +115,7 @@ func (x *CreateUserResponse) String() string { func (*CreateUserResponse) ProtoMessage() {} func (x *CreateUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[1] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -128,7 +128,7 @@ func (x *CreateUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead. func (*CreateUserResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{1} + return file_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{1} } func (x *CreateUserResponse) GetId() string { @@ -149,7 +149,7 @@ type ReadSelfOrganization struct { func (x *ReadSelfOrganization) Reset() { *x = ReadSelfOrganization{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[2] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -162,7 +162,7 @@ func (x *ReadSelfOrganization) String() string { func (*ReadSelfOrganization) ProtoMessage() {} func (x *ReadSelfOrganization) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[2] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -175,7 +175,7 @@ func (x *ReadSelfOrganization) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadSelfOrganization.ProtoReflect.Descriptor instead. func (*ReadSelfOrganization) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{2} + return file_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{2} } func (x *ReadSelfOrganization) GetId() string { @@ -195,7 +195,7 @@ type ReadSelfRequest struct { func (x *ReadSelfRequest) Reset() { *x = ReadSelfRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[3] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -208,7 +208,7 @@ func (x *ReadSelfRequest) String() string { func (*ReadSelfRequest) ProtoMessage() {} func (x *ReadSelfRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[3] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -221,7 +221,7 @@ func (x *ReadSelfRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadSelfRequest.ProtoReflect.Descriptor instead. func (*ReadSelfRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{3} + return file_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{3} } type ReadSelfResponse struct { @@ -239,7 +239,7 @@ type ReadSelfResponse struct { func (x *ReadSelfResponse) Reset() { *x = ReadSelfResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[4] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -252,7 +252,7 @@ func (x *ReadSelfResponse) String() string { func (*ReadSelfResponse) ProtoMessage() {} func (x *ReadSelfResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[4] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -265,7 +265,7 @@ func (x *ReadSelfResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadSelfResponse.ProtoReflect.Descriptor instead. func (*ReadSelfResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{4} + return file_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{4} } func (x *ReadSelfResponse) GetId() string { @@ -314,7 +314,7 @@ type ReadPublicProfileRequest struct { func (x *ReadPublicProfileRequest) Reset() { *x = ReadPublicProfileRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[5] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -327,7 +327,7 @@ func (x *ReadPublicProfileRequest) String() string { func (*ReadPublicProfileRequest) ProtoMessage() {} func (x *ReadPublicProfileRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[5] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -340,7 +340,7 @@ func (x *ReadPublicProfileRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadPublicProfileRequest.ProtoReflect.Descriptor instead. func (*ReadPublicProfileRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{5} + return file_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{5} } func (x *ReadPublicProfileRequest) GetId() string { @@ -364,7 +364,7 @@ type ReadPublicProfileResponse struct { func (x *ReadPublicProfileResponse) Reset() { *x = ReadPublicProfileResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[6] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -377,7 +377,7 @@ func (x *ReadPublicProfileResponse) String() string { func (*ReadPublicProfileResponse) ProtoMessage() {} func (x *ReadPublicProfileResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[6] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -390,7 +390,7 @@ func (x *ReadPublicProfileResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReadPublicProfileResponse.ProtoReflect.Descriptor instead. func (*ReadPublicProfileResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{6} + return file_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{6} } func (x *ReadPublicProfileResponse) GetId() string { @@ -432,7 +432,7 @@ type UpdateUserRequest struct { func (x *UpdateUserRequest) Reset() { *x = UpdateUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[7] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -445,7 +445,7 @@ func (x *UpdateUserRequest) String() string { func (*UpdateUserRequest) ProtoMessage() {} func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[7] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -458,7 +458,7 @@ func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead. func (*UpdateUserRequest) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{7} + return file_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{7} } func (x *UpdateUserRequest) GetId() string { @@ -477,7 +477,7 @@ type UpdateUserResponse struct { func (x *UpdateUserResponse) Reset() { *x = UpdateUserResponse{} if protoimpl.UnsafeEnabled { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[8] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -490,7 +490,7 @@ func (x *UpdateUserResponse) String() string { func (*UpdateUserResponse) ProtoMessage() {} func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_services_user_svc_v1_user_svc_proto_msgTypes[8] + mi := &file_services_user_svc_v1_user_svc_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -503,139 +503,133 @@ func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead. func (*UpdateUserResponse) Descriptor() ([]byte, []int) { - return file_proto_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{8} -} - -var File_proto_services_user_svc_v1_user_svc_proto protoreflect.FileDescriptor - -var file_proto_services_user_svc_v1_user_svc_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, - 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x69, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, - 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, - 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x26, 0x0a, 0x14, 0x52, 0x65, 0x61, 0x64, - 0x53, 0x65, 0x6c, 0x66, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + return file_services_user_svc_v1_user_svc_proto_rawDescGZIP(), []int{8} +} + +var File_services_user_svc_v1_user_svc_proto protoreflect.FileDescriptor + +var file_services_user_svc_v1_user_svc_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x69, 0x0a, 0x11, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x22, 0x11, 0x0a, 0x0f, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0xdd, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, - 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, - 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x56, 0x0a, 0x0d, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, - 0x75, 0x72, 0x6c, 0x22, 0x2a, 0x0a, 0x18, 0x52, 0x65, 0x61, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, - 0x8e, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x61, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x50, 0x72, - 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, - 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, - 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, - 0x22, 0x23, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xd9, 0x03, 0x0a, 0x0b, - 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6d, 0x0a, 0x0a, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x26, 0x0a, 0x14, + 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x22, 0x11, 0x0a, 0x0f, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd7, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x61, 0x64, + 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, + 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, + 0x12, 0x50, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, + 0x6c, 0x22, 0x2a, 0x0a, 0x18, 0x52, 0x65, 0x61, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x50, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8e, 0x01, + 0x0a, 0x19, 0x52, 0x65, 0x61, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x61, + 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, + 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x23, + 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xa8, 0x03, 0x0a, 0x0b, 0x55, 0x73, + 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x0a, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x08, + 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x12, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x11, 0x52, 0x65, 0x61, + 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x2e, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, - 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x08, 0x52, 0x65, - 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x61, 0x64, 0x50, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, - 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xd2, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, - 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x55, 0x73, 0x65, 0x72, - 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x75, - 0x73, 0x65, 0x72, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, 0x03, 0x50, 0x53, 0x55, 0xaa, 0x02, 0x19, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x5c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x53, - 0x76, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x25, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5c, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x3a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, - 0x3a, 0x55, 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x61, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, + 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x42, 0xb3, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, + 0x31, 0x42, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x1b, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x73, 0x76, 0x63, 0xa2, 0x02, + 0x03, 0x53, 0x55, 0x58, 0xaa, 0x02, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, + 0xe2, 0x02, 0x1f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, + 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x15, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x3a, 0x55, + 0x73, 0x65, 0x72, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( - file_proto_services_user_svc_v1_user_svc_proto_rawDescOnce sync.Once - file_proto_services_user_svc_v1_user_svc_proto_rawDescData = file_proto_services_user_svc_v1_user_svc_proto_rawDesc + file_services_user_svc_v1_user_svc_proto_rawDescOnce sync.Once + file_services_user_svc_v1_user_svc_proto_rawDescData = file_services_user_svc_v1_user_svc_proto_rawDesc ) -func file_proto_services_user_svc_v1_user_svc_proto_rawDescGZIP() []byte { - file_proto_services_user_svc_v1_user_svc_proto_rawDescOnce.Do(func() { - file_proto_services_user_svc_v1_user_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_services_user_svc_v1_user_svc_proto_rawDescData) +func file_services_user_svc_v1_user_svc_proto_rawDescGZIP() []byte { + file_services_user_svc_v1_user_svc_proto_rawDescOnce.Do(func() { + file_services_user_svc_v1_user_svc_proto_rawDescData = protoimpl.X.CompressGZIP(file_services_user_svc_v1_user_svc_proto_rawDescData) }) - return file_proto_services_user_svc_v1_user_svc_proto_rawDescData -} - -var file_proto_services_user_svc_v1_user_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_proto_services_user_svc_v1_user_svc_proto_goTypes = []interface{}{ - (*CreateUserRequest)(nil), // 0: proto.services.user_svc.v1.CreateUserRequest - (*CreateUserResponse)(nil), // 1: proto.services.user_svc.v1.CreateUserResponse - (*ReadSelfOrganization)(nil), // 2: proto.services.user_svc.v1.ReadSelfOrganization - (*ReadSelfRequest)(nil), // 3: proto.services.user_svc.v1.ReadSelfRequest - (*ReadSelfResponse)(nil), // 4: proto.services.user_svc.v1.ReadSelfResponse - (*ReadPublicProfileRequest)(nil), // 5: proto.services.user_svc.v1.ReadPublicProfileRequest - (*ReadPublicProfileResponse)(nil), // 6: proto.services.user_svc.v1.ReadPublicProfileResponse - (*UpdateUserRequest)(nil), // 7: proto.services.user_svc.v1.UpdateUserRequest - (*UpdateUserResponse)(nil), // 8: proto.services.user_svc.v1.UpdateUserResponse -} -var file_proto_services_user_svc_v1_user_svc_proto_depIdxs = []int32{ - 2, // 0: proto.services.user_svc.v1.ReadSelfResponse.organizations:type_name -> proto.services.user_svc.v1.ReadSelfOrganization - 0, // 1: proto.services.user_svc.v1.UserService.CreateUser:input_type -> proto.services.user_svc.v1.CreateUserRequest - 3, // 2: proto.services.user_svc.v1.UserService.ReadSelf:input_type -> proto.services.user_svc.v1.ReadSelfRequest - 5, // 3: proto.services.user_svc.v1.UserService.ReadPublicProfile:input_type -> proto.services.user_svc.v1.ReadPublicProfileRequest - 7, // 4: proto.services.user_svc.v1.UserService.UpdateUser:input_type -> proto.services.user_svc.v1.UpdateUserRequest - 1, // 5: proto.services.user_svc.v1.UserService.CreateUser:output_type -> proto.services.user_svc.v1.CreateUserResponse - 4, // 6: proto.services.user_svc.v1.UserService.ReadSelf:output_type -> proto.services.user_svc.v1.ReadSelfResponse - 6, // 7: proto.services.user_svc.v1.UserService.ReadPublicProfile:output_type -> proto.services.user_svc.v1.ReadPublicProfileResponse - 8, // 8: proto.services.user_svc.v1.UserService.UpdateUser:output_type -> proto.services.user_svc.v1.UpdateUserResponse + return file_services_user_svc_v1_user_svc_proto_rawDescData +} + +var file_services_user_svc_v1_user_svc_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_services_user_svc_v1_user_svc_proto_goTypes = []interface{}{ + (*CreateUserRequest)(nil), // 0: services.user_svc.v1.CreateUserRequest + (*CreateUserResponse)(nil), // 1: services.user_svc.v1.CreateUserResponse + (*ReadSelfOrganization)(nil), // 2: services.user_svc.v1.ReadSelfOrganization + (*ReadSelfRequest)(nil), // 3: services.user_svc.v1.ReadSelfRequest + (*ReadSelfResponse)(nil), // 4: services.user_svc.v1.ReadSelfResponse + (*ReadPublicProfileRequest)(nil), // 5: services.user_svc.v1.ReadPublicProfileRequest + (*ReadPublicProfileResponse)(nil), // 6: services.user_svc.v1.ReadPublicProfileResponse + (*UpdateUserRequest)(nil), // 7: services.user_svc.v1.UpdateUserRequest + (*UpdateUserResponse)(nil), // 8: services.user_svc.v1.UpdateUserResponse +} +var file_services_user_svc_v1_user_svc_proto_depIdxs = []int32{ + 2, // 0: services.user_svc.v1.ReadSelfResponse.organizations:type_name -> services.user_svc.v1.ReadSelfOrganization + 0, // 1: services.user_svc.v1.UserService.CreateUser:input_type -> services.user_svc.v1.CreateUserRequest + 3, // 2: services.user_svc.v1.UserService.ReadSelf:input_type -> services.user_svc.v1.ReadSelfRequest + 5, // 3: services.user_svc.v1.UserService.ReadPublicProfile:input_type -> services.user_svc.v1.ReadPublicProfileRequest + 7, // 4: services.user_svc.v1.UserService.UpdateUser:input_type -> services.user_svc.v1.UpdateUserRequest + 1, // 5: services.user_svc.v1.UserService.CreateUser:output_type -> services.user_svc.v1.CreateUserResponse + 4, // 6: services.user_svc.v1.UserService.ReadSelf:output_type -> services.user_svc.v1.ReadSelfResponse + 6, // 7: services.user_svc.v1.UserService.ReadPublicProfile:output_type -> services.user_svc.v1.ReadPublicProfileResponse + 8, // 8: services.user_svc.v1.UserService.UpdateUser:output_type -> services.user_svc.v1.UpdateUserResponse 5, // [5:9] is the sub-list for method output_type 1, // [1:5] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -643,13 +637,13 @@ var file_proto_services_user_svc_v1_user_svc_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_proto_services_user_svc_v1_user_svc_proto_init() } -func file_proto_services_user_svc_v1_user_svc_proto_init() { - if File_proto_services_user_svc_v1_user_svc_proto != nil { +func init() { file_services_user_svc_v1_user_svc_proto_init() } +func file_services_user_svc_v1_user_svc_proto_init() { + if File_services_user_svc_v1_user_svc_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_proto_services_user_svc_v1_user_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_user_svc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateUserRequest); i { case 0: return &v.state @@ -661,7 +655,7 @@ func file_proto_services_user_svc_v1_user_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_user_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_user_svc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateUserResponse); i { case 0: return &v.state @@ -673,7 +667,7 @@ func file_proto_services_user_svc_v1_user_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_user_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_user_svc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadSelfOrganization); i { case 0: return &v.state @@ -685,7 +679,7 @@ func file_proto_services_user_svc_v1_user_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_user_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_user_svc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadSelfRequest); i { case 0: return &v.state @@ -697,7 +691,7 @@ func file_proto_services_user_svc_v1_user_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_user_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_user_svc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadSelfResponse); i { case 0: return &v.state @@ -709,7 +703,7 @@ func file_proto_services_user_svc_v1_user_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_user_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_user_svc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadPublicProfileRequest); i { case 0: return &v.state @@ -721,7 +715,7 @@ func file_proto_services_user_svc_v1_user_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_user_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_user_svc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReadPublicProfileResponse); i { case 0: return &v.state @@ -733,7 +727,7 @@ func file_proto_services_user_svc_v1_user_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_user_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_user_svc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateUserRequest); i { case 0: return &v.state @@ -745,7 +739,7 @@ func file_proto_services_user_svc_v1_user_svc_proto_init() { return nil } } - file_proto_services_user_svc_v1_user_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_services_user_svc_v1_user_svc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateUserResponse); i { case 0: return &v.state @@ -758,24 +752,24 @@ func file_proto_services_user_svc_v1_user_svc_proto_init() { } } } - file_proto_services_user_svc_v1_user_svc_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_proto_services_user_svc_v1_user_svc_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_services_user_svc_v1_user_svc_proto_msgTypes[4].OneofWrappers = []interface{}{} + file_services_user_svc_v1_user_svc_proto_msgTypes[6].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_services_user_svc_v1_user_svc_proto_rawDesc, + RawDescriptor: file_services_user_svc_v1_user_svc_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_proto_services_user_svc_v1_user_svc_proto_goTypes, - DependencyIndexes: file_proto_services_user_svc_v1_user_svc_proto_depIdxs, - MessageInfos: file_proto_services_user_svc_v1_user_svc_proto_msgTypes, + GoTypes: file_services_user_svc_v1_user_svc_proto_goTypes, + DependencyIndexes: file_services_user_svc_v1_user_svc_proto_depIdxs, + MessageInfos: file_services_user_svc_v1_user_svc_proto_msgTypes, }.Build() - File_proto_services_user_svc_v1_user_svc_proto = out.File - file_proto_services_user_svc_v1_user_svc_proto_rawDesc = nil - file_proto_services_user_svc_v1_user_svc_proto_goTypes = nil - file_proto_services_user_svc_v1_user_svc_proto_depIdxs = nil + File_services_user_svc_v1_user_svc_proto = out.File + file_services_user_svc_v1_user_svc_proto_rawDesc = nil + file_services_user_svc_v1_user_svc_proto_goTypes = nil + file_services_user_svc_v1_user_svc_proto_depIdxs = nil } diff --git a/gen/go/proto/services/user_svc/v1/user_svc_grpc.pb.go b/gen/go/services/user_svc/v1/user_svc_grpc.pb.go similarity index 88% rename from gen/go/proto/services/user_svc/v1/user_svc_grpc.pb.go rename to gen/go/services/user_svc/v1/user_svc_grpc.pb.go index 710dd7f86..6fcd50df1 100644 --- a/gen/go/proto/services/user_svc/v1/user_svc_grpc.pb.go +++ b/gen/go/services/user_svc/v1/user_svc_grpc.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) -// source: proto/services/user_svc/v1/user_svc.proto +// source: services/user_svc/v1/user_svc.proto package user_svc @@ -15,14 +15,14 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( - UserService_CreateUser_FullMethodName = "/proto.services.user_svc.v1.UserService/CreateUser" - UserService_ReadSelf_FullMethodName = "/proto.services.user_svc.v1.UserService/ReadSelf" - UserService_ReadPublicProfile_FullMethodName = "/proto.services.user_svc.v1.UserService/ReadPublicProfile" - UserService_UpdateUser_FullMethodName = "/proto.services.user_svc.v1.UserService/UpdateUser" + UserService_CreateUser_FullMethodName = "/services.user_svc.v1.UserService/CreateUser" + UserService_ReadSelf_FullMethodName = "/services.user_svc.v1.UserService/ReadSelf" + UserService_ReadPublicProfile_FullMethodName = "/services.user_svc.v1.UserService/ReadPublicProfile" + UserService_UpdateUser_FullMethodName = "/services.user_svc.v1.UserService/UpdateUser" ) // UserServiceClient is the client API for UserService service. @@ -44,8 +44,9 @@ func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient { } func (c *userServiceClient) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateUserResponse) - err := c.cc.Invoke(ctx, UserService_CreateUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_CreateUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -53,8 +54,9 @@ func (c *userServiceClient) CreateUser(ctx context.Context, in *CreateUserReques } func (c *userServiceClient) ReadSelf(ctx context.Context, in *ReadSelfRequest, opts ...grpc.CallOption) (*ReadSelfResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ReadSelfResponse) - err := c.cc.Invoke(ctx, UserService_ReadSelf_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_ReadSelf_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -62,8 +64,9 @@ func (c *userServiceClient) ReadSelf(ctx context.Context, in *ReadSelfRequest, o } func (c *userServiceClient) ReadPublicProfile(ctx context.Context, in *ReadPublicProfileRequest, opts ...grpc.CallOption) (*ReadPublicProfileResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ReadPublicProfileResponse) - err := c.cc.Invoke(ctx, UserService_ReadPublicProfile_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_ReadPublicProfile_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -71,8 +74,9 @@ func (c *userServiceClient) ReadPublicProfile(ctx context.Context, in *ReadPubli } func (c *userServiceClient) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateUserResponse) - err := c.cc.Invoke(ctx, UserService_UpdateUser_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, UserService_UpdateUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -195,7 +199,7 @@ func _UserService_UpdateUser_Handler(srv interface{}, ctx context.Context, dec f // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var UserService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "proto.services.user_svc.v1.UserService", + ServiceName: "services.user_svc.v1.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -216,5 +220,5 @@ var UserService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "proto/services/user_svc/v1/user_svc.proto", + Metadata: "services/user_svc/v1/user_svc.proto", } diff --git a/gen/python/google/protobuf/any_pb2.py b/gen/python/google/protobuf/any_pb2.py deleted file mode 100644 index 1082af1cc..000000000 --- a/gen/python/google/protobuf/any_pb2.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/protobuf/any.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19google/protobuf/any.proto\x12\x0fgoogle.protobuf\"6\n\x03\x41ny\x12\x19\n\x08type_url\x18\x01 \x01(\tR\x07typeUrl\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05valueBv\n\x13\x63om.google.protobufB\x08\x41nyProtoP\x01Z,google.golang.org/protobuf/types/known/anypb\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.protobuf.any_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.google.protobufB\010AnyProtoP\001Z,google.golang.org/protobuf/types/known/anypb\242\002\003GPB\252\002\036Google.Protobuf.WellKnownTypes' - _globals['_ANY']._serialized_start=46 - _globals['_ANY']._serialized_end=100 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/google/protobuf/any_pb2_grpc.py b/gen/python/google/protobuf/any_pb2_grpc.py deleted file mode 100644 index 2daafffeb..000000000 --- a/gen/python/google/protobuf/any_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/gen/python/google/protobuf/empty_pb2.py b/gen/python/google/protobuf/empty_pb2.py deleted file mode 100644 index daa82bddd..000000000 --- a/gen/python/google/protobuf/empty_pb2.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/protobuf/empty.proto -# Protobuf Python Version: 4.25.1 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bgoogle/protobuf/empty.proto\x12\x0fgoogle.protobuf\"\x07\n\x05\x45mptyB}\n\x13\x63om.google.protobufB\nEmptyProtoP\x01Z.google.golang.org/protobuf/types/known/emptypb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.protobuf.empty_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\023com.google.protobufB\nEmptyProtoP\001Z.google.golang.org/protobuf/types/known/emptypb\370\001\001\242\002\003GPB\252\002\036Google.Protobuf.WellKnownTypes' - _globals['_EMPTY']._serialized_start=48 - _globals['_EMPTY']._serialized_end=55 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/google/protobuf/empty_pb2_grpc.py b/gen/python/google/protobuf/empty_pb2_grpc.py deleted file mode 100644 index 2daafffeb..000000000 --- a/gen/python/google/protobuf/empty_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/gen/python/libs/events/v1/organization_events_pb2.py b/gen/python/libs/events/v1/organization_events_pb2.py new file mode 100644 index 000000000..b4eec7711 --- /dev/null +++ b/gen/python/libs/events/v1/organization_events_pb2.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: libs/events/v1/organization_events.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(libs/events/v1/organization_events.proto\x12\x0elibs.events.v1\"C\n\x18OrganizationCreatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"*\n\x18OrganizationDeletedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02idB\x9e\x01\n\x12\x63om.libs.events.v1B\x17OrganizationEventsProtoP\x01Z\x15gen/proto/libs/events\xa2\x02\x03LEX\xaa\x02\x0eLibs.Events.V1\xca\x02\x0eLibs\\Events\\V1\xe2\x02\x1aLibs\\Events\\V1\\GPBMetadata\xea\x02\x10Libs::Events::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'libs.events.v1.organization_events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.libs.events.v1B\027OrganizationEventsProtoP\001Z\025gen/proto/libs/events\242\002\003LEX\252\002\016Libs.Events.V1\312\002\016Libs\\Events\\V1\342\002\032Libs\\Events\\V1\\GPBMetadata\352\002\020Libs::Events::V1' + _globals['_ORGANIZATIONCREATEDEVENT']._serialized_start=60 + _globals['_ORGANIZATIONCREATEDEVENT']._serialized_end=127 + _globals['_ORGANIZATIONDELETEDEVENT']._serialized_start=129 + _globals['_ORGANIZATIONDELETEDEVENT']._serialized_end=171 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/libs/events/v1/organization_events_pb2_grpc.py b/gen/python/libs/events/v1/organization_events_pb2_grpc.py similarity index 100% rename from gen/python/proto/libs/events/v1/organization_events_pb2_grpc.py rename to gen/python/libs/events/v1/organization_events_pb2_grpc.py diff --git a/gen/python/libs/events/v1/user_events_pb2.py b/gen/python/libs/events/v1/user_events_pb2.py new file mode 100644 index 000000000..6dd9b5f6d --- /dev/null +++ b/gen/python/libs/events/v1/user_events_pb2.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: libs/events/v1/user_events.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n libs/events/v1/user_events.proto\x12\x0elibs.events.v1\"k\n\x13UserRegisteredEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"h\n\x10UserCreatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"\x97\x01\n\x10UserUpdatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x05\x65mail\x18\x02 \x01(\tH\x00R\x05\x65mail\x88\x01\x01\x12\x1f\n\x08nickname\x18\x03 \x01(\tH\x01R\x08nickname\x88\x01\x01\x12\x17\n\x04name\x18\x04 \x01(\tH\x02R\x04name\x88\x01\x01\x42\x08\n\x06_emailB\x0b\n\t_nicknameB\x07\n\x05_nameB\x96\x01\n\x12\x63om.libs.events.v1B\x0fUserEventsProtoP\x01Z\x15gen/proto/libs/events\xa2\x02\x03LEX\xaa\x02\x0eLibs.Events.V1\xca\x02\x0eLibs\\Events\\V1\xe2\x02\x1aLibs\\Events\\V1\\GPBMetadata\xea\x02\x10Libs::Events::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'libs.events.v1.user_events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.libs.events.v1B\017UserEventsProtoP\001Z\025gen/proto/libs/events\242\002\003LEX\252\002\016Libs.Events.V1\312\002\016Libs\\Events\\V1\342\002\032Libs\\Events\\V1\\GPBMetadata\352\002\020Libs::Events::V1' + _globals['_USERREGISTEREDEVENT']._serialized_start=52 + _globals['_USERREGISTEREDEVENT']._serialized_end=159 + _globals['_USERCREATEDEVENT']._serialized_start=161 + _globals['_USERCREATEDEVENT']._serialized_end=265 + _globals['_USERUPDATEDEVENT']._serialized_start=268 + _globals['_USERUPDATEDEVENT']._serialized_end=419 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/libs/events/v1/user_events_pb2_grpc.py b/gen/python/libs/events/v1/user_events_pb2_grpc.py similarity index 100% rename from gen/python/proto/libs/events/v1/user_events_pb2_grpc.py rename to gen/python/libs/events/v1/user_events_pb2_grpc.py diff --git a/gen/python/proto/libs/events/v1/organization_events_pb2.py b/gen/python/proto/libs/events/v1/organization_events_pb2.py deleted file mode 100644 index cbe470c15..000000000 --- a/gen/python/proto/libs/events/v1/organization_events_pb2.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/libs/events/v1/organization_events.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.proto/libs/events/v1/organization_events.proto\x12\x14proto.libs.events.v1\"C\n\x18OrganizationCreatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"*\n\x18OrganizationDeletedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02idB\xbd\x01\n\x18\x63om.proto.libs.events.v1B\x17OrganizationEventsProtoP\x01Z\x15gen/proto/libs/events\xa2\x02\x03PLE\xaa\x02\x14Proto.Libs.Events.V1\xca\x02\x14Proto\\Libs\\Events\\V1\xe2\x02 Proto\\Libs\\Events\\V1\\GPBMetadata\xea\x02\x17Proto::Libs::Events::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.libs.events.v1.organization_events_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.proto.libs.events.v1B\027OrganizationEventsProtoP\001Z\025gen/proto/libs/events\242\002\003PLE\252\002\024Proto.Libs.Events.V1\312\002\024Proto\\Libs\\Events\\V1\342\002 Proto\\Libs\\Events\\V1\\GPBMetadata\352\002\027Proto::Libs::Events::V1' - _globals['_ORGANIZATIONCREATEDEVENT']._serialized_start=72 - _globals['_ORGANIZATIONCREATEDEVENT']._serialized_end=139 - _globals['_ORGANIZATIONDELETEDEVENT']._serialized_start=141 - _globals['_ORGANIZATIONDELETEDEVENT']._serialized_end=183 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/libs/events/v1/user_events_pb2.py b/gen/python/proto/libs/events/v1/user_events_pb2.py deleted file mode 100644 index c90c1524f..000000000 --- a/gen/python/proto/libs/events/v1/user_events_pb2.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/libs/events/v1/user_events.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&proto/libs/events/v1/user_events.proto\x12\x14proto.libs.events.v1\"k\n\x13UserRegisteredEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"h\n\x10UserCreatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"\x97\x01\n\x10UserUpdatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x05\x65mail\x18\x02 \x01(\tH\x00R\x05\x65mail\x88\x01\x01\x12\x1f\n\x08nickname\x18\x03 \x01(\tH\x01R\x08nickname\x88\x01\x01\x12\x17\n\x04name\x18\x04 \x01(\tH\x02R\x04name\x88\x01\x01\x42\x08\n\x06_emailB\x0b\n\t_nicknameB\x07\n\x05_nameB\xb5\x01\n\x18\x63om.proto.libs.events.v1B\x0fUserEventsProtoP\x01Z\x15gen/proto/libs/events\xa2\x02\x03PLE\xaa\x02\x14Proto.Libs.Events.V1\xca\x02\x14Proto\\Libs\\Events\\V1\xe2\x02 Proto\\Libs\\Events\\V1\\GPBMetadata\xea\x02\x17Proto::Libs::Events::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.libs.events.v1.user_events_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.proto.libs.events.v1B\017UserEventsProtoP\001Z\025gen/proto/libs/events\242\002\003PLE\252\002\024Proto.Libs.Events.V1\312\002\024Proto\\Libs\\Events\\V1\342\002 Proto\\Libs\\Events\\V1\\GPBMetadata\352\002\027Proto::Libs::Events::V1' - _globals['_USERREGISTEREDEVENT']._serialized_start=64 - _globals['_USERREGISTEREDEVENT']._serialized_end=171 - _globals['_USERCREATEDEVENT']._serialized_start=173 - _globals['_USERCREATEDEVENT']._serialized_end=277 - _globals['_USERUPDATEDEVENT']._serialized_start=280 - _globals['_USERUPDATEDEVENT']._serialized_end=431 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/auth_svc/v1/auth_svc_pb2.py b/gen/python/proto/services/auth_svc/v1/auth_svc_pb2.py deleted file mode 100644 index ba8b1d21a..000000000 --- a/gen/python/proto/services/auth_svc/v1/auth_svc_pb2.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/auth_svc/v1/auth_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)proto/services/auth_svc/v1/auth_svc.proto\x12\x1aproto.services.auth_svc.v1\"\x1a\n\x18PrelimAuthRequestRequest\"-\n\x19PrelimAuthRequestResponse\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url2\x92\x01\n\x0b\x41uthService\x12\x82\x01\n\x11PrelimAuthRequest\x12\x34.proto.services.auth_svc.v1.PrelimAuthRequestRequest\x1a\x35.proto.services.auth_svc.v1.PrelimAuthRequestResponse\"\x00\x42\xd2\x01\n\x1e\x63om.proto.services.auth_svc.v1B\x0c\x41uthSvcProtoP\x01Z\x1bgen/proto/services/auth-svc\xa2\x02\x03PSA\xaa\x02\x19Proto.Services.AuthSvc.V1\xca\x02\x19Proto\\Services\\AuthSvc\\V1\xe2\x02%Proto\\Services\\AuthSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::AuthSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.auth_svc.v1.auth_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.auth_svc.v1B\014AuthSvcProtoP\001Z\033gen/proto/services/auth-svc\242\002\003PSA\252\002\031Proto.Services.AuthSvc.V1\312\002\031Proto\\Services\\AuthSvc\\V1\342\002%Proto\\Services\\AuthSvc\\V1\\GPBMetadata\352\002\034Proto::Services::AuthSvc::V1' - _globals['_PRELIMAUTHREQUESTREQUEST']._serialized_start=73 - _globals['_PRELIMAUTHREQUESTREQUEST']._serialized_end=99 - _globals['_PRELIMAUTHREQUESTRESPONSE']._serialized_start=101 - _globals['_PRELIMAUTHREQUESTRESPONSE']._serialized_end=146 - _globals['_AUTHSERVICE']._serialized_start=149 - _globals['_AUTHSERVICE']._serialized_end=295 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/impulse_svc/v1/impulse_svc_pb2.py b/gen/python/proto/services/impulse_svc/v1/impulse_svc_pb2.py deleted file mode 100644 index 86f1e4964..000000000 --- a/gen/python/proto/services/impulse_svc/v1/impulse_svc_pb2.py +++ /dev/null @@ -1,95 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/impulse_svc/v1/impulse_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/proto/services/impulse_svc/v1/impulse_svc.proto\x12\x1dproto.services.impulse_svc.v1\"\xcc\x01\n\x11\x43reateUserRequest\x12\x1a\n\x08username\x18\x01 \x01(\tR\x08username\x12=\n\x06gender\x18\x02 \x01(\x0e\x32%.proto.services.impulse_svc.v1.GenderR\x06gender\x12\x1a\n\x08\x62irthday\x18\x03 \x01(\tR\x08\x62irthday\x12\x10\n\x03pal\x18\x04 \x01(\x02R\x03pal\x12\x16\n\x06length\x18\x05 \x01(\x05R\x06length\x12\x16\n\x06weight\x18\x06 \x01(\x02R\x06weight\"-\n\x12\x43reateUserResponse\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xc2\x02\n\x11UpdateUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x1c\n\x07team_id\x18\x02 \x01(\tH\x00R\x06teamId\x88\x01\x01\x12\x42\n\x06gender\x18\x03 \x01(\x0e\x32%.proto.services.impulse_svc.v1.GenderH\x01R\x06gender\x88\x01\x01\x12\x1f\n\x08\x62irthday\x18\x04 \x01(\tH\x02R\x08\x62irthday\x88\x01\x01\x12\x15\n\x03pal\x18\x05 \x01(\x02H\x03R\x03pal\x88\x01\x01\x12\x1b\n\x06length\x18\x06 \x01(\x05H\x04R\x06length\x88\x01\x01\x12\x1b\n\x06weight\x18\x07 \x01(\x02H\x05R\x06weight\x88\x01\x01\x42\n\n\x08_team_idB\t\n\x07_genderB\x0b\n\t_birthdayB\x06\n\x04_palB\t\n\x07_lengthB\t\n\x07_weight\"\xf4\x01\n\x12UpdateUserResponse\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x1c\n\x07team_id\x18\x02 \x01(\tH\x00R\x06teamId\x88\x01\x01\x12=\n\x06gender\x18\x03 \x01(\x0e\x32%.proto.services.impulse_svc.v1.GenderR\x06gender\x12\x1a\n\x08\x62irthday\x18\x04 \x01(\tR\x08\x62irthday\x12\x10\n\x03pal\x18\x05 \x01(\x02R\x03pal\x12\x16\n\x06length\x18\x06 \x01(\x05R\x06length\x12\x16\n\x06weight\x18\x07 \x01(\x02R\x06weightB\n\n\x08_team_id\"\x14\n\x12GetAllTeamsRequest\"\xbb\x01\n\x13GetAllTeamsResponse\x12M\n\x05teams\x18\x01 \x03(\x0b\x32\x37.proto.services.impulse_svc.v1.GetAllTeamsResponse.TeamR\x05teams\x1aU\n\x04Team\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"\x82\x01\n\x15TrackChallengeRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x14\n\x05score\x18\x03 \x01(\x04R\x05score\x12\x17\n\x07\x64one_at\x18\x04 \x01(\tR\x06\x64oneAt\";\n\x16TrackChallengeResponse\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\"\x1c\n\x1aGetActiveChallengesRequest\"\xf8\x03\n\x1bGetActiveChallengesResponse\x12\x64\n\nchallenges\x18\x01 \x03(\x0b\x32\x44.proto.services.impulse_svc.v1.GetActiveChallengesResponse.ChallengeR\nchallenges\x1a\xf2\x02\n\tChallenge\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x19\n\x08start_at\x18\x04 \x01(\tR\x07startAt\x12\x15\n\x06\x65nd_at\x18\x05 \x01(\tR\x05\x65ndAt\x12L\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32\x30.proto.services.impulse_svc.v1.ChallengeCategoryR\x08\x63\x61tegory\x12@\n\x04type\x18\x07 \x01(\x0e\x32,.proto.services.impulse_svc.v1.ChallengeTypeR\x04type\x12\x1c\n\tthreshold\x18\x08 \x01(\x04R\tthreshold\x12\x16\n\x06points\x18\t \x01(\x04R\x06points\x12\x12\n\x04unit\x18\n \x01(\tR\x04unit\"\xc6\x03\n\x16UpdateChallengeRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x19\n\x05title\x18\x02 \x01(\tH\x00R\x05title\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1e\n\x08start_at\x18\x04 \x01(\tH\x02R\x07startAt\x88\x01\x01\x12\x1a\n\x06\x65nd_at\x18\x05 \x01(\tH\x03R\x05\x65ndAt\x88\x01\x01\x12Q\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32\x30.proto.services.impulse_svc.v1.ChallengeCategoryH\x04R\x08\x63\x61tegory\x88\x01\x01\x12!\n\tthreshold\x18\x07 \x01(\x04H\x05R\tthreshold\x88\x01\x01\x12\x1b\n\x06points\x18\x08 \x01(\x04H\x06R\x06points\x88\x01\x01\x12\x17\n\x04unit\x18\t \x01(\tH\x07R\x04unit\x88\x01\x01\x42\x08\n\x06_titleB\x0e\n\x0c_descriptionB\x0b\n\t_start_atB\t\n\x07_end_atB\x0b\n\t_categoryB\x0c\n\n_thresholdB\t\n\x07_pointsB\x07\n\x05_unit\"\x80\x03\n\x17UpdateChallengeResponse\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x19\n\x08start_at\x18\x04 \x01(\tR\x07startAt\x12\x15\n\x06\x65nd_at\x18\x05 \x01(\tR\x05\x65ndAt\x12L\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32\x30.proto.services.impulse_svc.v1.ChallengeCategoryR\x08\x63\x61tegory\x12@\n\x04type\x18\x07 \x01(\x0e\x32,.proto.services.impulse_svc.v1.ChallengeTypeR\x04type\x12\x1c\n\tthreshold\x18\x08 \x01(\x04R\tthreshold\x12\x16\n\x06points\x18\t \x01(\x04R\x06points\x12\x12\n\x04unit\x18\n \x01(\tR\x04unit\"*\n\x0fGetScoreRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"(\n\x10GetScoreResponse\x12\x14\n\x05score\x18\x01 \x01(\x04R\x05score\",\n\x11GetRewardsRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xdf\x01\n\x12GetRewardsResponse\x12R\n\x07rewards\x18\x01 \x03(\x0b\x32\x38.proto.services.impulse_svc.v1.GetRewardsResponse.RewardR\x07rewards\x1au\n\x06Reward\x12\x1b\n\treward_id\x18\x01 \x01(\tR\x08rewardId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06points\x18\x05 \x01(\x04R\x06points\"\x16\n\x14GetAllRewardsRequest\"\xe5\x01\n\x15GetAllRewardsResponse\x12U\n\x07rewards\x18\x01 \x03(\x0b\x32;.proto.services.impulse_svc.v1.GetAllRewardsResponse.RewardR\x07rewards\x1au\n\x06Reward\x12\x1b\n\treward_id\x18\x01 \x01(\tR\x08rewardId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06points\x18\x05 \x01(\x04R\x06points\"4\n\x19StatsForTeamByUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xd9\x02\n\x1aStatsForTeamByUserResponse\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\x12\x14\n\x05score\x18\x02 \x01(\x04R\x05score\x12h\n\x0cgender_count\x18\x03 \x03(\x0b\x32\x45.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCountR\x0bgenderCount\x12\x1f\n\x0b\x61verage_age\x18\x04 \x01(\x02R\naverageAge\x12\x1d\n\nuser_count\x18\x05 \x01(\x04R\tuserCount\x1a\x62\n\x0bGenderCount\x12=\n\x06gender\x18\x01 \x01(\x0e\x32%.proto.services.impulse_svc.v1.GenderR\x06gender\x12\x14\n\x05\x63ount\x18\x02 \x01(\rR\x05\x63ount\"8\n\x13VerificationRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\"\xad\x04\n\x14VerificationResponse\x12y\n\x14string_verifications\x18\x01 \x03(\x0b\x32\x46.proto.services.impulse_svc.v1.VerificationResponse.StringVerificationR\x13stringVerifications\x12|\n\x15integer_verifications\x18\x02 \x03(\x0b\x32G.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerificationR\x14integerVerifications\x1a\x8b\x01\n\x12StringVerification\x12\x14\n\x05order\x18\x01 \x01(\rR\x05order\x12I\n\x04type\x18\x02 \x01(\x0e\x32\x35.proto.services.impulse_svc.v1.StringVerificationTypeR\x04type\x12\x14\n\x05value\x18\x03 \x01(\tR\x05value\x1a\x8d\x01\n\x13IntegerVerification\x12\x14\n\x05order\x18\x01 \x01(\rR\x05order\x12J\n\x04type\x18\x02 \x01(\x0e\x32\x36.proto.services.impulse_svc.v1.IntegerVerificationTypeR\x04type\x12\x14\n\x05value\x18\x03 \x01(\x04R\x05value*c\n\rChallengeType\x12\x1e\n\x1a\x43HALLENGE_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x43HALLENGE_TYPE_DAILY\x10\x01\x12\x18\n\x14\x43HALLENGE_TYPE_QUEST\x10\x02*t\n\x11\x43hallengeCategory\x12\"\n\x1e\x43HALLENGE_CATEGORY_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43HALLENGE_CATEGORY_FOOD\x10\x01\x12\x1e\n\x1a\x43HALLENGE_CATEGORY_FITNESS\x10\x02*X\n\x06Gender\x12\x16\n\x12GENDER_UNSPECIFIED\x10\x00\x12\x0f\n\x0bGENDER_MALE\x10\x01\x12\x11\n\rGENDER_FEMALE\x10\x02\x12\x12\n\x0eGENDER_DIVERSE\x10\x03*c\n\x16StringVerificationType\x12(\n$STRING_VERIFICATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bSTRING_VERIFICATION_TYPE_QR\x10\x01*\x8f\x01\n\x17IntegerVerificationType\x12)\n%INTEGER_VERIFICATION_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1fINTEGER_VERIFICATION_TYPE_TIMER\x10\x01\x12$\n INTEGER_VERIFICATION_TYPE_NUMBER\x10\x02\x32\xef\t\n\x0eImpulseService\x12s\n\nCreateUser\x12\x30.proto.services.impulse_svc.v1.CreateUserRequest\x1a\x31.proto.services.impulse_svc.v1.CreateUserResponse\"\x00\x12s\n\nUpdateUser\x12\x30.proto.services.impulse_svc.v1.UpdateUserRequest\x1a\x31.proto.services.impulse_svc.v1.UpdateUserResponse\"\x00\x12\x7f\n\x0eTrackChallenge\x12\x34.proto.services.impulse_svc.v1.TrackChallengeRequest\x1a\x35.proto.services.impulse_svc.v1.TrackChallengeResponse\"\x00\x12\x8e\x01\n\x13GetActiveChallenges\x12\x39.proto.services.impulse_svc.v1.GetActiveChallengesRequest\x1a:.proto.services.impulse_svc.v1.GetActiveChallengesResponse\"\x00\x12m\n\x08GetScore\x12..proto.services.impulse_svc.v1.GetScoreRequest\x1a/.proto.services.impulse_svc.v1.GetScoreResponse\"\x00\x12s\n\nGetRewards\x12\x30.proto.services.impulse_svc.v1.GetRewardsRequest\x1a\x31.proto.services.impulse_svc.v1.GetRewardsResponse\"\x00\x12|\n\rGetAllRewards\x12\x33.proto.services.impulse_svc.v1.GetAllRewardsRequest\x1a\x34.proto.services.impulse_svc.v1.GetAllRewardsResponse\"\x00\x12v\n\x0bGetAllTeams\x12\x31.proto.services.impulse_svc.v1.GetAllTeamsRequest\x1a\x32.proto.services.impulse_svc.v1.GetAllTeamsResponse\"\x00\x12\x8b\x01\n\x12StatsForTeamByUser\x12\x38.proto.services.impulse_svc.v1.StatsForTeamByUserRequest\x1a\x39.proto.services.impulse_svc.v1.StatsForTeamByUserResponse\"\x00\x12y\n\x0cVerification\x12\x32.proto.services.impulse_svc.v1.VerificationRequest\x1a\x33.proto.services.impulse_svc.v1.VerificationResponse\"\x00\x42\xe7\x01\n!com.proto.services.impulse_svc.v1B\x0fImpulseSvcProtoP\x01Z\x1egen/proto/services/impulse-svc\xa2\x02\x03PSI\xaa\x02\x1cProto.Services.ImpulseSvc.V1\xca\x02\x1cProto\\Services\\ImpulseSvc\\V1\xe2\x02(Proto\\Services\\ImpulseSvc\\V1\\GPBMetadata\xea\x02\x1fProto::Services::ImpulseSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.impulse_svc.v1.impulse_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.proto.services.impulse_svc.v1B\017ImpulseSvcProtoP\001Z\036gen/proto/services/impulse-svc\242\002\003PSI\252\002\034Proto.Services.ImpulseSvc.V1\312\002\034Proto\\Services\\ImpulseSvc\\V1\342\002(Proto\\Services\\ImpulseSvc\\V1\\GPBMetadata\352\002\037Proto::Services::ImpulseSvc::V1' - _globals['_CHALLENGETYPE']._serialized_start=4329 - _globals['_CHALLENGETYPE']._serialized_end=4428 - _globals['_CHALLENGECATEGORY']._serialized_start=4430 - _globals['_CHALLENGECATEGORY']._serialized_end=4546 - _globals['_GENDER']._serialized_start=4548 - _globals['_GENDER']._serialized_end=4636 - _globals['_STRINGVERIFICATIONTYPE']._serialized_start=4638 - _globals['_STRINGVERIFICATIONTYPE']._serialized_end=4737 - _globals['_INTEGERVERIFICATIONTYPE']._serialized_start=4740 - _globals['_INTEGERVERIFICATIONTYPE']._serialized_end=4883 - _globals['_CREATEUSERREQUEST']._serialized_start=83 - _globals['_CREATEUSERREQUEST']._serialized_end=287 - _globals['_CREATEUSERRESPONSE']._serialized_start=289 - _globals['_CREATEUSERRESPONSE']._serialized_end=334 - _globals['_UPDATEUSERREQUEST']._serialized_start=337 - _globals['_UPDATEUSERREQUEST']._serialized_end=659 - _globals['_UPDATEUSERRESPONSE']._serialized_start=662 - _globals['_UPDATEUSERRESPONSE']._serialized_end=906 - _globals['_GETALLTEAMSREQUEST']._serialized_start=908 - _globals['_GETALLTEAMSREQUEST']._serialized_end=928 - _globals['_GETALLTEAMSRESPONSE']._serialized_start=931 - _globals['_GETALLTEAMSRESPONSE']._serialized_end=1118 - _globals['_GETALLTEAMSRESPONSE_TEAM']._serialized_start=1033 - _globals['_GETALLTEAMSRESPONSE_TEAM']._serialized_end=1118 - _globals['_TRACKCHALLENGEREQUEST']._serialized_start=1121 - _globals['_TRACKCHALLENGEREQUEST']._serialized_end=1251 - _globals['_TRACKCHALLENGERESPONSE']._serialized_start=1253 - _globals['_TRACKCHALLENGERESPONSE']._serialized_end=1312 - _globals['_GETACTIVECHALLENGESREQUEST']._serialized_start=1314 - _globals['_GETACTIVECHALLENGESREQUEST']._serialized_end=1342 - _globals['_GETACTIVECHALLENGESRESPONSE']._serialized_start=1345 - _globals['_GETACTIVECHALLENGESRESPONSE']._serialized_end=1849 - _globals['_GETACTIVECHALLENGESRESPONSE_CHALLENGE']._serialized_start=1479 - _globals['_GETACTIVECHALLENGESRESPONSE_CHALLENGE']._serialized_end=1849 - _globals['_UPDATECHALLENGEREQUEST']._serialized_start=1852 - _globals['_UPDATECHALLENGEREQUEST']._serialized_end=2306 - _globals['_UPDATECHALLENGERESPONSE']._serialized_start=2309 - _globals['_UPDATECHALLENGERESPONSE']._serialized_end=2693 - _globals['_GETSCOREREQUEST']._serialized_start=2695 - _globals['_GETSCOREREQUEST']._serialized_end=2737 - _globals['_GETSCORERESPONSE']._serialized_start=2739 - _globals['_GETSCORERESPONSE']._serialized_end=2779 - _globals['_GETREWARDSREQUEST']._serialized_start=2781 - _globals['_GETREWARDSREQUEST']._serialized_end=2825 - _globals['_GETREWARDSRESPONSE']._serialized_start=2828 - _globals['_GETREWARDSRESPONSE']._serialized_end=3051 - _globals['_GETREWARDSRESPONSE_REWARD']._serialized_start=2934 - _globals['_GETREWARDSRESPONSE_REWARD']._serialized_end=3051 - _globals['_GETALLREWARDSREQUEST']._serialized_start=3053 - _globals['_GETALLREWARDSREQUEST']._serialized_end=3075 - _globals['_GETALLREWARDSRESPONSE']._serialized_start=3078 - _globals['_GETALLREWARDSRESPONSE']._serialized_end=3307 - _globals['_GETALLREWARDSRESPONSE_REWARD']._serialized_start=2934 - _globals['_GETALLREWARDSRESPONSE_REWARD']._serialized_end=3051 - _globals['_STATSFORTEAMBYUSERREQUEST']._serialized_start=3309 - _globals['_STATSFORTEAMBYUSERREQUEST']._serialized_end=3361 - _globals['_STATSFORTEAMBYUSERRESPONSE']._serialized_start=3364 - _globals['_STATSFORTEAMBYUSERRESPONSE']._serialized_end=3709 - _globals['_STATSFORTEAMBYUSERRESPONSE_GENDERCOUNT']._serialized_start=3611 - _globals['_STATSFORTEAMBYUSERRESPONSE_GENDERCOUNT']._serialized_end=3709 - _globals['_VERIFICATIONREQUEST']._serialized_start=3711 - _globals['_VERIFICATIONREQUEST']._serialized_end=3767 - _globals['_VERIFICATIONRESPONSE']._serialized_start=3770 - _globals['_VERIFICATIONRESPONSE']._serialized_end=4327 - _globals['_VERIFICATIONRESPONSE_STRINGVERIFICATION']._serialized_start=4044 - _globals['_VERIFICATIONRESPONSE_STRINGVERIFICATION']._serialized_end=4183 - _globals['_VERIFICATIONRESPONSE_INTEGERVERIFICATION']._serialized_start=4186 - _globals['_VERIFICATIONRESPONSE_INTEGERVERIFICATION']._serialized_end=4327 - _globals['_IMPULSESERVICE']._serialized_start=4886 - _globals['_IMPULSESERVICE']._serialized_end=6149 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/impulse_svc/v1/impulse_svc_pb2_grpc.py b/gen/python/proto/services/impulse_svc/v1/impulse_svc_pb2_grpc.py deleted file mode 100644 index 8f7cb83ff..000000000 --- a/gen/python/proto/services/impulse_svc/v1/impulse_svc_pb2_grpc.py +++ /dev/null @@ -1,375 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.impulse_svc.v1 import impulse_svc_pb2 as proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2 - - -class ImpulseServiceStub(object): - """ - ImpulseService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateUser = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/CreateUser', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.FromString, - ) - self.UpdateUser = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/UpdateUser', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.FromString, - ) - self.TrackChallenge = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/TrackChallenge', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.FromString, - ) - self.GetActiveChallenges = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/GetActiveChallenges', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.FromString, - ) - self.GetScore = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/GetScore', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.FromString, - ) - self.GetRewards = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/GetRewards', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.FromString, - ) - self.GetAllRewards = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/GetAllRewards', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.FromString, - ) - self.GetAllTeams = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/GetAllTeams', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.FromString, - ) - self.StatsForTeamByUser = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.FromString, - ) - self.Verification = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/Verification', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.FromString, - ) - - -class ImpulseServiceServicer(object): - """ - ImpulseService - - - """ - - def CreateUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TrackChallenge(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetActiveChallenges(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetScore(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRewards(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAllRewards(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAllTeams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StatsForTeamByUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Verification(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_ImpulseServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateUser': grpc.unary_unary_rpc_method_handler( - servicer.CreateUser, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.SerializeToString, - ), - 'UpdateUser': grpc.unary_unary_rpc_method_handler( - servicer.UpdateUser, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.SerializeToString, - ), - 'TrackChallenge': grpc.unary_unary_rpc_method_handler( - servicer.TrackChallenge, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.SerializeToString, - ), - 'GetActiveChallenges': grpc.unary_unary_rpc_method_handler( - servicer.GetActiveChallenges, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.SerializeToString, - ), - 'GetScore': grpc.unary_unary_rpc_method_handler( - servicer.GetScore, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.SerializeToString, - ), - 'GetRewards': grpc.unary_unary_rpc_method_handler( - servicer.GetRewards, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.SerializeToString, - ), - 'GetAllRewards': grpc.unary_unary_rpc_method_handler( - servicer.GetAllRewards, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.SerializeToString, - ), - 'GetAllTeams': grpc.unary_unary_rpc_method_handler( - servicer.GetAllTeams, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.SerializeToString, - ), - 'StatsForTeamByUser': grpc.unary_unary_rpc_method_handler( - servicer.StatsForTeamByUser, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.SerializeToString, - ), - 'Verification': grpc.unary_unary_rpc_method_handler( - servicer.Verification, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.impulse_svc.v1.ImpulseService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class ImpulseService(object): - """ - ImpulseService - - - """ - - @staticmethod - def CreateUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/CreateUser', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/UpdateUser', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def TrackChallenge(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/TrackChallenge', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetActiveChallenges(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/GetActiveChallenges', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetScore(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/GetScore', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRewards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/GetRewards', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAllRewards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/GetAllRewards', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAllTeams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/GetAllTeams', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StatsForTeamByUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Verification(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/Verification', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/ory_svc/v1/ory_svc_pb2.py b/gen/python/proto/services/ory_svc/v1/ory_svc_pb2.py deleted file mode 100644 index eda8e12c9..000000000 --- a/gen/python/proto/services/ory_svc/v1/ory_svc_pb2.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/ory_svc/v1/ory_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'proto/services/ory_svc/v1/ory_svc.proto\x12\x19proto.services.ory_svc.v1\"\x87\x01\n&AfterRegistrationWebhookPayloadRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"|\n\x1b\x41\x66terSettingsWebhookPayload\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04nameB\xcb\x01\n\x1d\x63om.proto.services.ory_svc.v1B\x0bOrySvcProtoP\x01Z\x1agen/proto/services/ory-svc\xa2\x02\x03PSO\xaa\x02\x18Proto.Services.OrySvc.V1\xca\x02\x18Proto\\Services\\OrySvc\\V1\xe2\x02$Proto\\Services\\OrySvc\\V1\\GPBMetadata\xea\x02\x1bProto::Services::OrySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.ory_svc.v1.ory_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.proto.services.ory_svc.v1B\013OrySvcProtoP\001Z\032gen/proto/services/ory-svc\242\002\003PSO\252\002\030Proto.Services.OrySvc.V1\312\002\030Proto\\Services\\OrySvc\\V1\342\002$Proto\\Services\\OrySvc\\V1\\GPBMetadata\352\002\033Proto::Services::OrySvc::V1' - _globals['_AFTERREGISTRATIONWEBHOOKPAYLOADREQUEST']._serialized_start=71 - _globals['_AFTERREGISTRATIONWEBHOOKPAYLOADREQUEST']._serialized_end=206 - _globals['_AFTERSETTINGSWEBHOOKPAYLOAD']._serialized_start=208 - _globals['_AFTERSETTINGSWEBHOOKPAYLOAD']._serialized_end=332 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/property_svc/v1/property_set_svc_pb2.py b/gen/python/proto/services/property_svc/v1/property_set_svc_pb2.py deleted file mode 100644 index d927c3e26..000000000 --- a/gen/python/proto/services/property_svc/v1/property_set_svc_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/property_svc/v1/property_set_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5proto/services/property_svc/v1/property_set_svc.proto\x12\x1eproto.services.property_svc.v1\".\n\x18\x43reatePropertySetRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"+\n\x19\x43reatePropertySetResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\'\n\x15GetPropertySetRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"<\n\x16GetPropertySetResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name2\xa5\x02\n\x12PropertySetService\x12\x8a\x01\n\x11\x43reatePropertySet\x12\x38.proto.services.property_svc.v1.CreatePropertySetRequest\x1a\x39.proto.services.property_svc.v1.CreatePropertySetResponse\"\x00\x12\x81\x01\n\x0eGetPropertySet\x12\x35.proto.services.property_svc.v1.GetPropertySetRequest\x1a\x36.proto.services.property_svc.v1.GetPropertySetResponse\"\x00\x42\xf1\x01\n\"com.proto.services.property_svc.v1B\x13PropertySetSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03PSP\xaa\x02\x1dProto.Services.PropertySvc.V1\xca\x02\x1dProto\\Services\\PropertySvc\\V1\xe2\x02)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\xea\x02 Proto::Services::PropertySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.property_svc.v1.property_set_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.proto.services.property_svc.v1B\023PropertySetSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003PSP\252\002\035Proto.Services.PropertySvc.V1\312\002\035Proto\\Services\\PropertySvc\\V1\342\002)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\352\002 Proto::Services::PropertySvc::V1' - _globals['_CREATEPROPERTYSETREQUEST']._serialized_start=89 - _globals['_CREATEPROPERTYSETREQUEST']._serialized_end=135 - _globals['_CREATEPROPERTYSETRESPONSE']._serialized_start=137 - _globals['_CREATEPROPERTYSETRESPONSE']._serialized_end=180 - _globals['_GETPROPERTYSETREQUEST']._serialized_start=182 - _globals['_GETPROPERTYSETREQUEST']._serialized_end=221 - _globals['_GETPROPERTYSETRESPONSE']._serialized_start=223 - _globals['_GETPROPERTYSETRESPONSE']._serialized_end=283 - _globals['_PROPERTYSETSERVICE']._serialized_start=286 - _globals['_PROPERTYSETSERVICE']._serialized_end=579 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/property_svc/v1/property_set_svc_pb2_grpc.py b/gen/python/proto/services/property_svc/v1/property_set_svc_pb2_grpc.py deleted file mode 100644 index b3fa40500..000000000 --- a/gen/python/proto/services/property_svc/v1/property_set_svc_pb2_grpc.py +++ /dev/null @@ -1,111 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.property_svc.v1 import property_set_svc_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2 - - -class PropertySetServiceStub(object): - """ - PropertySetService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreatePropertySet = channel.unary_unary( - '/proto.services.property_svc.v1.PropertySetService/CreatePropertySet', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.FromString, - ) - self.GetPropertySet = channel.unary_unary( - '/proto.services.property_svc.v1.PropertySetService/GetPropertySet', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.FromString, - ) - - -class PropertySetServiceServicer(object): - """ - PropertySetService - - - """ - - def CreatePropertySet(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPropertySet(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PropertySetServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreatePropertySet': grpc.unary_unary_rpc_method_handler( - servicer.CreatePropertySet, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.SerializeToString, - ), - 'GetPropertySet': grpc.unary_unary_rpc_method_handler( - servicer.GetPropertySet, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.property_svc.v1.PropertySetService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PropertySetService(object): - """ - PropertySetService - - - """ - - @staticmethod - def CreatePropertySet(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertySetService/CreatePropertySet', - proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPropertySet(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertySetService/GetPropertySet', - proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/property_svc/v1/property_svc_pb2.py b/gen/python/proto/services/property_svc/v1/property_svc_pb2.py deleted file mode 100644 index 9ef810c1c..000000000 --- a/gen/python/proto/services/property_svc/v1/property_svc_pb2.py +++ /dev/null @@ -1,64 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/property_svc/v1/property_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from proto.services.property_svc.v1 import types_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1proto/services/property_svc/v1/property_svc.proto\x12\x1eproto.services.property_svc.v1\x1a*proto/services/property_svc/v1/types.proto\"\xad\x05\n\x15\x43reatePropertyRequest\x12N\n\x0csubject_type\x18\x02 \x01(\x0e\x32+.proto.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12H\n\nfield_type\x18\x03 \x01(\x0e\x32).proto.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1a\n\x06set_id\x18\x06 \x01(\tH\x02R\x05setId\x88\x01\x01\x12\x63\n\x0bselect_data\x18\t \x01(\x0b\x32@.proto.services.property_svc.v1.CreatePropertyRequest.SelectDataH\x00R\nselectData\x1a\x8f\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12g\n\x07options\x18\x02 \x03(\x0b\x32M.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOptionR\x07options\x1aY\n\x0cSelectOption\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_id\"9\n\x16\x43reatePropertyResponse\x12\x1f\n\x0bproperty_id\x18\x01 \x01(\tR\npropertyId\"p\n\x12GetPropertyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x1aJ\n\nViewSource\x12\x18\n\x06global\x18\x01 \x01(\x08H\x00R\x06global\x12\x19\n\x07ward_id\x18\x02 \x01(\tH\x00R\x06wardIdB\x07\n\x05value\"\xf2\x06\n\x13GetPropertyResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12N\n\x0csubject_type\x18\x02 \x01(\x0e\x32+.proto.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12H\n\nfield_type\x18\x03 \x01(\x0e\x32).proto.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x06 \x01(\x08R\nisArchived\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x02R\x05setId\x88\x01\x01\x12\x61\n\x0bselect_data\x18\n \x01(\x0b\x32>.proto.services.property_svc.v1.GetPropertyResponse.SelectDataH\x00R\nselectData\x12G\n\x1e\x61lways_include_for_view_source\x18\x0b \x01(\x08H\x03R\x1a\x61lwaysIncludeForViewSource\x88\x01\x01\x1a\xbb\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12\x65\n\x07options\x18\x02 \x03(\x0b\x32K.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOptionR\x07options\x1a\x86\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1b\n\tis_custom\x18\x04 \x01(\x08R\x08isCustomB\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_idB!\n\x1f_always_include_for_view_source\"\xd0\x06\n\x15UpdatePropertyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12S\n\x0csubject_type\x18\x02 \x01(\x0e\x32+.proto.services.property_svc.v1.SubjectTypeH\x01R\x0bsubjectType\x88\x01\x01\x12\x17\n\x04name\x18\x04 \x01(\tH\x02R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x03R\x0b\x64\x65scription\x88\x01\x01\x12$\n\x0bis_archived\x18\x06 \x01(\x08H\x04R\nisArchived\x88\x01\x01\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x05R\x05setId\x88\x01\x01\x12\x63\n\x0bselect_data\x18\n \x01(\x0b\x32@.proto.services.property_svc.v1.UpdatePropertyRequest.SelectDataH\x00R\nselectData\x1a\x92\x03\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12%\n\x0eremove_options\x18\x02 \x03(\tR\rremoveOptions\x12t\n\x0eupsert_options\x18\x03 \x03(\x0b\x32M.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOptionR\rupsertOptions\x1a\xa7\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12 \n\tis_custom\x18\x04 \x01(\x08H\x02R\x08isCustom\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0c\n\n_is_customB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0f\n\r_subject_typeB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0e\n\x0c_is_archivedB\t\n\x07_set_id\"\x18\n\x16UpdatePropertyResponse\"s\n!GetPropertiesBySubjectTypeRequest\x12N\n\x0csubject_type\x18\x01 \x01(\x0e\x32+.proto.services.property_svc.v1.SubjectTypeR\x0bsubjectType\"\xbf\x07\n\"GetPropertiesBySubjectTypeResponse\x12k\n\nproperties\x18\x01 \x03(\x0b\x32K.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.PropertyR\nproperties\x1a\xab\x06\n\x08Property\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12N\n\x0csubject_type\x18\x02 \x01(\x0e\x32+.proto.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12H\n\nfield_type\x18\x03 \x01(\x0e\x32).proto.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x06 \x01(\x08R\nisArchived\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x02R\x05setId\x88\x01\x01\x12y\n\x0bselect_data\x18\n \x01(\x0b\x32V.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectDataH\x00R\nselectData\x1a\xd3\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12}\n\x07options\x18\x02 \x03(\x0b\x32\x63.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOptionR\x07options\x1a\x86\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1b\n\tis_custom\x18\x04 \x01(\x08R\x08isCustomB\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_id2\xbb\x04\n\x0fPropertyService\x12\x81\x01\n\x0e\x43reateProperty\x12\x35.proto.services.property_svc.v1.CreatePropertyRequest\x1a\x36.proto.services.property_svc.v1.CreatePropertyResponse\"\x00\x12x\n\x0bGetProperty\x12\x32.proto.services.property_svc.v1.GetPropertyRequest\x1a\x33.proto.services.property_svc.v1.GetPropertyResponse\"\x00\x12\x81\x01\n\x0eUpdateProperty\x12\x35.proto.services.property_svc.v1.UpdatePropertyRequest\x1a\x36.proto.services.property_svc.v1.UpdatePropertyResponse\"\x00\x12\xa5\x01\n\x1aGetPropertiesBySubjectType\x12\x41.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest\x1a\x42.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse\"\x00\x42\xee\x01\n\"com.proto.services.property_svc.v1B\x10PropertySvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03PSP\xaa\x02\x1dProto.Services.PropertySvc.V1\xca\x02\x1dProto\\Services\\PropertySvc\\V1\xe2\x02)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\xea\x02 Proto::Services::PropertySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.property_svc.v1.property_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.proto.services.property_svc.v1B\020PropertySvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003PSP\252\002\035Proto.Services.PropertySvc.V1\312\002\035Proto\\Services\\PropertySvc\\V1\342\002)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\352\002 Proto::Services::PropertySvc::V1' - _globals['_CREATEPROPERTYREQUEST']._serialized_start=130 - _globals['_CREATEPROPERTYREQUEST']._serialized_end=815 - _globals['_CREATEPROPERTYREQUEST_SELECTDATA']._serialized_start=498 - _globals['_CREATEPROPERTYREQUEST_SELECTDATA']._serialized_end=769 - _globals['_CREATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_start=661 - _globals['_CREATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_end=750 - _globals['_CREATEPROPERTYRESPONSE']._serialized_start=817 - _globals['_CREATEPROPERTYRESPONSE']._serialized_end=874 - _globals['_GETPROPERTYREQUEST']._serialized_start=876 - _globals['_GETPROPERTYREQUEST']._serialized_end=988 - _globals['_GETPROPERTYREQUEST_VIEWSOURCE']._serialized_start=914 - _globals['_GETPROPERTYREQUEST_VIEWSOURCE']._serialized_end=988 - _globals['_GETPROPERTYRESPONSE']._serialized_start=991 - _globals['_GETPROPERTYRESPONSE']._serialized_end=1873 - _globals['_GETPROPERTYRESPONSE_SELECTDATA']._serialized_start=1477 - _globals['_GETPROPERTYRESPONSE_SELECTDATA']._serialized_end=1792 - _globals['_GETPROPERTYRESPONSE_SELECTDATA_SELECTOPTION']._serialized_start=1639 - _globals['_GETPROPERTYRESPONSE_SELECTDATA_SELECTOPTION']._serialized_end=1773 - _globals['_UPDATEPROPERTYREQUEST']._serialized_start=1876 - _globals['_UPDATEPROPERTYREQUEST']._serialized_end=2724 - _globals['_UPDATEPROPERTYREQUEST_SELECTDATA']._serialized_start=2234 - _globals['_UPDATEPROPERTYREQUEST_SELECTDATA']._serialized_end=2636 - _globals['_UPDATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_start=2450 - _globals['_UPDATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_end=2617 - _globals['_UPDATEPROPERTYRESPONSE']._serialized_start=2726 - _globals['_UPDATEPROPERTYRESPONSE']._serialized_end=2750 - _globals['_GETPROPERTIESBYSUBJECTTYPEREQUEST']._serialized_start=2752 - _globals['_GETPROPERTIESBYSUBJECTTYPEREQUEST']._serialized_end=2867 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE']._serialized_start=2870 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE']._serialized_end=3829 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY']._serialized_start=3018 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY']._serialized_end=3829 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA']._serialized_start=3444 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA']._serialized_end=3783 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA_SELECTOPTION']._serialized_start=1639 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA_SELECTOPTION']._serialized_end=1773 - _globals['_PROPERTYSERVICE']._serialized_start=3832 - _globals['_PROPERTYSERVICE']._serialized_end=4403 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/property_svc/v1/property_svc_pb2_grpc.py b/gen/python/proto/services/property_svc/v1/property_svc_pb2_grpc.py deleted file mode 100644 index d0db2bf92..000000000 --- a/gen/python/proto/services/property_svc/v1/property_svc_pb2_grpc.py +++ /dev/null @@ -1,165 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.property_svc.v1 import property_svc_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2 - - -class PropertyServiceStub(object): - """Missing associated documentation comment in .proto file.""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateProperty = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyService/CreateProperty', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.FromString, - ) - self.GetProperty = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyService/GetProperty', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.FromString, - ) - self.UpdateProperty = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyService/UpdateProperty', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.FromString, - ) - self.GetPropertiesBySubjectType = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.FromString, - ) - - -class PropertyServiceServicer(object): - """Missing associated documentation comment in .proto file.""" - - def CreateProperty(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetProperty(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateProperty(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPropertiesBySubjectType(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PropertyServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateProperty': grpc.unary_unary_rpc_method_handler( - servicer.CreateProperty, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.SerializeToString, - ), - 'GetProperty': grpc.unary_unary_rpc_method_handler( - servicer.GetProperty, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.SerializeToString, - ), - 'UpdateProperty': grpc.unary_unary_rpc_method_handler( - servicer.UpdateProperty, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.SerializeToString, - ), - 'GetPropertiesBySubjectType': grpc.unary_unary_rpc_method_handler( - servicer.GetPropertiesBySubjectType, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.property_svc.v1.PropertyService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PropertyService(object): - """Missing associated documentation comment in .proto file.""" - - @staticmethod - def CreateProperty(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyService/CreateProperty', - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetProperty(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyService/GetProperty', - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateProperty(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyService/UpdateProperty', - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPropertiesBySubjectType(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/property_svc/v1/property_value_svc_pb2.py b/gen/python/proto/services/property_svc/v1/property_value_svc_pb2.py deleted file mode 100644 index 089726219..000000000 --- a/gen/python/proto/services/property_svc/v1/property_value_svc_pb2.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/property_svc/v1/property_value_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from proto.services.property_svc.v1 import types_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_types__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7proto/services/property_svc/v1/property_value_svc.proto\x12\x1eproto.services.property_svc.v1\x1a*proto/services/property_svc/v1/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfe\x02\n\x1a\x41ttachPropertyValueRequest\x12\x1d\n\nsubject_id\x18\x01 \x01(\tR\tsubjectId\x12\x1f\n\x0bproperty_id\x18\x02 \x01(\tR\npropertyId\x12\x1f\n\ntext_value\x18\x03 \x01(\tH\x00R\ttextValue\x12#\n\x0cnumber_value\x18\x04 \x01(\x01H\x00R\x0bnumberValue\x12\x1f\n\nbool_value\x18\x05 \x01(\x08H\x00R\tboolValue\x12\x45\n\ndate_value\x18\x06 \x01(\x0b\x32$.proto.services.property_svc.v1.DateH\x00R\tdateValue\x12\x44\n\x0f\x64\x61te_time_value\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\rdateTimeValue\x12#\n\x0cselect_value\x18\x08 \x01(\tH\x00R\x0bselectValueB\x07\n\x05value\"I\n\x1b\x41ttachPropertyValueResponse\x12*\n\x11property_value_id\x18\x01 \x01(\tR\x0fpropertyValueId\"i\n\x13TaskPropertyMatcher\x12\x1c\n\x07ward_id\x18\x01 \x01(\tH\x00R\x06wardId\x88\x01\x01\x12\x1c\n\x07task_id\x18\x02 \x01(\tH\x01R\x06taskId\x88\x01\x01\x42\n\n\x08_ward_idB\n\n\x08_task_id\"\x87\x01\n GetAttachedPropertyValuesRequest\x12X\n\x0ctask_matcher\x18\x01 \x01(\x0b\x32\x33.proto.services.property_svc.v1.TaskPropertyMatcherH\x00R\x0btaskMatcherB\t\n\x07matcher\"\x87\x05\n!GetAttachedPropertyValuesResponse\x12_\n\x06values\x18\x01 \x03(\x0b\x32G.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.ValueR\x06values\x1a\x80\x04\n\x05Value\x12\x1f\n\x0bproperty_id\x18\x01 \x01(\tR\npropertyId\x12H\n\nfield_type\x18\x02 \x01(\x0e\x32).proto.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x05 \x01(\x08R\nisArchived\x12\x1f\n\ntext_value\x18\x06 \x01(\tH\x00R\ttextValue\x12#\n\x0cnumber_value\x18\x07 \x01(\x01H\x00R\x0bnumberValue\x12\x1f\n\nbool_value\x18\x08 \x01(\x08H\x00R\tboolValue\x12\x45\n\ndate_value\x18\t \x01(\x0b\x32$.proto.services.property_svc.v1.DateH\x00R\tdateValue\x12\x44\n\x0f\x64\x61te_time_value\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\rdateTimeValue\x12#\n\x0cselect_value\x18\x0b \x01(\tH\x00R\x0bselectValueB\x07\n\x05valueB\x0e\n\x0c_description2\xce\x02\n\x14PropertyValueService\x12\x90\x01\n\x13\x41ttachPropertyValue\x12:.proto.services.property_svc.v1.AttachPropertyValueRequest\x1a;.proto.services.property_svc.v1.AttachPropertyValueResponse\"\x00\x12\xa2\x01\n\x19GetAttachedPropertyValues\x12@.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest\x1a\x41.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse\"\x00\x42\xf3\x01\n\"com.proto.services.property_svc.v1B\x15PropertyValueSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03PSP\xaa\x02\x1dProto.Services.PropertySvc.V1\xca\x02\x1dProto\\Services\\PropertySvc\\V1\xe2\x02)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\xea\x02 Proto::Services::PropertySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.property_svc.v1.property_value_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.proto.services.property_svc.v1B\025PropertyValueSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003PSP\252\002\035Proto.Services.PropertySvc.V1\312\002\035Proto\\Services\\PropertySvc\\V1\342\002)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\352\002 Proto::Services::PropertySvc::V1' - _globals['_ATTACHPROPERTYVALUEREQUEST']._serialized_start=169 - _globals['_ATTACHPROPERTYVALUEREQUEST']._serialized_end=551 - _globals['_ATTACHPROPERTYVALUERESPONSE']._serialized_start=553 - _globals['_ATTACHPROPERTYVALUERESPONSE']._serialized_end=626 - _globals['_TASKPROPERTYMATCHER']._serialized_start=628 - _globals['_TASKPROPERTYMATCHER']._serialized_end=733 - _globals['_GETATTACHEDPROPERTYVALUESREQUEST']._serialized_start=736 - _globals['_GETATTACHEDPROPERTYVALUESREQUEST']._serialized_end=871 - _globals['_GETATTACHEDPROPERTYVALUESRESPONSE']._serialized_start=874 - _globals['_GETATTACHEDPROPERTYVALUESRESPONSE']._serialized_end=1521 - _globals['_GETATTACHEDPROPERTYVALUESRESPONSE_VALUE']._serialized_start=1009 - _globals['_GETATTACHEDPROPERTYVALUESRESPONSE_VALUE']._serialized_end=1521 - _globals['_PROPERTYVALUESERVICE']._serialized_start=1524 - _globals['_PROPERTYVALUESERVICE']._serialized_end=1858 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/property_svc/v1/property_value_svc_pb2_grpc.py b/gen/python/proto/services/property_svc/v1/property_value_svc_pb2_grpc.py deleted file mode 100644 index 3476a9a2f..000000000 --- a/gen/python/proto/services/property_svc/v1/property_value_svc_pb2_grpc.py +++ /dev/null @@ -1,111 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.property_svc.v1 import property_value_svc_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2 - - -class PropertyValueServiceStub(object): - """ - PropertyValueService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.AttachPropertyValue = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyValueService/AttachPropertyValue', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.FromString, - ) - self.GetAttachedPropertyValues = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.FromString, - ) - - -class PropertyValueServiceServicer(object): - """ - PropertyValueService - - - """ - - def AttachPropertyValue(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAttachedPropertyValues(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PropertyValueServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'AttachPropertyValue': grpc.unary_unary_rpc_method_handler( - servicer.AttachPropertyValue, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.SerializeToString, - ), - 'GetAttachedPropertyValues': grpc.unary_unary_rpc_method_handler( - servicer.GetAttachedPropertyValues, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.property_svc.v1.PropertyValueService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PropertyValueService(object): - """ - PropertyValueService - - - """ - - @staticmethod - def AttachPropertyValue(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyValueService/AttachPropertyValue', - proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAttachedPropertyValues(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', - proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/property_svc/v1/property_views_svc_pb2.py b/gen/python/proto/services/property_svc/v1/property_views_svc_pb2.py deleted file mode 100644 index 3d739accc..000000000 --- a/gen/python/proto/services/property_svc/v1/property_views_svc_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/property_svc/v1/property_views_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from proto.services.property_svc.v1 import property_value_svc_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7proto/services/property_svc/v1/property_views_svc.proto\x12\x1eproto.services.property_svc.v1\x1a\x37proto/services/property_svc/v1/property_value_svc.proto\"\x8c\x02\n\x0c\x46ilterUpdate\x12\x37\n\x18\x61ppend_to_always_include\x18\x01 \x03(\tR\x15\x61ppendToAlwaysInclude\x12;\n\x1aremove_from_always_include\x18\x02 \x03(\tR\x17removeFromAlwaysInclude\x12@\n\x1d\x61ppend_to_dont_always_include\x18\x03 \x03(\tR\x19\x61ppendToDontAlwaysInclude\x12\x44\n\x1fremove_from_dont_always_include\x18\x04 \x03(\tR\x1bremoveFromDontAlwaysInclude\"\xd7\x01\n\x1dUpdatePropertyViewRuleRequest\x12Q\n\rfilter_update\x18\x01 \x01(\x0b\x32,.proto.services.property_svc.v1.FilterUpdateR\x0c\x66ilterUpdate\x12X\n\x0ctask_matcher\x18\x02 \x01(\x0b\x32\x33.proto.services.property_svc.v1.TaskPropertyMatcherH\x00R\x0btaskMatcherB\t\n\x07matcher\" \n\x1eUpdatePropertyViewRuleResponse2\xb2\x01\n\x14PropertyViewsService\x12\x99\x01\n\x16UpdatePropertyViewRule\x12=.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest\x1a>.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse\"\x00\x42\xf3\x01\n\"com.proto.services.property_svc.v1B\x15PropertyViewsSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03PSP\xaa\x02\x1dProto.Services.PropertySvc.V1\xca\x02\x1dProto\\Services\\PropertySvc\\V1\xe2\x02)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\xea\x02 Proto::Services::PropertySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.property_svc.v1.property_views_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.proto.services.property_svc.v1B\025PropertyViewsSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003PSP\252\002\035Proto.Services.PropertySvc.V1\312\002\035Proto\\Services\\PropertySvc\\V1\342\002)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\352\002 Proto::Services::PropertySvc::V1' - _globals['_FILTERUPDATE']._serialized_start=149 - _globals['_FILTERUPDATE']._serialized_end=417 - _globals['_UPDATEPROPERTYVIEWRULEREQUEST']._serialized_start=420 - _globals['_UPDATEPROPERTYVIEWRULEREQUEST']._serialized_end=635 - _globals['_UPDATEPROPERTYVIEWRULERESPONSE']._serialized_start=637 - _globals['_UPDATEPROPERTYVIEWRULERESPONSE']._serialized_end=669 - _globals['_PROPERTYVIEWSSERVICE']._serialized_start=672 - _globals['_PROPERTYVIEWSSERVICE']._serialized_end=850 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/property_svc/v1/property_views_svc_pb2_grpc.py b/gen/python/proto/services/property_svc/v1/property_views_svc_pb2_grpc.py deleted file mode 100644 index 36bd44957..000000000 --- a/gen/python/proto/services/property_svc/v1/property_views_svc_pb2_grpc.py +++ /dev/null @@ -1,66 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.property_svc.v1 import property_views_svc_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2 - - -class PropertyViewsServiceStub(object): - """Missing associated documentation comment in .proto file.""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UpdatePropertyViewRule = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.FromString, - ) - - -class PropertyViewsServiceServicer(object): - """Missing associated documentation comment in .proto file.""" - - def UpdatePropertyViewRule(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PropertyViewsServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'UpdatePropertyViewRule': grpc.unary_unary_rpc_method_handler( - servicer.UpdatePropertyViewRule, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.property_svc.v1.PropertyViewsService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PropertyViewsService(object): - """Missing associated documentation comment in .proto file.""" - - @staticmethod - def UpdatePropertyViewRule(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', - proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/property_svc/v1/types_pb2.py b/gen/python/proto/services/property_svc/v1/types_pb2.py deleted file mode 100644 index 7467c1c08..000000000 --- a/gen/python/proto/services/property_svc/v1/types_pb2.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/property_svc/v1/types.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*proto/services/property_svc/v1/types.proto\x12\x1eproto.services.property_svc.v1\"B\n\x04\x44\x61te\x12\x10\n\x03\x64\x61y\x18\x01 \x01(\x05R\x03\x64\x61y\x12\x14\n\x05month\x18\x02 \x01(\x05R\x05month\x12\x12\n\x04year\x18\x03 \x01(\x05R\x04year*\\\n\x0bSubjectType\x12\x1c\n\x18SUBJECT_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14SUBJECT_TYPE_PATIENT\x10\x01\x12\x15\n\x11SUBJECT_TYPE_TASK\x10\x02*\xb2\x01\n\tFieldType\x12\x1a\n\x16\x46IELD_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x46IELD_TYPE_TEXT\x10\x01\x12\x15\n\x11\x46IELD_TYPE_NUMBER\x10\x02\x12\x17\n\x13\x46IELD_TYPE_CHECKBOX\x10\x03\x12\x13\n\x0f\x46IELD_TYPE_DATE\x10\x04\x12\x18\n\x14\x46IELD_TYPE_DATE_TIME\x10\x05\x12\x15\n\x11\x46IELD_TYPE_SELECT\x10\x06\x42\xe8\x01\n\"com.proto.services.property_svc.v1B\nTypesProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03PSP\xaa\x02\x1dProto.Services.PropertySvc.V1\xca\x02\x1dProto\\Services\\PropertySvc\\V1\xe2\x02)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\xea\x02 Proto::Services::PropertySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.property_svc.v1.types_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.proto.services.property_svc.v1B\nTypesProtoP\001Z\037gen/proto/services/property-svc\242\002\003PSP\252\002\035Proto.Services.PropertySvc.V1\312\002\035Proto\\Services\\PropertySvc\\V1\342\002)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\352\002 Proto::Services::PropertySvc::V1' - _globals['_SUBJECTTYPE']._serialized_start=146 - _globals['_SUBJECTTYPE']._serialized_end=238 - _globals['_FIELDTYPE']._serialized_start=241 - _globals['_FIELDTYPE']._serialized_end=419 - _globals['_DATE']._serialized_start=78 - _globals['_DATE']._serialized_end=144 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/task_svc/v1/bed_svc_pb2.py b/gen/python/proto/services/task_svc/v1/bed_svc_pb2.py deleted file mode 100644 index f2d5a7bba..000000000 --- a/gen/python/proto/services/task_svc/v1/bed_svc_pb2.py +++ /dev/null @@ -1,69 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/bed_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(proto/services/task_svc/v1/bed_svc.proto\x12\x1aproto.services.task_svc.v1\"?\n\x10\x43reateBedRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"#\n\x11\x43reateBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"V\n\x15\x42ulkCreateBedsRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\x12$\n\x0e\x61mount_of_beds\x18\x02 \x01(\rR\x0c\x61mountOfBeds\"\x8f\x01\n\x16\x42ulkCreateBedsResponse\x12J\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32\x36.proto.services.task_svc.v1.BulkCreateBedsResponse.BedR\x04\x62\x65\x64s\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x1f\n\rGetBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"M\n\x0eGetBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07room_id\x18\x02 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"7\n\x16GetBedByPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\xbd\x02\n\x17GetBedByPatientResponse\x12Q\n\x04room\x18\x01 \x01(\x0b\x32\x38.proto.services.task_svc.v1.GetBedByPatientResponse.RoomH\x00R\x04room\x88\x01\x01\x12N\n\x03\x62\x65\x64\x18\x02 \x01(\x0b\x32\x37.proto.services.task_svc.v1.GetBedByPatientResponse.BedH\x01R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\x07\n\x05_roomB\x06\n\x04_bed\"\x10\n\x0eGetBedsRequest\"\x9a\x01\n\x0fGetBedsResponse\x12\x43\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32/.proto.services.task_svc.v1.GetBedsResponse.BedR\x04\x62\x65\x64s\x1a\x42\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07room_id\x18\x02 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"/\n\x14GetBedsByRoomRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\"\x8d\x01\n\x15GetBedsByRoomResponse\x12I\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32\x35.proto.services.task_svc.v1.GetBedsByRoomResponse.BedR\x04\x62\x65\x64s\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"n\n\x10UpdateBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n\x07room_id\x18\x02 \x01(\tH\x00R\x06roomId\x88\x01\x01\x12\x17\n\x04name\x18\x03 \x01(\tH\x01R\x04name\x88\x01\x01\x42\n\n\x08_room_idB\x07\n\x05_name\"\x13\n\x11UpdateBedResponse\"\"\n\x10\x44\x65leteBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x13\n\x11\x44\x65leteBedResponse2\x8a\x07\n\nBedService\x12j\n\tCreateBed\x12,.proto.services.task_svc.v1.CreateBedRequest\x1a-.proto.services.task_svc.v1.CreateBedResponse\"\x00\x12y\n\x0e\x42ulkCreateBeds\x12\x31.proto.services.task_svc.v1.BulkCreateBedsRequest\x1a\x32.proto.services.task_svc.v1.BulkCreateBedsResponse\"\x00\x12\x61\n\x06GetBed\x12).proto.services.task_svc.v1.GetBedRequest\x1a*.proto.services.task_svc.v1.GetBedResponse\"\x00\x12|\n\x0fGetBedByPatient\x12\x32.proto.services.task_svc.v1.GetBedByPatientRequest\x1a\x33.proto.services.task_svc.v1.GetBedByPatientResponse\"\x00\x12\x64\n\x07GetBeds\x12*.proto.services.task_svc.v1.GetBedsRequest\x1a+.proto.services.task_svc.v1.GetBedsResponse\"\x00\x12v\n\rGetBedsByRoom\x12\x30.proto.services.task_svc.v1.GetBedsByRoomRequest\x1a\x31.proto.services.task_svc.v1.GetBedsByRoomResponse\"\x00\x12j\n\tUpdateBed\x12,.proto.services.task_svc.v1.UpdateBedRequest\x1a-.proto.services.task_svc.v1.UpdateBedResponse\"\x00\x12j\n\tDeleteBed\x12,.proto.services.task_svc.v1.DeleteBedRequest\x1a-.proto.services.task_svc.v1.DeleteBedResponse\"\x00\x42\xd1\x01\n\x1e\x63om.proto.services.task_svc.v1B\x0b\x42\x65\x64SvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.bed_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\013BedSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_CREATEBEDREQUEST']._serialized_start=72 - _globals['_CREATEBEDREQUEST']._serialized_end=135 - _globals['_CREATEBEDRESPONSE']._serialized_start=137 - _globals['_CREATEBEDRESPONSE']._serialized_end=172 - _globals['_BULKCREATEBEDSREQUEST']._serialized_start=174 - _globals['_BULKCREATEBEDSREQUEST']._serialized_end=260 - _globals['_BULKCREATEBEDSRESPONSE']._serialized_start=263 - _globals['_BULKCREATEBEDSRESPONSE']._serialized_end=406 - _globals['_BULKCREATEBEDSRESPONSE_BED']._serialized_start=365 - _globals['_BULKCREATEBEDSRESPONSE_BED']._serialized_end=406 - _globals['_GETBEDREQUEST']._serialized_start=408 - _globals['_GETBEDREQUEST']._serialized_end=439 - _globals['_GETBEDRESPONSE']._serialized_start=441 - _globals['_GETBEDRESPONSE']._serialized_end=518 - _globals['_GETBEDBYPATIENTREQUEST']._serialized_start=520 - _globals['_GETBEDBYPATIENTREQUEST']._serialized_end=575 - _globals['_GETBEDBYPATIENTRESPONSE']._serialized_start=578 - _globals['_GETBEDBYPATIENTRESPONSE']._serialized_end=895 - _globals['_GETBEDBYPATIENTRESPONSE_ROOM']._serialized_start=768 - _globals['_GETBEDBYPATIENTRESPONSE_ROOM']._serialized_end=835 - _globals['_GETBEDBYPATIENTRESPONSE_BED']._serialized_start=365 - _globals['_GETBEDBYPATIENTRESPONSE_BED']._serialized_end=406 - _globals['_GETBEDSREQUEST']._serialized_start=897 - _globals['_GETBEDSREQUEST']._serialized_end=913 - _globals['_GETBEDSRESPONSE']._serialized_start=916 - _globals['_GETBEDSRESPONSE']._serialized_end=1070 - _globals['_GETBEDSRESPONSE_BED']._serialized_start=1004 - _globals['_GETBEDSRESPONSE_BED']._serialized_end=1070 - _globals['_GETBEDSBYROOMREQUEST']._serialized_start=1072 - _globals['_GETBEDSBYROOMREQUEST']._serialized_end=1119 - _globals['_GETBEDSBYROOMRESPONSE']._serialized_start=1122 - _globals['_GETBEDSBYROOMRESPONSE']._serialized_end=1263 - _globals['_GETBEDSBYROOMRESPONSE_BED']._serialized_start=365 - _globals['_GETBEDSBYROOMRESPONSE_BED']._serialized_end=406 - _globals['_UPDATEBEDREQUEST']._serialized_start=1265 - _globals['_UPDATEBEDREQUEST']._serialized_end=1375 - _globals['_UPDATEBEDRESPONSE']._serialized_start=1377 - _globals['_UPDATEBEDRESPONSE']._serialized_end=1396 - _globals['_DELETEBEDREQUEST']._serialized_start=1398 - _globals['_DELETEBEDREQUEST']._serialized_end=1432 - _globals['_DELETEBEDRESPONSE']._serialized_start=1434 - _globals['_DELETEBEDRESPONSE']._serialized_end=1453 - _globals['_BEDSERVICE']._serialized_start=1456 - _globals['_BEDSERVICE']._serialized_end=2362 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/task_svc/v1/bed_svc_pb2_grpc.py b/gen/python/proto/services/task_svc/v1/bed_svc_pb2_grpc.py deleted file mode 100644 index 44be12eae..000000000 --- a/gen/python/proto/services/task_svc/v1/bed_svc_pb2_grpc.py +++ /dev/null @@ -1,309 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import bed_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2 - - -class BedServiceStub(object): - """ - BedService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateBed = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/CreateBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.FromString, - ) - self.BulkCreateBeds = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/BulkCreateBeds', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.FromString, - ) - self.GetBed = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/GetBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.FromString, - ) - self.GetBedByPatient = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/GetBedByPatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.FromString, - ) - self.GetBeds = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/GetBeds', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.FromString, - ) - self.GetBedsByRoom = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/GetBedsByRoom', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.FromString, - ) - self.UpdateBed = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/UpdateBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.FromString, - ) - self.DeleteBed = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/DeleteBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.FromString, - ) - - -class BedServiceServicer(object): - """ - BedService - - - """ - - def CreateBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BulkCreateBeds(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBedByPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBeds(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBedsByRoom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_BedServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateBed': grpc.unary_unary_rpc_method_handler( - servicer.CreateBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.SerializeToString, - ), - 'BulkCreateBeds': grpc.unary_unary_rpc_method_handler( - servicer.BulkCreateBeds, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.SerializeToString, - ), - 'GetBed': grpc.unary_unary_rpc_method_handler( - servicer.GetBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.SerializeToString, - ), - 'GetBedByPatient': grpc.unary_unary_rpc_method_handler( - servicer.GetBedByPatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.SerializeToString, - ), - 'GetBeds': grpc.unary_unary_rpc_method_handler( - servicer.GetBeds, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.SerializeToString, - ), - 'GetBedsByRoom': grpc.unary_unary_rpc_method_handler( - servicer.GetBedsByRoom, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.SerializeToString, - ), - 'UpdateBed': grpc.unary_unary_rpc_method_handler( - servicer.UpdateBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.SerializeToString, - ), - 'DeleteBed': grpc.unary_unary_rpc_method_handler( - servicer.DeleteBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.BedService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class BedService(object): - """ - BedService - - - """ - - @staticmethod - def CreateBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/CreateBed', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def BulkCreateBeds(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/BulkCreateBeds', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/GetBed', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBedByPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/GetBedByPatient', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBeds(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/GetBeds', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBedsByRoom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/GetBedsByRoom', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/UpdateBed', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/DeleteBed', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/task_svc/v1/patient_svc_pb2.py b/gen/python/proto/services/task_svc/v1/patient_svc_pb2.py deleted file mode 100644 index a733a84ec..000000000 --- a/gen/python/proto/services/task_svc/v1/patient_svc_pb2.py +++ /dev/null @@ -1,131 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/patient_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,proto/services/task_svc/v1/patient_svc.proto\x12\x1aproto.services.task_svc.v1\"h\n\x14\x43reatePatientRequest\x12:\n\x19human_readable_identifier\x18\x01 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x02 \x01(\tR\x05notes\"\'\n\x15\x43reatePatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n\x11GetPatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xe9\x03\n\x12GetPatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1e\n\x06\x62\x65\x64_id\x18\x04 \x01(\tB\x02\x18\x01H\x00R\x05\x62\x65\x64Id\x88\x01\x01\x12 \n\x07ward_id\x18\x05 \x01(\tB\x02\x18\x01H\x01R\x06wardId\x88\x01\x01\x12L\n\x04room\x18\x07 \x01(\x0b\x32\x33.proto.services.task_svc.v1.GetPatientResponse.RoomH\x02R\x04room\x88\x01\x01\x12I\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32\x32.proto.services.task_svc.v1.GetPatientResponse.BedH\x03R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\t\n\x07_bed_idB\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"&\n\x14\x44\x65letePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15\x44\x65letePatientResponse\"/\n\x16GetPatientByBedRequest\x12\x15\n\x06\x62\x65\x64_id\x18\x01 \x01(\tR\x05\x62\x65\x64Id\"\xa2\x01\n\x17GetPatientByBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x42\t\n\x07_bed_id\"3\n\x18GetPatientsByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\x8b\x02\n\x19GetPatientsByWardResponse\x12Y\n\x08patients\x18\x01 \x03(\x0b\x32=.proto.services.task_svc.v1.GetPatientsByWardResponse.PatientR\x08patients\x1a\x92\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x42\t\n\x07_bed_id\"<\n!GetPatientAssignmentByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xe0\x03\n\"GetPatientAssignmentByWardResponse\x12Y\n\x05rooms\x18\x01 \x03(\x0b\x32\x43.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.RoomR\x05rooms\x1a\xde\x02\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12[\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32G.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.BedR\x04\x62\x65\x64s\x1a\xd4\x01\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12n\n\x07patient\x18\x03 \x01(\x0b\x32O.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.PatientH\x00R\x07patient\x88\x01\x01\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\n\n\x08_patient\"\x1a\n\x18GetRecentPatientsRequest\"\x84\x04\n\x19GetRecentPatientsResponse\x12t\n\x0frecent_patients\x18\x01 \x03(\x0b\x32K.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBedR\x0erecentPatients\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\x80\x02\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12N\n\x04room\x18\x03 \x01(\x0b\x32:.proto.services.task_svc.v1.GetRecentPatientsResponse.RoomR\x04room\x12K\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32\x39.proto.services.task_svc.v1.GetRecentPatientsResponse.BedR\x03\x62\x65\x64\"\xaa\x01\n\x14UpdatePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12?\n\x19human_readable_identifier\x18\x02 \x01(\tH\x00R\x17humanReadableIdentifier\x88\x01\x01\x12\x19\n\x05notes\x18\x03 \x01(\tH\x01R\x05notes\x88\x01\x01\x42\x1c\n\x1a_human_readable_identifierB\x08\n\x06_notes\"\x17\n\x15UpdatePatientResponse\"9\n\x10\x41ssignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06\x62\x65\x64_id\x18\x02 \x01(\tR\x05\x62\x65\x64Id\"\x13\n\x11\x41ssignBedResponse\"$\n\x12UnassignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13UnassignBedResponse\")\n\x17\x44ischargePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18\x44ischargePatientResponse\"*\n\x18GetPatientDetailsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x99\t\n\x19GetPatientDetailsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12:\n\x19human_readable_identifier\x18\x03 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x04 \x01(\tR\x05notes\x12P\n\x05tasks\x18\x05 \x03(\x0b\x32:.proto.services.task_svc.v1.GetPatientDetailsResponse.TaskR\x05tasks\x12 \n\x07ward_id\x18\x06 \x01(\tB\x02\x18\x01H\x00R\x06wardId\x88\x01\x01\x12S\n\x04room\x18\x07 \x01(\x0b\x32:.proto.services.task_svc.v1.GetPatientDetailsResponse.RoomH\x01R\x04room\x88\x01\x01\x12P\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32\x39.proto.services.task_svc.v1.GetPatientDetailsResponse.BedH\x02R\x03\x62\x65\x64\x88\x01\x01\x12#\n\ris_discharged\x18\t \x01(\x08R\x0cisDischarged\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\xc4\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12X\n\x06status\x18\x04 \x01(\x0e\x32@.proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12^\n\x08subtasks\x18\x08 \x03(\x0b\x32\x42.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTaskR\x08subtasks\x1a\x41\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64oneB\x13\n\x11_assigned_user_id\"r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x42\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"A\n\x15GetPatientListRequest\x12\x1c\n\x07ward_id\x18\x01 \x01(\tH\x00R\x06wardId\x88\x01\x01\x42\n\n\x08_ward_id\"\x98\x0c\n\x16GetPatientListResponse\x12`\n\x06\x61\x63tive\x18\x01 \x03(\x0b\x32H.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBedR\x06\x61\x63tive\x12k\n\x13unassigned_patients\x18\x02 \x03(\x0b\x32:.proto.services.task_svc.v1.GetPatientListResponse.PatientR\x12unassignedPatients\x12k\n\x13\x64ischarged_patients\x18\x03 \x03(\x0b\x32:.proto.services.task_svc.v1.GetPatientListResponse.PatientR\x12\x64ischargedPatients\x1a\xba\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12M\n\x05tasks\x18\x04 \x03(\x0b\x32\x37.proto.services.task_svc.v1.GetPatientListResponse.TaskR\x05tasks\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\xdf\x02\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12K\n\x04room\x18\x03 \x01(\x0b\x32\x37.proto.services.task_svc.v1.GetPatientListResponse.RoomR\x04room\x12H\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32\x36.proto.services.task_svc.v1.GetPatientListResponse.BedR\x03\x62\x65\x64\x12\x14\n\x05notes\x18\x05 \x01(\tR\x05notes\x12M\n\x05tasks\x18\x06 \x03(\x0b\x32\x37.proto.services.task_svc.v1.GetPatientListResponse.TaskR\x05tasks\x1a\xbe\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12U\n\x06status\x18\x04 \x01(\x0e\x32=.proto.services.task_svc.v1.GetPatientListResponse.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12[\n\x08subtasks\x18\x08 \x03(\x0b\x32?.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTaskR\x08subtasks\x1a\x41\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64oneB\x13\n\x11_assigned_user_id\"r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\"6\n\x15ReadmitPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\x18\n\x16ReadmitPatientResponse2\xe9\r\n\x0ePatientService\x12v\n\rCreatePatient\x12\x30.proto.services.task_svc.v1.CreatePatientRequest\x1a\x31.proto.services.task_svc.v1.CreatePatientResponse\"\x00\x12m\n\nGetPatient\x12-.proto.services.task_svc.v1.GetPatientRequest\x1a..proto.services.task_svc.v1.GetPatientResponse\"\x00\x12|\n\x0fGetPatientByBed\x12\x32.proto.services.task_svc.v1.GetPatientByBedRequest\x1a\x33.proto.services.task_svc.v1.GetPatientByBedResponse\"\x00\x12\x82\x01\n\x11GetPatientsByWard\x12\x34.proto.services.task_svc.v1.GetPatientsByWardRequest\x1a\x35.proto.services.task_svc.v1.GetPatientsByWardResponse\"\x00\x12\x9d\x01\n\x1aGetPatientAssignmentByWard\x12=.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest\x1a>.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse\"\x00\x12\x82\x01\n\x11GetRecentPatients\x12\x34.proto.services.task_svc.v1.GetRecentPatientsRequest\x1a\x35.proto.services.task_svc.v1.GetRecentPatientsResponse\"\x00\x12v\n\rUpdatePatient\x12\x30.proto.services.task_svc.v1.UpdatePatientRequest\x1a\x31.proto.services.task_svc.v1.UpdatePatientResponse\"\x00\x12j\n\tAssignBed\x12,.proto.services.task_svc.v1.AssignBedRequest\x1a-.proto.services.task_svc.v1.AssignBedResponse\"\x00\x12p\n\x0bUnassignBed\x12..proto.services.task_svc.v1.UnassignBedRequest\x1a/.proto.services.task_svc.v1.UnassignBedResponse\"\x00\x12\x7f\n\x10\x44ischargePatient\x12\x33.proto.services.task_svc.v1.DischargePatientRequest\x1a\x34.proto.services.task_svc.v1.DischargePatientResponse\"\x00\x12\x82\x01\n\x11GetPatientDetails\x12\x34.proto.services.task_svc.v1.GetPatientDetailsRequest\x1a\x35.proto.services.task_svc.v1.GetPatientDetailsResponse\"\x00\x12y\n\x0eGetPatientList\x12\x31.proto.services.task_svc.v1.GetPatientListRequest\x1a\x32.proto.services.task_svc.v1.GetPatientListResponse\"\x00\x12v\n\rDeletePatient\x12\x30.proto.services.task_svc.v1.DeletePatientRequest\x1a\x31.proto.services.task_svc.v1.DeletePatientResponse\"\x00\x12y\n\x0eReadmitPatient\x12\x31.proto.services.task_svc.v1.ReadmitPatientRequest\x1a\x32.proto.services.task_svc.v1.ReadmitPatientResponse\"\x00\x42\xd5\x01\n\x1e\x63om.proto.services.task_svc.v1B\x0fPatientSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.patient_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\017PatientSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_GETPATIENTRESPONSE'].fields_by_name['bed_id']._options = None - _globals['_GETPATIENTRESPONSE'].fields_by_name['bed_id']._serialized_options = b'\030\001' - _globals['_GETPATIENTRESPONSE'].fields_by_name['ward_id']._options = None - _globals['_GETPATIENTRESPONSE'].fields_by_name['ward_id']._serialized_options = b'\030\001' - _globals['_GETPATIENTDETAILSRESPONSE'].fields_by_name['ward_id']._options = None - _globals['_GETPATIENTDETAILSRESPONSE'].fields_by_name['ward_id']._serialized_options = b'\030\001' - _globals['_CREATEPATIENTREQUEST']._serialized_start=76 - _globals['_CREATEPATIENTREQUEST']._serialized_end=180 - _globals['_CREATEPATIENTRESPONSE']._serialized_start=182 - _globals['_CREATEPATIENTRESPONSE']._serialized_end=221 - _globals['_GETPATIENTREQUEST']._serialized_start=223 - _globals['_GETPATIENTREQUEST']._serialized_end=258 - _globals['_GETPATIENTRESPONSE']._serialized_start=261 - _globals['_GETPATIENTRESPONSE']._serialized_end=750 - _globals['_GETPATIENTRESPONSE_ROOM']._serialized_start=600 - _globals['_GETPATIENTRESPONSE_ROOM']._serialized_end=667 - _globals['_GETPATIENTRESPONSE_BED']._serialized_start=669 - _globals['_GETPATIENTRESPONSE_BED']._serialized_end=710 - _globals['_DELETEPATIENTREQUEST']._serialized_start=752 - _globals['_DELETEPATIENTREQUEST']._serialized_end=790 - _globals['_DELETEPATIENTRESPONSE']._serialized_start=792 - _globals['_DELETEPATIENTRESPONSE']._serialized_end=815 - _globals['_GETPATIENTBYBEDREQUEST']._serialized_start=817 - _globals['_GETPATIENTBYBEDREQUEST']._serialized_end=864 - _globals['_GETPATIENTBYBEDRESPONSE']._serialized_start=867 - _globals['_GETPATIENTBYBEDRESPONSE']._serialized_end=1029 - _globals['_GETPATIENTSBYWARDREQUEST']._serialized_start=1031 - _globals['_GETPATIENTSBYWARDREQUEST']._serialized_end=1082 - _globals['_GETPATIENTSBYWARDRESPONSE']._serialized_start=1085 - _globals['_GETPATIENTSBYWARDRESPONSE']._serialized_end=1352 - _globals['_GETPATIENTSBYWARDRESPONSE_PATIENT']._serialized_start=1206 - _globals['_GETPATIENTSBYWARDRESPONSE_PATIENT']._serialized_end=1352 - _globals['_GETPATIENTASSIGNMENTBYWARDREQUEST']._serialized_start=1354 - _globals['_GETPATIENTASSIGNMENTBYWARDREQUEST']._serialized_end=1414 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE']._serialized_start=1417 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE']._serialized_end=1897 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM']._serialized_start=1547 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM']._serialized_end=1897 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED']._serialized_start=1685 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED']._serialized_end=1897 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_start=1840 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_end=1885 - _globals['_GETRECENTPATIENTSREQUEST']._serialized_start=1899 - _globals['_GETRECENTPATIENTSREQUEST']._serialized_end=1925 - _globals['_GETRECENTPATIENTSRESPONSE']._serialized_start=1928 - _globals['_GETRECENTPATIENTSRESPONSE']._serialized_end=2444 - _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_start=669 - _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_end=710 - _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_start=600 - _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_end=667 - _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=2188 - _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=2444 - _globals['_UPDATEPATIENTREQUEST']._serialized_start=2447 - _globals['_UPDATEPATIENTREQUEST']._serialized_end=2617 - _globals['_UPDATEPATIENTRESPONSE']._serialized_start=2619 - _globals['_UPDATEPATIENTRESPONSE']._serialized_end=2642 - _globals['_ASSIGNBEDREQUEST']._serialized_start=2644 - _globals['_ASSIGNBEDREQUEST']._serialized_end=2701 - _globals['_ASSIGNBEDRESPONSE']._serialized_start=2703 - _globals['_ASSIGNBEDRESPONSE']._serialized_end=2722 - _globals['_UNASSIGNBEDREQUEST']._serialized_start=2724 - _globals['_UNASSIGNBEDREQUEST']._serialized_end=2760 - _globals['_UNASSIGNBEDRESPONSE']._serialized_start=2762 - _globals['_UNASSIGNBEDRESPONSE']._serialized_end=2783 - _globals['_DISCHARGEPATIENTREQUEST']._serialized_start=2785 - _globals['_DISCHARGEPATIENTREQUEST']._serialized_end=2826 - _globals['_DISCHARGEPATIENTRESPONSE']._serialized_start=2828 - _globals['_DISCHARGEPATIENTRESPONSE']._serialized_end=2854 - _globals['_GETPATIENTDETAILSREQUEST']._serialized_start=2856 - _globals['_GETPATIENTDETAILSREQUEST']._serialized_end=2898 - _globals['_GETPATIENTDETAILSRESPONSE']._serialized_start=2901 - _globals['_GETPATIENTDETAILSRESPONSE']._serialized_end=4078 - _globals['_GETPATIENTDETAILSRESPONSE_ROOM']._serialized_start=600 - _globals['_GETPATIENTDETAILSRESPONSE_ROOM']._serialized_end=667 - _globals['_GETPATIENTDETAILSRESPONSE_BED']._serialized_start=669 - _globals['_GETPATIENTDETAILSRESPONSE_BED']._serialized_end=710 - _globals['_GETPATIENTDETAILSRESPONSE_TASK']._serialized_start=3481 - _globals['_GETPATIENTDETAILSRESPONSE_TASK']._serialized_end=3933 - _globals['_GETPATIENTDETAILSRESPONSE_TASK_SUBTASK']._serialized_start=3847 - _globals['_GETPATIENTDETAILSRESPONSE_TASK_SUBTASK']._serialized_end=3912 - _globals['_GETPATIENTDETAILSRESPONSE_TASKSTATUS']._serialized_start=3935 - _globals['_GETPATIENTDETAILSRESPONSE_TASKSTATUS']._serialized_end=4049 - _globals['_GETPATIENTLISTREQUEST']._serialized_start=4080 - _globals['_GETPATIENTLISTREQUEST']._serialized_end=4145 - _globals['_GETPATIENTLISTRESPONSE']._serialized_start=4148 - _globals['_GETPATIENTLISTRESPONSE']._serialized_end=5708 - _globals['_GETPATIENTLISTRESPONSE_PATIENT']._serialized_start=4491 - _globals['_GETPATIENTLISTRESPONSE_PATIENT']._serialized_end=4677 - _globals['_GETPATIENTLISTRESPONSE_BED']._serialized_start=669 - _globals['_GETPATIENTLISTRESPONSE_BED']._serialized_end=710 - _globals['_GETPATIENTLISTRESPONSE_ROOM']._serialized_start=600 - _globals['_GETPATIENTLISTRESPONSE_ROOM']._serialized_end=667 - _globals['_GETPATIENTLISTRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=4792 - _globals['_GETPATIENTLISTRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=5143 - _globals['_GETPATIENTLISTRESPONSE_TASK']._serialized_start=5146 - _globals['_GETPATIENTLISTRESPONSE_TASK']._serialized_end=5592 - _globals['_GETPATIENTLISTRESPONSE_TASK_SUBTASK']._serialized_start=3847 - _globals['_GETPATIENTLISTRESPONSE_TASK_SUBTASK']._serialized_end=3912 - _globals['_GETPATIENTLISTRESPONSE_TASKSTATUS']._serialized_start=3935 - _globals['_GETPATIENTLISTRESPONSE_TASKSTATUS']._serialized_end=4049 - _globals['_READMITPATIENTREQUEST']._serialized_start=5710 - _globals['_READMITPATIENTREQUEST']._serialized_end=5764 - _globals['_READMITPATIENTRESPONSE']._serialized_start=5766 - _globals['_READMITPATIENTRESPONSE']._serialized_end=5790 - _globals['_PATIENTSERVICE']._serialized_start=5793 - _globals['_PATIENTSERVICE']._serialized_end=7562 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/task_svc/v1/patient_svc_pb2_grpc.py b/gen/python/proto/services/task_svc/v1/patient_svc_pb2_grpc.py deleted file mode 100644 index 51371dae0..000000000 --- a/gen/python/proto/services/task_svc/v1/patient_svc_pb2_grpc.py +++ /dev/null @@ -1,507 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import patient_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2 - - -class PatientServiceStub(object): - """ - PatientService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreatePatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/CreatePatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, - ) - self.GetPatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, - ) - self.GetPatientByBed = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatientByBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.FromString, - ) - self.GetPatientsByWard = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatientsByWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.FromString, - ) - self.GetPatientAssignmentByWard = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.FromString, - ) - self.GetRecentPatients = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetRecentPatients', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, - ) - self.UpdatePatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/UpdatePatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, - ) - self.AssignBed = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/AssignBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, - ) - self.UnassignBed = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/UnassignBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, - ) - self.DischargePatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/DischargePatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, - ) - self.GetPatientDetails = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatientDetails', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.FromString, - ) - self.GetPatientList = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatientList', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.FromString, - ) - self.DeletePatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/DeletePatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.FromString, - ) - self.ReadmitPatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/ReadmitPatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, - ) - - -class PatientServiceServicer(object): - """ - PatientService - - - """ - - def CreatePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatientByBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatientsByWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatientAssignmentByWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRecentPatients(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdatePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AssignBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnassignBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DischargePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatientDetails(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatientList(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeletePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ReadmitPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PatientServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreatePatient': grpc.unary_unary_rpc_method_handler( - servicer.CreatePatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.SerializeToString, - ), - 'GetPatient': grpc.unary_unary_rpc_method_handler( - servicer.GetPatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.SerializeToString, - ), - 'GetPatientByBed': grpc.unary_unary_rpc_method_handler( - servicer.GetPatientByBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.SerializeToString, - ), - 'GetPatientsByWard': grpc.unary_unary_rpc_method_handler( - servicer.GetPatientsByWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.SerializeToString, - ), - 'GetPatientAssignmentByWard': grpc.unary_unary_rpc_method_handler( - servicer.GetPatientAssignmentByWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.SerializeToString, - ), - 'GetRecentPatients': grpc.unary_unary_rpc_method_handler( - servicer.GetRecentPatients, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.SerializeToString, - ), - 'UpdatePatient': grpc.unary_unary_rpc_method_handler( - servicer.UpdatePatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.SerializeToString, - ), - 'AssignBed': grpc.unary_unary_rpc_method_handler( - servicer.AssignBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.SerializeToString, - ), - 'UnassignBed': grpc.unary_unary_rpc_method_handler( - servicer.UnassignBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.SerializeToString, - ), - 'DischargePatient': grpc.unary_unary_rpc_method_handler( - servicer.DischargePatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.SerializeToString, - ), - 'GetPatientDetails': grpc.unary_unary_rpc_method_handler( - servicer.GetPatientDetails, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.SerializeToString, - ), - 'GetPatientList': grpc.unary_unary_rpc_method_handler( - servicer.GetPatientList, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.SerializeToString, - ), - 'DeletePatient': grpc.unary_unary_rpc_method_handler( - servicer.DeletePatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.SerializeToString, - ), - 'ReadmitPatient': grpc.unary_unary_rpc_method_handler( - servicer.ReadmitPatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.PatientService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PatientService(object): - """ - PatientService - - - """ - - @staticmethod - def CreatePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/CreatePatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatientByBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatientByBed', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatientsByWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatientsByWard', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatientAssignmentByWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRecentPatients(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetRecentPatients', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdatePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/UpdatePatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AssignBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/AssignBed', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UnassignBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/UnassignBed', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DischargePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/DischargePatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatientDetails(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatientDetails', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatientList(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatientList', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeletePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/DeletePatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ReadmitPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/ReadmitPatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/task_svc/v1/room_svc_pb2.py b/gen/python/proto/services/task_svc/v1/room_svc_pb2.py deleted file mode 100644 index 7e7b2adb8..000000000 --- a/gen/python/proto/services/task_svc/v1/room_svc_pb2.py +++ /dev/null @@ -1,71 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/room_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)proto/services/task_svc/v1/room_svc.proto\x12\x1aproto.services.task_svc.v1\"@\n\x11\x43reateRoomRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x02 \x01(\tR\x06wardId\"$\n\x12\x43reateRoomResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xe7\x01\n\x0fGetRoomResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x43\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32/.proto.services.task_svc.v1.GetRoomResponse.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x11\n\x0fGetRoomsRequest\"\xc0\x02\n\x10GetRoomsResponse\x12G\n\x05rooms\x18\x01 \x03(\x0b\x32\x31.proto.services.task_svc.v1.GetRoomsResponse.RoomR\x05rooms\x1a\xe2\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12I\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x35.proto.services.task_svc.v1.GetRoomsResponse.Room.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"0\n\x15GetRoomsByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xd2\x02\n\x16GetRoomsByWardResponse\x12M\n\x05rooms\x18\x01 \x03(\x0b\x32\x37.proto.services.task_svc.v1.GetRoomsByWardResponse.RoomR\x05rooms\x1a\xe8\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12O\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32;.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"E\n\x11UpdateRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x14\n\x12UpdateRoomResponse\"#\n\x11\x44\x65leteRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteRoomResponse\"/\n\x1dGetRoomOverviewsByWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xf1\x04\n\x1eGetRoomOverviewsByWardResponse\x12U\n\x05rooms\x18\x01 \x03(\x0b\x32?.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.RoomR\x05rooms\x1a\xf7\x03\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12W\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x43.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.BedR\x04\x62\x65\x64s\x1a\xf1\x02\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12j\n\x07patient\x18\x02 \x01(\x0b\x32K.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.PatientH\x00R\x07patient\x88\x01\x01\x1a\xcd\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12+\n\x11tasks_unscheduled\x18\x03 \x01(\rR\x10tasksUnscheduled\x12*\n\x11tasks_in_progress\x18\x04 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x05 \x01(\rR\ttasksDoneB\n\n\x08_patient2\xb8\x06\n\x0bRoomService\x12m\n\nCreateRoom\x12-.proto.services.task_svc.v1.CreateRoomRequest\x1a..proto.services.task_svc.v1.CreateRoomResponse\"\x00\x12\x64\n\x07GetRoom\x12*.proto.services.task_svc.v1.GetRoomRequest\x1a+.proto.services.task_svc.v1.GetRoomResponse\"\x00\x12g\n\x08GetRooms\x12+.proto.services.task_svc.v1.GetRoomsRequest\x1a,.proto.services.task_svc.v1.GetRoomsResponse\"\x00\x12y\n\x0eGetRoomsByWard\x12\x31.proto.services.task_svc.v1.GetRoomsByWardRequest\x1a\x32.proto.services.task_svc.v1.GetRoomsByWardResponse\"\x00\x12m\n\nUpdateRoom\x12-.proto.services.task_svc.v1.UpdateRoomRequest\x1a..proto.services.task_svc.v1.UpdateRoomResponse\"\x00\x12m\n\nDeleteRoom\x12-.proto.services.task_svc.v1.DeleteRoomRequest\x1a..proto.services.task_svc.v1.DeleteRoomResponse\"\x00\x12\x91\x01\n\x16GetRoomOverviewsByWard\x12\x39.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest\x1a:.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse\"\x00\x42\xd2\x01\n\x1e\x63om.proto.services.task_svc.v1B\x0cRoomSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.room_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\014RoomSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_CREATEROOMREQUEST']._serialized_start=73 - _globals['_CREATEROOMREQUEST']._serialized_end=137 - _globals['_CREATEROOMRESPONSE']._serialized_start=139 - _globals['_CREATEROOMRESPONSE']._serialized_end=175 - _globals['_GETROOMREQUEST']._serialized_start=177 - _globals['_GETROOMREQUEST']._serialized_end=209 - _globals['_GETROOMRESPONSE']._serialized_start=212 - _globals['_GETROOMRESPONSE']._serialized_end=443 - _globals['_GETROOMRESPONSE_BED']._serialized_start=402 - _globals['_GETROOMRESPONSE_BED']._serialized_end=443 - _globals['_GETROOMSREQUEST']._serialized_start=445 - _globals['_GETROOMSREQUEST']._serialized_end=462 - _globals['_GETROOMSRESPONSE']._serialized_start=465 - _globals['_GETROOMSRESPONSE']._serialized_end=785 - _globals['_GETROOMSRESPONSE_ROOM']._serialized_start=559 - _globals['_GETROOMSRESPONSE_ROOM']._serialized_end=785 - _globals['_GETROOMSRESPONSE_ROOM_BED']._serialized_start=402 - _globals['_GETROOMSRESPONSE_ROOM_BED']._serialized_end=443 - _globals['_GETROOMSBYWARDREQUEST']._serialized_start=787 - _globals['_GETROOMSBYWARDREQUEST']._serialized_end=835 - _globals['_GETROOMSBYWARDRESPONSE']._serialized_start=838 - _globals['_GETROOMSBYWARDRESPONSE']._serialized_end=1176 - _globals['_GETROOMSBYWARDRESPONSE_ROOM']._serialized_start=944 - _globals['_GETROOMSBYWARDRESPONSE_ROOM']._serialized_end=1176 - _globals['_GETROOMSBYWARDRESPONSE_ROOM_BED']._serialized_start=402 - _globals['_GETROOMSBYWARDRESPONSE_ROOM_BED']._serialized_end=443 - _globals['_UPDATEROOMREQUEST']._serialized_start=1178 - _globals['_UPDATEROOMREQUEST']._serialized_end=1247 - _globals['_UPDATEROOMRESPONSE']._serialized_start=1249 - _globals['_UPDATEROOMRESPONSE']._serialized_end=1269 - _globals['_DELETEROOMREQUEST']._serialized_start=1271 - _globals['_DELETEROOMREQUEST']._serialized_end=1306 - _globals['_DELETEROOMRESPONSE']._serialized_start=1308 - _globals['_DELETEROOMRESPONSE']._serialized_end=1328 - _globals['_GETROOMOVERVIEWSBYWARDREQUEST']._serialized_start=1330 - _globals['_GETROOMOVERVIEWSBYWARDREQUEST']._serialized_end=1377 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE']._serialized_start=1380 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE']._serialized_end=2005 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM']._serialized_start=1502 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM']._serialized_end=2005 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED']._serialized_start=1636 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED']._serialized_end=2005 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_start=1788 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_end=1993 - _globals['_ROOMSERVICE']._serialized_start=2008 - _globals['_ROOMSERVICE']._serialized_end=2832 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/task_svc/v1/room_svc_pb2_grpc.py b/gen/python/proto/services/task_svc/v1/room_svc_pb2_grpc.py deleted file mode 100644 index c5518dd76..000000000 --- a/gen/python/proto/services/task_svc/v1/room_svc_pb2_grpc.py +++ /dev/null @@ -1,276 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import room_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2 - - -class RoomServiceStub(object): - """ - RoomService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateRoom = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/CreateRoom', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.FromString, - ) - self.GetRoom = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/GetRoom', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.FromString, - ) - self.GetRooms = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/GetRooms', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.FromString, - ) - self.GetRoomsByWard = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/GetRoomsByWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.FromString, - ) - self.UpdateRoom = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/UpdateRoom', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.FromString, - ) - self.DeleteRoom = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/DeleteRoom', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.FromString, - ) - self.GetRoomOverviewsByWard = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.FromString, - ) - - -class RoomServiceServicer(object): - """ - RoomService - - - """ - - def CreateRoom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRoom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRooms(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRoomsByWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateRoom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteRoom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRoomOverviewsByWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_RoomServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateRoom': grpc.unary_unary_rpc_method_handler( - servicer.CreateRoom, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.SerializeToString, - ), - 'GetRoom': grpc.unary_unary_rpc_method_handler( - servicer.GetRoom, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.SerializeToString, - ), - 'GetRooms': grpc.unary_unary_rpc_method_handler( - servicer.GetRooms, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.SerializeToString, - ), - 'GetRoomsByWard': grpc.unary_unary_rpc_method_handler( - servicer.GetRoomsByWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.SerializeToString, - ), - 'UpdateRoom': grpc.unary_unary_rpc_method_handler( - servicer.UpdateRoom, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.SerializeToString, - ), - 'DeleteRoom': grpc.unary_unary_rpc_method_handler( - servicer.DeleteRoom, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.SerializeToString, - ), - 'GetRoomOverviewsByWard': grpc.unary_unary_rpc_method_handler( - servicer.GetRoomOverviewsByWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.RoomService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class RoomService(object): - """ - RoomService - - - """ - - @staticmethod - def CreateRoom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/CreateRoom', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRoom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/GetRoom', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRooms(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/GetRooms', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRoomsByWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/GetRoomsByWard', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateRoom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/UpdateRoom', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteRoom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/DeleteRoom', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRoomOverviewsByWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/task_svc/v1/task_svc_pb2.py b/gen/python/proto/services/task_svc/v1/task_svc_pb2.py deleted file mode 100644 index 1840d90a6..000000000 --- a/gen/python/proto/services/task_svc/v1/task_svc_pb2.py +++ /dev/null @@ -1,124 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/task_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)proto/services/task_svc/v1/task_svc.proto\x12\x1aproto.services.task_svc.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaf\x02\n\x11\x43reateTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1d\n\npatient_id\x18\x03 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x04 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12R\n\x0einitial_status\x18\x06 \x01(\x0e\x32&.proto.services.task_svc.v1.TaskStatusH\x01R\rinitialStatus\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_initial_status\"$\n\x12\x43reateTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x85\x05\n\x0fGetTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12>\n\x06status\x18\x04 \x01(\x0e\x32&.proto.services.task_svc.v1.TaskStatusR\x06status\x12(\n\x10\x61ssigned_user_id\x18\x05 \x01(\tR\x0e\x61ssignedUserId\x12M\n\x07patient\x18\x06 \x01(\x0b\x32\x33.proto.services.task_svc.v1.GetTaskResponse.PatientR\x07patient\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12O\n\x08subtasks\x18\n \x03(\x0b\x32\x33.proto.services.task_svc.v1.GetTaskResponse.SubTaskR\x08subtasks\x12\'\n\x0forganization_id\x18\x0b \x01(\tR\x0eorganizationId\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedBy\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"9\n\x18GetTasksByPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\x8b\x05\n\x19GetTasksByPatientResponse\x12P\n\x05tasks\x18\x01 \x03(\x0b\x32:.proto.services.task_svc.v1.GetTasksByPatientResponse.TaskR\x05tasks\x1a\x9b\x04\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12>\n\x06status\x18\x04 \x01(\x0e\x32&.proto.services.task_svc.v1.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12^\n\x08subtasks\x18\n \x03(\x0b\x32\x42.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTaskR\x08subtasks\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedByB\x13\n\x11_assigned_user_id\"G\n&GetTasksByPatientSortedByStatusRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\xbc\x06\n\'GetTasksByPatientSortedByStatusResponse\x12\\\n\x04todo\x18\x01 \x03(\x0b\x32H.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\x04todo\x12i\n\x0bin_progress\x18\x02 \x03(\x0b\x32H.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\ninProgress\x12\\\n\x04\x64one\x18\x03 \x03(\x0b\x32H.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\x04\x64one\x1a\xe9\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12l\n\x08subtasks\x18\n \x03(\x0b\x32P.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTaskR\x08subtasks\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedByB\x13\n\x11_assigned_user_id\"\x19\n\x17GetAssignedTasksRequest\"\xdb\x05\n\x18GetAssignedTasksResponse\x12O\n\x05tasks\x18\x01 \x03(\x0b\x32\x39.proto.services.task_svc.v1.GetAssignedTasksResponse.TaskR\x05tasks\x1a\xed\x04\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12>\n\x06status\x18\x04 \x01(\x0e\x32&.proto.services.task_svc.v1.TaskStatusR\x06status\x12(\n\x10\x61ssigned_user_id\x18\x05 \x01(\tR\x0e\x61ssignedUserId\x12[\n\x07patient\x18\x06 \x01(\x0b\x32\x41.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.PatientR\x07patient\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12]\n\x08subtasks\x18\n \x03(\x0b\x32\x41.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTaskR\x08subtasks\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedBy\"\xe7\x01\n\x11UpdateTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x36\n\x06\x64ue_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x05\x64ueAt\x88\x01\x01\x12\x1b\n\x06public\x18\x05 \x01(\x08H\x03R\x06public\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\t\n\x07_due_atB\t\n\x07_public\"\x14\n\x12UpdateTaskResponse\"b\n\x11\x41\x64\x64SubTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x17\n\x07task_id\x18\x02 \x01(\tR\x06taskId\x12\x17\n\x04\x64one\x18\x03 \x01(\x08H\x00R\x04\x64one\x88\x01\x01\x42\x07\n\x05_done\"$\n\x12\x41\x64\x64SubTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"&\n\x14RemoveSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15RemoveSubTaskResponse\"H\n\x14UpdateSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x17\n\x15UpdateSubTaskResponse\"&\n\x14SubTaskToToDoRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15SubTaskToToDoResponse\"&\n\x14SubTaskToDoneRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15SubTaskToDoneResponse\"#\n\x11TaskToToDoRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12TaskToToDoResponse\")\n\x17TaskToInProgressRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18TaskToInProgressResponse\"#\n\x11TaskToDoneRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12TaskToDoneResponse\"B\n\x17\x41ssignTaskToUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x1a\n\x18\x41ssignTaskToUserResponse\"-\n\x1bUnassignTaskFromUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1e\n\x1cUnassignTaskFromUserResponse\"$\n\x12PublishTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13PublishTaskResponse\"&\n\x14UnpublishTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15UnpublishTaskResponse\"#\n\x11\x44\x65leteTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteTaskResponse*r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x32\x9c\x12\n\x0bTaskService\x12m\n\nCreateTask\x12-.proto.services.task_svc.v1.CreateTaskRequest\x1a..proto.services.task_svc.v1.CreateTaskResponse\"\x00\x12\x64\n\x07GetTask\x12*.proto.services.task_svc.v1.GetTaskRequest\x1a+.proto.services.task_svc.v1.GetTaskResponse\"\x00\x12\x82\x01\n\x11GetTasksByPatient\x12\x34.proto.services.task_svc.v1.GetTasksByPatientRequest\x1a\x35.proto.services.task_svc.v1.GetTasksByPatientResponse\"\x00\x12\xac\x01\n\x1fGetTasksByPatientSortedByStatus\x12\x42.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest\x1a\x43.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse\"\x00\x12\x7f\n\x10GetAssignedTasks\x12\x33.proto.services.task_svc.v1.GetAssignedTasksRequest\x1a\x34.proto.services.task_svc.v1.GetAssignedTasksResponse\"\x00\x12m\n\nUpdateTask\x12-.proto.services.task_svc.v1.UpdateTaskRequest\x1a..proto.services.task_svc.v1.UpdateTaskResponse\"\x00\x12m\n\nAddSubTask\x12-.proto.services.task_svc.v1.AddSubTaskRequest\x1a..proto.services.task_svc.v1.AddSubTaskResponse\"\x00\x12v\n\rRemoveSubTask\x12\x30.proto.services.task_svc.v1.RemoveSubTaskRequest\x1a\x31.proto.services.task_svc.v1.RemoveSubTaskResponse\"\x00\x12v\n\rUpdateSubTask\x12\x30.proto.services.task_svc.v1.UpdateSubTaskRequest\x1a\x31.proto.services.task_svc.v1.UpdateSubTaskResponse\"\x00\x12v\n\rSubTaskToToDo\x12\x30.proto.services.task_svc.v1.SubTaskToToDoRequest\x1a\x31.proto.services.task_svc.v1.SubTaskToToDoResponse\"\x00\x12v\n\rSubTaskToDone\x12\x30.proto.services.task_svc.v1.SubTaskToDoneRequest\x1a\x31.proto.services.task_svc.v1.SubTaskToDoneResponse\"\x00\x12m\n\nTaskToToDo\x12-.proto.services.task_svc.v1.TaskToToDoRequest\x1a..proto.services.task_svc.v1.TaskToToDoResponse\"\x00\x12\x7f\n\x10TaskToInProgress\x12\x33.proto.services.task_svc.v1.TaskToInProgressRequest\x1a\x34.proto.services.task_svc.v1.TaskToInProgressResponse\"\x00\x12m\n\nTaskToDone\x12-.proto.services.task_svc.v1.TaskToDoneRequest\x1a..proto.services.task_svc.v1.TaskToDoneResponse\"\x00\x12\x7f\n\x10\x41ssignTaskToUser\x12\x33.proto.services.task_svc.v1.AssignTaskToUserRequest\x1a\x34.proto.services.task_svc.v1.AssignTaskToUserResponse\"\x00\x12\x8b\x01\n\x14UnassignTaskFromUser\x12\x37.proto.services.task_svc.v1.UnassignTaskFromUserRequest\x1a\x38.proto.services.task_svc.v1.UnassignTaskFromUserResponse\"\x00\x12p\n\x0bPublishTask\x12..proto.services.task_svc.v1.PublishTaskRequest\x1a/.proto.services.task_svc.v1.PublishTaskResponse\"\x00\x12v\n\rUnpublishTask\x12\x30.proto.services.task_svc.v1.UnpublishTaskRequest\x1a\x31.proto.services.task_svc.v1.UnpublishTaskResponse\"\x00\x12m\n\nDeleteTask\x12-.proto.services.task_svc.v1.DeleteTaskRequest\x1a..proto.services.task_svc.v1.DeleteTaskResponse\"\x00\x42\xd2\x01\n\x1e\x63om.proto.services.task_svc.v1B\x0cTaskSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.task_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\014TaskSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_TASKSTATUS']._serialized_start=4747 - _globals['_TASKSTATUS']._serialized_end=4861 - _globals['_CREATETASKREQUEST']._serialized_start=107 - _globals['_CREATETASKREQUEST']._serialized_end=410 - _globals['_CREATETASKRESPONSE']._serialized_start=412 - _globals['_CREATETASKRESPONSE']._serialized_end=448 - _globals['_GETTASKREQUEST']._serialized_start=450 - _globals['_GETTASKREQUEST']._serialized_end=482 - _globals['_GETTASKRESPONSE']._serialized_start=485 - _globals['_GETTASKRESPONSE']._serialized_end=1130 - _globals['_GETTASKRESPONSE_SUBTASK']._serialized_start=987 - _globals['_GETTASKRESPONSE_SUBTASK']._serialized_end=1083 - _globals['_GETTASKRESPONSE_PATIENT']._serialized_start=1085 - _globals['_GETTASKRESPONSE_PATIENT']._serialized_end=1130 - _globals['_GETTASKSBYPATIENTREQUEST']._serialized_start=1132 - _globals['_GETTASKSBYPATIENTREQUEST']._serialized_end=1189 - _globals['_GETTASKSBYPATIENTRESPONSE']._serialized_start=1192 - _globals['_GETTASKSBYPATIENTRESPONSE']._serialized_end=1843 - _globals['_GETTASKSBYPATIENTRESPONSE_TASK']._serialized_start=1304 - _globals['_GETTASKSBYPATIENTRESPONSE_TASK']._serialized_end=1843 - _globals['_GETTASKSBYPATIENTRESPONSE_TASK_SUBTASK']._serialized_start=987 - _globals['_GETTASKSBYPATIENTRESPONSE_TASK_SUBTASK']._serialized_end=1083 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSREQUEST']._serialized_start=1845 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSREQUEST']._serialized_end=1916 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE']._serialized_start=1919 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE']._serialized_end=2747 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK']._serialized_start=2258 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK']._serialized_end=2747 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK_SUBTASK']._serialized_start=987 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK_SUBTASK']._serialized_end=1083 - _globals['_GETASSIGNEDTASKSREQUEST']._serialized_start=2749 - _globals['_GETASSIGNEDTASKSREQUEST']._serialized_end=2774 - _globals['_GETASSIGNEDTASKSRESPONSE']._serialized_start=2777 - _globals['_GETASSIGNEDTASKSRESPONSE']._serialized_end=3508 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK']._serialized_start=2887 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK']._serialized_end=3508 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK_PATIENT']._serialized_start=1085 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK_PATIENT']._serialized_end=1130 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK_SUBTASK']._serialized_start=987 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK_SUBTASK']._serialized_end=1083 - _globals['_UPDATETASKREQUEST']._serialized_start=3511 - _globals['_UPDATETASKREQUEST']._serialized_end=3742 - _globals['_UPDATETASKRESPONSE']._serialized_start=3744 - _globals['_UPDATETASKRESPONSE']._serialized_end=3764 - _globals['_ADDSUBTASKREQUEST']._serialized_start=3766 - _globals['_ADDSUBTASKREQUEST']._serialized_end=3864 - _globals['_ADDSUBTASKRESPONSE']._serialized_start=3866 - _globals['_ADDSUBTASKRESPONSE']._serialized_end=3902 - _globals['_REMOVESUBTASKREQUEST']._serialized_start=3904 - _globals['_REMOVESUBTASKREQUEST']._serialized_end=3942 - _globals['_REMOVESUBTASKRESPONSE']._serialized_start=3944 - _globals['_REMOVESUBTASKRESPONSE']._serialized_end=3967 - _globals['_UPDATESUBTASKREQUEST']._serialized_start=3969 - _globals['_UPDATESUBTASKREQUEST']._serialized_end=4041 - _globals['_UPDATESUBTASKRESPONSE']._serialized_start=4043 - _globals['_UPDATESUBTASKRESPONSE']._serialized_end=4066 - _globals['_SUBTASKTOTODOREQUEST']._serialized_start=4068 - _globals['_SUBTASKTOTODOREQUEST']._serialized_end=4106 - _globals['_SUBTASKTOTODORESPONSE']._serialized_start=4108 - _globals['_SUBTASKTOTODORESPONSE']._serialized_end=4131 - _globals['_SUBTASKTODONEREQUEST']._serialized_start=4133 - _globals['_SUBTASKTODONEREQUEST']._serialized_end=4171 - _globals['_SUBTASKTODONERESPONSE']._serialized_start=4173 - _globals['_SUBTASKTODONERESPONSE']._serialized_end=4196 - _globals['_TASKTOTODOREQUEST']._serialized_start=4198 - _globals['_TASKTOTODOREQUEST']._serialized_end=4233 - _globals['_TASKTOTODORESPONSE']._serialized_start=4235 - _globals['_TASKTOTODORESPONSE']._serialized_end=4255 - _globals['_TASKTOINPROGRESSREQUEST']._serialized_start=4257 - _globals['_TASKTOINPROGRESSREQUEST']._serialized_end=4298 - _globals['_TASKTOINPROGRESSRESPONSE']._serialized_start=4300 - _globals['_TASKTOINPROGRESSRESPONSE']._serialized_end=4326 - _globals['_TASKTODONEREQUEST']._serialized_start=4328 - _globals['_TASKTODONEREQUEST']._serialized_end=4363 - _globals['_TASKTODONERESPONSE']._serialized_start=4365 - _globals['_TASKTODONERESPONSE']._serialized_end=4385 - _globals['_ASSIGNTASKTOUSERREQUEST']._serialized_start=4387 - _globals['_ASSIGNTASKTOUSERREQUEST']._serialized_end=4453 - _globals['_ASSIGNTASKTOUSERRESPONSE']._serialized_start=4455 - _globals['_ASSIGNTASKTOUSERRESPONSE']._serialized_end=4481 - _globals['_UNASSIGNTASKFROMUSERREQUEST']._serialized_start=4483 - _globals['_UNASSIGNTASKFROMUSERREQUEST']._serialized_end=4528 - _globals['_UNASSIGNTASKFROMUSERRESPONSE']._serialized_start=4530 - _globals['_UNASSIGNTASKFROMUSERRESPONSE']._serialized_end=4560 - _globals['_PUBLISHTASKREQUEST']._serialized_start=4562 - _globals['_PUBLISHTASKREQUEST']._serialized_end=4598 - _globals['_PUBLISHTASKRESPONSE']._serialized_start=4600 - _globals['_PUBLISHTASKRESPONSE']._serialized_end=4621 - _globals['_UNPUBLISHTASKREQUEST']._serialized_start=4623 - _globals['_UNPUBLISHTASKREQUEST']._serialized_end=4661 - _globals['_UNPUBLISHTASKRESPONSE']._serialized_start=4663 - _globals['_UNPUBLISHTASKRESPONSE']._serialized_end=4686 - _globals['_DELETETASKREQUEST']._serialized_start=4688 - _globals['_DELETETASKREQUEST']._serialized_end=4723 - _globals['_DELETETASKRESPONSE']._serialized_start=4725 - _globals['_DELETETASKRESPONSE']._serialized_end=4745 - _globals['_TASKSERVICE']._serialized_start=4864 - _globals['_TASKSERVICE']._serialized_end=7196 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/task_svc/v1/task_svc_pb2_grpc.py b/gen/python/proto/services/task_svc/v1/task_svc_pb2_grpc.py deleted file mode 100644 index bf6d2e3e9..000000000 --- a/gen/python/proto/services/task_svc/v1/task_svc_pb2_grpc.py +++ /dev/null @@ -1,672 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import task_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2 - - -class TaskServiceStub(object): - """ - TaskService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/CreateTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, - ) - self.GetTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/GetTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, - ) - self.GetTasksByPatient = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/GetTasksByPatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.FromString, - ) - self.GetTasksByPatientSortedByStatus = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.FromString, - ) - self.GetAssignedTasks = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/GetAssignedTasks', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.FromString, - ) - self.UpdateTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/UpdateTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, - ) - self.AddSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/AddSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.FromString, - ) - self.RemoveSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/RemoveSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.FromString, - ) - self.UpdateSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/UpdateSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.FromString, - ) - self.SubTaskToToDo = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/SubTaskToToDo', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.FromString, - ) - self.SubTaskToDone = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/SubTaskToDone', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.FromString, - ) - self.TaskToToDo = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/TaskToToDo', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.FromString, - ) - self.TaskToInProgress = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/TaskToInProgress', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.FromString, - ) - self.TaskToDone = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/TaskToDone', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.FromString, - ) - self.AssignTaskToUser = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/AssignTaskToUser', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.FromString, - ) - self.UnassignTaskFromUser = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/UnassignTaskFromUser', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.FromString, - ) - self.PublishTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/PublishTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.FromString, - ) - self.UnpublishTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/UnpublishTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.FromString, - ) - self.DeleteTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/DeleteTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.FromString, - ) - - -class TaskServiceServicer(object): - """ - TaskService - - - """ - - def CreateTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTasksByPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTasksByPatientSortedByStatus(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAssignedTasks(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RemoveSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubTaskToToDo(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubTaskToDone(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TaskToToDo(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TaskToInProgress(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TaskToDone(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AssignTaskToUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnassignTaskFromUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PublishTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnpublishTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_TaskServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateTask': grpc.unary_unary_rpc_method_handler( - servicer.CreateTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.SerializeToString, - ), - 'GetTask': grpc.unary_unary_rpc_method_handler( - servicer.GetTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.SerializeToString, - ), - 'GetTasksByPatient': grpc.unary_unary_rpc_method_handler( - servicer.GetTasksByPatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.SerializeToString, - ), - 'GetTasksByPatientSortedByStatus': grpc.unary_unary_rpc_method_handler( - servicer.GetTasksByPatientSortedByStatus, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.SerializeToString, - ), - 'GetAssignedTasks': grpc.unary_unary_rpc_method_handler( - servicer.GetAssignedTasks, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.SerializeToString, - ), - 'UpdateTask': grpc.unary_unary_rpc_method_handler( - servicer.UpdateTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.SerializeToString, - ), - 'AddSubTask': grpc.unary_unary_rpc_method_handler( - servicer.AddSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.SerializeToString, - ), - 'RemoveSubTask': grpc.unary_unary_rpc_method_handler( - servicer.RemoveSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.SerializeToString, - ), - 'UpdateSubTask': grpc.unary_unary_rpc_method_handler( - servicer.UpdateSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.SerializeToString, - ), - 'SubTaskToToDo': grpc.unary_unary_rpc_method_handler( - servicer.SubTaskToToDo, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.SerializeToString, - ), - 'SubTaskToDone': grpc.unary_unary_rpc_method_handler( - servicer.SubTaskToDone, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.SerializeToString, - ), - 'TaskToToDo': grpc.unary_unary_rpc_method_handler( - servicer.TaskToToDo, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.SerializeToString, - ), - 'TaskToInProgress': grpc.unary_unary_rpc_method_handler( - servicer.TaskToInProgress, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.SerializeToString, - ), - 'TaskToDone': grpc.unary_unary_rpc_method_handler( - servicer.TaskToDone, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.SerializeToString, - ), - 'AssignTaskToUser': grpc.unary_unary_rpc_method_handler( - servicer.AssignTaskToUser, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.SerializeToString, - ), - 'UnassignTaskFromUser': grpc.unary_unary_rpc_method_handler( - servicer.UnassignTaskFromUser, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.SerializeToString, - ), - 'PublishTask': grpc.unary_unary_rpc_method_handler( - servicer.PublishTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.SerializeToString, - ), - 'UnpublishTask': grpc.unary_unary_rpc_method_handler( - servicer.UnpublishTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.SerializeToString, - ), - 'DeleteTask': grpc.unary_unary_rpc_method_handler( - servicer.DeleteTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.TaskService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class TaskService(object): - """ - TaskService - - - """ - - @staticmethod - def CreateTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/CreateTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/GetTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetTasksByPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/GetTasksByPatient', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetTasksByPatientSortedByStatus(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAssignedTasks(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/GetAssignedTasks', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/UpdateTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AddSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/AddSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RemoveSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/RemoveSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/UpdateSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SubTaskToToDo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/SubTaskToToDo', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SubTaskToDone(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/SubTaskToDone', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def TaskToToDo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/TaskToToDo', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def TaskToInProgress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/TaskToInProgress', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def TaskToDone(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/TaskToDone', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AssignTaskToUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/AssignTaskToUser', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UnassignTaskFromUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/UnassignTaskFromUser', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def PublishTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/PublishTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UnpublishTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/UnpublishTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/DeleteTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/task_svc/v1/task_template_svc_pb2.py b/gen/python/proto/services/task_svc/v1/task_template_svc_pb2.py deleted file mode 100644 index d119b4330..000000000 --- a/gen/python/proto/services/task_svc/v1/task_template_svc_pb2.py +++ /dev/null @@ -1,77 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/task_template_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2proto/services/task_svc/v1/task_template_svc.proto\x12\x1aproto.services.task_svc.v1\"\x8a\x02\n\x19\x43reateTaskTemplateRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1c\n\x07ward_id\x18\x04 \x01(\tH\x01R\x06wardId\x88\x01\x01\x12Y\n\x08subtasks\x18\x05 \x03(\x0b\x32=.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTaskR\x08subtasks\x1a\x1d\n\x07SubTask\x12\x12\n\x04name\x18\x01 \x01(\tR\x04nameB\x0e\n\x0c_descriptionB\n\n\x08_ward_id\",\n\x1a\x43reateTaskTemplateResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1aGetAllTaskTemplatesRequest\"\xd7\x03\n\x1bGetAllTaskTemplatesResponse\x12\x62\n\ttemplates\x18\x01 \x03(\x0b\x32\x44.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplateR\ttemplates\x1a\xd3\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12\x1d\n\ncreated_by\x18\x06 \x01(\tR\tcreatedBy\x12h\n\x08subtasks\x18\x07 \x03(\x0b\x32L.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"+\n\x19\x44\x65leteTaskTemplateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1a\x44\x65leteTaskTemplateResponse\"2\n DeleteTaskTemplateSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n!DeleteTaskTemplateSubTaskResponse\"\x84\x01\n\x19UpdateTaskTemplateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"\x1c\n\x1aUpdateTaskTemplateResponse\"c\n UpdateTaskTemplateSubTaskRequest\x12\x1d\n\nsubtask_id\x18\x01 \x01(\tR\tsubtaskId\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"#\n!UpdateTaskTemplateSubTaskResponse\"`\n CreateTaskTemplateSubTaskRequest\x12(\n\x10task_template_id\x18\x01 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"3\n!CreateTaskTemplateSubTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"}\n#GetAllTaskTemplatesByCreatorRequest\x12\x1d\n\ncreated_by\x18\x01 \x01(\tR\tcreatedBy\x12&\n\x0cprivate_only\x18\x02 \x01(\x08H\x00R\x0bprivateOnly\x88\x01\x01\x42\x0f\n\r_private_only\"\xd3\x03\n$GetAllTaskTemplatesByCreatorResponse\x12k\n\ttemplates\x18\x01 \x03(\x0b\x32M.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplateR\ttemplates\x1a\xbd\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12q\n\x08subtasks\x18\x07 \x03(\x0b\x32U.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\";\n GetAllTaskTemplatesByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xe9\x03\n!GetAllTaskTemplatesByWardResponse\x12h\n\ttemplates\x18\x01 \x03(\x0b\x32J.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplateR\ttemplates\x1a\xd9\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12\x1d\n\ncreated_by\x18\x06 \x01(\tR\tcreatedBy\x12n\n\x08subtasks\x18\x07 \x03(\x0b\x32R.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name2\xd2\n\n\x13TaskTemplateService\x12\x85\x01\n\x12\x43reateTaskTemplate\x12\x35.proto.services.task_svc.v1.CreateTaskTemplateRequest\x1a\x36.proto.services.task_svc.v1.CreateTaskTemplateResponse\"\x00\x12\x88\x01\n\x13GetAllTaskTemplates\x12\x36.proto.services.task_svc.v1.GetAllTaskTemplatesRequest\x1a\x37.proto.services.task_svc.v1.GetAllTaskTemplatesResponse\"\x00\x12\x85\x01\n\x12\x44\x65leteTaskTemplate\x12\x35.proto.services.task_svc.v1.DeleteTaskTemplateRequest\x1a\x36.proto.services.task_svc.v1.DeleteTaskTemplateResponse\"\x00\x12\x9a\x01\n\x19\x44\x65leteTaskTemplateSubTask\x12<.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest\x1a=.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse\"\x00\x12\x85\x01\n\x12UpdateTaskTemplate\x12\x35.proto.services.task_svc.v1.UpdateTaskTemplateRequest\x1a\x36.proto.services.task_svc.v1.UpdateTaskTemplateResponse\"\x00\x12\x9a\x01\n\x19UpdateTaskTemplateSubTask\x12<.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest\x1a=.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse\"\x00\x12\x9a\x01\n\x19\x43reateTaskTemplateSubTask\x12<.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest\x1a=.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse\"\x00\x12\xa3\x01\n\x1cGetAllTaskTemplatesByCreator\x12?.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest\x1a@.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse\"\x00\x12\x9a\x01\n\x19GetAllTaskTemplatesByWard\x12<.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest\x1a=.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse\"\x00\x42\xda\x01\n\x1e\x63om.proto.services.task_svc.v1B\x14TaskTemplateSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.task_template_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\024TaskTemplateSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_CREATETASKTEMPLATEREQUEST']._serialized_start=83 - _globals['_CREATETASKTEMPLATEREQUEST']._serialized_end=349 - _globals['_CREATETASKTEMPLATEREQUEST_SUBTASK']._serialized_start=292 - _globals['_CREATETASKTEMPLATEREQUEST_SUBTASK']._serialized_end=321 - _globals['_CREATETASKTEMPLATERESPONSE']._serialized_start=351 - _globals['_CREATETASKTEMPLATERESPONSE']._serialized_end=395 - _globals['_GETALLTASKTEMPLATESREQUEST']._serialized_start=397 - _globals['_GETALLTASKTEMPLATESREQUEST']._serialized_end=425 - _globals['_GETALLTASKTEMPLATESRESPONSE']._serialized_start=428 - _globals['_GETALLTASKTEMPLATESRESPONSE']._serialized_end=899 - _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE']._serialized_start=560 - _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE']._serialized_end=899 - _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=812 - _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=899 - _globals['_DELETETASKTEMPLATEREQUEST']._serialized_start=901 - _globals['_DELETETASKTEMPLATEREQUEST']._serialized_end=944 - _globals['_DELETETASKTEMPLATERESPONSE']._serialized_start=946 - _globals['_DELETETASKTEMPLATERESPONSE']._serialized_end=974 - _globals['_DELETETASKTEMPLATESUBTASKREQUEST']._serialized_start=976 - _globals['_DELETETASKTEMPLATESUBTASKREQUEST']._serialized_end=1026 - _globals['_DELETETASKTEMPLATESUBTASKRESPONSE']._serialized_start=1028 - _globals['_DELETETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1063 - _globals['_UPDATETASKTEMPLATEREQUEST']._serialized_start=1066 - _globals['_UPDATETASKTEMPLATEREQUEST']._serialized_end=1198 - _globals['_UPDATETASKTEMPLATERESPONSE']._serialized_start=1200 - _globals['_UPDATETASKTEMPLATERESPONSE']._serialized_end=1228 - _globals['_UPDATETASKTEMPLATESUBTASKREQUEST']._serialized_start=1230 - _globals['_UPDATETASKTEMPLATESUBTASKREQUEST']._serialized_end=1329 - _globals['_UPDATETASKTEMPLATESUBTASKRESPONSE']._serialized_start=1331 - _globals['_UPDATETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1366 - _globals['_CREATETASKTEMPLATESUBTASKREQUEST']._serialized_start=1368 - _globals['_CREATETASKTEMPLATESUBTASKREQUEST']._serialized_end=1464 - _globals['_CREATETASKTEMPLATESUBTASKRESPONSE']._serialized_start=1466 - _globals['_CREATETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1517 - _globals['_GETALLTASKTEMPLATESBYCREATORREQUEST']._serialized_start=1519 - _globals['_GETALLTASKTEMPLATESBYCREATORREQUEST']._serialized_end=1644 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE']._serialized_start=1647 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE']._serialized_end=2114 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE']._serialized_start=1797 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE']._serialized_end=2114 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=812 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=899 - _globals['_GETALLTASKTEMPLATESBYWARDREQUEST']._serialized_start=2116 - _globals['_GETALLTASKTEMPLATESBYWARDREQUEST']._serialized_end=2175 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE']._serialized_start=2178 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE']._serialized_end=2667 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE']._serialized_start=2322 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE']._serialized_end=2667 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=812 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=899 - _globals['_TASKTEMPLATESERVICE']._serialized_start=2670 - _globals['_TASKTEMPLATESERVICE']._serialized_end=4032 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/task_svc/v1/task_template_svc_pb2_grpc.py b/gen/python/proto/services/task_svc/v1/task_template_svc_pb2_grpc.py deleted file mode 100644 index f769ffada..000000000 --- a/gen/python/proto/services/task_svc/v1/task_template_svc_pb2_grpc.py +++ /dev/null @@ -1,330 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import task_template_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2 - - -class TaskTemplateServiceStub(object): - """Missing associated documentation comment in .proto file.""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateTaskTemplate = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.FromString, - ) - self.GetAllTaskTemplates = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.FromString, - ) - self.DeleteTaskTemplate = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.FromString, - ) - self.DeleteTaskTemplateSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.FromString, - ) - self.UpdateTaskTemplate = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.FromString, - ) - self.UpdateTaskTemplateSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.FromString, - ) - self.CreateTaskTemplateSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.FromString, - ) - self.GetAllTaskTemplatesByCreator = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.FromString, - ) - self.GetAllTaskTemplatesByWard = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.FromString, - ) - - -class TaskTemplateServiceServicer(object): - """Missing associated documentation comment in .proto file.""" - - def CreateTaskTemplate(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAllTaskTemplates(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteTaskTemplate(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteTaskTemplateSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateTaskTemplate(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateTaskTemplateSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateTaskTemplateSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAllTaskTemplatesByCreator(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAllTaskTemplatesByWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_TaskTemplateServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateTaskTemplate': grpc.unary_unary_rpc_method_handler( - servicer.CreateTaskTemplate, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.SerializeToString, - ), - 'GetAllTaskTemplates': grpc.unary_unary_rpc_method_handler( - servicer.GetAllTaskTemplates, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.SerializeToString, - ), - 'DeleteTaskTemplate': grpc.unary_unary_rpc_method_handler( - servicer.DeleteTaskTemplate, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.SerializeToString, - ), - 'DeleteTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( - servicer.DeleteTaskTemplateSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.SerializeToString, - ), - 'UpdateTaskTemplate': grpc.unary_unary_rpc_method_handler( - servicer.UpdateTaskTemplate, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.SerializeToString, - ), - 'UpdateTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( - servicer.UpdateTaskTemplateSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.SerializeToString, - ), - 'CreateTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( - servicer.CreateTaskTemplateSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.SerializeToString, - ), - 'GetAllTaskTemplatesByCreator': grpc.unary_unary_rpc_method_handler( - servicer.GetAllTaskTemplatesByCreator, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.SerializeToString, - ), - 'GetAllTaskTemplatesByWard': grpc.unary_unary_rpc_method_handler( - servicer.GetAllTaskTemplatesByWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.TaskTemplateService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class TaskTemplateService(object): - """Missing associated documentation comment in .proto file.""" - - @staticmethod - def CreateTaskTemplate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAllTaskTemplates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteTaskTemplate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteTaskTemplateSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateTaskTemplate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateTaskTemplateSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CreateTaskTemplateSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAllTaskTemplatesByCreator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAllTaskTemplatesByWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/task_svc/v1/ward_svc_pb2.py b/gen/python/proto/services/task_svc/v1/ward_svc_pb2.py deleted file mode 100644 index 1592e7e4f..000000000 --- a/gen/python/proto/services/task_svc/v1/ward_svc_pb2.py +++ /dev/null @@ -1,73 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/ward_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)proto/services/task_svc/v1/ward_svc.proto\x12\x1aproto.services.task_svc.v1\"\'\n\x11\x43reateWardRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"$\n\x12\x43reateWardResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"^\n\x0fGetWardResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\"\x11\n\x0fGetWardsRequest\"\x87\x01\n\x10GetWardsResponse\x12G\n\x05wards\x18\x01 \x03(\x0b\x32\x31.proto.services.task_svc.v1.GetWardsResponse.WardR\x05wards\x1a*\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x17\n\x15GetRecentWardsRequest\"\x9b\x02\n\x16GetRecentWardsResponse\x12M\n\x05wards\x18\x01 \x03(\x0b\x32\x37.proto.services.task_svc.v1.GetRecentWardsResponse.WardR\x05wards\x1a\xb1\x01\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n\tbed_count\x18\x03 \x01(\rR\x08\x62\x65\x64\x43ount\x12\x1d\n\ntasks_todo\x18\x04 \x01(\rR\ttasksTodo\x12*\n\x11tasks_in_progress\x18\x05 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x06 \x01(\rR\ttasksDone\"E\n\x11UpdateWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x14\n\x12UpdateWardResponse\"#\n\x11\x44\x65leteWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteWardResponse\"\'\n\x15GetWardDetailsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xd2\x04\n\x16GetWardDetailsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12M\n\x05rooms\x18\x03 \x03(\x0b\x32\x37.proto.services.task_svc.v1.GetWardDetailsResponse.RoomR\x05rooms\x12\x66\n\x0etask_templates\x18\x04 \x03(\x0b\x32?.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplateR\rtaskTemplates\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a-\n\x07Subtask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1av\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12J\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x36.proto.services.task_svc.v1.GetWardDetailsResponse.BedR\x04\x62\x65\x64s\x1a\x8a\x01\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12V\n\x08subtasks\x18\x03 \x03(\x0b\x32:.proto.services.task_svc.v1.GetWardDetailsResponse.SubtaskR\x08subtasks\"\x19\n\x17GetWardOverviewsRequest\"\x9f\x02\n\x18GetWardOverviewsResponse\x12O\n\x05wards\x18\x01 \x03(\x0b\x32\x39.proto.services.task_svc.v1.GetWardOverviewsResponse.WardR\x05wards\x1a\xb1\x01\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n\tbed_count\x18\x03 \x01(\rR\x08\x62\x65\x64\x43ount\x12\x1d\n\ntasks_todo\x18\x04 \x01(\rR\ttasksTodo\x12*\n\x11tasks_in_progress\x18\x05 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x06 \x01(\rR\ttasksDone2\xa0\x07\n\x0bWardService\x12m\n\nCreateWard\x12-.proto.services.task_svc.v1.CreateWardRequest\x1a..proto.services.task_svc.v1.CreateWardResponse\"\x00\x12\x64\n\x07GetWard\x12*.proto.services.task_svc.v1.GetWardRequest\x1a+.proto.services.task_svc.v1.GetWardResponse\"\x00\x12g\n\x08GetWards\x12+.proto.services.task_svc.v1.GetWardsRequest\x1a,.proto.services.task_svc.v1.GetWardsResponse\"\x00\x12y\n\x0eGetRecentWards\x12\x31.proto.services.task_svc.v1.GetRecentWardsRequest\x1a\x32.proto.services.task_svc.v1.GetRecentWardsResponse\"\x00\x12m\n\nUpdateWard\x12-.proto.services.task_svc.v1.UpdateWardRequest\x1a..proto.services.task_svc.v1.UpdateWardResponse\"\x00\x12m\n\nDeleteWard\x12-.proto.services.task_svc.v1.DeleteWardRequest\x1a..proto.services.task_svc.v1.DeleteWardResponse\"\x00\x12\x7f\n\x10GetWardOverviews\x12\x33.proto.services.task_svc.v1.GetWardOverviewsRequest\x1a\x34.proto.services.task_svc.v1.GetWardOverviewsResponse\"\x00\x12y\n\x0eGetWardDetails\x12\x31.proto.services.task_svc.v1.GetWardDetailsRequest\x1a\x32.proto.services.task_svc.v1.GetWardDetailsResponse\"\x00\x42\xd2\x01\n\x1e\x63om.proto.services.task_svc.v1B\x0cWardSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.ward_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\014WardSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_CREATEWARDREQUEST']._serialized_start=73 - _globals['_CREATEWARDREQUEST']._serialized_end=112 - _globals['_CREATEWARDRESPONSE']._serialized_start=114 - _globals['_CREATEWARDRESPONSE']._serialized_end=150 - _globals['_GETWARDREQUEST']._serialized_start=152 - _globals['_GETWARDREQUEST']._serialized_end=184 - _globals['_GETWARDRESPONSE']._serialized_start=186 - _globals['_GETWARDRESPONSE']._serialized_end=280 - _globals['_GETWARDSREQUEST']._serialized_start=282 - _globals['_GETWARDSREQUEST']._serialized_end=299 - _globals['_GETWARDSRESPONSE']._serialized_start=302 - _globals['_GETWARDSRESPONSE']._serialized_end=437 - _globals['_GETWARDSRESPONSE_WARD']._serialized_start=395 - _globals['_GETWARDSRESPONSE_WARD']._serialized_end=437 - _globals['_GETRECENTWARDSREQUEST']._serialized_start=439 - _globals['_GETRECENTWARDSREQUEST']._serialized_end=462 - _globals['_GETRECENTWARDSRESPONSE']._serialized_start=465 - _globals['_GETRECENTWARDSRESPONSE']._serialized_end=748 - _globals['_GETRECENTWARDSRESPONSE_WARD']._serialized_start=571 - _globals['_GETRECENTWARDSRESPONSE_WARD']._serialized_end=748 - _globals['_UPDATEWARDREQUEST']._serialized_start=750 - _globals['_UPDATEWARDREQUEST']._serialized_end=819 - _globals['_UPDATEWARDRESPONSE']._serialized_start=821 - _globals['_UPDATEWARDRESPONSE']._serialized_end=841 - _globals['_DELETEWARDREQUEST']._serialized_start=843 - _globals['_DELETEWARDREQUEST']._serialized_end=878 - _globals['_DELETEWARDRESPONSE']._serialized_start=880 - _globals['_DELETEWARDRESPONSE']._serialized_end=900 - _globals['_GETWARDDETAILSREQUEST']._serialized_start=902 - _globals['_GETWARDDETAILSREQUEST']._serialized_end=941 - _globals['_GETWARDDETAILSRESPONSE']._serialized_start=944 - _globals['_GETWARDDETAILSRESPONSE']._serialized_end=1538 - _globals['_GETWARDDETAILSRESPONSE_BED']._serialized_start=1189 - _globals['_GETWARDDETAILSRESPONSE_BED']._serialized_end=1230 - _globals['_GETWARDDETAILSRESPONSE_SUBTASK']._serialized_start=1232 - _globals['_GETWARDDETAILSRESPONSE_SUBTASK']._serialized_end=1277 - _globals['_GETWARDDETAILSRESPONSE_ROOM']._serialized_start=1279 - _globals['_GETWARDDETAILSRESPONSE_ROOM']._serialized_end=1397 - _globals['_GETWARDDETAILSRESPONSE_TASKTEMPLATE']._serialized_start=1400 - _globals['_GETWARDDETAILSRESPONSE_TASKTEMPLATE']._serialized_end=1538 - _globals['_GETWARDOVERVIEWSREQUEST']._serialized_start=1540 - _globals['_GETWARDOVERVIEWSREQUEST']._serialized_end=1565 - _globals['_GETWARDOVERVIEWSRESPONSE']._serialized_start=1568 - _globals['_GETWARDOVERVIEWSRESPONSE']._serialized_end=1855 - _globals['_GETWARDOVERVIEWSRESPONSE_WARD']._serialized_start=571 - _globals['_GETWARDOVERVIEWSRESPONSE_WARD']._serialized_end=748 - _globals['_WARDSERVICE']._serialized_start=1858 - _globals['_WARDSERVICE']._serialized_end=2786 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/task_svc/v1/ward_svc_pb2_grpc.py b/gen/python/proto/services/task_svc/v1/ward_svc_pb2_grpc.py deleted file mode 100644 index da0e239fb..000000000 --- a/gen/python/proto/services/task_svc/v1/ward_svc_pb2_grpc.py +++ /dev/null @@ -1,309 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import ward_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2 - - -class WardServiceStub(object): - """ - WardService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateWard = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/CreateWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.FromString, - ) - self.GetWard = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/GetWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.FromString, - ) - self.GetWards = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/GetWards', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.FromString, - ) - self.GetRecentWards = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/GetRecentWards', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.FromString, - ) - self.UpdateWard = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/UpdateWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.FromString, - ) - self.DeleteWard = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/DeleteWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.FromString, - ) - self.GetWardOverviews = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/GetWardOverviews', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.FromString, - ) - self.GetWardDetails = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/GetWardDetails', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.FromString, - ) - - -class WardServiceServicer(object): - """ - WardService - - - """ - - def CreateWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWards(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRecentWards(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWardOverviews(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWardDetails(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_WardServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateWard': grpc.unary_unary_rpc_method_handler( - servicer.CreateWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.SerializeToString, - ), - 'GetWard': grpc.unary_unary_rpc_method_handler( - servicer.GetWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.SerializeToString, - ), - 'GetWards': grpc.unary_unary_rpc_method_handler( - servicer.GetWards, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.SerializeToString, - ), - 'GetRecentWards': grpc.unary_unary_rpc_method_handler( - servicer.GetRecentWards, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.SerializeToString, - ), - 'UpdateWard': grpc.unary_unary_rpc_method_handler( - servicer.UpdateWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.SerializeToString, - ), - 'DeleteWard': grpc.unary_unary_rpc_method_handler( - servicer.DeleteWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.SerializeToString, - ), - 'GetWardOverviews': grpc.unary_unary_rpc_method_handler( - servicer.GetWardOverviews, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.SerializeToString, - ), - 'GetWardDetails': grpc.unary_unary_rpc_method_handler( - servicer.GetWardDetails, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.WardService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class WardService(object): - """ - WardService - - - """ - - @staticmethod - def CreateWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/CreateWard', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/GetWard', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetWards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/GetWards', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRecentWards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/GetRecentWards', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/UpdateWard', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/DeleteWard', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetWardOverviews(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/GetWardOverviews', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetWardDetails(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/GetWardDetails', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/tasks_svc/v1/patient_svc_pb2.py b/gen/python/proto/services/tasks_svc/v1/patient_svc_pb2.py deleted file mode 100644 index a8930fcdc..000000000 --- a/gen/python/proto/services/tasks_svc/v1/patient_svc_pb2.py +++ /dev/null @@ -1,69 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/tasks_svc/v1/patient_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-proto/services/tasks_svc/v1/patient_svc.proto\x12\x1bproto.services.tasks_svc.v1\"w\n\x14\x43reatePatientRequest\x12:\n\x19human_readable_identifier\x18\x01 \x01(\tR\x17humanReadableIdentifier\x12\x19\n\x05notes\x18\x02 \x01(\tH\x00R\x05notes\x88\x01\x01\x42\x08\n\x06_notes\"\'\n\x15\x43reatePatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n\x11GetPatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xe3\x03\n\x12GetPatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x12\x1c\n\x07ward_id\x18\x05 \x01(\tH\x01R\x06wardId\x88\x01\x01\x12M\n\x04room\x18\x07 \x01(\x0b\x32\x34.proto.services.tasks_svc.v1.GetPatientResponse.RoomH\x02R\x04room\x88\x01\x01\x12J\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32\x33.proto.services.tasks_svc.v1.GetPatientResponse.BedH\x03R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\t\n\x07_bed_idB\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"\x1a\n\x18GetRecentPatientsRequest\"\x87\x04\n\x19GetRecentPatientsResponse\x12u\n\x0frecent_patients\x18\x01 \x03(\x0b\x32L.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBedR\x0erecentPatients\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\x82\x02\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12O\n\x04room\x18\x03 \x01(\x0b\x32;.proto.services.tasks_svc.v1.GetRecentPatientsResponse.RoomR\x04room\x12L\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32:.proto.services.tasks_svc.v1.GetRecentPatientsResponse.BedR\x03\x62\x65\x64\"\xaa\x01\n\x14UpdatePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12?\n\x19human_readable_identifier\x18\x02 \x01(\tH\x00R\x17humanReadableIdentifier\x88\x01\x01\x12\x19\n\x05notes\x18\x03 \x01(\tH\x01R\x05notes\x88\x01\x01\x42\x1c\n\x1a_human_readable_identifierB\x08\n\x06_notes\"\x17\n\x15UpdatePatientResponse\"9\n\x10\x41ssignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06\x62\x65\x64_id\x18\x02 \x01(\tR\x05\x62\x65\x64Id\"\x13\n\x11\x41ssignBedResponse\"$\n\x12UnassignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13UnassignBedResponse\")\n\x17\x44ischargePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18\x44ischargePatientResponse\"6\n\x15ReadmitPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\x18\n\x16ReadmitPatientResponse2\xdf\x07\n\x0ePatientService\x12x\n\rCreatePatient\x12\x31.proto.services.tasks_svc.v1.CreatePatientRequest\x1a\x32.proto.services.tasks_svc.v1.CreatePatientResponse\"\x00\x12o\n\nGetPatient\x12..proto.services.tasks_svc.v1.GetPatientRequest\x1a/.proto.services.tasks_svc.v1.GetPatientResponse\"\x00\x12\x84\x01\n\x11GetRecentPatients\x12\x35.proto.services.tasks_svc.v1.GetRecentPatientsRequest\x1a\x36.proto.services.tasks_svc.v1.GetRecentPatientsResponse\"\x00\x12x\n\rUpdatePatient\x12\x31.proto.services.tasks_svc.v1.UpdatePatientRequest\x1a\x32.proto.services.tasks_svc.v1.UpdatePatientResponse\"\x00\x12l\n\tAssignBed\x12-.proto.services.tasks_svc.v1.AssignBedRequest\x1a..proto.services.tasks_svc.v1.AssignBedResponse\"\x00\x12r\n\x0bUnassignBed\x12/.proto.services.tasks_svc.v1.UnassignBedRequest\x1a\x30.proto.services.tasks_svc.v1.UnassignBedResponse\"\x00\x12\x81\x01\n\x10\x44ischargePatient\x12\x34.proto.services.tasks_svc.v1.DischargePatientRequest\x1a\x35.proto.services.tasks_svc.v1.DischargePatientResponse\"\x00\x12{\n\x0eReadmitPatient\x12\x32.proto.services.tasks_svc.v1.ReadmitPatientRequest\x1a\x33.proto.services.tasks_svc.v1.ReadmitPatientResponse\"\x00\x42\xdb\x01\n\x1f\x63om.proto.services.tasks_svc.v1B\x0fPatientSvcProtoP\x01Z\x1cgen/proto/services/tasks-svc\xa2\x02\x03PST\xaa\x02\x1aProto.Services.TasksSvc.V1\xca\x02\x1aProto\\Services\\TasksSvc\\V1\xe2\x02&Proto\\Services\\TasksSvc\\V1\\GPBMetadata\xea\x02\x1dProto::Services::TasksSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.tasks_svc.v1.patient_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.proto.services.tasks_svc.v1B\017PatientSvcProtoP\001Z\034gen/proto/services/tasks-svc\242\002\003PST\252\002\032Proto.Services.TasksSvc.V1\312\002\032Proto\\Services\\TasksSvc\\V1\342\002&Proto\\Services\\TasksSvc\\V1\\GPBMetadata\352\002\035Proto::Services::TasksSvc::V1' - _globals['_CREATEPATIENTREQUEST']._serialized_start=78 - _globals['_CREATEPATIENTREQUEST']._serialized_end=197 - _globals['_CREATEPATIENTRESPONSE']._serialized_start=199 - _globals['_CREATEPATIENTRESPONSE']._serialized_end=238 - _globals['_GETPATIENTREQUEST']._serialized_start=240 - _globals['_GETPATIENTREQUEST']._serialized_end=275 - _globals['_GETPATIENTRESPONSE']._serialized_start=278 - _globals['_GETPATIENTRESPONSE']._serialized_end=761 - _globals['_GETPATIENTRESPONSE_ROOM']._serialized_start=611 - _globals['_GETPATIENTRESPONSE_ROOM']._serialized_end=678 - _globals['_GETPATIENTRESPONSE_BED']._serialized_start=680 - _globals['_GETPATIENTRESPONSE_BED']._serialized_end=721 - _globals['_GETRECENTPATIENTSREQUEST']._serialized_start=763 - _globals['_GETRECENTPATIENTSREQUEST']._serialized_end=789 - _globals['_GETRECENTPATIENTSRESPONSE']._serialized_start=792 - _globals['_GETRECENTPATIENTSRESPONSE']._serialized_end=1311 - _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_start=680 - _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_end=721 - _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_start=611 - _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_end=678 - _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=1053 - _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=1311 - _globals['_UPDATEPATIENTREQUEST']._serialized_start=1314 - _globals['_UPDATEPATIENTREQUEST']._serialized_end=1484 - _globals['_UPDATEPATIENTRESPONSE']._serialized_start=1486 - _globals['_UPDATEPATIENTRESPONSE']._serialized_end=1509 - _globals['_ASSIGNBEDREQUEST']._serialized_start=1511 - _globals['_ASSIGNBEDREQUEST']._serialized_end=1568 - _globals['_ASSIGNBEDRESPONSE']._serialized_start=1570 - _globals['_ASSIGNBEDRESPONSE']._serialized_end=1589 - _globals['_UNASSIGNBEDREQUEST']._serialized_start=1591 - _globals['_UNASSIGNBEDREQUEST']._serialized_end=1627 - _globals['_UNASSIGNBEDRESPONSE']._serialized_start=1629 - _globals['_UNASSIGNBEDRESPONSE']._serialized_end=1650 - _globals['_DISCHARGEPATIENTREQUEST']._serialized_start=1652 - _globals['_DISCHARGEPATIENTREQUEST']._serialized_end=1693 - _globals['_DISCHARGEPATIENTRESPONSE']._serialized_start=1695 - _globals['_DISCHARGEPATIENTRESPONSE']._serialized_end=1721 - _globals['_READMITPATIENTREQUEST']._serialized_start=1723 - _globals['_READMITPATIENTREQUEST']._serialized_end=1777 - _globals['_READMITPATIENTRESPONSE']._serialized_start=1779 - _globals['_READMITPATIENTRESPONSE']._serialized_end=1803 - _globals['_PATIENTSERVICE']._serialized_start=1806 - _globals['_PATIENTSERVICE']._serialized_end=2797 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/tasks_svc/v1/patient_svc_pb2_grpc.py b/gen/python/proto/services/tasks_svc/v1/patient_svc_pb2_grpc.py deleted file mode 100644 index 01b3ae192..000000000 --- a/gen/python/proto/services/tasks_svc/v1/patient_svc_pb2_grpc.py +++ /dev/null @@ -1,309 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.tasks_svc.v1 import patient_svc_pb2 as proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2 - - -class PatientServiceStub(object): - """ - PatientService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreatePatient = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/CreatePatient', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, - ) - self.GetPatient = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/GetPatient', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, - ) - self.GetRecentPatients = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/GetRecentPatients', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, - ) - self.UpdatePatient = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/UpdatePatient', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, - ) - self.AssignBed = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/AssignBed', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, - ) - self.UnassignBed = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/UnassignBed', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, - ) - self.DischargePatient = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/DischargePatient', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, - ) - self.ReadmitPatient = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/ReadmitPatient', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, - ) - - -class PatientServiceServicer(object): - """ - PatientService - - - """ - - def CreatePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRecentPatients(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdatePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AssignBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnassignBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DischargePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ReadmitPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PatientServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreatePatient': grpc.unary_unary_rpc_method_handler( - servicer.CreatePatient, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.SerializeToString, - ), - 'GetPatient': grpc.unary_unary_rpc_method_handler( - servicer.GetPatient, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.SerializeToString, - ), - 'GetRecentPatients': grpc.unary_unary_rpc_method_handler( - servicer.GetRecentPatients, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.SerializeToString, - ), - 'UpdatePatient': grpc.unary_unary_rpc_method_handler( - servicer.UpdatePatient, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.SerializeToString, - ), - 'AssignBed': grpc.unary_unary_rpc_method_handler( - servicer.AssignBed, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.SerializeToString, - ), - 'UnassignBed': grpc.unary_unary_rpc_method_handler( - servicer.UnassignBed, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.SerializeToString, - ), - 'DischargePatient': grpc.unary_unary_rpc_method_handler( - servicer.DischargePatient, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.SerializeToString, - ), - 'ReadmitPatient': grpc.unary_unary_rpc_method_handler( - servicer.ReadmitPatient, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.tasks_svc.v1.PatientService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PatientService(object): - """ - PatientService - - - """ - - @staticmethod - def CreatePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/CreatePatient', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/GetPatient', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRecentPatients(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/GetRecentPatients', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdatePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/UpdatePatient', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AssignBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/AssignBed', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UnassignBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/UnassignBed', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DischargePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/DischargePatient', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ReadmitPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/ReadmitPatient', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/tasks_svc/v1/task_svc_pb2.py b/gen/python/proto/services/tasks_svc/v1/task_svc_pb2.py deleted file mode 100644 index 18726e68f..000000000 --- a/gen/python/proto/services/tasks_svc/v1/task_svc_pb2.py +++ /dev/null @@ -1,76 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/tasks_svc/v1/task_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*proto/services/tasks_svc/v1/task_svc.proto\x12\x1bproto.services.tasks_svc.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc0\x02\n\x11\x43reateTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1d\n\npatient_id\x18\x03 \x01(\tR\tpatientId\x12\x1b\n\x06public\x18\x04 \x01(\x08H\x01R\x06public\x88\x01\x01\x12\x31\n\x06\x64ue_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12S\n\x0einitial_status\x18\x06 \x01(\x0e\x32\'.proto.services.tasks_svc.v1.TaskStatusH\x02R\rinitialStatus\x88\x01\x01\x42\x0e\n\x0c_descriptionB\t\n\x07_publicB\x11\n\x0f_initial_status\"$\n\x12\x43reateTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xbf\x01\n\x11UpdateTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x36\n\x06\x64ue_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x05\x64ueAt\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\t\n\x07_due_at\"\x14\n\x12UpdateTaskResponse\" \n\x0eGetTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x8f\x03\n\x0fGetTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12%\n\x0e\x61ssigned_users\x18\x04 \x03(\tR\rassignedUsers\x12P\n\x08subtasks\x18\x05 \x03(\x0b\x32\x34.proto.services.tasks_svc.v1.GetTaskResponse.SubtaskR\x08subtasks\x12?\n\x06status\x18\x06 \x01(\x0e\x32\'.proto.services.tasks_svc.v1.TaskStatusR\x06status\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x1a\x41\n\x07Subtask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\"E\n\x11\x41ssignTaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x14\n\x12\x41ssignTaskResponse\"G\n\x13UnassignTaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x16\n\x14UnassignTaskResponse\"\xa3\x01\n\x14\x43reateSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12S\n\x07subtask\x18\x02 \x01(\x0b\x32\x39.proto.services.tasks_svc.v1.CreateSubtaskRequest.SubtaskR\x07subtask\x1a\x1d\n\x07Subtask\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"6\n\x15\x43reateSubtaskResponse\x12\x1d\n\nsubtask_id\x18\x01 \x01(\tR\tsubtaskId\"\xd0\x01\n\x14UpdateSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\x12S\n\x07subtask\x18\x03 \x01(\x0b\x32\x39.proto.services.tasks_svc.v1.UpdateSubtaskRequest.SubtaskR\x07subtask\x1a+\n\x07Subtask\x12\x17\n\x04name\x18\x01 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x17\n\x15UpdateSubtaskResponse\"P\n\x16\x43ompleteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x19\n\x17\x43ompleteSubtaskResponse\"R\n\x18UncompleteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x1b\n\x19UncompleteSubtaskResponse\"N\n\x14\x44\x65leteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x17\n\x15\x44\x65leteSubtaskResponse*r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x32\xb4\t\n\x0bTaskService\x12o\n\nCreateTask\x12..proto.services.tasks_svc.v1.CreateTaskRequest\x1a/.proto.services.tasks_svc.v1.CreateTaskResponse\"\x00\x12o\n\nUpdateTask\x12..proto.services.tasks_svc.v1.UpdateTaskRequest\x1a/.proto.services.tasks_svc.v1.UpdateTaskResponse\"\x00\x12\x66\n\x07GetTask\x12+.proto.services.tasks_svc.v1.GetTaskRequest\x1a,.proto.services.tasks_svc.v1.GetTaskResponse\"\x00\x12o\n\nAssignTask\x12..proto.services.tasks_svc.v1.AssignTaskRequest\x1a/.proto.services.tasks_svc.v1.AssignTaskResponse\"\x00\x12u\n\x0cUnassignTask\x12\x30.proto.services.tasks_svc.v1.UnassignTaskRequest\x1a\x31.proto.services.tasks_svc.v1.UnassignTaskResponse\"\x00\x12x\n\rCreateSubtask\x12\x31.proto.services.tasks_svc.v1.CreateSubtaskRequest\x1a\x32.proto.services.tasks_svc.v1.CreateSubtaskResponse\"\x00\x12x\n\rUpdateSubtask\x12\x31.proto.services.tasks_svc.v1.UpdateSubtaskRequest\x1a\x32.proto.services.tasks_svc.v1.UpdateSubtaskResponse\"\x00\x12~\n\x0f\x43ompleteSubtask\x12\x33.proto.services.tasks_svc.v1.CompleteSubtaskRequest\x1a\x34.proto.services.tasks_svc.v1.CompleteSubtaskResponse\"\x00\x12\x84\x01\n\x11UncompleteSubtask\x12\x35.proto.services.tasks_svc.v1.UncompleteSubtaskRequest\x1a\x36.proto.services.tasks_svc.v1.UncompleteSubtaskResponse\"\x00\x12x\n\rDeleteSubtask\x12\x31.proto.services.tasks_svc.v1.DeleteSubtaskRequest\x1a\x32.proto.services.tasks_svc.v1.DeleteSubtaskResponse\"\x00\x42\xd8\x01\n\x1f\x63om.proto.services.tasks_svc.v1B\x0cTaskSvcProtoP\x01Z\x1cgen/proto/services/tasks-svc\xa2\x02\x03PST\xaa\x02\x1aProto.Services.TasksSvc.V1\xca\x02\x1aProto\\Services\\TasksSvc\\V1\xe2\x02&Proto\\Services\\TasksSvc\\V1\\GPBMetadata\xea\x02\x1dProto::Services::TasksSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.tasks_svc.v1.task_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.proto.services.tasks_svc.v1B\014TaskSvcProtoP\001Z\034gen/proto/services/tasks-svc\242\002\003PST\252\002\032Proto.Services.TasksSvc.V1\312\002\032Proto\\Services\\TasksSvc\\V1\342\002&Proto\\Services\\TasksSvc\\V1\\GPBMetadata\352\002\035Proto::Services::TasksSvc::V1' - _globals['_TASKSTATUS']._serialized_start=2096 - _globals['_TASKSTATUS']._serialized_end=2210 - _globals['_CREATETASKREQUEST']._serialized_start=109 - _globals['_CREATETASKREQUEST']._serialized_end=429 - _globals['_CREATETASKRESPONSE']._serialized_start=431 - _globals['_CREATETASKRESPONSE']._serialized_end=467 - _globals['_UPDATETASKREQUEST']._serialized_start=470 - _globals['_UPDATETASKREQUEST']._serialized_end=661 - _globals['_UPDATETASKRESPONSE']._serialized_start=663 - _globals['_UPDATETASKRESPONSE']._serialized_end=683 - _globals['_GETTASKREQUEST']._serialized_start=685 - _globals['_GETTASKREQUEST']._serialized_end=717 - _globals['_GETTASKRESPONSE']._serialized_start=720 - _globals['_GETTASKRESPONSE']._serialized_end=1119 - _globals['_GETTASKRESPONSE_SUBTASK']._serialized_start=1054 - _globals['_GETTASKRESPONSE_SUBTASK']._serialized_end=1119 - _globals['_ASSIGNTASKREQUEST']._serialized_start=1121 - _globals['_ASSIGNTASKREQUEST']._serialized_end=1190 - _globals['_ASSIGNTASKRESPONSE']._serialized_start=1192 - _globals['_ASSIGNTASKRESPONSE']._serialized_end=1212 - _globals['_UNASSIGNTASKREQUEST']._serialized_start=1214 - _globals['_UNASSIGNTASKREQUEST']._serialized_end=1285 - _globals['_UNASSIGNTASKRESPONSE']._serialized_start=1287 - _globals['_UNASSIGNTASKRESPONSE']._serialized_end=1309 - _globals['_CREATESUBTASKREQUEST']._serialized_start=1312 - _globals['_CREATESUBTASKREQUEST']._serialized_end=1475 - _globals['_CREATESUBTASKREQUEST_SUBTASK']._serialized_start=1446 - _globals['_CREATESUBTASKREQUEST_SUBTASK']._serialized_end=1475 - _globals['_CREATESUBTASKRESPONSE']._serialized_start=1477 - _globals['_CREATESUBTASKRESPONSE']._serialized_end=1531 - _globals['_UPDATESUBTASKREQUEST']._serialized_start=1534 - _globals['_UPDATESUBTASKREQUEST']._serialized_end=1742 - _globals['_UPDATESUBTASKREQUEST_SUBTASK']._serialized_start=1699 - _globals['_UPDATESUBTASKREQUEST_SUBTASK']._serialized_end=1742 - _globals['_UPDATESUBTASKRESPONSE']._serialized_start=1744 - _globals['_UPDATESUBTASKRESPONSE']._serialized_end=1767 - _globals['_COMPLETESUBTASKREQUEST']._serialized_start=1769 - _globals['_COMPLETESUBTASKREQUEST']._serialized_end=1849 - _globals['_COMPLETESUBTASKRESPONSE']._serialized_start=1851 - _globals['_COMPLETESUBTASKRESPONSE']._serialized_end=1876 - _globals['_UNCOMPLETESUBTASKREQUEST']._serialized_start=1878 - _globals['_UNCOMPLETESUBTASKREQUEST']._serialized_end=1960 - _globals['_UNCOMPLETESUBTASKRESPONSE']._serialized_start=1962 - _globals['_UNCOMPLETESUBTASKRESPONSE']._serialized_end=1989 - _globals['_DELETESUBTASKREQUEST']._serialized_start=1991 - _globals['_DELETESUBTASKREQUEST']._serialized_end=2069 - _globals['_DELETESUBTASKRESPONSE']._serialized_start=2071 - _globals['_DELETESUBTASKRESPONSE']._serialized_end=2094 - _globals['_TASKSERVICE']._serialized_start=2213 - _globals['_TASKSERVICE']._serialized_end=3417 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/tasks_svc/v1/task_svc_pb2_grpc.py b/gen/python/proto/services/tasks_svc/v1/task_svc_pb2_grpc.py deleted file mode 100644 index bc2827d42..000000000 --- a/gen/python/proto/services/tasks_svc/v1/task_svc_pb2_grpc.py +++ /dev/null @@ -1,375 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.tasks_svc.v1 import task_svc_pb2 as proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2 - - -class TaskServiceStub(object): - """ - TaskService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateTask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/CreateTask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, - ) - self.UpdateTask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/UpdateTask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, - ) - self.GetTask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/GetTask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, - ) - self.AssignTask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/AssignTask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.FromString, - ) - self.UnassignTask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/UnassignTask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.FromString, - ) - self.CreateSubtask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/CreateSubtask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.FromString, - ) - self.UpdateSubtask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/UpdateSubtask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.FromString, - ) - self.CompleteSubtask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/CompleteSubtask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.FromString, - ) - self.UncompleteSubtask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/UncompleteSubtask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.FromString, - ) - self.DeleteSubtask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/DeleteSubtask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.FromString, - ) - - -class TaskServiceServicer(object): - """ - TaskService - - - """ - - def CreateTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AssignTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnassignTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateSubtask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateSubtask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CompleteSubtask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UncompleteSubtask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteSubtask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_TaskServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateTask': grpc.unary_unary_rpc_method_handler( - servicer.CreateTask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.SerializeToString, - ), - 'UpdateTask': grpc.unary_unary_rpc_method_handler( - servicer.UpdateTask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.SerializeToString, - ), - 'GetTask': grpc.unary_unary_rpc_method_handler( - servicer.GetTask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.SerializeToString, - ), - 'AssignTask': grpc.unary_unary_rpc_method_handler( - servicer.AssignTask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.SerializeToString, - ), - 'UnassignTask': grpc.unary_unary_rpc_method_handler( - servicer.UnassignTask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.SerializeToString, - ), - 'CreateSubtask': grpc.unary_unary_rpc_method_handler( - servicer.CreateSubtask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.SerializeToString, - ), - 'UpdateSubtask': grpc.unary_unary_rpc_method_handler( - servicer.UpdateSubtask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.SerializeToString, - ), - 'CompleteSubtask': grpc.unary_unary_rpc_method_handler( - servicer.CompleteSubtask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.SerializeToString, - ), - 'UncompleteSubtask': grpc.unary_unary_rpc_method_handler( - servicer.UncompleteSubtask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.SerializeToString, - ), - 'DeleteSubtask': grpc.unary_unary_rpc_method_handler( - servicer.DeleteSubtask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.tasks_svc.v1.TaskService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class TaskService(object): - """ - TaskService - - - """ - - @staticmethod - def CreateTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/CreateTask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/UpdateTask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/GetTask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AssignTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/AssignTask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UnassignTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/UnassignTask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CreateSubtask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/CreateSubtask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateSubtask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/UpdateSubtask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CompleteSubtask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/CompleteSubtask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UncompleteSubtask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/UncompleteSubtask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteSubtask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/DeleteSubtask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/user_svc/v1/organization_svc_pb2.py b/gen/python/proto/services/user_svc/v1/organization_svc_pb2.py deleted file mode 100644 index a27da085c..000000000 --- a/gen/python/proto/services/user_svc/v1/organization_svc_pb2.py +++ /dev/null @@ -1,111 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/user_svc/v1/organization_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1proto/services/user_svc/v1/organization_svc.proto\x12\x1aproto.services.user_svc.v1\"\xb2\x01\n\x19\x43reateOrganizationRequest\x12\x1b\n\tlong_name\x18\x01 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x02 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x03 \x01(\tR\x0c\x63ontactEmail\x12$\n\x0bis_personal\x18\x04 \x01(\x08H\x00R\nisPersonal\x88\x01\x01\x42\x0e\n\x0c_is_personal\",\n\x1a\x43reateOrganizationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xd2\x01\n CreateOrganizationForUserRequest\x12\x1b\n\tlong_name\x18\x01 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x02 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x03 \x01(\tR\x0c\x63ontactEmail\x12$\n\x0bis_personal\x18\x04 \x01(\x08H\x00R\nisPersonal\x88\x01\x01\x12\x17\n\x07user_id\x18\x05 \x01(\tR\x06userIdB\x0e\n\x0c_is_personal\"3\n!CreateOrganizationForUserResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"0\n\x15GetOrganizationMember\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"(\n\x16GetOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xab\x02\n\x17GetOrganizationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12K\n\x07members\x18\x07 \x03(\x0b\x32\x31.proto.services.user_svc.v1.GetOrganizationMemberR\x07membersB\r\n\x0b_avatar_url\"8\n\x1dGetOrganizationsByUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xd8\x04\n\x1eGetOrganizationsByUserResponse\x12m\n\rorganizations\x18\x01 \x03(\x0b\x32G.proto.services.user_svc.v1.GetOrganizationsByUserResponse.OrganizationR\rorganizations\x1a\xc6\x03\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12h\n\x07members\x18\x07 \x03(\x0b\x32N.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_urlB\r\n\x0b_avatar_url\" \n\x1eGetOrganizationsForUserRequest\"\xdb\x04\n\x1fGetOrganizationsForUserResponse\x12n\n\rorganizations\x18\x01 \x03(\x0b\x32H.proto.services.user_svc.v1.GetOrganizationsForUserResponse.OrganizationR\rorganizations\x1a\xc7\x03\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12i\n\x07members\x18\x07 \x03(\x0b\x32O.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_urlB\r\n\x0b_avatar_url\"\xb3\x02\n\x19UpdateOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12 \n\tlong_name\x18\x02 \x01(\tH\x00R\x08longName\x88\x01\x01\x12\"\n\nshort_name\x18\x03 \x01(\tH\x01R\tshortName\x88\x01\x01\x12(\n\rcontact_email\x18\x04 \x01(\tH\x02R\x0c\x63ontactEmail\x88\x01\x01\x12\"\n\navatar_url\x18\x05 \x01(\tH\x03R\tavatarUrl\x88\x01\x01\x12$\n\x0bis_personal\x18\x06 \x01(\x08H\x04R\nisPersonal\x88\x01\x01\x42\x0c\n\n_long_nameB\r\n\x0b_short_nameB\x10\n\x0e_contact_emailB\r\n\x0b_avatar_urlB\x0e\n\x0c_is_personal\"\x1c\n\x1aUpdateOrganizationResponse\"+\n\x19\x44\x65leteOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1a\x44\x65leteOrganizationResponse\"1\n\x1fGetMembersByOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x8a\x02\n GetMembersByOrganizationResponse\x12]\n\x07members\x18\x01 \x03(\x0b\x32\x43.proto.services.user_svc.v1.GetMembersByOrganizationResponse.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\";\n\x10\x41\x64\x64MemberRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x13\n\x11\x41\x64\x64MemberResponse\">\n\x13RemoveMemberRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x16\n\x14RemoveMemberResponse\"T\n\x13InviteMemberRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\"&\n\x14InviteMemberResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xa0\x01\n#GetInvitationsByOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x46\n\x05state\x18\x02 \x01(\x0e\x32+.proto.services.user_svc.v1.InvitationStateH\x00R\x05state\x88\x01\x01\x42\x08\n\x06_state\"\xb6\x02\n$GetInvitationsByOrganizationResponse\x12m\n\x0binvitations\x18\x01 \x03(\x0b\x32K.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.InvitationR\x0binvitations\x1a\x9e\x01\n\nInvitation\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12\x41\n\x05state\x18\x04 \x01(\x0e\x32+.proto.services.user_svc.v1.InvitationStateR\x05state\"o\n\x1bGetInvitationsByUserRequest\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32+.proto.services.user_svc.v1.InvitationStateH\x00R\x05state\x88\x01\x01\x42\x08\n\x06_state\"\xe3\x03\n\x1cGetInvitationsByUserResponse\x12\x65\n\x0binvitations\x18\x01 \x03(\x0b\x32\x43.proto.services.user_svc.v1.GetInvitationsByUserResponse.InvitationR\x0binvitations\x1a\xdb\x02\n\nInvitation\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12t\n\x0corganization\x18\x03 \x01(\x0b\x32P.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.OrganizationR\x0corganization\x12\x41\n\x05state\x18\x04 \x01(\x0e\x32+.proto.services.user_svc.v1.InvitationStateR\x05state\x1an\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\"\n\navatar_url\x18\x03 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\">\n\x17\x41\x63\x63\x65ptInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1a\n\x18\x41\x63\x63\x65ptInvitationResponse\"?\n\x18\x44\x65\x63lineInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1b\n\x19\x44\x65\x63lineInvitationResponse\">\n\x17RevokeInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1a\n\x18RevokeInvitationResponse*\xad\x01\n\x0fInvitationState\x12 \n\x1cINVITATION_STATE_UNSPECIFIED\x10\x00\x12\x1c\n\x18INVITATION_STATE_PENDING\x10\x01\x12\x1d\n\x19INVITATION_STATE_ACCEPTED\x10\x02\x12\x1d\n\x19INVITATION_STATE_REJECTED\x10\x03\x12\x1c\n\x18INVITATION_STATE_REVOKED\x10\x04\x32\x9e\x11\n\x13OrganizationService\x12\x85\x01\n\x12\x43reateOrganization\x12\x35.proto.services.user_svc.v1.CreateOrganizationRequest\x1a\x36.proto.services.user_svc.v1.CreateOrganizationResponse\"\x00\x12\x9a\x01\n\x19\x43reateOrganizationForUser\x12<.proto.services.user_svc.v1.CreateOrganizationForUserRequest\x1a=.proto.services.user_svc.v1.CreateOrganizationForUserResponse\"\x00\x12|\n\x0fGetOrganization\x12\x32.proto.services.user_svc.v1.GetOrganizationRequest\x1a\x33.proto.services.user_svc.v1.GetOrganizationResponse\"\x00\x12\x91\x01\n\x16GetOrganizationsByUser\x12\x39.proto.services.user_svc.v1.GetOrganizationsByUserRequest\x1a:.proto.services.user_svc.v1.GetOrganizationsByUserResponse\"\x00\x12\x94\x01\n\x17GetOrganizationsForUser\x12:.proto.services.user_svc.v1.GetOrganizationsForUserRequest\x1a;.proto.services.user_svc.v1.GetOrganizationsForUserResponse\"\x00\x12\x85\x01\n\x12UpdateOrganization\x12\x35.proto.services.user_svc.v1.UpdateOrganizationRequest\x1a\x36.proto.services.user_svc.v1.UpdateOrganizationResponse\"\x00\x12\x85\x01\n\x12\x44\x65leteOrganization\x12\x35.proto.services.user_svc.v1.DeleteOrganizationRequest\x1a\x36.proto.services.user_svc.v1.DeleteOrganizationResponse\"\x00\x12\x97\x01\n\x18GetMembersByOrganization\x12;.proto.services.user_svc.v1.GetMembersByOrganizationRequest\x1a<.proto.services.user_svc.v1.GetMembersByOrganizationResponse\"\x00\x12j\n\tAddMember\x12,.proto.services.user_svc.v1.AddMemberRequest\x1a-.proto.services.user_svc.v1.AddMemberResponse\"\x00\x12s\n\x0cRemoveMember\x12/.proto.services.user_svc.v1.RemoveMemberRequest\x1a\x30.proto.services.user_svc.v1.RemoveMemberResponse\"\x00\x12s\n\x0cInviteMember\x12/.proto.services.user_svc.v1.InviteMemberRequest\x1a\x30.proto.services.user_svc.v1.InviteMemberResponse\"\x00\x12\xa3\x01\n\x1cGetInvitationsByOrganization\x12?.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest\x1a@.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse\"\x00\x12\x8b\x01\n\x14GetInvitationsByUser\x12\x37.proto.services.user_svc.v1.GetInvitationsByUserRequest\x1a\x38.proto.services.user_svc.v1.GetInvitationsByUserResponse\"\x00\x12\x7f\n\x10\x41\x63\x63\x65ptInvitation\x12\x33.proto.services.user_svc.v1.AcceptInvitationRequest\x1a\x34.proto.services.user_svc.v1.AcceptInvitationResponse\"\x00\x12\x82\x01\n\x11\x44\x65\x63lineInvitation\x12\x34.proto.services.user_svc.v1.DeclineInvitationRequest\x1a\x35.proto.services.user_svc.v1.DeclineInvitationResponse\"\x00\x12\x7f\n\x10RevokeInvitation\x12\x33.proto.services.user_svc.v1.RevokeInvitationRequest\x1a\x34.proto.services.user_svc.v1.RevokeInvitationResponse\"\x00\x42\xda\x01\n\x1e\x63om.proto.services.user_svc.v1B\x14OrganizationSvcProtoP\x01Z\x1bgen/proto/services/user-svc\xa2\x02\x03PSU\xaa\x02\x19Proto.Services.UserSvc.V1\xca\x02\x19Proto\\Services\\UserSvc\\V1\xe2\x02%Proto\\Services\\UserSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::UserSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.user_svc.v1.organization_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.user_svc.v1B\024OrganizationSvcProtoP\001Z\033gen/proto/services/user-svc\242\002\003PSU\252\002\031Proto.Services.UserSvc.V1\312\002\031Proto\\Services\\UserSvc\\V1\342\002%Proto\\Services\\UserSvc\\V1\\GPBMetadata\352\002\034Proto::Services::UserSvc::V1' - _globals['_INVITATIONSTATE']._serialized_start=4654 - _globals['_INVITATIONSTATE']._serialized_end=4827 - _globals['_CREATEORGANIZATIONREQUEST']._serialized_start=82 - _globals['_CREATEORGANIZATIONREQUEST']._serialized_end=260 - _globals['_CREATEORGANIZATIONRESPONSE']._serialized_start=262 - _globals['_CREATEORGANIZATIONRESPONSE']._serialized_end=306 - _globals['_CREATEORGANIZATIONFORUSERREQUEST']._serialized_start=309 - _globals['_CREATEORGANIZATIONFORUSERREQUEST']._serialized_end=519 - _globals['_CREATEORGANIZATIONFORUSERRESPONSE']._serialized_start=521 - _globals['_CREATEORGANIZATIONFORUSERRESPONSE']._serialized_end=572 - _globals['_GETORGANIZATIONMEMBER']._serialized_start=574 - _globals['_GETORGANIZATIONMEMBER']._serialized_end=622 - _globals['_GETORGANIZATIONREQUEST']._serialized_start=624 - _globals['_GETORGANIZATIONREQUEST']._serialized_end=664 - _globals['_GETORGANIZATIONRESPONSE']._serialized_start=667 - _globals['_GETORGANIZATIONRESPONSE']._serialized_end=966 - _globals['_GETORGANIZATIONSBYUSERREQUEST']._serialized_start=968 - _globals['_GETORGANIZATIONSBYUSERREQUEST']._serialized_end=1024 - _globals['_GETORGANIZATIONSBYUSERRESPONSE']._serialized_start=1027 - _globals['_GETORGANIZATIONSBYUSERRESPONSE']._serialized_end=1627 - _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION']._serialized_start=1173 - _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION']._serialized_end=1627 - _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_start=1478 - _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_end=1612 - _globals['_GETORGANIZATIONSFORUSERREQUEST']._serialized_start=1629 - _globals['_GETORGANIZATIONSFORUSERREQUEST']._serialized_end=1661 - _globals['_GETORGANIZATIONSFORUSERRESPONSE']._serialized_start=1664 - _globals['_GETORGANIZATIONSFORUSERRESPONSE']._serialized_end=2267 - _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION']._serialized_start=1812 - _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION']._serialized_end=2267 - _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_start=1478 - _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_end=1612 - _globals['_UPDATEORGANIZATIONREQUEST']._serialized_start=2270 - _globals['_UPDATEORGANIZATIONREQUEST']._serialized_end=2577 - _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_start=2579 - _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_end=2607 - _globals['_DELETEORGANIZATIONREQUEST']._serialized_start=2609 - _globals['_DELETEORGANIZATIONREQUEST']._serialized_end=2652 - _globals['_DELETEORGANIZATIONRESPONSE']._serialized_start=2654 - _globals['_DELETEORGANIZATIONRESPONSE']._serialized_end=2682 - _globals['_GETMEMBERSBYORGANIZATIONREQUEST']._serialized_start=2684 - _globals['_GETMEMBERSBYORGANIZATIONREQUEST']._serialized_end=2733 - _globals['_GETMEMBERSBYORGANIZATIONRESPONSE']._serialized_start=2736 - _globals['_GETMEMBERSBYORGANIZATIONRESPONSE']._serialized_end=3002 - _globals['_GETMEMBERSBYORGANIZATIONRESPONSE_MEMBER']._serialized_start=1478 - _globals['_GETMEMBERSBYORGANIZATIONRESPONSE_MEMBER']._serialized_end=1612 - _globals['_ADDMEMBERREQUEST']._serialized_start=3004 - _globals['_ADDMEMBERREQUEST']._serialized_end=3063 - _globals['_ADDMEMBERRESPONSE']._serialized_start=3065 - _globals['_ADDMEMBERRESPONSE']._serialized_end=3084 - _globals['_REMOVEMEMBERREQUEST']._serialized_start=3086 - _globals['_REMOVEMEMBERREQUEST']._serialized_end=3148 - _globals['_REMOVEMEMBERRESPONSE']._serialized_start=3150 - _globals['_REMOVEMEMBERRESPONSE']._serialized_end=3172 - _globals['_INVITEMEMBERREQUEST']._serialized_start=3174 - _globals['_INVITEMEMBERREQUEST']._serialized_end=3258 - _globals['_INVITEMEMBERRESPONSE']._serialized_start=3260 - _globals['_INVITEMEMBERRESPONSE']._serialized_end=3298 - _globals['_GETINVITATIONSBYORGANIZATIONREQUEST']._serialized_start=3301 - _globals['_GETINVITATIONSBYORGANIZATIONREQUEST']._serialized_end=3461 - _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE']._serialized_start=3464 - _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE']._serialized_end=3774 - _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE_INVITATION']._serialized_start=3616 - _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE_INVITATION']._serialized_end=3774 - _globals['_GETINVITATIONSBYUSERREQUEST']._serialized_start=3776 - _globals['_GETINVITATIONSBYUSERREQUEST']._serialized_end=3887 - _globals['_GETINVITATIONSBYUSERRESPONSE']._serialized_start=3890 - _globals['_GETINVITATIONSBYUSERRESPONSE']._serialized_end=4373 - _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION']._serialized_start=4026 - _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION']._serialized_end=4373 - _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION_ORGANIZATION']._serialized_start=4263 - _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION_ORGANIZATION']._serialized_end=4373 - _globals['_ACCEPTINVITATIONREQUEST']._serialized_start=4375 - _globals['_ACCEPTINVITATIONREQUEST']._serialized_end=4437 - _globals['_ACCEPTINVITATIONRESPONSE']._serialized_start=4439 - _globals['_ACCEPTINVITATIONRESPONSE']._serialized_end=4465 - _globals['_DECLINEINVITATIONREQUEST']._serialized_start=4467 - _globals['_DECLINEINVITATIONREQUEST']._serialized_end=4530 - _globals['_DECLINEINVITATIONRESPONSE']._serialized_start=4532 - _globals['_DECLINEINVITATIONRESPONSE']._serialized_end=4559 - _globals['_REVOKEINVITATIONREQUEST']._serialized_start=4561 - _globals['_REVOKEINVITATIONREQUEST']._serialized_end=4623 - _globals['_REVOKEINVITATIONRESPONSE']._serialized_start=4625 - _globals['_REVOKEINVITATIONRESPONSE']._serialized_end=4651 - _globals['_ORGANIZATIONSERVICE']._serialized_start=4830 - _globals['_ORGANIZATIONSERVICE']._serialized_end=7036 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/user_svc/v1/organization_svc_pb2_grpc.py b/gen/python/proto/services/user_svc/v1/organization_svc_pb2_grpc.py deleted file mode 100644 index deed4283c..000000000 --- a/gen/python/proto/services/user_svc/v1/organization_svc_pb2_grpc.py +++ /dev/null @@ -1,573 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.user_svc.v1 import organization_svc_pb2 as proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2 - - -class OrganizationServiceStub(object): - """ - OrganizationService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/CreateOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.FromString, - ) - self.CreateOrganizationForUser = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/CreateOrganizationForUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.FromString, - ) - self.GetOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.FromString, - ) - self.GetOrganizationsByUser = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsByUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.FromString, - ) - self.GetOrganizationsForUser = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsForUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.FromString, - ) - self.UpdateOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/UpdateOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.FromString, - ) - self.DeleteOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/DeleteOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.FromString, - ) - self.GetMembersByOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetMembersByOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.FromString, - ) - self.AddMember = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/AddMember', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.FromString, - ) - self.RemoveMember = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/RemoveMember', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.FromString, - ) - self.InviteMember = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/InviteMember', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.FromString, - ) - self.GetInvitationsByOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.FromString, - ) - self.GetInvitationsByUser = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.FromString, - ) - self.AcceptInvitation = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/AcceptInvitation', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.FromString, - ) - self.DeclineInvitation = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/DeclineInvitation', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.FromString, - ) - self.RevokeInvitation = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/RevokeInvitation', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.FromString, - ) - - -class OrganizationServiceServicer(object): - """ - OrganizationService - - - """ - - def CreateOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateOrganizationForUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetOrganizationsByUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetOrganizationsForUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetMembersByOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddMember(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RemoveMember(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InviteMember(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetInvitationsByOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetInvitationsByUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AcceptInvitation(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeclineInvitation(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RevokeInvitation(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_OrganizationServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateOrganization': grpc.unary_unary_rpc_method_handler( - servicer.CreateOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.SerializeToString, - ), - 'CreateOrganizationForUser': grpc.unary_unary_rpc_method_handler( - servicer.CreateOrganizationForUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.SerializeToString, - ), - 'GetOrganization': grpc.unary_unary_rpc_method_handler( - servicer.GetOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.SerializeToString, - ), - 'GetOrganizationsByUser': grpc.unary_unary_rpc_method_handler( - servicer.GetOrganizationsByUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.SerializeToString, - ), - 'GetOrganizationsForUser': grpc.unary_unary_rpc_method_handler( - servicer.GetOrganizationsForUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.SerializeToString, - ), - 'UpdateOrganization': grpc.unary_unary_rpc_method_handler( - servicer.UpdateOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.SerializeToString, - ), - 'DeleteOrganization': grpc.unary_unary_rpc_method_handler( - servicer.DeleteOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.SerializeToString, - ), - 'GetMembersByOrganization': grpc.unary_unary_rpc_method_handler( - servicer.GetMembersByOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.SerializeToString, - ), - 'AddMember': grpc.unary_unary_rpc_method_handler( - servicer.AddMember, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.SerializeToString, - ), - 'RemoveMember': grpc.unary_unary_rpc_method_handler( - servicer.RemoveMember, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.SerializeToString, - ), - 'InviteMember': grpc.unary_unary_rpc_method_handler( - servicer.InviteMember, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.SerializeToString, - ), - 'GetInvitationsByOrganization': grpc.unary_unary_rpc_method_handler( - servicer.GetInvitationsByOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.SerializeToString, - ), - 'GetInvitationsByUser': grpc.unary_unary_rpc_method_handler( - servicer.GetInvitationsByUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.SerializeToString, - ), - 'AcceptInvitation': grpc.unary_unary_rpc_method_handler( - servicer.AcceptInvitation, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.SerializeToString, - ), - 'DeclineInvitation': grpc.unary_unary_rpc_method_handler( - servicer.DeclineInvitation, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.SerializeToString, - ), - 'RevokeInvitation': grpc.unary_unary_rpc_method_handler( - servicer.RevokeInvitation, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.user_svc.v1.OrganizationService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class OrganizationService(object): - """ - OrganizationService - - - """ - - @staticmethod - def CreateOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/CreateOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CreateOrganizationForUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/CreateOrganizationForUser', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetOrganizationsByUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsByUser', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetOrganizationsForUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsForUser', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/UpdateOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/DeleteOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetMembersByOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetMembersByOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AddMember(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/AddMember', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RemoveMember(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/RemoveMember', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def InviteMember(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/InviteMember', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetInvitationsByOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetInvitationsByUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByUser', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AcceptInvitation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/AcceptInvitation', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeclineInvitation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/DeclineInvitation', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RevokeInvitation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/RevokeInvitation', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/proto/services/user_svc/v1/user_svc_pb2.py b/gen/python/proto/services/user_svc/v1/user_svc_pb2.py deleted file mode 100644 index 78b67d905..000000000 --- a/gen/python/proto/services/user_svc/v1/user_svc_pb2.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/user_svc/v1/user_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)proto/services/user_svc/v1/user_svc.proto\x12\x1aproto.services.user_svc.v1\"i\n\x11\x43reateUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"$\n\x12\x43reateUserResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"&\n\x14ReadSelfOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x11\n\x0fReadSelfRequest\"\xdd\x01\n\x10ReadSelfResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12V\n\rorganizations\x18\x05 \x03(\x0b\x32\x30.proto.services.user_svc.v1.ReadSelfOrganizationR\rorganizationsB\r\n\x0b_avatar_url\"*\n\x18ReadPublicProfileRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x8e\x01\n\x19ReadPublicProfileResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\"#\n\x11UpdateUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12UpdateUserResponse2\xd9\x03\n\x0bUserService\x12m\n\nCreateUser\x12-.proto.services.user_svc.v1.CreateUserRequest\x1a..proto.services.user_svc.v1.CreateUserResponse\"\x00\x12g\n\x08ReadSelf\x12+.proto.services.user_svc.v1.ReadSelfRequest\x1a,.proto.services.user_svc.v1.ReadSelfResponse\"\x00\x12\x82\x01\n\x11ReadPublicProfile\x12\x34.proto.services.user_svc.v1.ReadPublicProfileRequest\x1a\x35.proto.services.user_svc.v1.ReadPublicProfileResponse\"\x00\x12m\n\nUpdateUser\x12-.proto.services.user_svc.v1.UpdateUserRequest\x1a..proto.services.user_svc.v1.UpdateUserResponse\"\x00\x42\xd2\x01\n\x1e\x63om.proto.services.user_svc.v1B\x0cUserSvcProtoP\x01Z\x1bgen/proto/services/user-svc\xa2\x02\x03PSU\xaa\x02\x19Proto.Services.UserSvc.V1\xca\x02\x19Proto\\Services\\UserSvc\\V1\xe2\x02%Proto\\Services\\UserSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::UserSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.user_svc.v1.user_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.user_svc.v1B\014UserSvcProtoP\001Z\033gen/proto/services/user-svc\242\002\003PSU\252\002\031Proto.Services.UserSvc.V1\312\002\031Proto\\Services\\UserSvc\\V1\342\002%Proto\\Services\\UserSvc\\V1\\GPBMetadata\352\002\034Proto::Services::UserSvc::V1' - _globals['_CREATEUSERREQUEST']._serialized_start=73 - _globals['_CREATEUSERREQUEST']._serialized_end=178 - _globals['_CREATEUSERRESPONSE']._serialized_start=180 - _globals['_CREATEUSERRESPONSE']._serialized_end=216 - _globals['_READSELFORGANIZATION']._serialized_start=218 - _globals['_READSELFORGANIZATION']._serialized_end=256 - _globals['_READSELFREQUEST']._serialized_start=258 - _globals['_READSELFREQUEST']._serialized_end=275 - _globals['_READSELFRESPONSE']._serialized_start=278 - _globals['_READSELFRESPONSE']._serialized_end=499 - _globals['_READPUBLICPROFILEREQUEST']._serialized_start=501 - _globals['_READPUBLICPROFILEREQUEST']._serialized_end=543 - _globals['_READPUBLICPROFILERESPONSE']._serialized_start=546 - _globals['_READPUBLICPROFILERESPONSE']._serialized_end=688 - _globals['_UPDATEUSERREQUEST']._serialized_start=690 - _globals['_UPDATEUSERREQUEST']._serialized_end=725 - _globals['_UPDATEUSERRESPONSE']._serialized_start=727 - _globals['_UPDATEUSERRESPONSE']._serialized_end=747 - _globals['_USERSERVICE']._serialized_start=750 - _globals['_USERSERVICE']._serialized_end=1223 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/user_svc/v1/user_svc_pb2_grpc.py b/gen/python/proto/services/user_svc/v1/user_svc_pb2_grpc.py deleted file mode 100644 index b5251c715..000000000 --- a/gen/python/proto/services/user_svc/v1/user_svc_pb2_grpc.py +++ /dev/null @@ -1,177 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.user_svc.v1 import user_svc_pb2 as proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2 - - -class UserServiceStub(object): - """ - UserService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateUser = channel.unary_unary( - '/proto.services.user_svc.v1.UserService/CreateUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.FromString, - ) - self.ReadSelf = channel.unary_unary( - '/proto.services.user_svc.v1.UserService/ReadSelf', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.FromString, - ) - self.ReadPublicProfile = channel.unary_unary( - '/proto.services.user_svc.v1.UserService/ReadPublicProfile', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.FromString, - ) - self.UpdateUser = channel.unary_unary( - '/proto.services.user_svc.v1.UserService/UpdateUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.FromString, - ) - - -class UserServiceServicer(object): - """ - UserService - - - """ - - def CreateUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ReadSelf(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ReadPublicProfile(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_UserServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateUser': grpc.unary_unary_rpc_method_handler( - servicer.CreateUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.SerializeToString, - ), - 'ReadSelf': grpc.unary_unary_rpc_method_handler( - servicer.ReadSelf, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.SerializeToString, - ), - 'ReadPublicProfile': grpc.unary_unary_rpc_method_handler( - servicer.ReadPublicProfile, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.SerializeToString, - ), - 'UpdateUser': grpc.unary_unary_rpc_method_handler( - servicer.UpdateUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.user_svc.v1.UserService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class UserService(object): - """ - UserService - - - """ - - @staticmethod - def CreateUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.UserService/CreateUser', - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ReadSelf(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.UserService/ReadSelf', - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ReadPublicProfile(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.UserService/ReadPublicProfile', - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.UserService/UpdateUser', - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/python/services/auth_svc/v1/auth_svc_pb2.py b/gen/python/services/auth_svc/v1/auth_svc_pb2.py new file mode 100644 index 000000000..23a62b073 --- /dev/null +++ b/gen/python/services/auth_svc/v1/auth_svc_pb2.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/auth_svc/v1/auth_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#services/auth_svc/v1/auth_svc.proto\x12\x14services.auth_svc.v1\"\x1a\n\x18PrelimAuthRequestRequest\"-\n\x19PrelimAuthRequestResponse\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url2\x85\x01\n\x0b\x41uthService\x12v\n\x11PrelimAuthRequest\x12..services.auth_svc.v1.PrelimAuthRequestRequest\x1a/.services.auth_svc.v1.PrelimAuthRequestResponse\"\x00\x42\xb3\x01\n\x18\x63om.services.auth_svc.v1B\x0c\x41uthSvcProtoP\x01Z\x1bgen/proto/services/auth-svc\xa2\x02\x03SAX\xaa\x02\x13Services.AuthSvc.V1\xca\x02\x13Services\\AuthSvc\\V1\xe2\x02\x1fServices\\AuthSvc\\V1\\GPBMetadata\xea\x02\x15Services::AuthSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.auth_svc.v1.auth_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.auth_svc.v1B\014AuthSvcProtoP\001Z\033gen/proto/services/auth-svc\242\002\003SAX\252\002\023Services.AuthSvc.V1\312\002\023Services\\AuthSvc\\V1\342\002\037Services\\AuthSvc\\V1\\GPBMetadata\352\002\025Services::AuthSvc::V1' + _globals['_PRELIMAUTHREQUESTREQUEST']._serialized_start=61 + _globals['_PRELIMAUTHREQUESTREQUEST']._serialized_end=87 + _globals['_PRELIMAUTHREQUESTRESPONSE']._serialized_start=89 + _globals['_PRELIMAUTHREQUESTRESPONSE']._serialized_end=134 + _globals['_AUTHSERVICE']._serialized_start=137 + _globals['_AUTHSERVICE']._serialized_end=270 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/auth_svc/v1/auth_svc_pb2_grpc.py b/gen/python/services/auth_svc/v1/auth_svc_pb2_grpc.py similarity index 50% rename from gen/python/proto/services/auth_svc/v1/auth_svc_pb2_grpc.py rename to gen/python/services/auth_svc/v1/auth_svc_pb2_grpc.py index 79c8a55e3..f009f4f79 100644 --- a/gen/python/proto/services/auth_svc/v1/auth_svc_pb2_grpc.py +++ b/gen/python/services/auth_svc/v1/auth_svc_pb2_grpc.py @@ -2,7 +2,7 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from proto.services.auth_svc.v1 import auth_svc_pb2 as proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2 +from services.auth_svc.v1 import auth_svc_pb2 as services_dot_auth__svc_dot_v1_dot_auth__svc__pb2 class AuthServiceStub(object): @@ -19,10 +19,10 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.PrelimAuthRequest = channel.unary_unary( - '/proto.services.auth_svc.v1.AuthService/PrelimAuthRequest', - request_serializer=proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.FromString, - ) + '/services.auth_svc.v1.AuthService/PrelimAuthRequest', + request_serializer=services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.SerializeToString, + response_deserializer=services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.FromString, + _registered_method=True) class AuthServiceServicer(object): @@ -43,13 +43,14 @@ def add_AuthServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'PrelimAuthRequest': grpc.unary_unary_rpc_method_handler( servicer.PrelimAuthRequest, - request_deserializer=proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.FromString, - response_serializer=proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.SerializeToString, + request_deserializer=services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.FromString, + response_serializer=services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.auth_svc.v1.AuthService', rpc_method_handlers) + 'services.auth_svc.v1.AuthService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.auth_svc.v1.AuthService', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -71,8 +72,18 @@ def PrelimAuthRequest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.auth_svc.v1.AuthService/PrelimAuthRequest', - proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.SerializeToString, - proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + return grpc.experimental.unary_unary( + request, + target, + '/services.auth_svc.v1.AuthService/PrelimAuthRequest', + services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.SerializeToString, + services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/impulse_svc/v1/impulse_svc_pb2.py b/gen/python/services/impulse_svc/v1/impulse_svc_pb2.py new file mode 100644 index 000000000..11c1a8317 --- /dev/null +++ b/gen/python/services/impulse_svc/v1/impulse_svc_pb2.py @@ -0,0 +1,95 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/impulse_svc/v1/impulse_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)services/impulse_svc/v1/impulse_svc.proto\x12\x17services.impulse_svc.v1\"\xc6\x01\n\x11\x43reateUserRequest\x12\x1a\n\x08username\x18\x01 \x01(\tR\x08username\x12\x37\n\x06gender\x18\x02 \x01(\x0e\x32\x1f.services.impulse_svc.v1.GenderR\x06gender\x12\x1a\n\x08\x62irthday\x18\x03 \x01(\tR\x08\x62irthday\x12\x10\n\x03pal\x18\x04 \x01(\x02R\x03pal\x12\x16\n\x06length\x18\x05 \x01(\x05R\x06length\x12\x16\n\x06weight\x18\x06 \x01(\x02R\x06weight\"-\n\x12\x43reateUserResponse\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xbc\x02\n\x11UpdateUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x1c\n\x07team_id\x18\x02 \x01(\tH\x00R\x06teamId\x88\x01\x01\x12<\n\x06gender\x18\x03 \x01(\x0e\x32\x1f.services.impulse_svc.v1.GenderH\x01R\x06gender\x88\x01\x01\x12\x1f\n\x08\x62irthday\x18\x04 \x01(\tH\x02R\x08\x62irthday\x88\x01\x01\x12\x15\n\x03pal\x18\x05 \x01(\x02H\x03R\x03pal\x88\x01\x01\x12\x1b\n\x06length\x18\x06 \x01(\x05H\x04R\x06length\x88\x01\x01\x12\x1b\n\x06weight\x18\x07 \x01(\x02H\x05R\x06weight\x88\x01\x01\x42\n\n\x08_team_idB\t\n\x07_genderB\x0b\n\t_birthdayB\x06\n\x04_palB\t\n\x07_lengthB\t\n\x07_weight\"\xee\x01\n\x12UpdateUserResponse\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x1c\n\x07team_id\x18\x02 \x01(\tH\x00R\x06teamId\x88\x01\x01\x12\x37\n\x06gender\x18\x03 \x01(\x0e\x32\x1f.services.impulse_svc.v1.GenderR\x06gender\x12\x1a\n\x08\x62irthday\x18\x04 \x01(\tR\x08\x62irthday\x12\x10\n\x03pal\x18\x05 \x01(\x02R\x03pal\x12\x16\n\x06length\x18\x06 \x01(\x05R\x06length\x12\x16\n\x06weight\x18\x07 \x01(\x02R\x06weightB\n\n\x08_team_id\"\x14\n\x12GetAllTeamsRequest\"\xb5\x01\n\x13GetAllTeamsResponse\x12G\n\x05teams\x18\x01 \x03(\x0b\x32\x31.services.impulse_svc.v1.GetAllTeamsResponse.TeamR\x05teams\x1aU\n\x04Team\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"\x82\x01\n\x15TrackChallengeRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x14\n\x05score\x18\x03 \x01(\x04R\x05score\x12\x17\n\x07\x64one_at\x18\x04 \x01(\tR\x06\x64oneAt\";\n\x16TrackChallengeResponse\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\"\x1c\n\x1aGetActiveChallengesRequest\"\xe6\x03\n\x1bGetActiveChallengesResponse\x12^\n\nchallenges\x18\x01 \x03(\x0b\x32>.services.impulse_svc.v1.GetActiveChallengesResponse.ChallengeR\nchallenges\x1a\xe6\x02\n\tChallenge\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x19\n\x08start_at\x18\x04 \x01(\tR\x07startAt\x12\x15\n\x06\x65nd_at\x18\x05 \x01(\tR\x05\x65ndAt\x12\x46\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32*.services.impulse_svc.v1.ChallengeCategoryR\x08\x63\x61tegory\x12:\n\x04type\x18\x07 \x01(\x0e\x32&.services.impulse_svc.v1.ChallengeTypeR\x04type\x12\x1c\n\tthreshold\x18\x08 \x01(\x04R\tthreshold\x12\x16\n\x06points\x18\t \x01(\x04R\x06points\x12\x12\n\x04unit\x18\n \x01(\tR\x04unit\"\xc0\x03\n\x16UpdateChallengeRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x19\n\x05title\x18\x02 \x01(\tH\x00R\x05title\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1e\n\x08start_at\x18\x04 \x01(\tH\x02R\x07startAt\x88\x01\x01\x12\x1a\n\x06\x65nd_at\x18\x05 \x01(\tH\x03R\x05\x65ndAt\x88\x01\x01\x12K\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32*.services.impulse_svc.v1.ChallengeCategoryH\x04R\x08\x63\x61tegory\x88\x01\x01\x12!\n\tthreshold\x18\x07 \x01(\x04H\x05R\tthreshold\x88\x01\x01\x12\x1b\n\x06points\x18\x08 \x01(\x04H\x06R\x06points\x88\x01\x01\x12\x17\n\x04unit\x18\t \x01(\tH\x07R\x04unit\x88\x01\x01\x42\x08\n\x06_titleB\x0e\n\x0c_descriptionB\x0b\n\t_start_atB\t\n\x07_end_atB\x0b\n\t_categoryB\x0c\n\n_thresholdB\t\n\x07_pointsB\x07\n\x05_unit\"\xf4\x02\n\x17UpdateChallengeResponse\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x19\n\x08start_at\x18\x04 \x01(\tR\x07startAt\x12\x15\n\x06\x65nd_at\x18\x05 \x01(\tR\x05\x65ndAt\x12\x46\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32*.services.impulse_svc.v1.ChallengeCategoryR\x08\x63\x61tegory\x12:\n\x04type\x18\x07 \x01(\x0e\x32&.services.impulse_svc.v1.ChallengeTypeR\x04type\x12\x1c\n\tthreshold\x18\x08 \x01(\x04R\tthreshold\x12\x16\n\x06points\x18\t \x01(\x04R\x06points\x12\x12\n\x04unit\x18\n \x01(\tR\x04unit\"*\n\x0fGetScoreRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"(\n\x10GetScoreResponse\x12\x14\n\x05score\x18\x01 \x01(\x04R\x05score\",\n\x11GetRewardsRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xd9\x01\n\x12GetRewardsResponse\x12L\n\x07rewards\x18\x01 \x03(\x0b\x32\x32.services.impulse_svc.v1.GetRewardsResponse.RewardR\x07rewards\x1au\n\x06Reward\x12\x1b\n\treward_id\x18\x01 \x01(\tR\x08rewardId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06points\x18\x05 \x01(\x04R\x06points\"\x16\n\x14GetAllRewardsRequest\"\xdf\x01\n\x15GetAllRewardsResponse\x12O\n\x07rewards\x18\x01 \x03(\x0b\x32\x35.services.impulse_svc.v1.GetAllRewardsResponse.RewardR\x07rewards\x1au\n\x06Reward\x12\x1b\n\treward_id\x18\x01 \x01(\tR\x08rewardId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06points\x18\x05 \x01(\x04R\x06points\"4\n\x19StatsForTeamByUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xcd\x02\n\x1aStatsForTeamByUserResponse\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\x12\x14\n\x05score\x18\x02 \x01(\x04R\x05score\x12\x62\n\x0cgender_count\x18\x03 \x03(\x0b\x32?.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCountR\x0bgenderCount\x12\x1f\n\x0b\x61verage_age\x18\x04 \x01(\x02R\naverageAge\x12\x1d\n\nuser_count\x18\x05 \x01(\x04R\tuserCount\x1a\\\n\x0bGenderCount\x12\x37\n\x06gender\x18\x01 \x01(\x0e\x32\x1f.services.impulse_svc.v1.GenderR\x06gender\x12\x14\n\x05\x63ount\x18\x02 \x01(\rR\x05\x63ount\"8\n\x13VerificationRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\"\x95\x04\n\x14VerificationResponse\x12s\n\x14string_verifications\x18\x01 \x03(\x0b\x32@.services.impulse_svc.v1.VerificationResponse.StringVerificationR\x13stringVerifications\x12v\n\x15integer_verifications\x18\x02 \x03(\x0b\x32\x41.services.impulse_svc.v1.VerificationResponse.IntegerVerificationR\x14integerVerifications\x1a\x85\x01\n\x12StringVerification\x12\x14\n\x05order\x18\x01 \x01(\rR\x05order\x12\x43\n\x04type\x18\x02 \x01(\x0e\x32/.services.impulse_svc.v1.StringVerificationTypeR\x04type\x12\x14\n\x05value\x18\x03 \x01(\tR\x05value\x1a\x87\x01\n\x13IntegerVerification\x12\x14\n\x05order\x18\x01 \x01(\rR\x05order\x12\x44\n\x04type\x18\x02 \x01(\x0e\x32\x30.services.impulse_svc.v1.IntegerVerificationTypeR\x04type\x12\x14\n\x05value\x18\x03 \x01(\x04R\x05value*c\n\rChallengeType\x12\x1e\n\x1a\x43HALLENGE_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x43HALLENGE_TYPE_DAILY\x10\x01\x12\x18\n\x14\x43HALLENGE_TYPE_QUEST\x10\x02*t\n\x11\x43hallengeCategory\x12\"\n\x1e\x43HALLENGE_CATEGORY_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43HALLENGE_CATEGORY_FOOD\x10\x01\x12\x1e\n\x1a\x43HALLENGE_CATEGORY_FITNESS\x10\x02*X\n\x06Gender\x12\x16\n\x12GENDER_UNSPECIFIED\x10\x00\x12\x0f\n\x0bGENDER_MALE\x10\x01\x12\x11\n\rGENDER_FEMALE\x10\x02\x12\x12\n\x0eGENDER_DIVERSE\x10\x03*c\n\x16StringVerificationType\x12(\n$STRING_VERIFICATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bSTRING_VERIFICATION_TYPE_QR\x10\x01*\x8f\x01\n\x17IntegerVerificationType\x12)\n%INTEGER_VERIFICATION_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1fINTEGER_VERIFICATION_TYPE_TIMER\x10\x01\x12$\n INTEGER_VERIFICATION_TYPE_NUMBER\x10\x02\x32\xf6\x08\n\x0eImpulseService\x12g\n\nCreateUser\x12*.services.impulse_svc.v1.CreateUserRequest\x1a+.services.impulse_svc.v1.CreateUserResponse\"\x00\x12g\n\nUpdateUser\x12*.services.impulse_svc.v1.UpdateUserRequest\x1a+.services.impulse_svc.v1.UpdateUserResponse\"\x00\x12s\n\x0eTrackChallenge\x12..services.impulse_svc.v1.TrackChallengeRequest\x1a/.services.impulse_svc.v1.TrackChallengeResponse\"\x00\x12\x82\x01\n\x13GetActiveChallenges\x12\x33.services.impulse_svc.v1.GetActiveChallengesRequest\x1a\x34.services.impulse_svc.v1.GetActiveChallengesResponse\"\x00\x12\x61\n\x08GetScore\x12(.services.impulse_svc.v1.GetScoreRequest\x1a).services.impulse_svc.v1.GetScoreResponse\"\x00\x12g\n\nGetRewards\x12*.services.impulse_svc.v1.GetRewardsRequest\x1a+.services.impulse_svc.v1.GetRewardsResponse\"\x00\x12p\n\rGetAllRewards\x12-.services.impulse_svc.v1.GetAllRewardsRequest\x1a..services.impulse_svc.v1.GetAllRewardsResponse\"\x00\x12j\n\x0bGetAllTeams\x12+.services.impulse_svc.v1.GetAllTeamsRequest\x1a,.services.impulse_svc.v1.GetAllTeamsResponse\"\x00\x12\x7f\n\x12StatsForTeamByUser\x12\x32.services.impulse_svc.v1.StatsForTeamByUserRequest\x1a\x33.services.impulse_svc.v1.StatsForTeamByUserResponse\"\x00\x12m\n\x0cVerification\x12,.services.impulse_svc.v1.VerificationRequest\x1a-.services.impulse_svc.v1.VerificationResponse\"\x00\x42\xc8\x01\n\x1b\x63om.services.impulse_svc.v1B\x0fImpulseSvcProtoP\x01Z\x1egen/proto/services/impulse-svc\xa2\x02\x03SIX\xaa\x02\x16Services.ImpulseSvc.V1\xca\x02\x16Services\\ImpulseSvc\\V1\xe2\x02\"Services\\ImpulseSvc\\V1\\GPBMetadata\xea\x02\x18Services::ImpulseSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.impulse_svc.v1.impulse_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.services.impulse_svc.v1B\017ImpulseSvcProtoP\001Z\036gen/proto/services/impulse-svc\242\002\003SIX\252\002\026Services.ImpulseSvc.V1\312\002\026Services\\ImpulseSvc\\V1\342\002\"Services\\ImpulseSvc\\V1\\GPBMetadata\352\002\030Services::ImpulseSvc::V1' + _globals['_CHALLENGETYPE']._serialized_start=4209 + _globals['_CHALLENGETYPE']._serialized_end=4308 + _globals['_CHALLENGECATEGORY']._serialized_start=4310 + _globals['_CHALLENGECATEGORY']._serialized_end=4426 + _globals['_GENDER']._serialized_start=4428 + _globals['_GENDER']._serialized_end=4516 + _globals['_STRINGVERIFICATIONTYPE']._serialized_start=4518 + _globals['_STRINGVERIFICATIONTYPE']._serialized_end=4617 + _globals['_INTEGERVERIFICATIONTYPE']._serialized_start=4620 + _globals['_INTEGERVERIFICATIONTYPE']._serialized_end=4763 + _globals['_CREATEUSERREQUEST']._serialized_start=71 + _globals['_CREATEUSERREQUEST']._serialized_end=269 + _globals['_CREATEUSERRESPONSE']._serialized_start=271 + _globals['_CREATEUSERRESPONSE']._serialized_end=316 + _globals['_UPDATEUSERREQUEST']._serialized_start=319 + _globals['_UPDATEUSERREQUEST']._serialized_end=635 + _globals['_UPDATEUSERRESPONSE']._serialized_start=638 + _globals['_UPDATEUSERRESPONSE']._serialized_end=876 + _globals['_GETALLTEAMSREQUEST']._serialized_start=878 + _globals['_GETALLTEAMSREQUEST']._serialized_end=898 + _globals['_GETALLTEAMSRESPONSE']._serialized_start=901 + _globals['_GETALLTEAMSRESPONSE']._serialized_end=1082 + _globals['_GETALLTEAMSRESPONSE_TEAM']._serialized_start=997 + _globals['_GETALLTEAMSRESPONSE_TEAM']._serialized_end=1082 + _globals['_TRACKCHALLENGEREQUEST']._serialized_start=1085 + _globals['_TRACKCHALLENGEREQUEST']._serialized_end=1215 + _globals['_TRACKCHALLENGERESPONSE']._serialized_start=1217 + _globals['_TRACKCHALLENGERESPONSE']._serialized_end=1276 + _globals['_GETACTIVECHALLENGESREQUEST']._serialized_start=1278 + _globals['_GETACTIVECHALLENGESREQUEST']._serialized_end=1306 + _globals['_GETACTIVECHALLENGESRESPONSE']._serialized_start=1309 + _globals['_GETACTIVECHALLENGESRESPONSE']._serialized_end=1795 + _globals['_GETACTIVECHALLENGESRESPONSE_CHALLENGE']._serialized_start=1437 + _globals['_GETACTIVECHALLENGESRESPONSE_CHALLENGE']._serialized_end=1795 + _globals['_UPDATECHALLENGEREQUEST']._serialized_start=1798 + _globals['_UPDATECHALLENGEREQUEST']._serialized_end=2246 + _globals['_UPDATECHALLENGERESPONSE']._serialized_start=2249 + _globals['_UPDATECHALLENGERESPONSE']._serialized_end=2621 + _globals['_GETSCOREREQUEST']._serialized_start=2623 + _globals['_GETSCOREREQUEST']._serialized_end=2665 + _globals['_GETSCORERESPONSE']._serialized_start=2667 + _globals['_GETSCORERESPONSE']._serialized_end=2707 + _globals['_GETREWARDSREQUEST']._serialized_start=2709 + _globals['_GETREWARDSREQUEST']._serialized_end=2753 + _globals['_GETREWARDSRESPONSE']._serialized_start=2756 + _globals['_GETREWARDSRESPONSE']._serialized_end=2973 + _globals['_GETREWARDSRESPONSE_REWARD']._serialized_start=2856 + _globals['_GETREWARDSRESPONSE_REWARD']._serialized_end=2973 + _globals['_GETALLREWARDSREQUEST']._serialized_start=2975 + _globals['_GETALLREWARDSREQUEST']._serialized_end=2997 + _globals['_GETALLREWARDSRESPONSE']._serialized_start=3000 + _globals['_GETALLREWARDSRESPONSE']._serialized_end=3223 + _globals['_GETALLREWARDSRESPONSE_REWARD']._serialized_start=2856 + _globals['_GETALLREWARDSRESPONSE_REWARD']._serialized_end=2973 + _globals['_STATSFORTEAMBYUSERREQUEST']._serialized_start=3225 + _globals['_STATSFORTEAMBYUSERREQUEST']._serialized_end=3277 + _globals['_STATSFORTEAMBYUSERRESPONSE']._serialized_start=3280 + _globals['_STATSFORTEAMBYUSERRESPONSE']._serialized_end=3613 + _globals['_STATSFORTEAMBYUSERRESPONSE_GENDERCOUNT']._serialized_start=3521 + _globals['_STATSFORTEAMBYUSERRESPONSE_GENDERCOUNT']._serialized_end=3613 + _globals['_VERIFICATIONREQUEST']._serialized_start=3615 + _globals['_VERIFICATIONREQUEST']._serialized_end=3671 + _globals['_VERIFICATIONRESPONSE']._serialized_start=3674 + _globals['_VERIFICATIONRESPONSE']._serialized_end=4207 + _globals['_VERIFICATIONRESPONSE_STRINGVERIFICATION']._serialized_start=3936 + _globals['_VERIFICATIONRESPONSE_STRINGVERIFICATION']._serialized_end=4069 + _globals['_VERIFICATIONRESPONSE_INTEGERVERIFICATION']._serialized_start=4072 + _globals['_VERIFICATIONRESPONSE_INTEGERVERIFICATION']._serialized_end=4207 + _globals['_IMPULSESERVICE']._serialized_start=4766 + _globals['_IMPULSESERVICE']._serialized_end=5908 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/impulse_svc/v1/impulse_svc_pb2_grpc.py b/gen/python/services/impulse_svc/v1/impulse_svc_pb2_grpc.py new file mode 100644 index 000000000..7c6278bb3 --- /dev/null +++ b/gen/python/services/impulse_svc/v1/impulse_svc_pb2_grpc.py @@ -0,0 +1,476 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.impulse_svc.v1 import impulse_svc_pb2 as services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2 + + +class ImpulseServiceStub(object): + """ + ImpulseService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateUser = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/CreateUser', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.FromString, + _registered_method=True) + self.UpdateUser = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/UpdateUser', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.FromString, + _registered_method=True) + self.TrackChallenge = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/TrackChallenge', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.FromString, + _registered_method=True) + self.GetActiveChallenges = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/GetActiveChallenges', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.FromString, + _registered_method=True) + self.GetScore = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/GetScore', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.FromString, + _registered_method=True) + self.GetRewards = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/GetRewards', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.FromString, + _registered_method=True) + self.GetAllRewards = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/GetAllRewards', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.FromString, + _registered_method=True) + self.GetAllTeams = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/GetAllTeams', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.FromString, + _registered_method=True) + self.StatsForTeamByUser = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.FromString, + _registered_method=True) + self.Verification = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/Verification', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.FromString, + _registered_method=True) + + +class ImpulseServiceServicer(object): + """ + ImpulseService + + + """ + + def CreateUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TrackChallenge(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetActiveChallenges(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetScore(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRewards(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAllRewards(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAllTeams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def StatsForTeamByUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Verification(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ImpulseServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateUser': grpc.unary_unary_rpc_method_handler( + servicer.CreateUser, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.SerializeToString, + ), + 'UpdateUser': grpc.unary_unary_rpc_method_handler( + servicer.UpdateUser, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.SerializeToString, + ), + 'TrackChallenge': grpc.unary_unary_rpc_method_handler( + servicer.TrackChallenge, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.SerializeToString, + ), + 'GetActiveChallenges': grpc.unary_unary_rpc_method_handler( + servicer.GetActiveChallenges, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.SerializeToString, + ), + 'GetScore': grpc.unary_unary_rpc_method_handler( + servicer.GetScore, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.SerializeToString, + ), + 'GetRewards': grpc.unary_unary_rpc_method_handler( + servicer.GetRewards, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.SerializeToString, + ), + 'GetAllRewards': grpc.unary_unary_rpc_method_handler( + servicer.GetAllRewards, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.SerializeToString, + ), + 'GetAllTeams': grpc.unary_unary_rpc_method_handler( + servicer.GetAllTeams, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.SerializeToString, + ), + 'StatsForTeamByUser': grpc.unary_unary_rpc_method_handler( + servicer.StatsForTeamByUser, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.SerializeToString, + ), + 'Verification': grpc.unary_unary_rpc_method_handler( + servicer.Verification, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.impulse_svc.v1.ImpulseService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.impulse_svc.v1.ImpulseService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class ImpulseService(object): + """ + ImpulseService + + + """ + + @staticmethod + def CreateUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/CreateUser', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/UpdateUser', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TrackChallenge(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/TrackChallenge', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetActiveChallenges(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/GetActiveChallenges', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetScore(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/GetScore', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRewards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/GetRewards', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAllRewards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/GetAllRewards', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAllTeams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/GetAllTeams', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def StatsForTeamByUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Verification(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/Verification', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/ory_svc/v1/ory_svc_pb2.py b/gen/python/services/ory_svc/v1/ory_svc_pb2.py new file mode 100644 index 000000000..a8c015b3f --- /dev/null +++ b/gen/python/services/ory_svc/v1/ory_svc_pb2.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/ory_svc/v1/ory_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!services/ory_svc/v1/ory_svc.proto\x12\x13services.ory_svc.v1\"\x87\x01\n&AfterRegistrationWebhookPayloadRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"|\n\x1b\x41\x66terSettingsWebhookPayload\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04nameB\xac\x01\n\x17\x63om.services.ory_svc.v1B\x0bOrySvcProtoP\x01Z\x1agen/proto/services/ory-svc\xa2\x02\x03SOX\xaa\x02\x12Services.OrySvc.V1\xca\x02\x12Services\\OrySvc\\V1\xe2\x02\x1eServices\\OrySvc\\V1\\GPBMetadata\xea\x02\x14Services::OrySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.ory_svc.v1.ory_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.services.ory_svc.v1B\013OrySvcProtoP\001Z\032gen/proto/services/ory-svc\242\002\003SOX\252\002\022Services.OrySvc.V1\312\002\022Services\\OrySvc\\V1\342\002\036Services\\OrySvc\\V1\\GPBMetadata\352\002\024Services::OrySvc::V1' + _globals['_AFTERREGISTRATIONWEBHOOKPAYLOADREQUEST']._serialized_start=59 + _globals['_AFTERREGISTRATIONWEBHOOKPAYLOADREQUEST']._serialized_end=194 + _globals['_AFTERSETTINGSWEBHOOKPAYLOAD']._serialized_start=196 + _globals['_AFTERSETTINGSWEBHOOKPAYLOAD']._serialized_end=320 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/ory_svc/v1/ory_svc_pb2_grpc.py b/gen/python/services/ory_svc/v1/ory_svc_pb2_grpc.py similarity index 100% rename from gen/python/proto/services/ory_svc/v1/ory_svc_pb2_grpc.py rename to gen/python/services/ory_svc/v1/ory_svc_pb2_grpc.py diff --git a/gen/python/services/property_svc/v1/property_set_svc_pb2.py b/gen/python/services/property_svc/v1/property_set_svc_pb2.py new file mode 100644 index 000000000..0445d0cdc --- /dev/null +++ b/gen/python/services/property_svc/v1/property_set_svc_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/property_svc/v1/property_set_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/services/property_svc/v1/property_set_svc.proto\x12\x18services.property_svc.v1\".\n\x18\x43reatePropertySetRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"+\n\x19\x43reatePropertySetResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\'\n\x15GetPropertySetRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"<\n\x16GetPropertySetResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name2\x8b\x02\n\x12PropertySetService\x12~\n\x11\x43reatePropertySet\x12\x32.services.property_svc.v1.CreatePropertySetRequest\x1a\x33.services.property_svc.v1.CreatePropertySetResponse\"\x00\x12u\n\x0eGetPropertySet\x12/.services.property_svc.v1.GetPropertySetRequest\x1a\x30.services.property_svc.v1.GetPropertySetResponse\"\x00\x42\xd2\x01\n\x1c\x63om.services.property_svc.v1B\x13PropertySetSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03SPX\xaa\x02\x17Services.PropertySvc.V1\xca\x02\x17Services\\PropertySvc\\V1\xe2\x02#Services\\PropertySvc\\V1\\GPBMetadata\xea\x02\x19Services::PropertySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.property_svc.v1.property_set_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.services.property_svc.v1B\023PropertySetSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003SPX\252\002\027Services.PropertySvc.V1\312\002\027Services\\PropertySvc\\V1\342\002#Services\\PropertySvc\\V1\\GPBMetadata\352\002\031Services::PropertySvc::V1' + _globals['_CREATEPROPERTYSETREQUEST']._serialized_start=77 + _globals['_CREATEPROPERTYSETREQUEST']._serialized_end=123 + _globals['_CREATEPROPERTYSETRESPONSE']._serialized_start=125 + _globals['_CREATEPROPERTYSETRESPONSE']._serialized_end=168 + _globals['_GETPROPERTYSETREQUEST']._serialized_start=170 + _globals['_GETPROPERTYSETREQUEST']._serialized_end=209 + _globals['_GETPROPERTYSETRESPONSE']._serialized_start=211 + _globals['_GETPROPERTYSETRESPONSE']._serialized_end=271 + _globals['_PROPERTYSETSERVICE']._serialized_start=274 + _globals['_PROPERTYSETSERVICE']._serialized_end=541 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/property_svc/v1/property_set_svc_pb2_grpc.py b/gen/python/services/property_svc/v1/property_set_svc_pb2_grpc.py new file mode 100644 index 000000000..00e795ea2 --- /dev/null +++ b/gen/python/services/property_svc/v1/property_set_svc_pb2_grpc.py @@ -0,0 +1,132 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.property_svc.v1 import property_set_svc_pb2 as services_dot_property__svc_dot_v1_dot_property__set__svc__pb2 + + +class PropertySetServiceStub(object): + """ + PropertySetService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreatePropertySet = channel.unary_unary( + '/services.property_svc.v1.PropertySetService/CreatePropertySet', + request_serializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.FromString, + _registered_method=True) + self.GetPropertySet = channel.unary_unary( + '/services.property_svc.v1.PropertySetService/GetPropertySet', + request_serializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.FromString, + _registered_method=True) + + +class PropertySetServiceServicer(object): + """ + PropertySetService + + + """ + + def CreatePropertySet(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPropertySet(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PropertySetServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreatePropertySet': grpc.unary_unary_rpc_method_handler( + servicer.CreatePropertySet, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.SerializeToString, + ), + 'GetPropertySet': grpc.unary_unary_rpc_method_handler( + servicer.GetPropertySet, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.property_svc.v1.PropertySetService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.property_svc.v1.PropertySetService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PropertySetService(object): + """ + PropertySetService + + + """ + + @staticmethod + def CreatePropertySet(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertySetService/CreatePropertySet', + services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPropertySet(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertySetService/GetPropertySet', + services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/property_svc/v1/property_svc_pb2.py b/gen/python/services/property_svc/v1/property_svc_pb2.py new file mode 100644 index 000000000..da938bfbd --- /dev/null +++ b/gen/python/services/property_svc/v1/property_svc_pb2.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/property_svc/v1/property_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from services.property_svc.v1 import types_pb2 as services_dot_property__svc_dot_v1_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+services/property_svc/v1/property_svc.proto\x12\x18services.property_svc.v1\x1a$services/property_svc/v1/types.proto\"\x95\x05\n\x15\x43reatePropertyRequest\x12H\n\x0csubject_type\x18\x02 \x01(\x0e\x32%.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12\x42\n\nfield_type\x18\x03 \x01(\x0e\x32#.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1a\n\x06set_id\x18\x06 \x01(\tH\x02R\x05setId\x88\x01\x01\x12]\n\x0bselect_data\x18\t \x01(\x0b\x32:.services.property_svc.v1.CreatePropertyRequest.SelectDataH\x00R\nselectData\x1a\x89\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12\x61\n\x07options\x18\x02 \x03(\x0b\x32G.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOptionR\x07options\x1aY\n\x0cSelectOption\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_id\"9\n\x16\x43reatePropertyResponse\x12\x1f\n\x0bproperty_id\x18\x01 \x01(\tR\npropertyId\"p\n\x12GetPropertyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x1aJ\n\nViewSource\x12\x18\n\x06global\x18\x01 \x01(\x08H\x00R\x06global\x12\x19\n\x07ward_id\x18\x02 \x01(\tH\x00R\x06wardIdB\x07\n\x05value\"\xda\x06\n\x13GetPropertyResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12H\n\x0csubject_type\x18\x02 \x01(\x0e\x32%.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12\x42\n\nfield_type\x18\x03 \x01(\x0e\x32#.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x06 \x01(\x08R\nisArchived\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x02R\x05setId\x88\x01\x01\x12[\n\x0bselect_data\x18\n \x01(\x0b\x32\x38.services.property_svc.v1.GetPropertyResponse.SelectDataH\x00R\nselectData\x12G\n\x1e\x61lways_include_for_view_source\x18\x0b \x01(\x08H\x03R\x1a\x61lwaysIncludeForViewSource\x88\x01\x01\x1a\xb5\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12_\n\x07options\x18\x02 \x03(\x0b\x32\x45.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOptionR\x07options\x1a\x86\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1b\n\tis_custom\x18\x04 \x01(\x08R\x08isCustomB\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_idB!\n\x1f_always_include_for_view_source\"\xbe\x06\n\x15UpdatePropertyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12M\n\x0csubject_type\x18\x02 \x01(\x0e\x32%.services.property_svc.v1.SubjectTypeH\x01R\x0bsubjectType\x88\x01\x01\x12\x17\n\x04name\x18\x04 \x01(\tH\x02R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x03R\x0b\x64\x65scription\x88\x01\x01\x12$\n\x0bis_archived\x18\x06 \x01(\x08H\x04R\nisArchived\x88\x01\x01\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x05R\x05setId\x88\x01\x01\x12]\n\x0bselect_data\x18\n \x01(\x0b\x32:.services.property_svc.v1.UpdatePropertyRequest.SelectDataH\x00R\nselectData\x1a\x8c\x03\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12%\n\x0eremove_options\x18\x02 \x03(\tR\rremoveOptions\x12n\n\x0eupsert_options\x18\x03 \x03(\x0b\x32G.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOptionR\rupsertOptions\x1a\xa7\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12 \n\tis_custom\x18\x04 \x01(\x08H\x02R\x08isCustom\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0c\n\n_is_customB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0f\n\r_subject_typeB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0e\n\x0c_is_archivedB\t\n\x07_set_id\"\x18\n\x16UpdatePropertyResponse\"m\n!GetPropertiesBySubjectTypeRequest\x12H\n\x0csubject_type\x18\x01 \x01(\x0e\x32%.services.property_svc.v1.SubjectTypeR\x0bsubjectType\"\xa1\x07\n\"GetPropertiesBySubjectTypeResponse\x12\x65\n\nproperties\x18\x01 \x03(\x0b\x32\x45.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.PropertyR\nproperties\x1a\x93\x06\n\x08Property\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12H\n\x0csubject_type\x18\x02 \x01(\x0e\x32%.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12\x42\n\nfield_type\x18\x03 \x01(\x0e\x32#.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x06 \x01(\x08R\nisArchived\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x02R\x05setId\x88\x01\x01\x12s\n\x0bselect_data\x18\n \x01(\x0b\x32P.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectDataH\x00R\nselectData\x1a\xcd\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12w\n\x07options\x18\x02 \x03(\x0b\x32].services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOptionR\x07options\x1a\x86\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1b\n\tis_custom\x18\x04 \x01(\x08R\x08isCustomB\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_id2\x89\x04\n\x0fPropertyService\x12u\n\x0e\x43reateProperty\x12/.services.property_svc.v1.CreatePropertyRequest\x1a\x30.services.property_svc.v1.CreatePropertyResponse\"\x00\x12l\n\x0bGetProperty\x12,.services.property_svc.v1.GetPropertyRequest\x1a-.services.property_svc.v1.GetPropertyResponse\"\x00\x12u\n\x0eUpdateProperty\x12/.services.property_svc.v1.UpdatePropertyRequest\x1a\x30.services.property_svc.v1.UpdatePropertyResponse\"\x00\x12\x99\x01\n\x1aGetPropertiesBySubjectType\x12;.services.property_svc.v1.GetPropertiesBySubjectTypeRequest\x1a<.services.property_svc.v1.GetPropertiesBySubjectTypeResponse\"\x00\x42\xcf\x01\n\x1c\x63om.services.property_svc.v1B\x10PropertySvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03SPX\xaa\x02\x17Services.PropertySvc.V1\xca\x02\x17Services\\PropertySvc\\V1\xe2\x02#Services\\PropertySvc\\V1\\GPBMetadata\xea\x02\x19Services::PropertySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.property_svc.v1.property_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.services.property_svc.v1B\020PropertySvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003SPX\252\002\027Services.PropertySvc.V1\312\002\027Services\\PropertySvc\\V1\342\002#Services\\PropertySvc\\V1\\GPBMetadata\352\002\031Services::PropertySvc::V1' + _globals['_CREATEPROPERTYREQUEST']._serialized_start=112 + _globals['_CREATEPROPERTYREQUEST']._serialized_end=773 + _globals['_CREATEPROPERTYREQUEST_SELECTDATA']._serialized_start=462 + _globals['_CREATEPROPERTYREQUEST_SELECTDATA']._serialized_end=727 + _globals['_CREATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_start=619 + _globals['_CREATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_end=708 + _globals['_CREATEPROPERTYRESPONSE']._serialized_start=775 + _globals['_CREATEPROPERTYRESPONSE']._serialized_end=832 + _globals['_GETPROPERTYREQUEST']._serialized_start=834 + _globals['_GETPROPERTYREQUEST']._serialized_end=946 + _globals['_GETPROPERTYREQUEST_VIEWSOURCE']._serialized_start=872 + _globals['_GETPROPERTYREQUEST_VIEWSOURCE']._serialized_end=946 + _globals['_GETPROPERTYRESPONSE']._serialized_start=949 + _globals['_GETPROPERTYRESPONSE']._serialized_end=1807 + _globals['_GETPROPERTYRESPONSE_SELECTDATA']._serialized_start=1417 + _globals['_GETPROPERTYRESPONSE_SELECTDATA']._serialized_end=1726 + _globals['_GETPROPERTYRESPONSE_SELECTDATA_SELECTOPTION']._serialized_start=1573 + _globals['_GETPROPERTYRESPONSE_SELECTDATA_SELECTOPTION']._serialized_end=1707 + _globals['_UPDATEPROPERTYREQUEST']._serialized_start=1810 + _globals['_UPDATEPROPERTYREQUEST']._serialized_end=2640 + _globals['_UPDATEPROPERTYREQUEST_SELECTDATA']._serialized_start=2156 + _globals['_UPDATEPROPERTYREQUEST_SELECTDATA']._serialized_end=2552 + _globals['_UPDATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_start=2366 + _globals['_UPDATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_end=2533 + _globals['_UPDATEPROPERTYRESPONSE']._serialized_start=2642 + _globals['_UPDATEPROPERTYRESPONSE']._serialized_end=2666 + _globals['_GETPROPERTIESBYSUBJECTTYPEREQUEST']._serialized_start=2668 + _globals['_GETPROPERTIESBYSUBJECTTYPEREQUEST']._serialized_end=2777 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE']._serialized_start=2780 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE']._serialized_end=3709 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY']._serialized_start=2922 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY']._serialized_end=3709 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA']._serialized_start=3330 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA']._serialized_end=3663 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA_SELECTOPTION']._serialized_start=1573 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA_SELECTOPTION']._serialized_end=1707 + _globals['_PROPERTYSERVICE']._serialized_start=3712 + _globals['_PROPERTYSERVICE']._serialized_end=4233 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/property_svc/v1/property_svc_pb2_grpc.py b/gen/python/services/property_svc/v1/property_svc_pb2_grpc.py new file mode 100644 index 000000000..6c86c96bb --- /dev/null +++ b/gen/python/services/property_svc/v1/property_svc_pb2_grpc.py @@ -0,0 +1,206 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.property_svc.v1 import property_svc_pb2 as services_dot_property__svc_dot_v1_dot_property__svc__pb2 + + +class PropertyServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateProperty = channel.unary_unary( + '/services.property_svc.v1.PropertyService/CreateProperty', + request_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.FromString, + _registered_method=True) + self.GetProperty = channel.unary_unary( + '/services.property_svc.v1.PropertyService/GetProperty', + request_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.FromString, + _registered_method=True) + self.UpdateProperty = channel.unary_unary( + '/services.property_svc.v1.PropertyService/UpdateProperty', + request_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.FromString, + _registered_method=True) + self.GetPropertiesBySubjectType = channel.unary_unary( + '/services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', + request_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.FromString, + _registered_method=True) + + +class PropertyServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def CreateProperty(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetProperty(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateProperty(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPropertiesBySubjectType(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PropertyServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateProperty': grpc.unary_unary_rpc_method_handler( + servicer.CreateProperty, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.SerializeToString, + ), + 'GetProperty': grpc.unary_unary_rpc_method_handler( + servicer.GetProperty, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.SerializeToString, + ), + 'UpdateProperty': grpc.unary_unary_rpc_method_handler( + servicer.UpdateProperty, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.SerializeToString, + ), + 'GetPropertiesBySubjectType': grpc.unary_unary_rpc_method_handler( + servicer.GetPropertiesBySubjectType, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.property_svc.v1.PropertyService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.property_svc.v1.PropertyService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PropertyService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def CreateProperty(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyService/CreateProperty', + services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetProperty(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyService/GetProperty', + services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateProperty(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyService/UpdateProperty', + services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPropertiesBySubjectType(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', + services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/property_svc/v1/property_value_svc_pb2.py b/gen/python/services/property_svc/v1/property_value_svc_pb2.py new file mode 100644 index 000000000..5420d93ea --- /dev/null +++ b/gen/python/services/property_svc/v1/property_value_svc_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/property_svc/v1/property_value_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from services.property_svc.v1 import types_pb2 as services_dot_property__svc_dot_v1_dot_types__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1services/property_svc/v1/property_value_svc.proto\x12\x18services.property_svc.v1\x1a$services/property_svc/v1/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf8\x02\n\x1a\x41ttachPropertyValueRequest\x12\x1d\n\nsubject_id\x18\x01 \x01(\tR\tsubjectId\x12\x1f\n\x0bproperty_id\x18\x02 \x01(\tR\npropertyId\x12\x1f\n\ntext_value\x18\x03 \x01(\tH\x00R\ttextValue\x12#\n\x0cnumber_value\x18\x04 \x01(\x01H\x00R\x0bnumberValue\x12\x1f\n\nbool_value\x18\x05 \x01(\x08H\x00R\tboolValue\x12?\n\ndate_value\x18\x06 \x01(\x0b\x32\x1e.services.property_svc.v1.DateH\x00R\tdateValue\x12\x44\n\x0f\x64\x61te_time_value\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\rdateTimeValue\x12#\n\x0cselect_value\x18\x08 \x01(\tH\x00R\x0bselectValueB\x07\n\x05value\"I\n\x1b\x41ttachPropertyValueResponse\x12*\n\x11property_value_id\x18\x01 \x01(\tR\x0fpropertyValueId\"i\n\x13TaskPropertyMatcher\x12\x1c\n\x07ward_id\x18\x01 \x01(\tH\x00R\x06wardId\x88\x01\x01\x12\x1c\n\x07task_id\x18\x02 \x01(\tH\x01R\x06taskId\x88\x01\x01\x42\n\n\x08_ward_idB\n\n\x08_task_id\"\x81\x01\n GetAttachedPropertyValuesRequest\x12R\n\x0ctask_matcher\x18\x01 \x01(\x0b\x32-.services.property_svc.v1.TaskPropertyMatcherH\x00R\x0btaskMatcherB\t\n\x07matcher\"\xf5\x04\n!GetAttachedPropertyValuesResponse\x12Y\n\x06values\x18\x01 \x03(\x0b\x32\x41.services.property_svc.v1.GetAttachedPropertyValuesResponse.ValueR\x06values\x1a\xf4\x03\n\x05Value\x12\x1f\n\x0bproperty_id\x18\x01 \x01(\tR\npropertyId\x12\x42\n\nfield_type\x18\x02 \x01(\x0e\x32#.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x05 \x01(\x08R\nisArchived\x12\x1f\n\ntext_value\x18\x06 \x01(\tH\x00R\ttextValue\x12#\n\x0cnumber_value\x18\x07 \x01(\x01H\x00R\x0bnumberValue\x12\x1f\n\nbool_value\x18\x08 \x01(\x08H\x00R\tboolValue\x12?\n\ndate_value\x18\t \x01(\x0b\x32\x1e.services.property_svc.v1.DateH\x00R\tdateValue\x12\x44\n\x0f\x64\x61te_time_value\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\rdateTimeValue\x12#\n\x0cselect_value\x18\x0b \x01(\tH\x00R\x0bselectValueB\x07\n\x05valueB\x0e\n\x0c_description2\xb6\x02\n\x14PropertyValueService\x12\x84\x01\n\x13\x41ttachPropertyValue\x12\x34.services.property_svc.v1.AttachPropertyValueRequest\x1a\x35.services.property_svc.v1.AttachPropertyValueResponse\"\x00\x12\x96\x01\n\x19GetAttachedPropertyValues\x12:.services.property_svc.v1.GetAttachedPropertyValuesRequest\x1a;.services.property_svc.v1.GetAttachedPropertyValuesResponse\"\x00\x42\xd4\x01\n\x1c\x63om.services.property_svc.v1B\x15PropertyValueSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03SPX\xaa\x02\x17Services.PropertySvc.V1\xca\x02\x17Services\\PropertySvc\\V1\xe2\x02#Services\\PropertySvc\\V1\\GPBMetadata\xea\x02\x19Services::PropertySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.property_svc.v1.property_value_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.services.property_svc.v1B\025PropertyValueSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003SPX\252\002\027Services.PropertySvc.V1\312\002\027Services\\PropertySvc\\V1\342\002#Services\\PropertySvc\\V1\\GPBMetadata\352\002\031Services::PropertySvc::V1' + _globals['_ATTACHPROPERTYVALUEREQUEST']._serialized_start=151 + _globals['_ATTACHPROPERTYVALUEREQUEST']._serialized_end=527 + _globals['_ATTACHPROPERTYVALUERESPONSE']._serialized_start=529 + _globals['_ATTACHPROPERTYVALUERESPONSE']._serialized_end=602 + _globals['_TASKPROPERTYMATCHER']._serialized_start=604 + _globals['_TASKPROPERTYMATCHER']._serialized_end=709 + _globals['_GETATTACHEDPROPERTYVALUESREQUEST']._serialized_start=712 + _globals['_GETATTACHEDPROPERTYVALUESREQUEST']._serialized_end=841 + _globals['_GETATTACHEDPROPERTYVALUESRESPONSE']._serialized_start=844 + _globals['_GETATTACHEDPROPERTYVALUESRESPONSE']._serialized_end=1473 + _globals['_GETATTACHEDPROPERTYVALUESRESPONSE_VALUE']._serialized_start=973 + _globals['_GETATTACHEDPROPERTYVALUESRESPONSE_VALUE']._serialized_end=1473 + _globals['_PROPERTYVALUESERVICE']._serialized_start=1476 + _globals['_PROPERTYVALUESERVICE']._serialized_end=1786 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/property_svc/v1/property_value_svc_pb2_grpc.py b/gen/python/services/property_svc/v1/property_value_svc_pb2_grpc.py new file mode 100644 index 000000000..e34fc94aa --- /dev/null +++ b/gen/python/services/property_svc/v1/property_value_svc_pb2_grpc.py @@ -0,0 +1,132 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.property_svc.v1 import property_value_svc_pb2 as services_dot_property__svc_dot_v1_dot_property__value__svc__pb2 + + +class PropertyValueServiceStub(object): + """ + PropertyValueService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.AttachPropertyValue = channel.unary_unary( + '/services.property_svc.v1.PropertyValueService/AttachPropertyValue', + request_serializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.FromString, + _registered_method=True) + self.GetAttachedPropertyValues = channel.unary_unary( + '/services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', + request_serializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.FromString, + _registered_method=True) + + +class PropertyValueServiceServicer(object): + """ + PropertyValueService + + + """ + + def AttachPropertyValue(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAttachedPropertyValues(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PropertyValueServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'AttachPropertyValue': grpc.unary_unary_rpc_method_handler( + servicer.AttachPropertyValue, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.SerializeToString, + ), + 'GetAttachedPropertyValues': grpc.unary_unary_rpc_method_handler( + servicer.GetAttachedPropertyValues, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.property_svc.v1.PropertyValueService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.property_svc.v1.PropertyValueService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PropertyValueService(object): + """ + PropertyValueService + + + """ + + @staticmethod + def AttachPropertyValue(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyValueService/AttachPropertyValue', + services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAttachedPropertyValues(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', + services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/property_svc/v1/property_views_svc_pb2.py b/gen/python/services/property_svc/v1/property_views_svc_pb2.py new file mode 100644 index 000000000..a39afadea --- /dev/null +++ b/gen/python/services/property_svc/v1/property_views_svc_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/property_svc/v1/property_views_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from services.property_svc.v1 import property_value_svc_pb2 as services_dot_property__svc_dot_v1_dot_property__value__svc__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1services/property_svc/v1/property_views_svc.proto\x12\x18services.property_svc.v1\x1a\x31services/property_svc/v1/property_value_svc.proto\"\x8c\x02\n\x0c\x46ilterUpdate\x12\x37\n\x18\x61ppend_to_always_include\x18\x01 \x03(\tR\x15\x61ppendToAlwaysInclude\x12;\n\x1aremove_from_always_include\x18\x02 \x03(\tR\x17removeFromAlwaysInclude\x12@\n\x1d\x61ppend_to_dont_always_include\x18\x03 \x03(\tR\x19\x61ppendToDontAlwaysInclude\x12\x44\n\x1fremove_from_dont_always_include\x18\x04 \x03(\tR\x1bremoveFromDontAlwaysInclude\"\xcb\x01\n\x1dUpdatePropertyViewRuleRequest\x12K\n\rfilter_update\x18\x01 \x01(\x0b\x32&.services.property_svc.v1.FilterUpdateR\x0c\x66ilterUpdate\x12R\n\x0ctask_matcher\x18\x02 \x01(\x0b\x32-.services.property_svc.v1.TaskPropertyMatcherH\x00R\x0btaskMatcherB\t\n\x07matcher\" \n\x1eUpdatePropertyViewRuleResponse2\xa6\x01\n\x14PropertyViewsService\x12\x8d\x01\n\x16UpdatePropertyViewRule\x12\x37.services.property_svc.v1.UpdatePropertyViewRuleRequest\x1a\x38.services.property_svc.v1.UpdatePropertyViewRuleResponse\"\x00\x42\xd4\x01\n\x1c\x63om.services.property_svc.v1B\x15PropertyViewsSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03SPX\xaa\x02\x17Services.PropertySvc.V1\xca\x02\x17Services\\PropertySvc\\V1\xe2\x02#Services\\PropertySvc\\V1\\GPBMetadata\xea\x02\x19Services::PropertySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.property_svc.v1.property_views_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.services.property_svc.v1B\025PropertyViewsSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003SPX\252\002\027Services.PropertySvc.V1\312\002\027Services\\PropertySvc\\V1\342\002#Services\\PropertySvc\\V1\\GPBMetadata\352\002\031Services::PropertySvc::V1' + _globals['_FILTERUPDATE']._serialized_start=131 + _globals['_FILTERUPDATE']._serialized_end=399 + _globals['_UPDATEPROPERTYVIEWRULEREQUEST']._serialized_start=402 + _globals['_UPDATEPROPERTYVIEWRULEREQUEST']._serialized_end=605 + _globals['_UPDATEPROPERTYVIEWRULERESPONSE']._serialized_start=607 + _globals['_UPDATEPROPERTYVIEWRULERESPONSE']._serialized_end=639 + _globals['_PROPERTYVIEWSSERVICE']._serialized_start=642 + _globals['_PROPERTYVIEWSSERVICE']._serialized_end=808 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/property_svc/v1/property_views_svc_pb2_grpc.py b/gen/python/services/property_svc/v1/property_views_svc_pb2_grpc.py new file mode 100644 index 000000000..8623fe048 --- /dev/null +++ b/gen/python/services/property_svc/v1/property_views_svc_pb2_grpc.py @@ -0,0 +1,77 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.property_svc.v1 import property_views_svc_pb2 as services_dot_property__svc_dot_v1_dot_property__views__svc__pb2 + + +class PropertyViewsServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdatePropertyViewRule = channel.unary_unary( + '/services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', + request_serializer=services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.FromString, + _registered_method=True) + + +class PropertyViewsServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def UpdatePropertyViewRule(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PropertyViewsServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdatePropertyViewRule': grpc.unary_unary_rpc_method_handler( + servicer.UpdatePropertyViewRule, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.property_svc.v1.PropertyViewsService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.property_svc.v1.PropertyViewsService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PropertyViewsService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def UpdatePropertyViewRule(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', + services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/property_svc/v1/types_pb2.py b/gen/python/services/property_svc/v1/types_pb2.py new file mode 100644 index 000000000..c9abb5336 --- /dev/null +++ b/gen/python/services/property_svc/v1/types_pb2.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/property_svc/v1/types.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$services/property_svc/v1/types.proto\x12\x18services.property_svc.v1\"B\n\x04\x44\x61te\x12\x10\n\x03\x64\x61y\x18\x01 \x01(\x05R\x03\x64\x61y\x12\x14\n\x05month\x18\x02 \x01(\x05R\x05month\x12\x12\n\x04year\x18\x03 \x01(\x05R\x04year*\\\n\x0bSubjectType\x12\x1c\n\x18SUBJECT_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14SUBJECT_TYPE_PATIENT\x10\x01\x12\x15\n\x11SUBJECT_TYPE_TASK\x10\x02*\xb2\x01\n\tFieldType\x12\x1a\n\x16\x46IELD_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x46IELD_TYPE_TEXT\x10\x01\x12\x15\n\x11\x46IELD_TYPE_NUMBER\x10\x02\x12\x17\n\x13\x46IELD_TYPE_CHECKBOX\x10\x03\x12\x13\n\x0f\x46IELD_TYPE_DATE\x10\x04\x12\x18\n\x14\x46IELD_TYPE_DATE_TIME\x10\x05\x12\x15\n\x11\x46IELD_TYPE_SELECT\x10\x06\x42\xc9\x01\n\x1c\x63om.services.property_svc.v1B\nTypesProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03SPX\xaa\x02\x17Services.PropertySvc.V1\xca\x02\x17Services\\PropertySvc\\V1\xe2\x02#Services\\PropertySvc\\V1\\GPBMetadata\xea\x02\x19Services::PropertySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.property_svc.v1.types_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.services.property_svc.v1B\nTypesProtoP\001Z\037gen/proto/services/property-svc\242\002\003SPX\252\002\027Services.PropertySvc.V1\312\002\027Services\\PropertySvc\\V1\342\002#Services\\PropertySvc\\V1\\GPBMetadata\352\002\031Services::PropertySvc::V1' + _globals['_SUBJECTTYPE']._serialized_start=134 + _globals['_SUBJECTTYPE']._serialized_end=226 + _globals['_FIELDTYPE']._serialized_start=229 + _globals['_FIELDTYPE']._serialized_end=407 + _globals['_DATE']._serialized_start=66 + _globals['_DATE']._serialized_end=132 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/proto/services/property_svc/v1/types_pb2_grpc.py b/gen/python/services/property_svc/v1/types_pb2_grpc.py similarity index 100% rename from gen/python/proto/services/property_svc/v1/types_pb2_grpc.py rename to gen/python/services/property_svc/v1/types_pb2_grpc.py diff --git a/gen/python/services/task_svc/v1/bed_svc_pb2.py b/gen/python/services/task_svc/v1/bed_svc_pb2.py new file mode 100644 index 000000000..8ff0fc0fc --- /dev/null +++ b/gen/python/services/task_svc/v1/bed_svc_pb2.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/bed_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"services/task_svc/v1/bed_svc.proto\x12\x14services.task_svc.v1\"?\n\x10\x43reateBedRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"#\n\x11\x43reateBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"V\n\x15\x42ulkCreateBedsRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\x12$\n\x0e\x61mount_of_beds\x18\x02 \x01(\rR\x0c\x61mountOfBeds\"\x89\x01\n\x16\x42ulkCreateBedsResponse\x12\x44\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32\x30.services.task_svc.v1.BulkCreateBedsResponse.BedR\x04\x62\x65\x64s\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x1f\n\rGetBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"M\n\x0eGetBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07room_id\x18\x02 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"7\n\x16GetBedByPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\xb1\x02\n\x17GetBedByPatientResponse\x12K\n\x04room\x18\x01 \x01(\x0b\x32\x32.services.task_svc.v1.GetBedByPatientResponse.RoomH\x00R\x04room\x88\x01\x01\x12H\n\x03\x62\x65\x64\x18\x02 \x01(\x0b\x32\x31.services.task_svc.v1.GetBedByPatientResponse.BedH\x01R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\x07\n\x05_roomB\x06\n\x04_bed\"\x10\n\x0eGetBedsRequest\"\x94\x01\n\x0fGetBedsResponse\x12=\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32).services.task_svc.v1.GetBedsResponse.BedR\x04\x62\x65\x64s\x1a\x42\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07room_id\x18\x02 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"/\n\x14GetBedsByRoomRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\"\x87\x01\n\x15GetBedsByRoomResponse\x12\x43\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32/.services.task_svc.v1.GetBedsByRoomResponse.BedR\x04\x62\x65\x64s\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"n\n\x10UpdateBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n\x07room_id\x18\x02 \x01(\tH\x00R\x06roomId\x88\x01\x01\x12\x17\n\x04name\x18\x03 \x01(\tH\x01R\x04name\x88\x01\x01\x42\n\n\x08_room_idB\x07\n\x05_name\"\x13\n\x11UpdateBedResponse\"\"\n\x10\x44\x65leteBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x13\n\x11\x44\x65leteBedResponse2\xaa\x06\n\nBedService\x12^\n\tCreateBed\x12&.services.task_svc.v1.CreateBedRequest\x1a\'.services.task_svc.v1.CreateBedResponse\"\x00\x12m\n\x0e\x42ulkCreateBeds\x12+.services.task_svc.v1.BulkCreateBedsRequest\x1a,.services.task_svc.v1.BulkCreateBedsResponse\"\x00\x12U\n\x06GetBed\x12#.services.task_svc.v1.GetBedRequest\x1a$.services.task_svc.v1.GetBedResponse\"\x00\x12p\n\x0fGetBedByPatient\x12,.services.task_svc.v1.GetBedByPatientRequest\x1a-.services.task_svc.v1.GetBedByPatientResponse\"\x00\x12X\n\x07GetBeds\x12$.services.task_svc.v1.GetBedsRequest\x1a%.services.task_svc.v1.GetBedsResponse\"\x00\x12j\n\rGetBedsByRoom\x12*.services.task_svc.v1.GetBedsByRoomRequest\x1a+.services.task_svc.v1.GetBedsByRoomResponse\"\x00\x12^\n\tUpdateBed\x12&.services.task_svc.v1.UpdateBedRequest\x1a\'.services.task_svc.v1.UpdateBedResponse\"\x00\x12^\n\tDeleteBed\x12&.services.task_svc.v1.DeleteBedRequest\x1a\'.services.task_svc.v1.DeleteBedResponse\"\x00\x42\xb2\x01\n\x18\x63om.services.task_svc.v1B\x0b\x42\x65\x64SvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.bed_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\013BedSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_CREATEBEDREQUEST']._serialized_start=60 + _globals['_CREATEBEDREQUEST']._serialized_end=123 + _globals['_CREATEBEDRESPONSE']._serialized_start=125 + _globals['_CREATEBEDRESPONSE']._serialized_end=160 + _globals['_BULKCREATEBEDSREQUEST']._serialized_start=162 + _globals['_BULKCREATEBEDSREQUEST']._serialized_end=248 + _globals['_BULKCREATEBEDSRESPONSE']._serialized_start=251 + _globals['_BULKCREATEBEDSRESPONSE']._serialized_end=388 + _globals['_BULKCREATEBEDSRESPONSE_BED']._serialized_start=347 + _globals['_BULKCREATEBEDSRESPONSE_BED']._serialized_end=388 + _globals['_GETBEDREQUEST']._serialized_start=390 + _globals['_GETBEDREQUEST']._serialized_end=421 + _globals['_GETBEDRESPONSE']._serialized_start=423 + _globals['_GETBEDRESPONSE']._serialized_end=500 + _globals['_GETBEDBYPATIENTREQUEST']._serialized_start=502 + _globals['_GETBEDBYPATIENTREQUEST']._serialized_end=557 + _globals['_GETBEDBYPATIENTRESPONSE']._serialized_start=560 + _globals['_GETBEDBYPATIENTRESPONSE']._serialized_end=865 + _globals['_GETBEDBYPATIENTRESPONSE_ROOM']._serialized_start=738 + _globals['_GETBEDBYPATIENTRESPONSE_ROOM']._serialized_end=805 + _globals['_GETBEDBYPATIENTRESPONSE_BED']._serialized_start=347 + _globals['_GETBEDBYPATIENTRESPONSE_BED']._serialized_end=388 + _globals['_GETBEDSREQUEST']._serialized_start=867 + _globals['_GETBEDSREQUEST']._serialized_end=883 + _globals['_GETBEDSRESPONSE']._serialized_start=886 + _globals['_GETBEDSRESPONSE']._serialized_end=1034 + _globals['_GETBEDSRESPONSE_BED']._serialized_start=968 + _globals['_GETBEDSRESPONSE_BED']._serialized_end=1034 + _globals['_GETBEDSBYROOMREQUEST']._serialized_start=1036 + _globals['_GETBEDSBYROOMREQUEST']._serialized_end=1083 + _globals['_GETBEDSBYROOMRESPONSE']._serialized_start=1086 + _globals['_GETBEDSBYROOMRESPONSE']._serialized_end=1221 + _globals['_GETBEDSBYROOMRESPONSE_BED']._serialized_start=347 + _globals['_GETBEDSBYROOMRESPONSE_BED']._serialized_end=388 + _globals['_UPDATEBEDREQUEST']._serialized_start=1223 + _globals['_UPDATEBEDREQUEST']._serialized_end=1333 + _globals['_UPDATEBEDRESPONSE']._serialized_start=1335 + _globals['_UPDATEBEDRESPONSE']._serialized_end=1354 + _globals['_DELETEBEDREQUEST']._serialized_start=1356 + _globals['_DELETEBEDREQUEST']._serialized_end=1390 + _globals['_DELETEBEDRESPONSE']._serialized_start=1392 + _globals['_DELETEBEDRESPONSE']._serialized_end=1411 + _globals['_BEDSERVICE']._serialized_start=1414 + _globals['_BEDSERVICE']._serialized_end=2224 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/task_svc/v1/bed_svc_pb2_grpc.py b/gen/python/services/task_svc/v1/bed_svc_pb2_grpc.py new file mode 100644 index 000000000..4f5c9881b --- /dev/null +++ b/gen/python/services/task_svc/v1/bed_svc_pb2_grpc.py @@ -0,0 +1,390 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import bed_svc_pb2 as services_dot_task__svc_dot_v1_dot_bed__svc__pb2 + + +class BedServiceStub(object): + """ + BedService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateBed = channel.unary_unary( + '/services.task_svc.v1.BedService/CreateBed', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.FromString, + _registered_method=True) + self.BulkCreateBeds = channel.unary_unary( + '/services.task_svc.v1.BedService/BulkCreateBeds', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.FromString, + _registered_method=True) + self.GetBed = channel.unary_unary( + '/services.task_svc.v1.BedService/GetBed', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.FromString, + _registered_method=True) + self.GetBedByPatient = channel.unary_unary( + '/services.task_svc.v1.BedService/GetBedByPatient', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.FromString, + _registered_method=True) + self.GetBeds = channel.unary_unary( + '/services.task_svc.v1.BedService/GetBeds', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.FromString, + _registered_method=True) + self.GetBedsByRoom = channel.unary_unary( + '/services.task_svc.v1.BedService/GetBedsByRoom', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.FromString, + _registered_method=True) + self.UpdateBed = channel.unary_unary( + '/services.task_svc.v1.BedService/UpdateBed', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.FromString, + _registered_method=True) + self.DeleteBed = channel.unary_unary( + '/services.task_svc.v1.BedService/DeleteBed', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.FromString, + _registered_method=True) + + +class BedServiceServicer(object): + """ + BedService + + + """ + + def CreateBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BulkCreateBeds(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBedByPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBeds(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBedsByRoom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_BedServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateBed': grpc.unary_unary_rpc_method_handler( + servicer.CreateBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.SerializeToString, + ), + 'BulkCreateBeds': grpc.unary_unary_rpc_method_handler( + servicer.BulkCreateBeds, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.SerializeToString, + ), + 'GetBed': grpc.unary_unary_rpc_method_handler( + servicer.GetBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.SerializeToString, + ), + 'GetBedByPatient': grpc.unary_unary_rpc_method_handler( + servicer.GetBedByPatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.SerializeToString, + ), + 'GetBeds': grpc.unary_unary_rpc_method_handler( + servicer.GetBeds, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.SerializeToString, + ), + 'GetBedsByRoom': grpc.unary_unary_rpc_method_handler( + servicer.GetBedsByRoom, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.SerializeToString, + ), + 'UpdateBed': grpc.unary_unary_rpc_method_handler( + servicer.UpdateBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.SerializeToString, + ), + 'DeleteBed': grpc.unary_unary_rpc_method_handler( + servicer.DeleteBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.BedService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.BedService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class BedService(object): + """ + BedService + + + """ + + @staticmethod + def CreateBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/CreateBed', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BulkCreateBeds(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/BulkCreateBeds', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/GetBed', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetBedByPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/GetBedByPatient', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetBeds(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/GetBeds', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetBedsByRoom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/GetBedsByRoom', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/UpdateBed', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/DeleteBed', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/task_svc/v1/patient_svc_pb2.py b/gen/python/services/task_svc/v1/patient_svc_pb2.py new file mode 100644 index 000000000..344b03846 --- /dev/null +++ b/gen/python/services/task_svc/v1/patient_svc_pb2.py @@ -0,0 +1,131 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/patient_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&services/task_svc/v1/patient_svc.proto\x12\x14services.task_svc.v1\"h\n\x14\x43reatePatientRequest\x12:\n\x19human_readable_identifier\x18\x01 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x02 \x01(\tR\x05notes\"\'\n\x15\x43reatePatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n\x11GetPatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xdd\x03\n\x12GetPatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1e\n\x06\x62\x65\x64_id\x18\x04 \x01(\tB\x02\x18\x01H\x00R\x05\x62\x65\x64Id\x88\x01\x01\x12 \n\x07ward_id\x18\x05 \x01(\tB\x02\x18\x01H\x01R\x06wardId\x88\x01\x01\x12\x46\n\x04room\x18\x07 \x01(\x0b\x32-.services.task_svc.v1.GetPatientResponse.RoomH\x02R\x04room\x88\x01\x01\x12\x43\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32,.services.task_svc.v1.GetPatientResponse.BedH\x03R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\t\n\x07_bed_idB\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"&\n\x14\x44\x65letePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15\x44\x65letePatientResponse\"/\n\x16GetPatientByBedRequest\x12\x15\n\x06\x62\x65\x64_id\x18\x01 \x01(\tR\x05\x62\x65\x64Id\"\xa2\x01\n\x17GetPatientByBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x42\t\n\x07_bed_id\"3\n\x18GetPatientsByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\x85\x02\n\x19GetPatientsByWardResponse\x12S\n\x08patients\x18\x01 \x03(\x0b\x32\x37.services.task_svc.v1.GetPatientsByWardResponse.PatientR\x08patients\x1a\x92\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x42\t\n\x07_bed_id\"<\n!GetPatientAssignmentByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xce\x03\n\"GetPatientAssignmentByWardResponse\x12S\n\x05rooms\x18\x01 \x03(\x0b\x32=.services.task_svc.v1.GetPatientAssignmentByWardResponse.RoomR\x05rooms\x1a\xd2\x02\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12U\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x41.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.BedR\x04\x62\x65\x64s\x1a\xce\x01\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12h\n\x07patient\x18\x03 \x01(\x0b\x32I.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.PatientH\x00R\x07patient\x88\x01\x01\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\n\n\x08_patient\"\x1a\n\x18GetRecentPatientsRequest\"\xf2\x03\n\x19GetRecentPatientsResponse\x12n\n\x0frecent_patients\x18\x01 \x03(\x0b\x32\x45.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBedR\x0erecentPatients\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\xf4\x01\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12H\n\x04room\x18\x03 \x01(\x0b\x32\x34.services.task_svc.v1.GetRecentPatientsResponse.RoomR\x04room\x12\x45\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32\x33.services.task_svc.v1.GetRecentPatientsResponse.BedR\x03\x62\x65\x64\"\xaa\x01\n\x14UpdatePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12?\n\x19human_readable_identifier\x18\x02 \x01(\tH\x00R\x17humanReadableIdentifier\x88\x01\x01\x12\x19\n\x05notes\x18\x03 \x01(\tH\x01R\x05notes\x88\x01\x01\x42\x1c\n\x1a_human_readable_identifierB\x08\n\x06_notes\"\x17\n\x15UpdatePatientResponse\"9\n\x10\x41ssignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06\x62\x65\x64_id\x18\x02 \x01(\tR\x05\x62\x65\x64Id\"\x13\n\x11\x41ssignBedResponse\"$\n\x12UnassignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13UnassignBedResponse\")\n\x17\x44ischargePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18\x44ischargePatientResponse\"*\n\x18GetPatientDetailsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xfb\x08\n\x19GetPatientDetailsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12:\n\x19human_readable_identifier\x18\x03 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x04 \x01(\tR\x05notes\x12J\n\x05tasks\x18\x05 \x03(\x0b\x32\x34.services.task_svc.v1.GetPatientDetailsResponse.TaskR\x05tasks\x12 \n\x07ward_id\x18\x06 \x01(\tB\x02\x18\x01H\x00R\x06wardId\x88\x01\x01\x12M\n\x04room\x18\x07 \x01(\x0b\x32\x34.services.task_svc.v1.GetPatientDetailsResponse.RoomH\x01R\x04room\x88\x01\x01\x12J\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32\x33.services.task_svc.v1.GetPatientDetailsResponse.BedH\x02R\x03\x62\x65\x64\x88\x01\x01\x12#\n\ris_discharged\x18\t \x01(\x08R\x0cisDischarged\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\xb8\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12R\n\x06status\x18\x04 \x01(\x0e\x32:.services.task_svc.v1.GetPatientDetailsResponse.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12X\n\x08subtasks\x18\x08 \x03(\x0b\x32<.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTaskR\x08subtasks\x1a\x41\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64oneB\x13\n\x11_assigned_user_id\"r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x42\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"A\n\x15GetPatientListRequest\x12\x1c\n\x07ward_id\x18\x01 \x01(\tH\x00R\x06wardId\x88\x01\x01\x42\n\n\x08_ward_id\"\xe2\x0b\n\x16GetPatientListResponse\x12Z\n\x06\x61\x63tive\x18\x01 \x03(\x0b\x32\x42.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBedR\x06\x61\x63tive\x12\x65\n\x13unassigned_patients\x18\x02 \x03(\x0b\x32\x34.services.task_svc.v1.GetPatientListResponse.PatientR\x12unassignedPatients\x12\x65\n\x13\x64ischarged_patients\x18\x03 \x03(\x0b\x32\x34.services.task_svc.v1.GetPatientListResponse.PatientR\x12\x64ischargedPatients\x1a\xb4\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12G\n\x05tasks\x18\x04 \x03(\x0b\x32\x31.services.task_svc.v1.GetPatientListResponse.TaskR\x05tasks\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\xcd\x02\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x45\n\x04room\x18\x03 \x01(\x0b\x32\x31.services.task_svc.v1.GetPatientListResponse.RoomR\x04room\x12\x42\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32\x30.services.task_svc.v1.GetPatientListResponse.BedR\x03\x62\x65\x64\x12\x14\n\x05notes\x18\x05 \x01(\tR\x05notes\x12G\n\x05tasks\x18\x06 \x03(\x0b\x32\x31.services.task_svc.v1.GetPatientListResponse.TaskR\x05tasks\x1a\xb2\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12O\n\x06status\x18\x04 \x01(\x0e\x32\x37.services.task_svc.v1.GetPatientListResponse.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12U\n\x08subtasks\x18\x08 \x03(\x0b\x32\x39.services.task_svc.v1.GetPatientListResponse.Task.SubTaskR\x08subtasks\x1a\x41\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64oneB\x13\n\x11_assigned_user_id\"r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\"6\n\x15ReadmitPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\x18\n\x16ReadmitPatientResponse2\xbe\x0c\n\x0ePatientService\x12j\n\rCreatePatient\x12*.services.task_svc.v1.CreatePatientRequest\x1a+.services.task_svc.v1.CreatePatientResponse\"\x00\x12\x61\n\nGetPatient\x12\'.services.task_svc.v1.GetPatientRequest\x1a(.services.task_svc.v1.GetPatientResponse\"\x00\x12p\n\x0fGetPatientByBed\x12,.services.task_svc.v1.GetPatientByBedRequest\x1a-.services.task_svc.v1.GetPatientByBedResponse\"\x00\x12v\n\x11GetPatientsByWard\x12..services.task_svc.v1.GetPatientsByWardRequest\x1a/.services.task_svc.v1.GetPatientsByWardResponse\"\x00\x12\x91\x01\n\x1aGetPatientAssignmentByWard\x12\x37.services.task_svc.v1.GetPatientAssignmentByWardRequest\x1a\x38.services.task_svc.v1.GetPatientAssignmentByWardResponse\"\x00\x12v\n\x11GetRecentPatients\x12..services.task_svc.v1.GetRecentPatientsRequest\x1a/.services.task_svc.v1.GetRecentPatientsResponse\"\x00\x12j\n\rUpdatePatient\x12*.services.task_svc.v1.UpdatePatientRequest\x1a+.services.task_svc.v1.UpdatePatientResponse\"\x00\x12^\n\tAssignBed\x12&.services.task_svc.v1.AssignBedRequest\x1a\'.services.task_svc.v1.AssignBedResponse\"\x00\x12\x64\n\x0bUnassignBed\x12(.services.task_svc.v1.UnassignBedRequest\x1a).services.task_svc.v1.UnassignBedResponse\"\x00\x12s\n\x10\x44ischargePatient\x12-.services.task_svc.v1.DischargePatientRequest\x1a..services.task_svc.v1.DischargePatientResponse\"\x00\x12v\n\x11GetPatientDetails\x12..services.task_svc.v1.GetPatientDetailsRequest\x1a/.services.task_svc.v1.GetPatientDetailsResponse\"\x00\x12m\n\x0eGetPatientList\x12+.services.task_svc.v1.GetPatientListRequest\x1a,.services.task_svc.v1.GetPatientListResponse\"\x00\x12j\n\rDeletePatient\x12*.services.task_svc.v1.DeletePatientRequest\x1a+.services.task_svc.v1.DeletePatientResponse\"\x00\x12m\n\x0eReadmitPatient\x12+.services.task_svc.v1.ReadmitPatientRequest\x1a,.services.task_svc.v1.ReadmitPatientResponse\"\x00\x42\xb6\x01\n\x18\x63om.services.task_svc.v1B\x0fPatientSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.patient_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\017PatientSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_GETPATIENTRESPONSE'].fields_by_name['bed_id']._options = None + _globals['_GETPATIENTRESPONSE'].fields_by_name['bed_id']._serialized_options = b'\030\001' + _globals['_GETPATIENTRESPONSE'].fields_by_name['ward_id']._options = None + _globals['_GETPATIENTRESPONSE'].fields_by_name['ward_id']._serialized_options = b'\030\001' + _globals['_GETPATIENTDETAILSRESPONSE'].fields_by_name['ward_id']._options = None + _globals['_GETPATIENTDETAILSRESPONSE'].fields_by_name['ward_id']._serialized_options = b'\030\001' + _globals['_CREATEPATIENTREQUEST']._serialized_start=64 + _globals['_CREATEPATIENTREQUEST']._serialized_end=168 + _globals['_CREATEPATIENTRESPONSE']._serialized_start=170 + _globals['_CREATEPATIENTRESPONSE']._serialized_end=209 + _globals['_GETPATIENTREQUEST']._serialized_start=211 + _globals['_GETPATIENTREQUEST']._serialized_end=246 + _globals['_GETPATIENTRESPONSE']._serialized_start=249 + _globals['_GETPATIENTRESPONSE']._serialized_end=726 + _globals['_GETPATIENTRESPONSE_ROOM']._serialized_start=576 + _globals['_GETPATIENTRESPONSE_ROOM']._serialized_end=643 + _globals['_GETPATIENTRESPONSE_BED']._serialized_start=645 + _globals['_GETPATIENTRESPONSE_BED']._serialized_end=686 + _globals['_DELETEPATIENTREQUEST']._serialized_start=728 + _globals['_DELETEPATIENTREQUEST']._serialized_end=766 + _globals['_DELETEPATIENTRESPONSE']._serialized_start=768 + _globals['_DELETEPATIENTRESPONSE']._serialized_end=791 + _globals['_GETPATIENTBYBEDREQUEST']._serialized_start=793 + _globals['_GETPATIENTBYBEDREQUEST']._serialized_end=840 + _globals['_GETPATIENTBYBEDRESPONSE']._serialized_start=843 + _globals['_GETPATIENTBYBEDRESPONSE']._serialized_end=1005 + _globals['_GETPATIENTSBYWARDREQUEST']._serialized_start=1007 + _globals['_GETPATIENTSBYWARDREQUEST']._serialized_end=1058 + _globals['_GETPATIENTSBYWARDRESPONSE']._serialized_start=1061 + _globals['_GETPATIENTSBYWARDRESPONSE']._serialized_end=1322 + _globals['_GETPATIENTSBYWARDRESPONSE_PATIENT']._serialized_start=1176 + _globals['_GETPATIENTSBYWARDRESPONSE_PATIENT']._serialized_end=1322 + _globals['_GETPATIENTASSIGNMENTBYWARDREQUEST']._serialized_start=1324 + _globals['_GETPATIENTASSIGNMENTBYWARDREQUEST']._serialized_end=1384 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE']._serialized_start=1387 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE']._serialized_end=1849 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM']._serialized_start=1511 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM']._serialized_end=1849 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED']._serialized_start=1643 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED']._serialized_end=1849 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_start=1792 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_end=1837 + _globals['_GETRECENTPATIENTSREQUEST']._serialized_start=1851 + _globals['_GETRECENTPATIENTSREQUEST']._serialized_end=1877 + _globals['_GETRECENTPATIENTSRESPONSE']._serialized_start=1880 + _globals['_GETRECENTPATIENTSRESPONSE']._serialized_end=2378 + _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_start=645 + _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_end=686 + _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_start=576 + _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_end=643 + _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=2134 + _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=2378 + _globals['_UPDATEPATIENTREQUEST']._serialized_start=2381 + _globals['_UPDATEPATIENTREQUEST']._serialized_end=2551 + _globals['_UPDATEPATIENTRESPONSE']._serialized_start=2553 + _globals['_UPDATEPATIENTRESPONSE']._serialized_end=2576 + _globals['_ASSIGNBEDREQUEST']._serialized_start=2578 + _globals['_ASSIGNBEDREQUEST']._serialized_end=2635 + _globals['_ASSIGNBEDRESPONSE']._serialized_start=2637 + _globals['_ASSIGNBEDRESPONSE']._serialized_end=2656 + _globals['_UNASSIGNBEDREQUEST']._serialized_start=2658 + _globals['_UNASSIGNBEDREQUEST']._serialized_end=2694 + _globals['_UNASSIGNBEDRESPONSE']._serialized_start=2696 + _globals['_UNASSIGNBEDRESPONSE']._serialized_end=2717 + _globals['_DISCHARGEPATIENTREQUEST']._serialized_start=2719 + _globals['_DISCHARGEPATIENTREQUEST']._serialized_end=2760 + _globals['_DISCHARGEPATIENTRESPONSE']._serialized_start=2762 + _globals['_DISCHARGEPATIENTRESPONSE']._serialized_end=2788 + _globals['_GETPATIENTDETAILSREQUEST']._serialized_start=2790 + _globals['_GETPATIENTDETAILSREQUEST']._serialized_end=2832 + _globals['_GETPATIENTDETAILSRESPONSE']._serialized_start=2835 + _globals['_GETPATIENTDETAILSRESPONSE']._serialized_end=3982 + _globals['_GETPATIENTDETAILSRESPONSE_ROOM']._serialized_start=576 + _globals['_GETPATIENTDETAILSRESPONSE_ROOM']._serialized_end=643 + _globals['_GETPATIENTDETAILSRESPONSE_BED']._serialized_start=645 + _globals['_GETPATIENTDETAILSRESPONSE_BED']._serialized_end=686 + _globals['_GETPATIENTDETAILSRESPONSE_TASK']._serialized_start=3397 + _globals['_GETPATIENTDETAILSRESPONSE_TASK']._serialized_end=3837 + _globals['_GETPATIENTDETAILSRESPONSE_TASK_SUBTASK']._serialized_start=3751 + _globals['_GETPATIENTDETAILSRESPONSE_TASK_SUBTASK']._serialized_end=3816 + _globals['_GETPATIENTDETAILSRESPONSE_TASKSTATUS']._serialized_start=3839 + _globals['_GETPATIENTDETAILSRESPONSE_TASKSTATUS']._serialized_end=3953 + _globals['_GETPATIENTLISTREQUEST']._serialized_start=3984 + _globals['_GETPATIENTLISTREQUEST']._serialized_end=4049 + _globals['_GETPATIENTLISTRESPONSE']._serialized_start=4052 + _globals['_GETPATIENTLISTRESPONSE']._serialized_end=5558 + _globals['_GETPATIENTLISTRESPONSE_PATIENT']._serialized_start=4377 + _globals['_GETPATIENTLISTRESPONSE_PATIENT']._serialized_end=4557 + _globals['_GETPATIENTLISTRESPONSE_BED']._serialized_start=645 + _globals['_GETPATIENTLISTRESPONSE_BED']._serialized_end=686 + _globals['_GETPATIENTLISTRESPONSE_ROOM']._serialized_start=576 + _globals['_GETPATIENTLISTRESPONSE_ROOM']._serialized_end=643 + _globals['_GETPATIENTLISTRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=4672 + _globals['_GETPATIENTLISTRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=5005 + _globals['_GETPATIENTLISTRESPONSE_TASK']._serialized_start=5008 + _globals['_GETPATIENTLISTRESPONSE_TASK']._serialized_end=5442 + _globals['_GETPATIENTLISTRESPONSE_TASK_SUBTASK']._serialized_start=3751 + _globals['_GETPATIENTLISTRESPONSE_TASK_SUBTASK']._serialized_end=3816 + _globals['_GETPATIENTLISTRESPONSE_TASKSTATUS']._serialized_start=3839 + _globals['_GETPATIENTLISTRESPONSE_TASKSTATUS']._serialized_end=3953 + _globals['_READMITPATIENTREQUEST']._serialized_start=5560 + _globals['_READMITPATIENTREQUEST']._serialized_end=5614 + _globals['_READMITPATIENTRESPONSE']._serialized_start=5616 + _globals['_READMITPATIENTRESPONSE']._serialized_end=5640 + _globals['_PATIENTSERVICE']._serialized_start=5643 + _globals['_PATIENTSERVICE']._serialized_end=7241 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/task_svc/v1/patient_svc_pb2_grpc.py b/gen/python/services/task_svc/v1/patient_svc_pb2_grpc.py new file mode 100644 index 000000000..1c7582d8f --- /dev/null +++ b/gen/python/services/task_svc/v1/patient_svc_pb2_grpc.py @@ -0,0 +1,648 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import patient_svc_pb2 as services_dot_task__svc_dot_v1_dot_patient__svc__pb2 + + +class PatientServiceStub(object): + """ + PatientService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreatePatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/CreatePatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, + _registered_method=True) + self.GetPatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, + _registered_method=True) + self.GetPatientByBed = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatientByBed', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.FromString, + _registered_method=True) + self.GetPatientsByWard = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatientsByWard', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.FromString, + _registered_method=True) + self.GetPatientAssignmentByWard = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatientAssignmentByWard', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.FromString, + _registered_method=True) + self.GetRecentPatients = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetRecentPatients', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, + _registered_method=True) + self.UpdatePatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/UpdatePatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, + _registered_method=True) + self.AssignBed = channel.unary_unary( + '/services.task_svc.v1.PatientService/AssignBed', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, + _registered_method=True) + self.UnassignBed = channel.unary_unary( + '/services.task_svc.v1.PatientService/UnassignBed', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, + _registered_method=True) + self.DischargePatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/DischargePatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, + _registered_method=True) + self.GetPatientDetails = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatientDetails', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.FromString, + _registered_method=True) + self.GetPatientList = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatientList', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.FromString, + _registered_method=True) + self.DeletePatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/DeletePatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.FromString, + _registered_method=True) + self.ReadmitPatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/ReadmitPatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, + _registered_method=True) + + +class PatientServiceServicer(object): + """ + PatientService + + + """ + + def CreatePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatientByBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatientsByWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatientAssignmentByWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRecentPatients(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdatePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AssignBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnassignBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DischargePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatientDetails(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatientList(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeletePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ReadmitPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PatientServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreatePatient': grpc.unary_unary_rpc_method_handler( + servicer.CreatePatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.SerializeToString, + ), + 'GetPatient': grpc.unary_unary_rpc_method_handler( + servicer.GetPatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.SerializeToString, + ), + 'GetPatientByBed': grpc.unary_unary_rpc_method_handler( + servicer.GetPatientByBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.SerializeToString, + ), + 'GetPatientsByWard': grpc.unary_unary_rpc_method_handler( + servicer.GetPatientsByWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.SerializeToString, + ), + 'GetPatientAssignmentByWard': grpc.unary_unary_rpc_method_handler( + servicer.GetPatientAssignmentByWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.SerializeToString, + ), + 'GetRecentPatients': grpc.unary_unary_rpc_method_handler( + servicer.GetRecentPatients, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.SerializeToString, + ), + 'UpdatePatient': grpc.unary_unary_rpc_method_handler( + servicer.UpdatePatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.SerializeToString, + ), + 'AssignBed': grpc.unary_unary_rpc_method_handler( + servicer.AssignBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.SerializeToString, + ), + 'UnassignBed': grpc.unary_unary_rpc_method_handler( + servicer.UnassignBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.SerializeToString, + ), + 'DischargePatient': grpc.unary_unary_rpc_method_handler( + servicer.DischargePatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.SerializeToString, + ), + 'GetPatientDetails': grpc.unary_unary_rpc_method_handler( + servicer.GetPatientDetails, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.SerializeToString, + ), + 'GetPatientList': grpc.unary_unary_rpc_method_handler( + servicer.GetPatientList, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.SerializeToString, + ), + 'DeletePatient': grpc.unary_unary_rpc_method_handler( + servicer.DeletePatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.SerializeToString, + ), + 'ReadmitPatient': grpc.unary_unary_rpc_method_handler( + servicer.ReadmitPatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.PatientService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.PatientService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PatientService(object): + """ + PatientService + + + """ + + @staticmethod + def CreatePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/CreatePatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatientByBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatientByBed', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatientsByWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatientsByWard', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatientAssignmentByWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatientAssignmentByWard', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRecentPatients(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetRecentPatients', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdatePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/UpdatePatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AssignBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/AssignBed', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnassignBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/UnassignBed', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DischargePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/DischargePatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatientDetails(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatientDetails', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatientList(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatientList', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeletePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/DeletePatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ReadmitPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/ReadmitPatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/task_svc/v1/room_svc_pb2.py b/gen/python/services/task_svc/v1/room_svc_pb2.py new file mode 100644 index 000000000..9d524a02d --- /dev/null +++ b/gen/python/services/task_svc/v1/room_svc_pb2.py @@ -0,0 +1,71 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/room_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#services/task_svc/v1/room_svc.proto\x12\x14services.task_svc.v1\"@\n\x11\x43reateRoomRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x02 \x01(\tR\x06wardId\"$\n\x12\x43reateRoomResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xe1\x01\n\x0fGetRoomResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12=\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32).services.task_svc.v1.GetRoomResponse.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x11\n\x0fGetRoomsRequest\"\xb4\x02\n\x10GetRoomsResponse\x12\x41\n\x05rooms\x18\x01 \x03(\x0b\x32+.services.task_svc.v1.GetRoomsResponse.RoomR\x05rooms\x1a\xdc\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x43\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32/.services.task_svc.v1.GetRoomsResponse.Room.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"0\n\x15GetRoomsByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xc6\x02\n\x16GetRoomsByWardResponse\x12G\n\x05rooms\x18\x01 \x03(\x0b\x32\x31.services.task_svc.v1.GetRoomsByWardResponse.RoomR\x05rooms\x1a\xe2\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12I\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x35.services.task_svc.v1.GetRoomsByWardResponse.Room.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"E\n\x11UpdateRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x14\n\x12UpdateRoomResponse\"#\n\x11\x44\x65leteRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteRoomResponse\"/\n\x1dGetRoomOverviewsByWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xdf\x04\n\x1eGetRoomOverviewsByWardResponse\x12O\n\x05rooms\x18\x01 \x03(\x0b\x32\x39.services.task_svc.v1.GetRoomOverviewsByWardResponse.RoomR\x05rooms\x1a\xeb\x03\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12Q\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32=.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.BedR\x04\x62\x65\x64s\x1a\xeb\x02\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x64\n\x07patient\x18\x02 \x01(\x0b\x32\x45.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.PatientH\x00R\x07patient\x88\x01\x01\x1a\xcd\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12+\n\x11tasks_unscheduled\x18\x03 \x01(\rR\x10tasksUnscheduled\x12*\n\x11tasks_in_progress\x18\x04 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x05 \x01(\rR\ttasksDoneB\n\n\x08_patient2\xe4\x05\n\x0bRoomService\x12\x61\n\nCreateRoom\x12\'.services.task_svc.v1.CreateRoomRequest\x1a(.services.task_svc.v1.CreateRoomResponse\"\x00\x12X\n\x07GetRoom\x12$.services.task_svc.v1.GetRoomRequest\x1a%.services.task_svc.v1.GetRoomResponse\"\x00\x12[\n\x08GetRooms\x12%.services.task_svc.v1.GetRoomsRequest\x1a&.services.task_svc.v1.GetRoomsResponse\"\x00\x12m\n\x0eGetRoomsByWard\x12+.services.task_svc.v1.GetRoomsByWardRequest\x1a,.services.task_svc.v1.GetRoomsByWardResponse\"\x00\x12\x61\n\nUpdateRoom\x12\'.services.task_svc.v1.UpdateRoomRequest\x1a(.services.task_svc.v1.UpdateRoomResponse\"\x00\x12\x61\n\nDeleteRoom\x12\'.services.task_svc.v1.DeleteRoomRequest\x1a(.services.task_svc.v1.DeleteRoomResponse\"\x00\x12\x85\x01\n\x16GetRoomOverviewsByWard\x12\x33.services.task_svc.v1.GetRoomOverviewsByWardRequest\x1a\x34.services.task_svc.v1.GetRoomOverviewsByWardResponse\"\x00\x42\xb3\x01\n\x18\x63om.services.task_svc.v1B\x0cRoomSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.room_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\014RoomSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_CREATEROOMREQUEST']._serialized_start=61 + _globals['_CREATEROOMREQUEST']._serialized_end=125 + _globals['_CREATEROOMRESPONSE']._serialized_start=127 + _globals['_CREATEROOMRESPONSE']._serialized_end=163 + _globals['_GETROOMREQUEST']._serialized_start=165 + _globals['_GETROOMREQUEST']._serialized_end=197 + _globals['_GETROOMRESPONSE']._serialized_start=200 + _globals['_GETROOMRESPONSE']._serialized_end=425 + _globals['_GETROOMRESPONSE_BED']._serialized_start=384 + _globals['_GETROOMRESPONSE_BED']._serialized_end=425 + _globals['_GETROOMSREQUEST']._serialized_start=427 + _globals['_GETROOMSREQUEST']._serialized_end=444 + _globals['_GETROOMSRESPONSE']._serialized_start=447 + _globals['_GETROOMSRESPONSE']._serialized_end=755 + _globals['_GETROOMSRESPONSE_ROOM']._serialized_start=535 + _globals['_GETROOMSRESPONSE_ROOM']._serialized_end=755 + _globals['_GETROOMSRESPONSE_ROOM_BED']._serialized_start=384 + _globals['_GETROOMSRESPONSE_ROOM_BED']._serialized_end=425 + _globals['_GETROOMSBYWARDREQUEST']._serialized_start=757 + _globals['_GETROOMSBYWARDREQUEST']._serialized_end=805 + _globals['_GETROOMSBYWARDRESPONSE']._serialized_start=808 + _globals['_GETROOMSBYWARDRESPONSE']._serialized_end=1134 + _globals['_GETROOMSBYWARDRESPONSE_ROOM']._serialized_start=908 + _globals['_GETROOMSBYWARDRESPONSE_ROOM']._serialized_end=1134 + _globals['_GETROOMSBYWARDRESPONSE_ROOM_BED']._serialized_start=384 + _globals['_GETROOMSBYWARDRESPONSE_ROOM_BED']._serialized_end=425 + _globals['_UPDATEROOMREQUEST']._serialized_start=1136 + _globals['_UPDATEROOMREQUEST']._serialized_end=1205 + _globals['_UPDATEROOMRESPONSE']._serialized_start=1207 + _globals['_UPDATEROOMRESPONSE']._serialized_end=1227 + _globals['_DELETEROOMREQUEST']._serialized_start=1229 + _globals['_DELETEROOMREQUEST']._serialized_end=1264 + _globals['_DELETEROOMRESPONSE']._serialized_start=1266 + _globals['_DELETEROOMRESPONSE']._serialized_end=1286 + _globals['_GETROOMOVERVIEWSBYWARDREQUEST']._serialized_start=1288 + _globals['_GETROOMOVERVIEWSBYWARDREQUEST']._serialized_end=1335 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE']._serialized_start=1338 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE']._serialized_end=1945 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM']._serialized_start=1454 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM']._serialized_end=1945 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED']._serialized_start=1582 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED']._serialized_end=1945 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_start=1728 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_end=1933 + _globals['_ROOMSERVICE']._serialized_start=1948 + _globals['_ROOMSERVICE']._serialized_end=2688 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/task_svc/v1/room_svc_pb2_grpc.py b/gen/python/services/task_svc/v1/room_svc_pb2_grpc.py new file mode 100644 index 000000000..ca88d7005 --- /dev/null +++ b/gen/python/services/task_svc/v1/room_svc_pb2_grpc.py @@ -0,0 +1,347 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import room_svc_pb2 as services_dot_task__svc_dot_v1_dot_room__svc__pb2 + + +class RoomServiceStub(object): + """ + RoomService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateRoom = channel.unary_unary( + '/services.task_svc.v1.RoomService/CreateRoom', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.FromString, + _registered_method=True) + self.GetRoom = channel.unary_unary( + '/services.task_svc.v1.RoomService/GetRoom', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.FromString, + _registered_method=True) + self.GetRooms = channel.unary_unary( + '/services.task_svc.v1.RoomService/GetRooms', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.FromString, + _registered_method=True) + self.GetRoomsByWard = channel.unary_unary( + '/services.task_svc.v1.RoomService/GetRoomsByWard', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.FromString, + _registered_method=True) + self.UpdateRoom = channel.unary_unary( + '/services.task_svc.v1.RoomService/UpdateRoom', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.FromString, + _registered_method=True) + self.DeleteRoom = channel.unary_unary( + '/services.task_svc.v1.RoomService/DeleteRoom', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.FromString, + _registered_method=True) + self.GetRoomOverviewsByWard = channel.unary_unary( + '/services.task_svc.v1.RoomService/GetRoomOverviewsByWard', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.FromString, + _registered_method=True) + + +class RoomServiceServicer(object): + """ + RoomService + + + """ + + def CreateRoom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRoom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRooms(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRoomsByWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateRoom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteRoom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRoomOverviewsByWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_RoomServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateRoom': grpc.unary_unary_rpc_method_handler( + servicer.CreateRoom, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.SerializeToString, + ), + 'GetRoom': grpc.unary_unary_rpc_method_handler( + servicer.GetRoom, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.SerializeToString, + ), + 'GetRooms': grpc.unary_unary_rpc_method_handler( + servicer.GetRooms, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.SerializeToString, + ), + 'GetRoomsByWard': grpc.unary_unary_rpc_method_handler( + servicer.GetRoomsByWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.SerializeToString, + ), + 'UpdateRoom': grpc.unary_unary_rpc_method_handler( + servicer.UpdateRoom, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.SerializeToString, + ), + 'DeleteRoom': grpc.unary_unary_rpc_method_handler( + servicer.DeleteRoom, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.SerializeToString, + ), + 'GetRoomOverviewsByWard': grpc.unary_unary_rpc_method_handler( + servicer.GetRoomOverviewsByWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.RoomService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.RoomService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class RoomService(object): + """ + RoomService + + + """ + + @staticmethod + def CreateRoom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/CreateRoom', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRoom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/GetRoom', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRooms(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/GetRooms', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRoomsByWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/GetRoomsByWard', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateRoom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/UpdateRoom', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteRoom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/DeleteRoom', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRoomOverviewsByWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/GetRoomOverviewsByWard', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/task_svc/v1/task_svc_pb2.py b/gen/python/services/task_svc/v1/task_svc_pb2.py new file mode 100644 index 000000000..fa90b5a52 --- /dev/null +++ b/gen/python/services/task_svc/v1/task_svc_pb2.py @@ -0,0 +1,124 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/task_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#services/task_svc/v1/task_svc.proto\x12\x14services.task_svc.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\x02\n\x11\x43reateTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1d\n\npatient_id\x18\x03 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x04 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12L\n\x0einitial_status\x18\x06 \x01(\x0e\x32 .services.task_svc.v1.TaskStatusH\x01R\rinitialStatus\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_initial_status\"$\n\x12\x43reateTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xf3\x04\n\x0fGetTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x38\n\x06status\x18\x04 \x01(\x0e\x32 .services.task_svc.v1.TaskStatusR\x06status\x12(\n\x10\x61ssigned_user_id\x18\x05 \x01(\tR\x0e\x61ssignedUserId\x12G\n\x07patient\x18\x06 \x01(\x0b\x32-.services.task_svc.v1.GetTaskResponse.PatientR\x07patient\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12I\n\x08subtasks\x18\n \x03(\x0b\x32-.services.task_svc.v1.GetTaskResponse.SubTaskR\x08subtasks\x12\'\n\x0forganization_id\x18\x0b \x01(\tR\x0eorganizationId\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedBy\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"9\n\x18GetTasksByPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\xf9\x04\n\x19GetTasksByPatientResponse\x12J\n\x05tasks\x18\x01 \x03(\x0b\x32\x34.services.task_svc.v1.GetTasksByPatientResponse.TaskR\x05tasks\x1a\x8f\x04\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x38\n\x06status\x18\x04 \x01(\x0e\x32 .services.task_svc.v1.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12X\n\x08subtasks\x18\n \x03(\x0b\x32<.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTaskR\x08subtasks\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedByB\x13\n\x11_assigned_user_id\"G\n&GetTasksByPatientSortedByStatusRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\xa4\x06\n\'GetTasksByPatientSortedByStatusResponse\x12V\n\x04todo\x18\x01 \x03(\x0b\x32\x42.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\x04todo\x12\x63\n\x0bin_progress\x18\x02 \x03(\x0b\x32\x42.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\ninProgress\x12V\n\x04\x64one\x18\x03 \x03(\x0b\x32\x42.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\x04\x64one\x1a\xe3\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12\x66\n\x08subtasks\x18\n \x03(\x0b\x32J.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTaskR\x08subtasks\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedByB\x13\n\x11_assigned_user_id\"\x19\n\x17GetAssignedTasksRequest\"\xc3\x05\n\x18GetAssignedTasksResponse\x12I\n\x05tasks\x18\x01 \x03(\x0b\x32\x33.services.task_svc.v1.GetAssignedTasksResponse.TaskR\x05tasks\x1a\xdb\x04\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x38\n\x06status\x18\x04 \x01(\x0e\x32 .services.task_svc.v1.TaskStatusR\x06status\x12(\n\x10\x61ssigned_user_id\x18\x05 \x01(\tR\x0e\x61ssignedUserId\x12U\n\x07patient\x18\x06 \x01(\x0b\x32;.services.task_svc.v1.GetAssignedTasksResponse.Task.PatientR\x07patient\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12W\n\x08subtasks\x18\n \x03(\x0b\x32;.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTaskR\x08subtasks\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedBy\"\xe7\x01\n\x11UpdateTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x36\n\x06\x64ue_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x05\x64ueAt\x88\x01\x01\x12\x1b\n\x06public\x18\x05 \x01(\x08H\x03R\x06public\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\t\n\x07_due_atB\t\n\x07_public\"\x14\n\x12UpdateTaskResponse\"b\n\x11\x41\x64\x64SubTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x17\n\x07task_id\x18\x02 \x01(\tR\x06taskId\x12\x17\n\x04\x64one\x18\x03 \x01(\x08H\x00R\x04\x64one\x88\x01\x01\x42\x07\n\x05_done\"$\n\x12\x41\x64\x64SubTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"&\n\x14RemoveSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15RemoveSubTaskResponse\"H\n\x14UpdateSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x17\n\x15UpdateSubTaskResponse\"&\n\x14SubTaskToToDoRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15SubTaskToToDoResponse\"&\n\x14SubTaskToDoneRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15SubTaskToDoneResponse\"#\n\x11TaskToToDoRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12TaskToToDoResponse\")\n\x17TaskToInProgressRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18TaskToInProgressResponse\"#\n\x11TaskToDoneRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12TaskToDoneResponse\"B\n\x17\x41ssignTaskToUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x1a\n\x18\x41ssignTaskToUserResponse\"-\n\x1bUnassignTaskFromUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1e\n\x1cUnassignTaskFromUserResponse\"$\n\x12PublishTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13PublishTaskResponse\"&\n\x14UnpublishTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15UnpublishTaskResponse\"#\n\x11\x44\x65leteTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteTaskResponse*r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x32\xb6\x10\n\x0bTaskService\x12\x61\n\nCreateTask\x12\'.services.task_svc.v1.CreateTaskRequest\x1a(.services.task_svc.v1.CreateTaskResponse\"\x00\x12X\n\x07GetTask\x12$.services.task_svc.v1.GetTaskRequest\x1a%.services.task_svc.v1.GetTaskResponse\"\x00\x12v\n\x11GetTasksByPatient\x12..services.task_svc.v1.GetTasksByPatientRequest\x1a/.services.task_svc.v1.GetTasksByPatientResponse\"\x00\x12\xa0\x01\n\x1fGetTasksByPatientSortedByStatus\x12<.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest\x1a=.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse\"\x00\x12s\n\x10GetAssignedTasks\x12-.services.task_svc.v1.GetAssignedTasksRequest\x1a..services.task_svc.v1.GetAssignedTasksResponse\"\x00\x12\x61\n\nUpdateTask\x12\'.services.task_svc.v1.UpdateTaskRequest\x1a(.services.task_svc.v1.UpdateTaskResponse\"\x00\x12\x61\n\nAddSubTask\x12\'.services.task_svc.v1.AddSubTaskRequest\x1a(.services.task_svc.v1.AddSubTaskResponse\"\x00\x12j\n\rRemoveSubTask\x12*.services.task_svc.v1.RemoveSubTaskRequest\x1a+.services.task_svc.v1.RemoveSubTaskResponse\"\x00\x12j\n\rUpdateSubTask\x12*.services.task_svc.v1.UpdateSubTaskRequest\x1a+.services.task_svc.v1.UpdateSubTaskResponse\"\x00\x12j\n\rSubTaskToToDo\x12*.services.task_svc.v1.SubTaskToToDoRequest\x1a+.services.task_svc.v1.SubTaskToToDoResponse\"\x00\x12j\n\rSubTaskToDone\x12*.services.task_svc.v1.SubTaskToDoneRequest\x1a+.services.task_svc.v1.SubTaskToDoneResponse\"\x00\x12\x61\n\nTaskToToDo\x12\'.services.task_svc.v1.TaskToToDoRequest\x1a(.services.task_svc.v1.TaskToToDoResponse\"\x00\x12s\n\x10TaskToInProgress\x12-.services.task_svc.v1.TaskToInProgressRequest\x1a..services.task_svc.v1.TaskToInProgressResponse\"\x00\x12\x61\n\nTaskToDone\x12\'.services.task_svc.v1.TaskToDoneRequest\x1a(.services.task_svc.v1.TaskToDoneResponse\"\x00\x12s\n\x10\x41ssignTaskToUser\x12-.services.task_svc.v1.AssignTaskToUserRequest\x1a..services.task_svc.v1.AssignTaskToUserResponse\"\x00\x12\x7f\n\x14UnassignTaskFromUser\x12\x31.services.task_svc.v1.UnassignTaskFromUserRequest\x1a\x32.services.task_svc.v1.UnassignTaskFromUserResponse\"\x00\x12\x64\n\x0bPublishTask\x12(.services.task_svc.v1.PublishTaskRequest\x1a).services.task_svc.v1.PublishTaskResponse\"\x00\x12j\n\rUnpublishTask\x12*.services.task_svc.v1.UnpublishTaskRequest\x1a+.services.task_svc.v1.UnpublishTaskResponse\"\x00\x12\x61\n\nDeleteTask\x12\'.services.task_svc.v1.DeleteTaskRequest\x1a(.services.task_svc.v1.DeleteTaskResponse\"\x00\x42\xb3\x01\n\x18\x63om.services.task_svc.v1B\x0cTaskSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.task_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\014TaskSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_TASKSTATUS']._serialized_start=4645 + _globals['_TASKSTATUS']._serialized_end=4759 + _globals['_CREATETASKREQUEST']._serialized_start=95 + _globals['_CREATETASKREQUEST']._serialized_end=392 + _globals['_CREATETASKRESPONSE']._serialized_start=394 + _globals['_CREATETASKRESPONSE']._serialized_end=430 + _globals['_GETTASKREQUEST']._serialized_start=432 + _globals['_GETTASKREQUEST']._serialized_end=464 + _globals['_GETTASKRESPONSE']._serialized_start=467 + _globals['_GETTASKRESPONSE']._serialized_end=1094 + _globals['_GETTASKRESPONSE_SUBTASK']._serialized_start=951 + _globals['_GETTASKRESPONSE_SUBTASK']._serialized_end=1047 + _globals['_GETTASKRESPONSE_PATIENT']._serialized_start=1049 + _globals['_GETTASKRESPONSE_PATIENT']._serialized_end=1094 + _globals['_GETTASKSBYPATIENTREQUEST']._serialized_start=1096 + _globals['_GETTASKSBYPATIENTREQUEST']._serialized_end=1153 + _globals['_GETTASKSBYPATIENTRESPONSE']._serialized_start=1156 + _globals['_GETTASKSBYPATIENTRESPONSE']._serialized_end=1789 + _globals['_GETTASKSBYPATIENTRESPONSE_TASK']._serialized_start=1262 + _globals['_GETTASKSBYPATIENTRESPONSE_TASK']._serialized_end=1789 + _globals['_GETTASKSBYPATIENTRESPONSE_TASK_SUBTASK']._serialized_start=951 + _globals['_GETTASKSBYPATIENTRESPONSE_TASK_SUBTASK']._serialized_end=1047 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSREQUEST']._serialized_start=1791 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSREQUEST']._serialized_end=1862 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE']._serialized_start=1865 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE']._serialized_end=2669 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK']._serialized_start=2186 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK']._serialized_end=2669 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK_SUBTASK']._serialized_start=951 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK_SUBTASK']._serialized_end=1047 + _globals['_GETASSIGNEDTASKSREQUEST']._serialized_start=2671 + _globals['_GETASSIGNEDTASKSREQUEST']._serialized_end=2696 + _globals['_GETASSIGNEDTASKSRESPONSE']._serialized_start=2699 + _globals['_GETASSIGNEDTASKSRESPONSE']._serialized_end=3406 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK']._serialized_start=2803 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK']._serialized_end=3406 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK_PATIENT']._serialized_start=1049 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK_PATIENT']._serialized_end=1094 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK_SUBTASK']._serialized_start=951 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK_SUBTASK']._serialized_end=1047 + _globals['_UPDATETASKREQUEST']._serialized_start=3409 + _globals['_UPDATETASKREQUEST']._serialized_end=3640 + _globals['_UPDATETASKRESPONSE']._serialized_start=3642 + _globals['_UPDATETASKRESPONSE']._serialized_end=3662 + _globals['_ADDSUBTASKREQUEST']._serialized_start=3664 + _globals['_ADDSUBTASKREQUEST']._serialized_end=3762 + _globals['_ADDSUBTASKRESPONSE']._serialized_start=3764 + _globals['_ADDSUBTASKRESPONSE']._serialized_end=3800 + _globals['_REMOVESUBTASKREQUEST']._serialized_start=3802 + _globals['_REMOVESUBTASKREQUEST']._serialized_end=3840 + _globals['_REMOVESUBTASKRESPONSE']._serialized_start=3842 + _globals['_REMOVESUBTASKRESPONSE']._serialized_end=3865 + _globals['_UPDATESUBTASKREQUEST']._serialized_start=3867 + _globals['_UPDATESUBTASKREQUEST']._serialized_end=3939 + _globals['_UPDATESUBTASKRESPONSE']._serialized_start=3941 + _globals['_UPDATESUBTASKRESPONSE']._serialized_end=3964 + _globals['_SUBTASKTOTODOREQUEST']._serialized_start=3966 + _globals['_SUBTASKTOTODOREQUEST']._serialized_end=4004 + _globals['_SUBTASKTOTODORESPONSE']._serialized_start=4006 + _globals['_SUBTASKTOTODORESPONSE']._serialized_end=4029 + _globals['_SUBTASKTODONEREQUEST']._serialized_start=4031 + _globals['_SUBTASKTODONEREQUEST']._serialized_end=4069 + _globals['_SUBTASKTODONERESPONSE']._serialized_start=4071 + _globals['_SUBTASKTODONERESPONSE']._serialized_end=4094 + _globals['_TASKTOTODOREQUEST']._serialized_start=4096 + _globals['_TASKTOTODOREQUEST']._serialized_end=4131 + _globals['_TASKTOTODORESPONSE']._serialized_start=4133 + _globals['_TASKTOTODORESPONSE']._serialized_end=4153 + _globals['_TASKTOINPROGRESSREQUEST']._serialized_start=4155 + _globals['_TASKTOINPROGRESSREQUEST']._serialized_end=4196 + _globals['_TASKTOINPROGRESSRESPONSE']._serialized_start=4198 + _globals['_TASKTOINPROGRESSRESPONSE']._serialized_end=4224 + _globals['_TASKTODONEREQUEST']._serialized_start=4226 + _globals['_TASKTODONEREQUEST']._serialized_end=4261 + _globals['_TASKTODONERESPONSE']._serialized_start=4263 + _globals['_TASKTODONERESPONSE']._serialized_end=4283 + _globals['_ASSIGNTASKTOUSERREQUEST']._serialized_start=4285 + _globals['_ASSIGNTASKTOUSERREQUEST']._serialized_end=4351 + _globals['_ASSIGNTASKTOUSERRESPONSE']._serialized_start=4353 + _globals['_ASSIGNTASKTOUSERRESPONSE']._serialized_end=4379 + _globals['_UNASSIGNTASKFROMUSERREQUEST']._serialized_start=4381 + _globals['_UNASSIGNTASKFROMUSERREQUEST']._serialized_end=4426 + _globals['_UNASSIGNTASKFROMUSERRESPONSE']._serialized_start=4428 + _globals['_UNASSIGNTASKFROMUSERRESPONSE']._serialized_end=4458 + _globals['_PUBLISHTASKREQUEST']._serialized_start=4460 + _globals['_PUBLISHTASKREQUEST']._serialized_end=4496 + _globals['_PUBLISHTASKRESPONSE']._serialized_start=4498 + _globals['_PUBLISHTASKRESPONSE']._serialized_end=4519 + _globals['_UNPUBLISHTASKREQUEST']._serialized_start=4521 + _globals['_UNPUBLISHTASKREQUEST']._serialized_end=4559 + _globals['_UNPUBLISHTASKRESPONSE']._serialized_start=4561 + _globals['_UNPUBLISHTASKRESPONSE']._serialized_end=4584 + _globals['_DELETETASKREQUEST']._serialized_start=4586 + _globals['_DELETETASKREQUEST']._serialized_end=4621 + _globals['_DELETETASKRESPONSE']._serialized_start=4623 + _globals['_DELETETASKRESPONSE']._serialized_end=4643 + _globals['_TASKSERVICE']._serialized_start=4762 + _globals['_TASKSERVICE']._serialized_end=6864 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/task_svc/v1/task_svc_pb2_grpc.py b/gen/python/services/task_svc/v1/task_svc_pb2_grpc.py new file mode 100644 index 000000000..c67c6fa76 --- /dev/null +++ b/gen/python/services/task_svc/v1/task_svc_pb2_grpc.py @@ -0,0 +1,863 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import task_svc_pb2 as services_dot_task__svc_dot_v1_dot_task__svc__pb2 + + +class TaskServiceStub(object): + """ + TaskService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/CreateTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, + _registered_method=True) + self.GetTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/GetTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, + _registered_method=True) + self.GetTasksByPatient = channel.unary_unary( + '/services.task_svc.v1.TaskService/GetTasksByPatient', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.FromString, + _registered_method=True) + self.GetTasksByPatientSortedByStatus = channel.unary_unary( + '/services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.FromString, + _registered_method=True) + self.GetAssignedTasks = channel.unary_unary( + '/services.task_svc.v1.TaskService/GetAssignedTasks', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.FromString, + _registered_method=True) + self.UpdateTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/UpdateTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, + _registered_method=True) + self.AddSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/AddSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.FromString, + _registered_method=True) + self.RemoveSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/RemoveSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.FromString, + _registered_method=True) + self.UpdateSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/UpdateSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.FromString, + _registered_method=True) + self.SubTaskToToDo = channel.unary_unary( + '/services.task_svc.v1.TaskService/SubTaskToToDo', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.FromString, + _registered_method=True) + self.SubTaskToDone = channel.unary_unary( + '/services.task_svc.v1.TaskService/SubTaskToDone', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.FromString, + _registered_method=True) + self.TaskToToDo = channel.unary_unary( + '/services.task_svc.v1.TaskService/TaskToToDo', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.FromString, + _registered_method=True) + self.TaskToInProgress = channel.unary_unary( + '/services.task_svc.v1.TaskService/TaskToInProgress', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.FromString, + _registered_method=True) + self.TaskToDone = channel.unary_unary( + '/services.task_svc.v1.TaskService/TaskToDone', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.FromString, + _registered_method=True) + self.AssignTaskToUser = channel.unary_unary( + '/services.task_svc.v1.TaskService/AssignTaskToUser', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.FromString, + _registered_method=True) + self.UnassignTaskFromUser = channel.unary_unary( + '/services.task_svc.v1.TaskService/UnassignTaskFromUser', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.FromString, + _registered_method=True) + self.PublishTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/PublishTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.FromString, + _registered_method=True) + self.UnpublishTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/UnpublishTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.FromString, + _registered_method=True) + self.DeleteTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/DeleteTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.FromString, + _registered_method=True) + + +class TaskServiceServicer(object): + """ + TaskService + + + """ + + def CreateTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTasksByPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTasksByPatientSortedByStatus(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAssignedTasks(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RemoveSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubTaskToToDo(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubTaskToDone(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TaskToToDo(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TaskToInProgress(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TaskToDone(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AssignTaskToUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnassignTaskFromUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PublishTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnpublishTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_TaskServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateTask': grpc.unary_unary_rpc_method_handler( + servicer.CreateTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.SerializeToString, + ), + 'GetTask': grpc.unary_unary_rpc_method_handler( + servicer.GetTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.SerializeToString, + ), + 'GetTasksByPatient': grpc.unary_unary_rpc_method_handler( + servicer.GetTasksByPatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.SerializeToString, + ), + 'GetTasksByPatientSortedByStatus': grpc.unary_unary_rpc_method_handler( + servicer.GetTasksByPatientSortedByStatus, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.SerializeToString, + ), + 'GetAssignedTasks': grpc.unary_unary_rpc_method_handler( + servicer.GetAssignedTasks, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.SerializeToString, + ), + 'UpdateTask': grpc.unary_unary_rpc_method_handler( + servicer.UpdateTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.SerializeToString, + ), + 'AddSubTask': grpc.unary_unary_rpc_method_handler( + servicer.AddSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.SerializeToString, + ), + 'RemoveSubTask': grpc.unary_unary_rpc_method_handler( + servicer.RemoveSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.SerializeToString, + ), + 'UpdateSubTask': grpc.unary_unary_rpc_method_handler( + servicer.UpdateSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.SerializeToString, + ), + 'SubTaskToToDo': grpc.unary_unary_rpc_method_handler( + servicer.SubTaskToToDo, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.SerializeToString, + ), + 'SubTaskToDone': grpc.unary_unary_rpc_method_handler( + servicer.SubTaskToDone, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.SerializeToString, + ), + 'TaskToToDo': grpc.unary_unary_rpc_method_handler( + servicer.TaskToToDo, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.SerializeToString, + ), + 'TaskToInProgress': grpc.unary_unary_rpc_method_handler( + servicer.TaskToInProgress, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.SerializeToString, + ), + 'TaskToDone': grpc.unary_unary_rpc_method_handler( + servicer.TaskToDone, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.SerializeToString, + ), + 'AssignTaskToUser': grpc.unary_unary_rpc_method_handler( + servicer.AssignTaskToUser, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.SerializeToString, + ), + 'UnassignTaskFromUser': grpc.unary_unary_rpc_method_handler( + servicer.UnassignTaskFromUser, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.SerializeToString, + ), + 'PublishTask': grpc.unary_unary_rpc_method_handler( + servicer.PublishTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.SerializeToString, + ), + 'UnpublishTask': grpc.unary_unary_rpc_method_handler( + servicer.UnpublishTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.SerializeToString, + ), + 'DeleteTask': grpc.unary_unary_rpc_method_handler( + servicer.DeleteTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.TaskService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.TaskService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class TaskService(object): + """ + TaskService + + + """ + + @staticmethod + def CreateTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/CreateTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/GetTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetTasksByPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/GetTasksByPatient', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetTasksByPatientSortedByStatus(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAssignedTasks(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/GetAssignedTasks', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/UpdateTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AddSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/AddSubTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RemoveSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/RemoveSubTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/UpdateSubTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubTaskToToDo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/SubTaskToToDo', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubTaskToDone(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/SubTaskToDone', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TaskToToDo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/TaskToToDo', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TaskToInProgress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/TaskToInProgress', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TaskToDone(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/TaskToDone', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AssignTaskToUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/AssignTaskToUser', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnassignTaskFromUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/UnassignTaskFromUser', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PublishTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/PublishTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnpublishTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/UnpublishTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/DeleteTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/task_svc/v1/task_template_svc_pb2.py b/gen/python/services/task_svc/v1/task_template_svc_pb2.py new file mode 100644 index 000000000..3526abe25 --- /dev/null +++ b/gen/python/services/task_svc/v1/task_template_svc_pb2.py @@ -0,0 +1,77 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/task_template_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,services/task_svc/v1/task_template_svc.proto\x12\x14services.task_svc.v1\"\x84\x02\n\x19\x43reateTaskTemplateRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1c\n\x07ward_id\x18\x04 \x01(\tH\x01R\x06wardId\x88\x01\x01\x12S\n\x08subtasks\x18\x05 \x03(\x0b\x32\x37.services.task_svc.v1.CreateTaskTemplateRequest.SubTaskR\x08subtasks\x1a\x1d\n\x07SubTask\x12\x12\n\x04name\x18\x01 \x01(\tR\x04nameB\x0e\n\x0c_descriptionB\n\n\x08_ward_id\",\n\x1a\x43reateTaskTemplateResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1aGetAllTaskTemplatesRequest\"\xcb\x03\n\x1bGetAllTaskTemplatesResponse\x12\\\n\ttemplates\x18\x01 \x03(\x0b\x32>.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplateR\ttemplates\x1a\xcd\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12\x1d\n\ncreated_by\x18\x06 \x01(\tR\tcreatedBy\x12\x62\n\x08subtasks\x18\x07 \x03(\x0b\x32\x46.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"+\n\x19\x44\x65leteTaskTemplateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1a\x44\x65leteTaskTemplateResponse\"2\n DeleteTaskTemplateSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n!DeleteTaskTemplateSubTaskResponse\"\x84\x01\n\x19UpdateTaskTemplateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"\x1c\n\x1aUpdateTaskTemplateResponse\"c\n UpdateTaskTemplateSubTaskRequest\x12\x1d\n\nsubtask_id\x18\x01 \x01(\tR\tsubtaskId\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"#\n!UpdateTaskTemplateSubTaskResponse\"`\n CreateTaskTemplateSubTaskRequest\x12(\n\x10task_template_id\x18\x01 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"3\n!CreateTaskTemplateSubTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"}\n#GetAllTaskTemplatesByCreatorRequest\x12\x1d\n\ncreated_by\x18\x01 \x01(\tR\tcreatedBy\x12&\n\x0cprivate_only\x18\x02 \x01(\x08H\x00R\x0bprivateOnly\x88\x01\x01\x42\x0f\n\r_private_only\"\xc7\x03\n$GetAllTaskTemplatesByCreatorResponse\x12\x65\n\ttemplates\x18\x01 \x03(\x0b\x32G.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplateR\ttemplates\x1a\xb7\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12k\n\x08subtasks\x18\x07 \x03(\x0b\x32O.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\";\n GetAllTaskTemplatesByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xdd\x03\n!GetAllTaskTemplatesByWardResponse\x12\x62\n\ttemplates\x18\x01 \x03(\x0b\x32\x44.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplateR\ttemplates\x1a\xd3\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12\x1d\n\ncreated_by\x18\x06 \x01(\tR\tcreatedBy\x12h\n\x08subtasks\x18\x07 \x03(\x0b\x32L.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name2\xe2\t\n\x13TaskTemplateService\x12y\n\x12\x43reateTaskTemplate\x12/.services.task_svc.v1.CreateTaskTemplateRequest\x1a\x30.services.task_svc.v1.CreateTaskTemplateResponse\"\x00\x12|\n\x13GetAllTaskTemplates\x12\x30.services.task_svc.v1.GetAllTaskTemplatesRequest\x1a\x31.services.task_svc.v1.GetAllTaskTemplatesResponse\"\x00\x12y\n\x12\x44\x65leteTaskTemplate\x12/.services.task_svc.v1.DeleteTaskTemplateRequest\x1a\x30.services.task_svc.v1.DeleteTaskTemplateResponse\"\x00\x12\x8e\x01\n\x19\x44\x65leteTaskTemplateSubTask\x12\x36.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest\x1a\x37.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse\"\x00\x12y\n\x12UpdateTaskTemplate\x12/.services.task_svc.v1.UpdateTaskTemplateRequest\x1a\x30.services.task_svc.v1.UpdateTaskTemplateResponse\"\x00\x12\x8e\x01\n\x19UpdateTaskTemplateSubTask\x12\x36.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest\x1a\x37.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse\"\x00\x12\x8e\x01\n\x19\x43reateTaskTemplateSubTask\x12\x36.services.task_svc.v1.CreateTaskTemplateSubTaskRequest\x1a\x37.services.task_svc.v1.CreateTaskTemplateSubTaskResponse\"\x00\x12\x97\x01\n\x1cGetAllTaskTemplatesByCreator\x12\x39.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest\x1a:.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse\"\x00\x12\x8e\x01\n\x19GetAllTaskTemplatesByWard\x12\x36.services.task_svc.v1.GetAllTaskTemplatesByWardRequest\x1a\x37.services.task_svc.v1.GetAllTaskTemplatesByWardResponse\"\x00\x42\xbb\x01\n\x18\x63om.services.task_svc.v1B\x14TaskTemplateSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.task_template_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\024TaskTemplateSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_CREATETASKTEMPLATEREQUEST']._serialized_start=71 + _globals['_CREATETASKTEMPLATEREQUEST']._serialized_end=331 + _globals['_CREATETASKTEMPLATEREQUEST_SUBTASK']._serialized_start=274 + _globals['_CREATETASKTEMPLATEREQUEST_SUBTASK']._serialized_end=303 + _globals['_CREATETASKTEMPLATERESPONSE']._serialized_start=333 + _globals['_CREATETASKTEMPLATERESPONSE']._serialized_end=377 + _globals['_GETALLTASKTEMPLATESREQUEST']._serialized_start=379 + _globals['_GETALLTASKTEMPLATESREQUEST']._serialized_end=407 + _globals['_GETALLTASKTEMPLATESRESPONSE']._serialized_start=410 + _globals['_GETALLTASKTEMPLATESRESPONSE']._serialized_end=869 + _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE']._serialized_start=536 + _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE']._serialized_end=869 + _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=782 + _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=869 + _globals['_DELETETASKTEMPLATEREQUEST']._serialized_start=871 + _globals['_DELETETASKTEMPLATEREQUEST']._serialized_end=914 + _globals['_DELETETASKTEMPLATERESPONSE']._serialized_start=916 + _globals['_DELETETASKTEMPLATERESPONSE']._serialized_end=944 + _globals['_DELETETASKTEMPLATESUBTASKREQUEST']._serialized_start=946 + _globals['_DELETETASKTEMPLATESUBTASKREQUEST']._serialized_end=996 + _globals['_DELETETASKTEMPLATESUBTASKRESPONSE']._serialized_start=998 + _globals['_DELETETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1033 + _globals['_UPDATETASKTEMPLATEREQUEST']._serialized_start=1036 + _globals['_UPDATETASKTEMPLATEREQUEST']._serialized_end=1168 + _globals['_UPDATETASKTEMPLATERESPONSE']._serialized_start=1170 + _globals['_UPDATETASKTEMPLATERESPONSE']._serialized_end=1198 + _globals['_UPDATETASKTEMPLATESUBTASKREQUEST']._serialized_start=1200 + _globals['_UPDATETASKTEMPLATESUBTASKREQUEST']._serialized_end=1299 + _globals['_UPDATETASKTEMPLATESUBTASKRESPONSE']._serialized_start=1301 + _globals['_UPDATETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1336 + _globals['_CREATETASKTEMPLATESUBTASKREQUEST']._serialized_start=1338 + _globals['_CREATETASKTEMPLATESUBTASKREQUEST']._serialized_end=1434 + _globals['_CREATETASKTEMPLATESUBTASKRESPONSE']._serialized_start=1436 + _globals['_CREATETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1487 + _globals['_GETALLTASKTEMPLATESBYCREATORREQUEST']._serialized_start=1489 + _globals['_GETALLTASKTEMPLATESBYCREATORREQUEST']._serialized_end=1614 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE']._serialized_start=1617 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE']._serialized_end=2072 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE']._serialized_start=1761 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE']._serialized_end=2072 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=782 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=869 + _globals['_GETALLTASKTEMPLATESBYWARDREQUEST']._serialized_start=2074 + _globals['_GETALLTASKTEMPLATESBYWARDREQUEST']._serialized_end=2133 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE']._serialized_start=2136 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE']._serialized_end=2613 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE']._serialized_start=2274 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE']._serialized_end=2613 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=782 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=869 + _globals['_TASKTEMPLATESERVICE']._serialized_start=2616 + _globals['_TASKTEMPLATESERVICE']._serialized_end=3866 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/task_svc/v1/task_template_svc_pb2_grpc.py b/gen/python/services/task_svc/v1/task_template_svc_pb2_grpc.py new file mode 100644 index 000000000..4b05e0bce --- /dev/null +++ b/gen/python/services/task_svc/v1/task_template_svc_pb2_grpc.py @@ -0,0 +1,421 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import task_template_svc_pb2 as services_dot_task__svc_dot_v1_dot_task__template__svc__pb2 + + +class TaskTemplateServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateTaskTemplate = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.FromString, + _registered_method=True) + self.GetAllTaskTemplates = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.FromString, + _registered_method=True) + self.DeleteTaskTemplate = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.FromString, + _registered_method=True) + self.DeleteTaskTemplateSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.FromString, + _registered_method=True) + self.UpdateTaskTemplate = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.FromString, + _registered_method=True) + self.UpdateTaskTemplateSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.FromString, + _registered_method=True) + self.CreateTaskTemplateSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.FromString, + _registered_method=True) + self.GetAllTaskTemplatesByCreator = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.FromString, + _registered_method=True) + self.GetAllTaskTemplatesByWard = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.FromString, + _registered_method=True) + + +class TaskTemplateServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def CreateTaskTemplate(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAllTaskTemplates(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteTaskTemplate(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteTaskTemplateSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateTaskTemplate(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateTaskTemplateSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateTaskTemplateSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAllTaskTemplatesByCreator(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAllTaskTemplatesByWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_TaskTemplateServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateTaskTemplate': grpc.unary_unary_rpc_method_handler( + servicer.CreateTaskTemplate, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.SerializeToString, + ), + 'GetAllTaskTemplates': grpc.unary_unary_rpc_method_handler( + servicer.GetAllTaskTemplates, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.SerializeToString, + ), + 'DeleteTaskTemplate': grpc.unary_unary_rpc_method_handler( + servicer.DeleteTaskTemplate, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.SerializeToString, + ), + 'DeleteTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( + servicer.DeleteTaskTemplateSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.SerializeToString, + ), + 'UpdateTaskTemplate': grpc.unary_unary_rpc_method_handler( + servicer.UpdateTaskTemplate, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.SerializeToString, + ), + 'UpdateTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( + servicer.UpdateTaskTemplateSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.SerializeToString, + ), + 'CreateTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( + servicer.CreateTaskTemplateSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.SerializeToString, + ), + 'GetAllTaskTemplatesByCreator': grpc.unary_unary_rpc_method_handler( + servicer.GetAllTaskTemplatesByCreator, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.SerializeToString, + ), + 'GetAllTaskTemplatesByWard': grpc.unary_unary_rpc_method_handler( + servicer.GetAllTaskTemplatesByWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.TaskTemplateService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.TaskTemplateService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class TaskTemplateService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def CreateTaskTemplate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAllTaskTemplates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteTaskTemplate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteTaskTemplateSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateTaskTemplate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateTaskTemplateSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateTaskTemplateSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAllTaskTemplatesByCreator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAllTaskTemplatesByWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/task_svc/v1/ward_svc_pb2.py b/gen/python/services/task_svc/v1/ward_svc_pb2.py new file mode 100644 index 000000000..33629c650 --- /dev/null +++ b/gen/python/services/task_svc/v1/ward_svc_pb2.py @@ -0,0 +1,73 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/ward_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#services/task_svc/v1/ward_svc.proto\x12\x14services.task_svc.v1\"\'\n\x11\x43reateWardRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"$\n\x12\x43reateWardResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"^\n\x0fGetWardResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\"\x11\n\x0fGetWardsRequest\"\x81\x01\n\x10GetWardsResponse\x12\x41\n\x05wards\x18\x01 \x03(\x0b\x32+.services.task_svc.v1.GetWardsResponse.WardR\x05wards\x1a*\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x17\n\x15GetRecentWardsRequest\"\x95\x02\n\x16GetRecentWardsResponse\x12G\n\x05wards\x18\x01 \x03(\x0b\x32\x31.services.task_svc.v1.GetRecentWardsResponse.WardR\x05wards\x1a\xb1\x01\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n\tbed_count\x18\x03 \x01(\rR\x08\x62\x65\x64\x43ount\x12\x1d\n\ntasks_todo\x18\x04 \x01(\rR\ttasksTodo\x12*\n\x11tasks_in_progress\x18\x05 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x06 \x01(\rR\ttasksDone\"E\n\x11UpdateWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x14\n\x12UpdateWardResponse\"#\n\x11\x44\x65leteWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteWardResponse\"\'\n\x15GetWardDetailsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xba\x04\n\x16GetWardDetailsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12G\n\x05rooms\x18\x03 \x03(\x0b\x32\x31.services.task_svc.v1.GetWardDetailsResponse.RoomR\x05rooms\x12`\n\x0etask_templates\x18\x04 \x03(\x0b\x32\x39.services.task_svc.v1.GetWardDetailsResponse.TaskTemplateR\rtaskTemplates\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a-\n\x07Subtask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1ap\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x44\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x30.services.task_svc.v1.GetWardDetailsResponse.BedR\x04\x62\x65\x64s\x1a\x84\x01\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12P\n\x08subtasks\x18\x03 \x03(\x0b\x32\x34.services.task_svc.v1.GetWardDetailsResponse.SubtaskR\x08subtasks\"\x19\n\x17GetWardOverviewsRequest\"\x99\x02\n\x18GetWardOverviewsResponse\x12I\n\x05wards\x18\x01 \x03(\x0b\x32\x33.services.task_svc.v1.GetWardOverviewsResponse.WardR\x05wards\x1a\xb1\x01\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n\tbed_count\x18\x03 \x01(\rR\x08\x62\x65\x64\x43ount\x12\x1d\n\ntasks_todo\x18\x04 \x01(\rR\ttasksTodo\x12*\n\x11tasks_in_progress\x18\x05 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x06 \x01(\rR\ttasksDone2\xc0\x06\n\x0bWardService\x12\x61\n\nCreateWard\x12\'.services.task_svc.v1.CreateWardRequest\x1a(.services.task_svc.v1.CreateWardResponse\"\x00\x12X\n\x07GetWard\x12$.services.task_svc.v1.GetWardRequest\x1a%.services.task_svc.v1.GetWardResponse\"\x00\x12[\n\x08GetWards\x12%.services.task_svc.v1.GetWardsRequest\x1a&.services.task_svc.v1.GetWardsResponse\"\x00\x12m\n\x0eGetRecentWards\x12+.services.task_svc.v1.GetRecentWardsRequest\x1a,.services.task_svc.v1.GetRecentWardsResponse\"\x00\x12\x61\n\nUpdateWard\x12\'.services.task_svc.v1.UpdateWardRequest\x1a(.services.task_svc.v1.UpdateWardResponse\"\x00\x12\x61\n\nDeleteWard\x12\'.services.task_svc.v1.DeleteWardRequest\x1a(.services.task_svc.v1.DeleteWardResponse\"\x00\x12s\n\x10GetWardOverviews\x12-.services.task_svc.v1.GetWardOverviewsRequest\x1a..services.task_svc.v1.GetWardOverviewsResponse\"\x00\x12m\n\x0eGetWardDetails\x12+.services.task_svc.v1.GetWardDetailsRequest\x1a,.services.task_svc.v1.GetWardDetailsResponse\"\x00\x42\xb3\x01\n\x18\x63om.services.task_svc.v1B\x0cWardSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.ward_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\014WardSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_CREATEWARDREQUEST']._serialized_start=61 + _globals['_CREATEWARDREQUEST']._serialized_end=100 + _globals['_CREATEWARDRESPONSE']._serialized_start=102 + _globals['_CREATEWARDRESPONSE']._serialized_end=138 + _globals['_GETWARDREQUEST']._serialized_start=140 + _globals['_GETWARDREQUEST']._serialized_end=172 + _globals['_GETWARDRESPONSE']._serialized_start=174 + _globals['_GETWARDRESPONSE']._serialized_end=268 + _globals['_GETWARDSREQUEST']._serialized_start=270 + _globals['_GETWARDSREQUEST']._serialized_end=287 + _globals['_GETWARDSRESPONSE']._serialized_start=290 + _globals['_GETWARDSRESPONSE']._serialized_end=419 + _globals['_GETWARDSRESPONSE_WARD']._serialized_start=377 + _globals['_GETWARDSRESPONSE_WARD']._serialized_end=419 + _globals['_GETRECENTWARDSREQUEST']._serialized_start=421 + _globals['_GETRECENTWARDSREQUEST']._serialized_end=444 + _globals['_GETRECENTWARDSRESPONSE']._serialized_start=447 + _globals['_GETRECENTWARDSRESPONSE']._serialized_end=724 + _globals['_GETRECENTWARDSRESPONSE_WARD']._serialized_start=547 + _globals['_GETRECENTWARDSRESPONSE_WARD']._serialized_end=724 + _globals['_UPDATEWARDREQUEST']._serialized_start=726 + _globals['_UPDATEWARDREQUEST']._serialized_end=795 + _globals['_UPDATEWARDRESPONSE']._serialized_start=797 + _globals['_UPDATEWARDRESPONSE']._serialized_end=817 + _globals['_DELETEWARDREQUEST']._serialized_start=819 + _globals['_DELETEWARDREQUEST']._serialized_end=854 + _globals['_DELETEWARDRESPONSE']._serialized_start=856 + _globals['_DELETEWARDRESPONSE']._serialized_end=876 + _globals['_GETWARDDETAILSREQUEST']._serialized_start=878 + _globals['_GETWARDDETAILSREQUEST']._serialized_end=917 + _globals['_GETWARDDETAILSRESPONSE']._serialized_start=920 + _globals['_GETWARDDETAILSRESPONSE']._serialized_end=1490 + _globals['_GETWARDDETAILSRESPONSE_BED']._serialized_start=1153 + _globals['_GETWARDDETAILSRESPONSE_BED']._serialized_end=1194 + _globals['_GETWARDDETAILSRESPONSE_SUBTASK']._serialized_start=1196 + _globals['_GETWARDDETAILSRESPONSE_SUBTASK']._serialized_end=1241 + _globals['_GETWARDDETAILSRESPONSE_ROOM']._serialized_start=1243 + _globals['_GETWARDDETAILSRESPONSE_ROOM']._serialized_end=1355 + _globals['_GETWARDDETAILSRESPONSE_TASKTEMPLATE']._serialized_start=1358 + _globals['_GETWARDDETAILSRESPONSE_TASKTEMPLATE']._serialized_end=1490 + _globals['_GETWARDOVERVIEWSREQUEST']._serialized_start=1492 + _globals['_GETWARDOVERVIEWSREQUEST']._serialized_end=1517 + _globals['_GETWARDOVERVIEWSRESPONSE']._serialized_start=1520 + _globals['_GETWARDOVERVIEWSRESPONSE']._serialized_end=1801 + _globals['_GETWARDOVERVIEWSRESPONSE_WARD']._serialized_start=547 + _globals['_GETWARDOVERVIEWSRESPONSE_WARD']._serialized_end=724 + _globals['_WARDSERVICE']._serialized_start=1804 + _globals['_WARDSERVICE']._serialized_end=2636 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/task_svc/v1/ward_svc_pb2_grpc.py b/gen/python/services/task_svc/v1/ward_svc_pb2_grpc.py new file mode 100644 index 000000000..edc72f7c4 --- /dev/null +++ b/gen/python/services/task_svc/v1/ward_svc_pb2_grpc.py @@ -0,0 +1,390 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import ward_svc_pb2 as services_dot_task__svc_dot_v1_dot_ward__svc__pb2 + + +class WardServiceStub(object): + """ + WardService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateWard = channel.unary_unary( + '/services.task_svc.v1.WardService/CreateWard', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.FromString, + _registered_method=True) + self.GetWard = channel.unary_unary( + '/services.task_svc.v1.WardService/GetWard', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.FromString, + _registered_method=True) + self.GetWards = channel.unary_unary( + '/services.task_svc.v1.WardService/GetWards', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.FromString, + _registered_method=True) + self.GetRecentWards = channel.unary_unary( + '/services.task_svc.v1.WardService/GetRecentWards', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.FromString, + _registered_method=True) + self.UpdateWard = channel.unary_unary( + '/services.task_svc.v1.WardService/UpdateWard', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.FromString, + _registered_method=True) + self.DeleteWard = channel.unary_unary( + '/services.task_svc.v1.WardService/DeleteWard', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.FromString, + _registered_method=True) + self.GetWardOverviews = channel.unary_unary( + '/services.task_svc.v1.WardService/GetWardOverviews', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.FromString, + _registered_method=True) + self.GetWardDetails = channel.unary_unary( + '/services.task_svc.v1.WardService/GetWardDetails', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.FromString, + _registered_method=True) + + +class WardServiceServicer(object): + """ + WardService + + + """ + + def CreateWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetWards(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRecentWards(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetWardOverviews(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetWardDetails(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_WardServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateWard': grpc.unary_unary_rpc_method_handler( + servicer.CreateWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.SerializeToString, + ), + 'GetWard': grpc.unary_unary_rpc_method_handler( + servicer.GetWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.SerializeToString, + ), + 'GetWards': grpc.unary_unary_rpc_method_handler( + servicer.GetWards, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.SerializeToString, + ), + 'GetRecentWards': grpc.unary_unary_rpc_method_handler( + servicer.GetRecentWards, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.SerializeToString, + ), + 'UpdateWard': grpc.unary_unary_rpc_method_handler( + servicer.UpdateWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.SerializeToString, + ), + 'DeleteWard': grpc.unary_unary_rpc_method_handler( + servicer.DeleteWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.SerializeToString, + ), + 'GetWardOverviews': grpc.unary_unary_rpc_method_handler( + servicer.GetWardOverviews, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.SerializeToString, + ), + 'GetWardDetails': grpc.unary_unary_rpc_method_handler( + servicer.GetWardDetails, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.WardService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.WardService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class WardService(object): + """ + WardService + + + """ + + @staticmethod + def CreateWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/CreateWard', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/GetWard', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetWards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/GetWards', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRecentWards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/GetRecentWards', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/UpdateWard', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/DeleteWard', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetWardOverviews(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/GetWardOverviews', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetWardDetails(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/GetWardDetails', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/tasks_svc/v1/patient_svc_pb2.py b/gen/python/services/tasks_svc/v1/patient_svc_pb2.py new file mode 100644 index 000000000..4ddcc910d --- /dev/null +++ b/gen/python/services/tasks_svc/v1/patient_svc_pb2.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/tasks_svc/v1/patient_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'services/tasks_svc/v1/patient_svc.proto\x12\x15services.tasks_svc.v1\"w\n\x14\x43reatePatientRequest\x12:\n\x19human_readable_identifier\x18\x01 \x01(\tR\x17humanReadableIdentifier\x12\x19\n\x05notes\x18\x02 \x01(\tH\x00R\x05notes\x88\x01\x01\x42\x08\n\x06_notes\"\'\n\x15\x43reatePatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n\x11GetPatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xd7\x03\n\x12GetPatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x12\x1c\n\x07ward_id\x18\x05 \x01(\tH\x01R\x06wardId\x88\x01\x01\x12G\n\x04room\x18\x07 \x01(\x0b\x32..services.tasks_svc.v1.GetPatientResponse.RoomH\x02R\x04room\x88\x01\x01\x12\x44\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32-.services.tasks_svc.v1.GetPatientResponse.BedH\x03R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\t\n\x07_bed_idB\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"\x1a\n\x18GetRecentPatientsRequest\"\xf5\x03\n\x19GetRecentPatientsResponse\x12o\n\x0frecent_patients\x18\x01 \x03(\x0b\x32\x46.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBedR\x0erecentPatients\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\xf6\x01\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12I\n\x04room\x18\x03 \x01(\x0b\x32\x35.services.tasks_svc.v1.GetRecentPatientsResponse.RoomR\x04room\x12\x46\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32\x34.services.tasks_svc.v1.GetRecentPatientsResponse.BedR\x03\x62\x65\x64\"\xaa\x01\n\x14UpdatePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12?\n\x19human_readable_identifier\x18\x02 \x01(\tH\x00R\x17humanReadableIdentifier\x88\x01\x01\x12\x19\n\x05notes\x18\x03 \x01(\tH\x01R\x05notes\x88\x01\x01\x42\x1c\n\x1a_human_readable_identifierB\x08\n\x06_notes\"\x17\n\x15UpdatePatientResponse\"9\n\x10\x41ssignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06\x62\x65\x64_id\x18\x02 \x01(\tR\x05\x62\x65\x64Id\"\x13\n\x11\x41ssignBedResponse\"$\n\x12UnassignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13UnassignBedResponse\")\n\x17\x44ischargePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18\x44ischargePatientResponse\"6\n\x15ReadmitPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\x18\n\x16ReadmitPatientResponse2\xfd\x06\n\x0ePatientService\x12l\n\rCreatePatient\x12+.services.tasks_svc.v1.CreatePatientRequest\x1a,.services.tasks_svc.v1.CreatePatientResponse\"\x00\x12\x63\n\nGetPatient\x12(.services.tasks_svc.v1.GetPatientRequest\x1a).services.tasks_svc.v1.GetPatientResponse\"\x00\x12x\n\x11GetRecentPatients\x12/.services.tasks_svc.v1.GetRecentPatientsRequest\x1a\x30.services.tasks_svc.v1.GetRecentPatientsResponse\"\x00\x12l\n\rUpdatePatient\x12+.services.tasks_svc.v1.UpdatePatientRequest\x1a,.services.tasks_svc.v1.UpdatePatientResponse\"\x00\x12`\n\tAssignBed\x12\'.services.tasks_svc.v1.AssignBedRequest\x1a(.services.tasks_svc.v1.AssignBedResponse\"\x00\x12\x66\n\x0bUnassignBed\x12).services.tasks_svc.v1.UnassignBedRequest\x1a*.services.tasks_svc.v1.UnassignBedResponse\"\x00\x12u\n\x10\x44ischargePatient\x12..services.tasks_svc.v1.DischargePatientRequest\x1a/.services.tasks_svc.v1.DischargePatientResponse\"\x00\x12o\n\x0eReadmitPatient\x12,.services.tasks_svc.v1.ReadmitPatientRequest\x1a-.services.tasks_svc.v1.ReadmitPatientResponse\"\x00\x42\xbc\x01\n\x19\x63om.services.tasks_svc.v1B\x0fPatientSvcProtoP\x01Z\x1cgen/proto/services/tasks-svc\xa2\x02\x03STX\xaa\x02\x14Services.TasksSvc.V1\xca\x02\x14Services\\TasksSvc\\V1\xe2\x02 Services\\TasksSvc\\V1\\GPBMetadata\xea\x02\x16Services::TasksSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.tasks_svc.v1.patient_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.services.tasks_svc.v1B\017PatientSvcProtoP\001Z\034gen/proto/services/tasks-svc\242\002\003STX\252\002\024Services.TasksSvc.V1\312\002\024Services\\TasksSvc\\V1\342\002 Services\\TasksSvc\\V1\\GPBMetadata\352\002\026Services::TasksSvc::V1' + _globals['_CREATEPATIENTREQUEST']._serialized_start=66 + _globals['_CREATEPATIENTREQUEST']._serialized_end=185 + _globals['_CREATEPATIENTRESPONSE']._serialized_start=187 + _globals['_CREATEPATIENTRESPONSE']._serialized_end=226 + _globals['_GETPATIENTREQUEST']._serialized_start=228 + _globals['_GETPATIENTREQUEST']._serialized_end=263 + _globals['_GETPATIENTRESPONSE']._serialized_start=266 + _globals['_GETPATIENTRESPONSE']._serialized_end=737 + _globals['_GETPATIENTRESPONSE_ROOM']._serialized_start=587 + _globals['_GETPATIENTRESPONSE_ROOM']._serialized_end=654 + _globals['_GETPATIENTRESPONSE_BED']._serialized_start=656 + _globals['_GETPATIENTRESPONSE_BED']._serialized_end=697 + _globals['_GETRECENTPATIENTSREQUEST']._serialized_start=739 + _globals['_GETRECENTPATIENTSREQUEST']._serialized_end=765 + _globals['_GETRECENTPATIENTSRESPONSE']._serialized_start=768 + _globals['_GETRECENTPATIENTSRESPONSE']._serialized_end=1269 + _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_start=656 + _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_end=697 + _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_start=587 + _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_end=654 + _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=1023 + _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=1269 + _globals['_UPDATEPATIENTREQUEST']._serialized_start=1272 + _globals['_UPDATEPATIENTREQUEST']._serialized_end=1442 + _globals['_UPDATEPATIENTRESPONSE']._serialized_start=1444 + _globals['_UPDATEPATIENTRESPONSE']._serialized_end=1467 + _globals['_ASSIGNBEDREQUEST']._serialized_start=1469 + _globals['_ASSIGNBEDREQUEST']._serialized_end=1526 + _globals['_ASSIGNBEDRESPONSE']._serialized_start=1528 + _globals['_ASSIGNBEDRESPONSE']._serialized_end=1547 + _globals['_UNASSIGNBEDREQUEST']._serialized_start=1549 + _globals['_UNASSIGNBEDREQUEST']._serialized_end=1585 + _globals['_UNASSIGNBEDRESPONSE']._serialized_start=1587 + _globals['_UNASSIGNBEDRESPONSE']._serialized_end=1608 + _globals['_DISCHARGEPATIENTREQUEST']._serialized_start=1610 + _globals['_DISCHARGEPATIENTREQUEST']._serialized_end=1651 + _globals['_DISCHARGEPATIENTRESPONSE']._serialized_start=1653 + _globals['_DISCHARGEPATIENTRESPONSE']._serialized_end=1679 + _globals['_READMITPATIENTREQUEST']._serialized_start=1681 + _globals['_READMITPATIENTREQUEST']._serialized_end=1735 + _globals['_READMITPATIENTRESPONSE']._serialized_start=1737 + _globals['_READMITPATIENTRESPONSE']._serialized_end=1761 + _globals['_PATIENTSERVICE']._serialized_start=1764 + _globals['_PATIENTSERVICE']._serialized_end=2657 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/tasks_svc/v1/patient_svc_pb2_grpc.py b/gen/python/services/tasks_svc/v1/patient_svc_pb2_grpc.py new file mode 100644 index 000000000..e2a9041c0 --- /dev/null +++ b/gen/python/services/tasks_svc/v1/patient_svc_pb2_grpc.py @@ -0,0 +1,390 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.tasks_svc.v1 import patient_svc_pb2 as services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2 + + +class PatientServiceStub(object): + """ + PatientService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreatePatient = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/CreatePatient', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, + _registered_method=True) + self.GetPatient = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/GetPatient', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, + _registered_method=True) + self.GetRecentPatients = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/GetRecentPatients', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, + _registered_method=True) + self.UpdatePatient = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/UpdatePatient', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, + _registered_method=True) + self.AssignBed = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/AssignBed', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, + _registered_method=True) + self.UnassignBed = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/UnassignBed', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, + _registered_method=True) + self.DischargePatient = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/DischargePatient', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, + _registered_method=True) + self.ReadmitPatient = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/ReadmitPatient', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, + _registered_method=True) + + +class PatientServiceServicer(object): + """ + PatientService + + + """ + + def CreatePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRecentPatients(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdatePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AssignBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnassignBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DischargePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ReadmitPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PatientServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreatePatient': grpc.unary_unary_rpc_method_handler( + servicer.CreatePatient, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.SerializeToString, + ), + 'GetPatient': grpc.unary_unary_rpc_method_handler( + servicer.GetPatient, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.SerializeToString, + ), + 'GetRecentPatients': grpc.unary_unary_rpc_method_handler( + servicer.GetRecentPatients, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.SerializeToString, + ), + 'UpdatePatient': grpc.unary_unary_rpc_method_handler( + servicer.UpdatePatient, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.SerializeToString, + ), + 'AssignBed': grpc.unary_unary_rpc_method_handler( + servicer.AssignBed, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.SerializeToString, + ), + 'UnassignBed': grpc.unary_unary_rpc_method_handler( + servicer.UnassignBed, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.SerializeToString, + ), + 'DischargePatient': grpc.unary_unary_rpc_method_handler( + servicer.DischargePatient, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.SerializeToString, + ), + 'ReadmitPatient': grpc.unary_unary_rpc_method_handler( + servicer.ReadmitPatient, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.tasks_svc.v1.PatientService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.tasks_svc.v1.PatientService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PatientService(object): + """ + PatientService + + + """ + + @staticmethod + def CreatePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/CreatePatient', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/GetPatient', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRecentPatients(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/GetRecentPatients', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdatePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/UpdatePatient', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AssignBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/AssignBed', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnassignBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/UnassignBed', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DischargePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/DischargePatient', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ReadmitPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/ReadmitPatient', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/tasks_svc/v1/task_svc_pb2.py b/gen/python/services/tasks_svc/v1/task_svc_pb2.py new file mode 100644 index 000000000..9fcd66034 --- /dev/null +++ b/gen/python/services/tasks_svc/v1/task_svc_pb2.py @@ -0,0 +1,76 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/tasks_svc/v1/task_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$services/tasks_svc/v1/task_svc.proto\x12\x15services.tasks_svc.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xba\x02\n\x11\x43reateTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1d\n\npatient_id\x18\x03 \x01(\tR\tpatientId\x12\x1b\n\x06public\x18\x04 \x01(\x08H\x01R\x06public\x88\x01\x01\x12\x31\n\x06\x64ue_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12M\n\x0einitial_status\x18\x06 \x01(\x0e\x32!.services.tasks_svc.v1.TaskStatusH\x02R\rinitialStatus\x88\x01\x01\x42\x0e\n\x0c_descriptionB\t\n\x07_publicB\x11\n\x0f_initial_status\"$\n\x12\x43reateTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xbf\x01\n\x11UpdateTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x36\n\x06\x64ue_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x05\x64ueAt\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\t\n\x07_due_at\"\x14\n\x12UpdateTaskResponse\" \n\x0eGetTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x83\x03\n\x0fGetTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12%\n\x0e\x61ssigned_users\x18\x04 \x03(\tR\rassignedUsers\x12J\n\x08subtasks\x18\x05 \x03(\x0b\x32..services.tasks_svc.v1.GetTaskResponse.SubtaskR\x08subtasks\x12\x39\n\x06status\x18\x06 \x01(\x0e\x32!.services.tasks_svc.v1.TaskStatusR\x06status\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x1a\x41\n\x07Subtask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\"E\n\x11\x41ssignTaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x14\n\x12\x41ssignTaskResponse\"G\n\x13UnassignTaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x16\n\x14UnassignTaskResponse\"\x9d\x01\n\x14\x43reateSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12M\n\x07subtask\x18\x02 \x01(\x0b\x32\x33.services.tasks_svc.v1.CreateSubtaskRequest.SubtaskR\x07subtask\x1a\x1d\n\x07Subtask\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"6\n\x15\x43reateSubtaskResponse\x12\x1d\n\nsubtask_id\x18\x01 \x01(\tR\tsubtaskId\"\xca\x01\n\x14UpdateSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\x12M\n\x07subtask\x18\x03 \x01(\x0b\x32\x33.services.tasks_svc.v1.UpdateSubtaskRequest.SubtaskR\x07subtask\x1a+\n\x07Subtask\x12\x17\n\x04name\x18\x01 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x17\n\x15UpdateSubtaskResponse\"P\n\x16\x43ompleteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x19\n\x17\x43ompleteSubtaskResponse\"R\n\x18UncompleteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x1b\n\x19UncompleteSubtaskResponse\"N\n\x14\x44\x65leteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x17\n\x15\x44\x65leteSubtaskResponse*r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x32\xbb\x08\n\x0bTaskService\x12\x63\n\nCreateTask\x12(.services.tasks_svc.v1.CreateTaskRequest\x1a).services.tasks_svc.v1.CreateTaskResponse\"\x00\x12\x63\n\nUpdateTask\x12(.services.tasks_svc.v1.UpdateTaskRequest\x1a).services.tasks_svc.v1.UpdateTaskResponse\"\x00\x12Z\n\x07GetTask\x12%.services.tasks_svc.v1.GetTaskRequest\x1a&.services.tasks_svc.v1.GetTaskResponse\"\x00\x12\x63\n\nAssignTask\x12(.services.tasks_svc.v1.AssignTaskRequest\x1a).services.tasks_svc.v1.AssignTaskResponse\"\x00\x12i\n\x0cUnassignTask\x12*.services.tasks_svc.v1.UnassignTaskRequest\x1a+.services.tasks_svc.v1.UnassignTaskResponse\"\x00\x12l\n\rCreateSubtask\x12+.services.tasks_svc.v1.CreateSubtaskRequest\x1a,.services.tasks_svc.v1.CreateSubtaskResponse\"\x00\x12l\n\rUpdateSubtask\x12+.services.tasks_svc.v1.UpdateSubtaskRequest\x1a,.services.tasks_svc.v1.UpdateSubtaskResponse\"\x00\x12r\n\x0f\x43ompleteSubtask\x12-.services.tasks_svc.v1.CompleteSubtaskRequest\x1a..services.tasks_svc.v1.CompleteSubtaskResponse\"\x00\x12x\n\x11UncompleteSubtask\x12/.services.tasks_svc.v1.UncompleteSubtaskRequest\x1a\x30.services.tasks_svc.v1.UncompleteSubtaskResponse\"\x00\x12l\n\rDeleteSubtask\x12+.services.tasks_svc.v1.DeleteSubtaskRequest\x1a,.services.tasks_svc.v1.DeleteSubtaskResponse\"\x00\x42\xb9\x01\n\x19\x63om.services.tasks_svc.v1B\x0cTaskSvcProtoP\x01Z\x1cgen/proto/services/tasks-svc\xa2\x02\x03STX\xaa\x02\x14Services.TasksSvc.V1\xca\x02\x14Services\\TasksSvc\\V1\xe2\x02 Services\\TasksSvc\\V1\\GPBMetadata\xea\x02\x16Services::TasksSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.tasks_svc.v1.task_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.services.tasks_svc.v1B\014TaskSvcProtoP\001Z\034gen/proto/services/tasks-svc\242\002\003STX\252\002\024Services.TasksSvc.V1\312\002\024Services\\TasksSvc\\V1\342\002 Services\\TasksSvc\\V1\\GPBMetadata\352\002\026Services::TasksSvc::V1' + _globals['_TASKSTATUS']._serialized_start=2054 + _globals['_TASKSTATUS']._serialized_end=2168 + _globals['_CREATETASKREQUEST']._serialized_start=97 + _globals['_CREATETASKREQUEST']._serialized_end=411 + _globals['_CREATETASKRESPONSE']._serialized_start=413 + _globals['_CREATETASKRESPONSE']._serialized_end=449 + _globals['_UPDATETASKREQUEST']._serialized_start=452 + _globals['_UPDATETASKREQUEST']._serialized_end=643 + _globals['_UPDATETASKRESPONSE']._serialized_start=645 + _globals['_UPDATETASKRESPONSE']._serialized_end=665 + _globals['_GETTASKREQUEST']._serialized_start=667 + _globals['_GETTASKREQUEST']._serialized_end=699 + _globals['_GETTASKRESPONSE']._serialized_start=702 + _globals['_GETTASKRESPONSE']._serialized_end=1089 + _globals['_GETTASKRESPONSE_SUBTASK']._serialized_start=1024 + _globals['_GETTASKRESPONSE_SUBTASK']._serialized_end=1089 + _globals['_ASSIGNTASKREQUEST']._serialized_start=1091 + _globals['_ASSIGNTASKREQUEST']._serialized_end=1160 + _globals['_ASSIGNTASKRESPONSE']._serialized_start=1162 + _globals['_ASSIGNTASKRESPONSE']._serialized_end=1182 + _globals['_UNASSIGNTASKREQUEST']._serialized_start=1184 + _globals['_UNASSIGNTASKREQUEST']._serialized_end=1255 + _globals['_UNASSIGNTASKRESPONSE']._serialized_start=1257 + _globals['_UNASSIGNTASKRESPONSE']._serialized_end=1279 + _globals['_CREATESUBTASKREQUEST']._serialized_start=1282 + _globals['_CREATESUBTASKREQUEST']._serialized_end=1439 + _globals['_CREATESUBTASKREQUEST_SUBTASK']._serialized_start=1410 + _globals['_CREATESUBTASKREQUEST_SUBTASK']._serialized_end=1439 + _globals['_CREATESUBTASKRESPONSE']._serialized_start=1441 + _globals['_CREATESUBTASKRESPONSE']._serialized_end=1495 + _globals['_UPDATESUBTASKREQUEST']._serialized_start=1498 + _globals['_UPDATESUBTASKREQUEST']._serialized_end=1700 + _globals['_UPDATESUBTASKREQUEST_SUBTASK']._serialized_start=1657 + _globals['_UPDATESUBTASKREQUEST_SUBTASK']._serialized_end=1700 + _globals['_UPDATESUBTASKRESPONSE']._serialized_start=1702 + _globals['_UPDATESUBTASKRESPONSE']._serialized_end=1725 + _globals['_COMPLETESUBTASKREQUEST']._serialized_start=1727 + _globals['_COMPLETESUBTASKREQUEST']._serialized_end=1807 + _globals['_COMPLETESUBTASKRESPONSE']._serialized_start=1809 + _globals['_COMPLETESUBTASKRESPONSE']._serialized_end=1834 + _globals['_UNCOMPLETESUBTASKREQUEST']._serialized_start=1836 + _globals['_UNCOMPLETESUBTASKREQUEST']._serialized_end=1918 + _globals['_UNCOMPLETESUBTASKRESPONSE']._serialized_start=1920 + _globals['_UNCOMPLETESUBTASKRESPONSE']._serialized_end=1947 + _globals['_DELETESUBTASKREQUEST']._serialized_start=1949 + _globals['_DELETESUBTASKREQUEST']._serialized_end=2027 + _globals['_DELETESUBTASKRESPONSE']._serialized_start=2029 + _globals['_DELETESUBTASKRESPONSE']._serialized_end=2052 + _globals['_TASKSERVICE']._serialized_start=2171 + _globals['_TASKSERVICE']._serialized_end=3254 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/tasks_svc/v1/task_svc_pb2_grpc.py b/gen/python/services/tasks_svc/v1/task_svc_pb2_grpc.py new file mode 100644 index 000000000..fe0379435 --- /dev/null +++ b/gen/python/services/tasks_svc/v1/task_svc_pb2_grpc.py @@ -0,0 +1,476 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.tasks_svc.v1 import task_svc_pb2 as services_dot_tasks__svc_dot_v1_dot_task__svc__pb2 + + +class TaskServiceStub(object): + """ + TaskService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateTask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/CreateTask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, + _registered_method=True) + self.UpdateTask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/UpdateTask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, + _registered_method=True) + self.GetTask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/GetTask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, + _registered_method=True) + self.AssignTask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/AssignTask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.FromString, + _registered_method=True) + self.UnassignTask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/UnassignTask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.FromString, + _registered_method=True) + self.CreateSubtask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/CreateSubtask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.FromString, + _registered_method=True) + self.UpdateSubtask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/UpdateSubtask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.FromString, + _registered_method=True) + self.CompleteSubtask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/CompleteSubtask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.FromString, + _registered_method=True) + self.UncompleteSubtask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/UncompleteSubtask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.FromString, + _registered_method=True) + self.DeleteSubtask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/DeleteSubtask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.FromString, + _registered_method=True) + + +class TaskServiceServicer(object): + """ + TaskService + + + """ + + def CreateTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AssignTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnassignTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateSubtask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateSubtask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CompleteSubtask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UncompleteSubtask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteSubtask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_TaskServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateTask': grpc.unary_unary_rpc_method_handler( + servicer.CreateTask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.SerializeToString, + ), + 'UpdateTask': grpc.unary_unary_rpc_method_handler( + servicer.UpdateTask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.SerializeToString, + ), + 'GetTask': grpc.unary_unary_rpc_method_handler( + servicer.GetTask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.SerializeToString, + ), + 'AssignTask': grpc.unary_unary_rpc_method_handler( + servicer.AssignTask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.SerializeToString, + ), + 'UnassignTask': grpc.unary_unary_rpc_method_handler( + servicer.UnassignTask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.SerializeToString, + ), + 'CreateSubtask': grpc.unary_unary_rpc_method_handler( + servicer.CreateSubtask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.SerializeToString, + ), + 'UpdateSubtask': grpc.unary_unary_rpc_method_handler( + servicer.UpdateSubtask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.SerializeToString, + ), + 'CompleteSubtask': grpc.unary_unary_rpc_method_handler( + servicer.CompleteSubtask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.SerializeToString, + ), + 'UncompleteSubtask': grpc.unary_unary_rpc_method_handler( + servicer.UncompleteSubtask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.SerializeToString, + ), + 'DeleteSubtask': grpc.unary_unary_rpc_method_handler( + servicer.DeleteSubtask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.tasks_svc.v1.TaskService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.tasks_svc.v1.TaskService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class TaskService(object): + """ + TaskService + + + """ + + @staticmethod + def CreateTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/CreateTask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/UpdateTask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/GetTask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AssignTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/AssignTask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnassignTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/UnassignTask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateSubtask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/CreateSubtask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateSubtask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/UpdateSubtask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CompleteSubtask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/CompleteSubtask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UncompleteSubtask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/UncompleteSubtask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteSubtask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/DeleteSubtask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/user_svc/v1/organization_svc_pb2.py b/gen/python/services/user_svc/v1/organization_svc_pb2.py new file mode 100644 index 000000000..61dcdf147 --- /dev/null +++ b/gen/python/services/user_svc/v1/organization_svc_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/user_svc/v1/organization_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+services/user_svc/v1/organization_svc.proto\x12\x14services.user_svc.v1\"\xb2\x01\n\x19\x43reateOrganizationRequest\x12\x1b\n\tlong_name\x18\x01 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x02 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x03 \x01(\tR\x0c\x63ontactEmail\x12$\n\x0bis_personal\x18\x04 \x01(\x08H\x00R\nisPersonal\x88\x01\x01\x42\x0e\n\x0c_is_personal\",\n\x1a\x43reateOrganizationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xd2\x01\n CreateOrganizationForUserRequest\x12\x1b\n\tlong_name\x18\x01 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x02 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x03 \x01(\tR\x0c\x63ontactEmail\x12$\n\x0bis_personal\x18\x04 \x01(\x08H\x00R\nisPersonal\x88\x01\x01\x12\x17\n\x07user_id\x18\x05 \x01(\tR\x06userIdB\x0e\n\x0c_is_personal\"3\n!CreateOrganizationForUserResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"0\n\x15GetOrganizationMember\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"(\n\x16GetOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xa5\x02\n\x17GetOrganizationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12\x45\n\x07members\x18\x07 \x03(\x0b\x32+.services.user_svc.v1.GetOrganizationMemberR\x07membersB\r\n\x0b_avatar_url\"8\n\x1dGetOrganizationsByUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xcc\x04\n\x1eGetOrganizationsByUserResponse\x12g\n\rorganizations\x18\x01 \x03(\x0b\x32\x41.services.user_svc.v1.GetOrganizationsByUserResponse.OrganizationR\rorganizations\x1a\xc0\x03\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12\x62\n\x07members\x18\x07 \x03(\x0b\x32H.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_urlB\r\n\x0b_avatar_url\" \n\x1eGetOrganizationsForUserRequest\"\xcf\x04\n\x1fGetOrganizationsForUserResponse\x12h\n\rorganizations\x18\x01 \x03(\x0b\x32\x42.services.user_svc.v1.GetOrganizationsForUserResponse.OrganizationR\rorganizations\x1a\xc1\x03\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12\x63\n\x07members\x18\x07 \x03(\x0b\x32I.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_urlB\r\n\x0b_avatar_url\"\xb3\x02\n\x19UpdateOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12 \n\tlong_name\x18\x02 \x01(\tH\x00R\x08longName\x88\x01\x01\x12\"\n\nshort_name\x18\x03 \x01(\tH\x01R\tshortName\x88\x01\x01\x12(\n\rcontact_email\x18\x04 \x01(\tH\x02R\x0c\x63ontactEmail\x88\x01\x01\x12\"\n\navatar_url\x18\x05 \x01(\tH\x03R\tavatarUrl\x88\x01\x01\x12$\n\x0bis_personal\x18\x06 \x01(\x08H\x04R\nisPersonal\x88\x01\x01\x42\x0c\n\n_long_nameB\r\n\x0b_short_nameB\x10\n\x0e_contact_emailB\r\n\x0b_avatar_urlB\x0e\n\x0c_is_personal\"\x1c\n\x1aUpdateOrganizationResponse\"+\n\x19\x44\x65leteOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1a\x44\x65leteOrganizationResponse\"1\n\x1fGetMembersByOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x84\x02\n GetMembersByOrganizationResponse\x12W\n\x07members\x18\x01 \x03(\x0b\x32=.services.user_svc.v1.GetMembersByOrganizationResponse.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\";\n\x10\x41\x64\x64MemberRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x13\n\x11\x41\x64\x64MemberResponse\">\n\x13RemoveMemberRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x16\n\x14RemoveMemberResponse\"T\n\x13InviteMemberRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\"&\n\x14InviteMemberResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x9a\x01\n#GetInvitationsByOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12@\n\x05state\x18\x02 \x01(\x0e\x32%.services.user_svc.v1.InvitationStateH\x00R\x05state\x88\x01\x01\x42\x08\n\x06_state\"\xaa\x02\n$GetInvitationsByOrganizationResponse\x12g\n\x0binvitations\x18\x01 \x03(\x0b\x32\x45.services.user_svc.v1.GetInvitationsByOrganizationResponse.InvitationR\x0binvitations\x1a\x98\x01\n\nInvitation\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12;\n\x05state\x18\x04 \x01(\x0e\x32%.services.user_svc.v1.InvitationStateR\x05state\"i\n\x1bGetInvitationsByUserRequest\x12@\n\x05state\x18\x01 \x01(\x0e\x32%.services.user_svc.v1.InvitationStateH\x00R\x05state\x88\x01\x01\x42\x08\n\x06_state\"\xd1\x03\n\x1cGetInvitationsByUserResponse\x12_\n\x0binvitations\x18\x01 \x03(\x0b\x32=.services.user_svc.v1.GetInvitationsByUserResponse.InvitationR\x0binvitations\x1a\xcf\x02\n\nInvitation\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12n\n\x0corganization\x18\x03 \x01(\x0b\x32J.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.OrganizationR\x0corganization\x12;\n\x05state\x18\x04 \x01(\x0e\x32%.services.user_svc.v1.InvitationStateR\x05state\x1an\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\"\n\navatar_url\x18\x03 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\">\n\x17\x41\x63\x63\x65ptInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1a\n\x18\x41\x63\x63\x65ptInvitationResponse\"?\n\x18\x44\x65\x63lineInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1b\n\x19\x44\x65\x63lineInvitationResponse\">\n\x17RevokeInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1a\n\x18RevokeInvitationResponse*\xad\x01\n\x0fInvitationState\x12 \n\x1cINVITATION_STATE_UNSPECIFIED\x10\x00\x12\x1c\n\x18INVITATION_STATE_PENDING\x10\x01\x12\x1d\n\x19INVITATION_STATE_ACCEPTED\x10\x02\x12\x1d\n\x19INVITATION_STATE_REJECTED\x10\x03\x12\x1c\n\x18INVITATION_STATE_REVOKED\x10\x04\x32\xd9\x0f\n\x13OrganizationService\x12y\n\x12\x43reateOrganization\x12/.services.user_svc.v1.CreateOrganizationRequest\x1a\x30.services.user_svc.v1.CreateOrganizationResponse\"\x00\x12\x8e\x01\n\x19\x43reateOrganizationForUser\x12\x36.services.user_svc.v1.CreateOrganizationForUserRequest\x1a\x37.services.user_svc.v1.CreateOrganizationForUserResponse\"\x00\x12p\n\x0fGetOrganization\x12,.services.user_svc.v1.GetOrganizationRequest\x1a-.services.user_svc.v1.GetOrganizationResponse\"\x00\x12\x85\x01\n\x16GetOrganizationsByUser\x12\x33.services.user_svc.v1.GetOrganizationsByUserRequest\x1a\x34.services.user_svc.v1.GetOrganizationsByUserResponse\"\x00\x12\x88\x01\n\x17GetOrganizationsForUser\x12\x34.services.user_svc.v1.GetOrganizationsForUserRequest\x1a\x35.services.user_svc.v1.GetOrganizationsForUserResponse\"\x00\x12y\n\x12UpdateOrganization\x12/.services.user_svc.v1.UpdateOrganizationRequest\x1a\x30.services.user_svc.v1.UpdateOrganizationResponse\"\x00\x12y\n\x12\x44\x65leteOrganization\x12/.services.user_svc.v1.DeleteOrganizationRequest\x1a\x30.services.user_svc.v1.DeleteOrganizationResponse\"\x00\x12\x8b\x01\n\x18GetMembersByOrganization\x12\x35.services.user_svc.v1.GetMembersByOrganizationRequest\x1a\x36.services.user_svc.v1.GetMembersByOrganizationResponse\"\x00\x12^\n\tAddMember\x12&.services.user_svc.v1.AddMemberRequest\x1a\'.services.user_svc.v1.AddMemberResponse\"\x00\x12g\n\x0cRemoveMember\x12).services.user_svc.v1.RemoveMemberRequest\x1a*.services.user_svc.v1.RemoveMemberResponse\"\x00\x12g\n\x0cInviteMember\x12).services.user_svc.v1.InviteMemberRequest\x1a*.services.user_svc.v1.InviteMemberResponse\"\x00\x12\x97\x01\n\x1cGetInvitationsByOrganization\x12\x39.services.user_svc.v1.GetInvitationsByOrganizationRequest\x1a:.services.user_svc.v1.GetInvitationsByOrganizationResponse\"\x00\x12\x7f\n\x14GetInvitationsByUser\x12\x31.services.user_svc.v1.GetInvitationsByUserRequest\x1a\x32.services.user_svc.v1.GetInvitationsByUserResponse\"\x00\x12s\n\x10\x41\x63\x63\x65ptInvitation\x12-.services.user_svc.v1.AcceptInvitationRequest\x1a..services.user_svc.v1.AcceptInvitationResponse\"\x00\x12v\n\x11\x44\x65\x63lineInvitation\x12..services.user_svc.v1.DeclineInvitationRequest\x1a/.services.user_svc.v1.DeclineInvitationResponse\"\x00\x12s\n\x10RevokeInvitation\x12-.services.user_svc.v1.RevokeInvitationRequest\x1a..services.user_svc.v1.RevokeInvitationResponse\"\x00\x42\xbb\x01\n\x18\x63om.services.user_svc.v1B\x14OrganizationSvcProtoP\x01Z\x1bgen/proto/services/user-svc\xa2\x02\x03SUX\xaa\x02\x13Services.UserSvc.V1\xca\x02\x13Services\\UserSvc\\V1\xe2\x02\x1fServices\\UserSvc\\V1\\GPBMetadata\xea\x02\x15Services::UserSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.user_svc.v1.organization_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.user_svc.v1B\024OrganizationSvcProtoP\001Z\033gen/proto/services/user-svc\242\002\003SUX\252\002\023Services.UserSvc.V1\312\002\023Services\\UserSvc\\V1\342\002\037Services\\UserSvc\\V1\\GPBMetadata\352\002\025Services::UserSvc::V1' + _globals['_INVITATIONSTATE']._serialized_start=4564 + _globals['_INVITATIONSTATE']._serialized_end=4737 + _globals['_CREATEORGANIZATIONREQUEST']._serialized_start=70 + _globals['_CREATEORGANIZATIONREQUEST']._serialized_end=248 + _globals['_CREATEORGANIZATIONRESPONSE']._serialized_start=250 + _globals['_CREATEORGANIZATIONRESPONSE']._serialized_end=294 + _globals['_CREATEORGANIZATIONFORUSERREQUEST']._serialized_start=297 + _globals['_CREATEORGANIZATIONFORUSERREQUEST']._serialized_end=507 + _globals['_CREATEORGANIZATIONFORUSERRESPONSE']._serialized_start=509 + _globals['_CREATEORGANIZATIONFORUSERRESPONSE']._serialized_end=560 + _globals['_GETORGANIZATIONMEMBER']._serialized_start=562 + _globals['_GETORGANIZATIONMEMBER']._serialized_end=610 + _globals['_GETORGANIZATIONREQUEST']._serialized_start=612 + _globals['_GETORGANIZATIONREQUEST']._serialized_end=652 + _globals['_GETORGANIZATIONRESPONSE']._serialized_start=655 + _globals['_GETORGANIZATIONRESPONSE']._serialized_end=948 + _globals['_GETORGANIZATIONSBYUSERREQUEST']._serialized_start=950 + _globals['_GETORGANIZATIONSBYUSERREQUEST']._serialized_end=1006 + _globals['_GETORGANIZATIONSBYUSERRESPONSE']._serialized_start=1009 + _globals['_GETORGANIZATIONSBYUSERRESPONSE']._serialized_end=1597 + _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION']._serialized_start=1149 + _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION']._serialized_end=1597 + _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_start=1448 + _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_end=1582 + _globals['_GETORGANIZATIONSFORUSERREQUEST']._serialized_start=1599 + _globals['_GETORGANIZATIONSFORUSERREQUEST']._serialized_end=1631 + _globals['_GETORGANIZATIONSFORUSERRESPONSE']._serialized_start=1634 + _globals['_GETORGANIZATIONSFORUSERRESPONSE']._serialized_end=2225 + _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION']._serialized_start=1776 + _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION']._serialized_end=2225 + _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_start=1448 + _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_end=1582 + _globals['_UPDATEORGANIZATIONREQUEST']._serialized_start=2228 + _globals['_UPDATEORGANIZATIONREQUEST']._serialized_end=2535 + _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_start=2537 + _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_end=2565 + _globals['_DELETEORGANIZATIONREQUEST']._serialized_start=2567 + _globals['_DELETEORGANIZATIONREQUEST']._serialized_end=2610 + _globals['_DELETEORGANIZATIONRESPONSE']._serialized_start=2612 + _globals['_DELETEORGANIZATIONRESPONSE']._serialized_end=2640 + _globals['_GETMEMBERSBYORGANIZATIONREQUEST']._serialized_start=2642 + _globals['_GETMEMBERSBYORGANIZATIONREQUEST']._serialized_end=2691 + _globals['_GETMEMBERSBYORGANIZATIONRESPONSE']._serialized_start=2694 + _globals['_GETMEMBERSBYORGANIZATIONRESPONSE']._serialized_end=2954 + _globals['_GETMEMBERSBYORGANIZATIONRESPONSE_MEMBER']._serialized_start=1448 + _globals['_GETMEMBERSBYORGANIZATIONRESPONSE_MEMBER']._serialized_end=1582 + _globals['_ADDMEMBERREQUEST']._serialized_start=2956 + _globals['_ADDMEMBERREQUEST']._serialized_end=3015 + _globals['_ADDMEMBERRESPONSE']._serialized_start=3017 + _globals['_ADDMEMBERRESPONSE']._serialized_end=3036 + _globals['_REMOVEMEMBERREQUEST']._serialized_start=3038 + _globals['_REMOVEMEMBERREQUEST']._serialized_end=3100 + _globals['_REMOVEMEMBERRESPONSE']._serialized_start=3102 + _globals['_REMOVEMEMBERRESPONSE']._serialized_end=3124 + _globals['_INVITEMEMBERREQUEST']._serialized_start=3126 + _globals['_INVITEMEMBERREQUEST']._serialized_end=3210 + _globals['_INVITEMEMBERRESPONSE']._serialized_start=3212 + _globals['_INVITEMEMBERRESPONSE']._serialized_end=3250 + _globals['_GETINVITATIONSBYORGANIZATIONREQUEST']._serialized_start=3253 + _globals['_GETINVITATIONSBYORGANIZATIONREQUEST']._serialized_end=3407 + _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE']._serialized_start=3410 + _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE']._serialized_end=3708 + _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE_INVITATION']._serialized_start=3556 + _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE_INVITATION']._serialized_end=3708 + _globals['_GETINVITATIONSBYUSERREQUEST']._serialized_start=3710 + _globals['_GETINVITATIONSBYUSERREQUEST']._serialized_end=3815 + _globals['_GETINVITATIONSBYUSERRESPONSE']._serialized_start=3818 + _globals['_GETINVITATIONSBYUSERRESPONSE']._serialized_end=4283 + _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION']._serialized_start=3948 + _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION']._serialized_end=4283 + _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION_ORGANIZATION']._serialized_start=4173 + _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION_ORGANIZATION']._serialized_end=4283 + _globals['_ACCEPTINVITATIONREQUEST']._serialized_start=4285 + _globals['_ACCEPTINVITATIONREQUEST']._serialized_end=4347 + _globals['_ACCEPTINVITATIONRESPONSE']._serialized_start=4349 + _globals['_ACCEPTINVITATIONRESPONSE']._serialized_end=4375 + _globals['_DECLINEINVITATIONREQUEST']._serialized_start=4377 + _globals['_DECLINEINVITATIONREQUEST']._serialized_end=4440 + _globals['_DECLINEINVITATIONRESPONSE']._serialized_start=4442 + _globals['_DECLINEINVITATIONRESPONSE']._serialized_end=4469 + _globals['_REVOKEINVITATIONREQUEST']._serialized_start=4471 + _globals['_REVOKEINVITATIONREQUEST']._serialized_end=4533 + _globals['_REVOKEINVITATIONRESPONSE']._serialized_start=4535 + _globals['_REVOKEINVITATIONRESPONSE']._serialized_end=4561 + _globals['_ORGANIZATIONSERVICE']._serialized_start=4740 + _globals['_ORGANIZATIONSERVICE']._serialized_end=6749 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/user_svc/v1/organization_svc_pb2_grpc.py b/gen/python/services/user_svc/v1/organization_svc_pb2_grpc.py new file mode 100644 index 000000000..6e498444f --- /dev/null +++ b/gen/python/services/user_svc/v1/organization_svc_pb2_grpc.py @@ -0,0 +1,734 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.user_svc.v1 import organization_svc_pb2 as services_dot_user__svc_dot_v1_dot_organization__svc__pb2 + + +class OrganizationServiceStub(object): + """ + OrganizationService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/CreateOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.FromString, + _registered_method=True) + self.CreateOrganizationForUser = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/CreateOrganizationForUser', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.FromString, + _registered_method=True) + self.GetOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.FromString, + _registered_method=True) + self.GetOrganizationsByUser = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetOrganizationsByUser', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.FromString, + _registered_method=True) + self.GetOrganizationsForUser = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetOrganizationsForUser', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.FromString, + _registered_method=True) + self.UpdateOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/UpdateOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.FromString, + _registered_method=True) + self.DeleteOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/DeleteOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.FromString, + _registered_method=True) + self.GetMembersByOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetMembersByOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.FromString, + _registered_method=True) + self.AddMember = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/AddMember', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.FromString, + _registered_method=True) + self.RemoveMember = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/RemoveMember', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.FromString, + _registered_method=True) + self.InviteMember = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/InviteMember', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.FromString, + _registered_method=True) + self.GetInvitationsByOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.FromString, + _registered_method=True) + self.GetInvitationsByUser = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetInvitationsByUser', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.FromString, + _registered_method=True) + self.AcceptInvitation = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/AcceptInvitation', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.FromString, + _registered_method=True) + self.DeclineInvitation = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/DeclineInvitation', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.FromString, + _registered_method=True) + self.RevokeInvitation = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/RevokeInvitation', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.FromString, + _registered_method=True) + + +class OrganizationServiceServicer(object): + """ + OrganizationService + + + """ + + def CreateOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateOrganizationForUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetOrganizationsByUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetOrganizationsForUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetMembersByOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddMember(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RemoveMember(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InviteMember(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetInvitationsByOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetInvitationsByUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AcceptInvitation(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeclineInvitation(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RevokeInvitation(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_OrganizationServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateOrganization': grpc.unary_unary_rpc_method_handler( + servicer.CreateOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.SerializeToString, + ), + 'CreateOrganizationForUser': grpc.unary_unary_rpc_method_handler( + servicer.CreateOrganizationForUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.SerializeToString, + ), + 'GetOrganization': grpc.unary_unary_rpc_method_handler( + servicer.GetOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.SerializeToString, + ), + 'GetOrganizationsByUser': grpc.unary_unary_rpc_method_handler( + servicer.GetOrganizationsByUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.SerializeToString, + ), + 'GetOrganizationsForUser': grpc.unary_unary_rpc_method_handler( + servicer.GetOrganizationsForUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.SerializeToString, + ), + 'UpdateOrganization': grpc.unary_unary_rpc_method_handler( + servicer.UpdateOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.SerializeToString, + ), + 'DeleteOrganization': grpc.unary_unary_rpc_method_handler( + servicer.DeleteOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.SerializeToString, + ), + 'GetMembersByOrganization': grpc.unary_unary_rpc_method_handler( + servicer.GetMembersByOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.SerializeToString, + ), + 'AddMember': grpc.unary_unary_rpc_method_handler( + servicer.AddMember, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.SerializeToString, + ), + 'RemoveMember': grpc.unary_unary_rpc_method_handler( + servicer.RemoveMember, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.SerializeToString, + ), + 'InviteMember': grpc.unary_unary_rpc_method_handler( + servicer.InviteMember, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.SerializeToString, + ), + 'GetInvitationsByOrganization': grpc.unary_unary_rpc_method_handler( + servicer.GetInvitationsByOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.SerializeToString, + ), + 'GetInvitationsByUser': grpc.unary_unary_rpc_method_handler( + servicer.GetInvitationsByUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.SerializeToString, + ), + 'AcceptInvitation': grpc.unary_unary_rpc_method_handler( + servicer.AcceptInvitation, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.SerializeToString, + ), + 'DeclineInvitation': grpc.unary_unary_rpc_method_handler( + servicer.DeclineInvitation, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.SerializeToString, + ), + 'RevokeInvitation': grpc.unary_unary_rpc_method_handler( + servicer.RevokeInvitation, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.user_svc.v1.OrganizationService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.user_svc.v1.OrganizationService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class OrganizationService(object): + """ + OrganizationService + + + """ + + @staticmethod + def CreateOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/CreateOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateOrganizationForUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/CreateOrganizationForUser', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetOrganizationsByUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetOrganizationsByUser', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetOrganizationsForUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetOrganizationsForUser', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/UpdateOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/DeleteOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetMembersByOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetMembersByOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AddMember(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/AddMember', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RemoveMember(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/RemoveMember', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InviteMember(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/InviteMember', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetInvitationsByOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetInvitationsByUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetInvitationsByUser', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AcceptInvitation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/AcceptInvitation', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeclineInvitation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/DeclineInvitation', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RevokeInvitation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/RevokeInvitation', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/python/services/user_svc/v1/user_svc_pb2.py b/gen/python/services/user_svc/v1/user_svc_pb2.py new file mode 100644 index 000000000..89703d5fb --- /dev/null +++ b/gen/python/services/user_svc/v1/user_svc_pb2.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/user_svc/v1/user_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#services/user_svc/v1/user_svc.proto\x12\x14services.user_svc.v1\"i\n\x11\x43reateUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"$\n\x12\x43reateUserResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"&\n\x14ReadSelfOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x11\n\x0fReadSelfRequest\"\xd7\x01\n\x10ReadSelfResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12P\n\rorganizations\x18\x05 \x03(\x0b\x32*.services.user_svc.v1.ReadSelfOrganizationR\rorganizationsB\r\n\x0b_avatar_url\"*\n\x18ReadPublicProfileRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x8e\x01\n\x19ReadPublicProfileResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\"#\n\x11UpdateUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12UpdateUserResponse2\xa8\x03\n\x0bUserService\x12\x61\n\nCreateUser\x12\'.services.user_svc.v1.CreateUserRequest\x1a(.services.user_svc.v1.CreateUserResponse\"\x00\x12[\n\x08ReadSelf\x12%.services.user_svc.v1.ReadSelfRequest\x1a&.services.user_svc.v1.ReadSelfResponse\"\x00\x12v\n\x11ReadPublicProfile\x12..services.user_svc.v1.ReadPublicProfileRequest\x1a/.services.user_svc.v1.ReadPublicProfileResponse\"\x00\x12\x61\n\nUpdateUser\x12\'.services.user_svc.v1.UpdateUserRequest\x1a(.services.user_svc.v1.UpdateUserResponse\"\x00\x42\xb3\x01\n\x18\x63om.services.user_svc.v1B\x0cUserSvcProtoP\x01Z\x1bgen/proto/services/user-svc\xa2\x02\x03SUX\xaa\x02\x13Services.UserSvc.V1\xca\x02\x13Services\\UserSvc\\V1\xe2\x02\x1fServices\\UserSvc\\V1\\GPBMetadata\xea\x02\x15Services::UserSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.user_svc.v1.user_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.user_svc.v1B\014UserSvcProtoP\001Z\033gen/proto/services/user-svc\242\002\003SUX\252\002\023Services.UserSvc.V1\312\002\023Services\\UserSvc\\V1\342\002\037Services\\UserSvc\\V1\\GPBMetadata\352\002\025Services::UserSvc::V1' + _globals['_CREATEUSERREQUEST']._serialized_start=61 + _globals['_CREATEUSERREQUEST']._serialized_end=166 + _globals['_CREATEUSERRESPONSE']._serialized_start=168 + _globals['_CREATEUSERRESPONSE']._serialized_end=204 + _globals['_READSELFORGANIZATION']._serialized_start=206 + _globals['_READSELFORGANIZATION']._serialized_end=244 + _globals['_READSELFREQUEST']._serialized_start=246 + _globals['_READSELFREQUEST']._serialized_end=263 + _globals['_READSELFRESPONSE']._serialized_start=266 + _globals['_READSELFRESPONSE']._serialized_end=481 + _globals['_READPUBLICPROFILEREQUEST']._serialized_start=483 + _globals['_READPUBLICPROFILEREQUEST']._serialized_end=525 + _globals['_READPUBLICPROFILERESPONSE']._serialized_start=528 + _globals['_READPUBLICPROFILERESPONSE']._serialized_end=670 + _globals['_UPDATEUSERREQUEST']._serialized_start=672 + _globals['_UPDATEUSERREQUEST']._serialized_end=707 + _globals['_UPDATEUSERRESPONSE']._serialized_start=709 + _globals['_UPDATEUSERRESPONSE']._serialized_end=729 + _globals['_USERSERVICE']._serialized_start=732 + _globals['_USERSERVICE']._serialized_end=1156 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/services/user_svc/v1/user_svc_pb2_grpc.py b/gen/python/services/user_svc/v1/user_svc_pb2_grpc.py new file mode 100644 index 000000000..022e09f1e --- /dev/null +++ b/gen/python/services/user_svc/v1/user_svc_pb2_grpc.py @@ -0,0 +1,218 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.user_svc.v1 import user_svc_pb2 as services_dot_user__svc_dot_v1_dot_user__svc__pb2 + + +class UserServiceStub(object): + """ + UserService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateUser = channel.unary_unary( + '/services.user_svc.v1.UserService/CreateUser', + request_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.FromString, + _registered_method=True) + self.ReadSelf = channel.unary_unary( + '/services.user_svc.v1.UserService/ReadSelf', + request_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.FromString, + _registered_method=True) + self.ReadPublicProfile = channel.unary_unary( + '/services.user_svc.v1.UserService/ReadPublicProfile', + request_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.FromString, + _registered_method=True) + self.UpdateUser = channel.unary_unary( + '/services.user_svc.v1.UserService/UpdateUser', + request_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.FromString, + _registered_method=True) + + +class UserServiceServicer(object): + """ + UserService + + + """ + + def CreateUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ReadSelf(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ReadPublicProfile(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_UserServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateUser': grpc.unary_unary_rpc_method_handler( + servicer.CreateUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.SerializeToString, + ), + 'ReadSelf': grpc.unary_unary_rpc_method_handler( + servicer.ReadSelf, + request_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.SerializeToString, + ), + 'ReadPublicProfile': grpc.unary_unary_rpc_method_handler( + servicer.ReadPublicProfile, + request_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.SerializeToString, + ), + 'UpdateUser': grpc.unary_unary_rpc_method_handler( + servicer.UpdateUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.user_svc.v1.UserService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.user_svc.v1.UserService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class UserService(object): + """ + UserService + + + """ + + @staticmethod + def CreateUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.UserService/CreateUser', + services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ReadSelf(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.UserService/ReadSelf', + services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ReadPublicProfile(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.UserService/ReadPublicProfile', + services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.UserService/UpdateUser', + services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/gen/ts/google/protobuf/any_pb.d.ts b/gen/ts/google/protobuf/any_pb.d.ts deleted file mode 100644 index 62620a5cc..000000000 --- a/gen/ts/google/protobuf/any_pb.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import * as jspb from 'google-protobuf' - - - -export class Any extends jspb.Message { - getTypeUrl(): string; - setTypeUrl(value: string): Any; - - getValue(): Uint8Array | string; - getValue_asU8(): Uint8Array; - getValue_asB64(): string; - setValue(value: Uint8Array | string): Any; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Any.AsObject; - static toObject(includeInstance: boolean, msg: Any): Any.AsObject; - static serializeBinaryToWriter(message: Any, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Any; - static deserializeBinaryFromReader(message: Any, reader: jspb.BinaryReader): Any; -} - -export namespace Any { - export type AsObject = { - typeUrl: string, - value: Uint8Array | string, - } -} - diff --git a/gen/ts/google/protobuf/any_pb.js b/gen/ts/google/protobuf/any_pb.js deleted file mode 100644 index c9799fca8..000000000 --- a/gen/ts/google/protobuf/any_pb.js +++ /dev/null @@ -1,281 +0,0 @@ -// source: google/protobuf/any.proto -/** - * @fileoverview - * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. - * @suppress {messageConventions} JS Compiler reports an error if a variable or - * field starts with 'MSG_' and isn't a translatable message. - * @public - */ -// GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck - -var jspb = require('google-protobuf'); -var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); - -goog.exportSymbol('proto.google.protobuf.Any', null, global); -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.google.protobuf.Any = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.google.protobuf.Any, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.google.protobuf.Any.displayName = 'proto.google.protobuf.Any'; -} - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.google.protobuf.Any.prototype.toObject = function(opt_includeInstance) { - return proto.google.protobuf.Any.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.google.protobuf.Any} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.google.protobuf.Any.toObject = function(includeInstance, msg) { - var f, obj = { - typeUrl: jspb.Message.getFieldWithDefault(msg, 1, ""), - value: msg.getValue_asB64() - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.google.protobuf.Any} - */ -proto.google.protobuf.Any.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.google.protobuf.Any; - return proto.google.protobuf.Any.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.google.protobuf.Any} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.google.protobuf.Any} - */ -proto.google.protobuf.Any.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeUrl(value); - break; - case 2: - var value = /** @type {!Uint8Array} */ (reader.readBytes()); - msg.setValue(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.google.protobuf.Any.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.google.protobuf.Any.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.google.protobuf.Any} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.google.protobuf.Any.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getTypeUrl(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getValue_asU8(); - if (f.length > 0) { - writer.writeBytes( - 2, - f - ); - } -}; - - -/** - * optional string type_url = 1; - * @return {string} - */ -proto.google.protobuf.Any.prototype.getTypeUrl = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.google.protobuf.Any} returns this - */ -proto.google.protobuf.Any.prototype.setTypeUrl = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional bytes value = 2; - * @return {!(string|Uint8Array)} - */ -proto.google.protobuf.Any.prototype.getValue = function() { - return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * optional bytes value = 2; - * This is a type-conversion wrapper around `getValue()` - * @return {string} - */ -proto.google.protobuf.Any.prototype.getValue_asB64 = function() { - return /** @type {string} */ (jspb.Message.bytesAsB64( - this.getValue())); -}; - - -/** - * optional bytes value = 2; - * Note that Uint8Array is not supported on all browsers. - * @see http://caniuse.com/Uint8Array - * This is a type-conversion wrapper around `getValue()` - * @return {!Uint8Array} - */ -proto.google.protobuf.Any.prototype.getValue_asU8 = function() { - return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( - this.getValue())); -}; - - -/** - * @param {!(string|Uint8Array)} value - * @return {!proto.google.protobuf.Any} returns this - */ -proto.google.protobuf.Any.prototype.setValue = function(value) { - return jspb.Message.setProto3BytesField(this, 2, value); -}; - - -goog.object.extend(exports, proto.google.protobuf); -/* This code will be inserted into generated code for - * google/protobuf/any.proto. */ - -/** - * Returns the type name contained in this instance, if any. - * @return {string|undefined} - */ -proto.google.protobuf.Any.prototype.getTypeName = function() { - return this.getTypeUrl().split('/').pop(); -}; - - -/** - * Packs the given message instance into this Any. - * For binary format usage only. - * @param {!Uint8Array} serialized The serialized data to pack. - * @param {string} name The type name of this message object. - * @param {string=} opt_typeUrlPrefix the type URL prefix. - */ -proto.google.protobuf.Any.prototype.pack = function(serialized, name, - opt_typeUrlPrefix) { - if (!opt_typeUrlPrefix) { - opt_typeUrlPrefix = 'type.googleapis.com/'; - } - - if (opt_typeUrlPrefix.substr(-1) != '/') { - this.setTypeUrl(opt_typeUrlPrefix + '/' + name); - } else { - this.setTypeUrl(opt_typeUrlPrefix + name); - } - - this.setValue(serialized); -}; - - -/** - * @template T - * Unpacks this Any into the given message object. - * @param {function(Uint8Array):T} deserialize Function that will deserialize - * the binary data properly. - * @param {string} name The expected type name of this message object. - * @return {?T} If the name matched the expected name, returns the deserialized - * object, otherwise returns null. - */ -proto.google.protobuf.Any.prototype.unpack = function(deserialize, name) { - if (this.getTypeName() == name) { - return deserialize(this.getValue_asU8()); - } else { - return null; - } -}; diff --git a/gen/ts/google/protobuf/empty_pb.d.ts b/gen/ts/google/protobuf/empty_pb.d.ts deleted file mode 100644 index 32c56d12c..000000000 --- a/gen/ts/google/protobuf/empty_pb.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import * as jspb from 'google-protobuf' - - - -export class Empty extends jspb.Message { - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): Empty.AsObject; - static toObject(includeInstance: boolean, msg: Empty): Empty.AsObject; - static serializeBinaryToWriter(message: Empty, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): Empty; - static deserializeBinaryFromReader(message: Empty, reader: jspb.BinaryReader): Empty; -} - -export namespace Empty { - export type AsObject = { - } -} - diff --git a/gen/ts/google/protobuf/empty_pb.js b/gen/ts/google/protobuf/empty_pb.js deleted file mode 100644 index 8cabbd242..000000000 --- a/gen/ts/google/protobuf/empty_pb.js +++ /dev/null @@ -1,147 +0,0 @@ -// source: google/protobuf/empty.proto -/** - * @fileoverview - * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. - * @suppress {messageConventions} JS Compiler reports an error if a variable or - * field starts with 'MSG_' and isn't a translatable message. - * @public - */ -// GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck - -var jspb = require('google-protobuf'); -var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); - -goog.exportSymbol('proto.google.protobuf.Empty', null, global); -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.google.protobuf.Empty = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.google.protobuf.Empty, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.google.protobuf.Empty.displayName = 'proto.google.protobuf.Empty'; -} - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.google.protobuf.Empty.prototype.toObject = function(opt_includeInstance) { - return proto.google.protobuf.Empty.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.google.protobuf.Empty} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.google.protobuf.Empty.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.google.protobuf.Empty} - */ -proto.google.protobuf.Empty.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.google.protobuf.Empty; - return proto.google.protobuf.Empty.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.google.protobuf.Empty} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.google.protobuf.Empty} - */ -proto.google.protobuf.Empty.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.google.protobuf.Empty.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.google.protobuf.Empty.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.google.protobuf.Empty} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.google.protobuf.Empty.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - -goog.object.extend(exports, proto.google.protobuf); diff --git a/gen/ts/proto/libs/events/v1/organization_events_pb.d.ts b/gen/ts/libs/events/v1/organization_events_pb.d.ts similarity index 100% rename from gen/ts/proto/libs/events/v1/organization_events_pb.d.ts rename to gen/ts/libs/events/v1/organization_events_pb.d.ts diff --git a/gen/ts/proto/libs/events/v1/organization_events_pb.js b/gen/ts/libs/events/v1/organization_events_pb.js similarity index 62% rename from gen/ts/proto/libs/events/v1/organization_events_pb.js rename to gen/ts/libs/events/v1/organization_events_pb.js index 2fafd8aac..63f8456ee 100644 --- a/gen/ts/proto/libs/events/v1/organization_events_pb.js +++ b/gen/ts/libs/events/v1/organization_events_pb.js @@ -1,4 +1,4 @@ -// source: proto/libs/events/v1/organization_events.proto +// source: libs/events/v1/organization_events.proto /** * @fileoverview * @enhanceable @@ -21,8 +21,8 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.libs.events.v1.OrganizationCreatedEvent', null, global); -goog.exportSymbol('proto.proto.libs.events.v1.OrganizationDeletedEvent', null, global); +goog.exportSymbol('proto.libs.events.v1.OrganizationCreatedEvent', null, global); +goog.exportSymbol('proto.libs.events.v1.OrganizationDeletedEvent', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -33,16 +33,16 @@ goog.exportSymbol('proto.proto.libs.events.v1.OrganizationDeletedEvent', null, g * @extends {jspb.Message} * @constructor */ -proto.proto.libs.events.v1.OrganizationCreatedEvent = function(opt_data) { +proto.libs.events.v1.OrganizationCreatedEvent = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.libs.events.v1.OrganizationCreatedEvent, jspb.Message); +goog.inherits(proto.libs.events.v1.OrganizationCreatedEvent, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.libs.events.v1.OrganizationCreatedEvent.displayName = 'proto.proto.libs.events.v1.OrganizationCreatedEvent'; + proto.libs.events.v1.OrganizationCreatedEvent.displayName = 'proto.libs.events.v1.OrganizationCreatedEvent'; } /** * Generated by JsPbCodeGenerator. @@ -54,16 +54,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.libs.events.v1.OrganizationDeletedEvent = function(opt_data) { +proto.libs.events.v1.OrganizationDeletedEvent = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.libs.events.v1.OrganizationDeletedEvent, jspb.Message); +goog.inherits(proto.libs.events.v1.OrganizationDeletedEvent, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.libs.events.v1.OrganizationDeletedEvent.displayName = 'proto.proto.libs.events.v1.OrganizationDeletedEvent'; + proto.libs.events.v1.OrganizationDeletedEvent.displayName = 'proto.libs.events.v1.OrganizationDeletedEvent'; } @@ -81,8 +81,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.libs.events.v1.OrganizationCreatedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.proto.libs.events.v1.OrganizationCreatedEvent.toObject(opt_includeInstance, this); +proto.libs.events.v1.OrganizationCreatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.events.v1.OrganizationCreatedEvent.toObject(opt_includeInstance, this); }; @@ -91,11 +91,11 @@ proto.proto.libs.events.v1.OrganizationCreatedEvent.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.libs.events.v1.OrganizationCreatedEvent} msg The msg instance to transform. + * @param {!proto.libs.events.v1.OrganizationCreatedEvent} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.libs.events.v1.OrganizationCreatedEvent.toObject = function(includeInstance, msg) { +proto.libs.events.v1.OrganizationCreatedEvent.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), userId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -112,23 +112,23 @@ proto.proto.libs.events.v1.OrganizationCreatedEvent.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.libs.events.v1.OrganizationCreatedEvent} + * @return {!proto.libs.events.v1.OrganizationCreatedEvent} */ -proto.proto.libs.events.v1.OrganizationCreatedEvent.deserializeBinary = function(bytes) { +proto.libs.events.v1.OrganizationCreatedEvent.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.libs.events.v1.OrganizationCreatedEvent; - return proto.proto.libs.events.v1.OrganizationCreatedEvent.deserializeBinaryFromReader(msg, reader); + var msg = new proto.libs.events.v1.OrganizationCreatedEvent; + return proto.libs.events.v1.OrganizationCreatedEvent.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.libs.events.v1.OrganizationCreatedEvent} msg The message object to deserialize into. + * @param {!proto.libs.events.v1.OrganizationCreatedEvent} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.libs.events.v1.OrganizationCreatedEvent} + * @return {!proto.libs.events.v1.OrganizationCreatedEvent} */ -proto.proto.libs.events.v1.OrganizationCreatedEvent.deserializeBinaryFromReader = function(msg, reader) { +proto.libs.events.v1.OrganizationCreatedEvent.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -156,9 +156,9 @@ proto.proto.libs.events.v1.OrganizationCreatedEvent.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.libs.events.v1.OrganizationCreatedEvent.prototype.serializeBinary = function() { +proto.libs.events.v1.OrganizationCreatedEvent.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.libs.events.v1.OrganizationCreatedEvent.serializeBinaryToWriter(this, writer); + proto.libs.events.v1.OrganizationCreatedEvent.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -166,11 +166,11 @@ proto.proto.libs.events.v1.OrganizationCreatedEvent.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.libs.events.v1.OrganizationCreatedEvent} message + * @param {!proto.libs.events.v1.OrganizationCreatedEvent} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.libs.events.v1.OrganizationCreatedEvent.serializeBinaryToWriter = function(message, writer) { +proto.libs.events.v1.OrganizationCreatedEvent.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -193,16 +193,16 @@ proto.proto.libs.events.v1.OrganizationCreatedEvent.serializeBinaryToWriter = fu * optional string id = 1; * @return {string} */ -proto.proto.libs.events.v1.OrganizationCreatedEvent.prototype.getId = function() { +proto.libs.events.v1.OrganizationCreatedEvent.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.OrganizationCreatedEvent} returns this + * @return {!proto.libs.events.v1.OrganizationCreatedEvent} returns this */ -proto.proto.libs.events.v1.OrganizationCreatedEvent.prototype.setId = function(value) { +proto.libs.events.v1.OrganizationCreatedEvent.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -211,16 +211,16 @@ proto.proto.libs.events.v1.OrganizationCreatedEvent.prototype.setId = function(v * optional string user_id = 2; * @return {string} */ -proto.proto.libs.events.v1.OrganizationCreatedEvent.prototype.getUserId = function() { +proto.libs.events.v1.OrganizationCreatedEvent.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.OrganizationCreatedEvent} returns this + * @return {!proto.libs.events.v1.OrganizationCreatedEvent} returns this */ -proto.proto.libs.events.v1.OrganizationCreatedEvent.prototype.setUserId = function(value) { +proto.libs.events.v1.OrganizationCreatedEvent.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -241,8 +241,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.libs.events.v1.OrganizationDeletedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.proto.libs.events.v1.OrganizationDeletedEvent.toObject(opt_includeInstance, this); +proto.libs.events.v1.OrganizationDeletedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.events.v1.OrganizationDeletedEvent.toObject(opt_includeInstance, this); }; @@ -251,11 +251,11 @@ proto.proto.libs.events.v1.OrganizationDeletedEvent.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.libs.events.v1.OrganizationDeletedEvent} msg The msg instance to transform. + * @param {!proto.libs.events.v1.OrganizationDeletedEvent} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.libs.events.v1.OrganizationDeletedEvent.toObject = function(includeInstance, msg) { +proto.libs.events.v1.OrganizationDeletedEvent.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -271,23 +271,23 @@ proto.proto.libs.events.v1.OrganizationDeletedEvent.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.libs.events.v1.OrganizationDeletedEvent} + * @return {!proto.libs.events.v1.OrganizationDeletedEvent} */ -proto.proto.libs.events.v1.OrganizationDeletedEvent.deserializeBinary = function(bytes) { +proto.libs.events.v1.OrganizationDeletedEvent.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.libs.events.v1.OrganizationDeletedEvent; - return proto.proto.libs.events.v1.OrganizationDeletedEvent.deserializeBinaryFromReader(msg, reader); + var msg = new proto.libs.events.v1.OrganizationDeletedEvent; + return proto.libs.events.v1.OrganizationDeletedEvent.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.libs.events.v1.OrganizationDeletedEvent} msg The message object to deserialize into. + * @param {!proto.libs.events.v1.OrganizationDeletedEvent} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.libs.events.v1.OrganizationDeletedEvent} + * @return {!proto.libs.events.v1.OrganizationDeletedEvent} */ -proto.proto.libs.events.v1.OrganizationDeletedEvent.deserializeBinaryFromReader = function(msg, reader) { +proto.libs.events.v1.OrganizationDeletedEvent.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -311,9 +311,9 @@ proto.proto.libs.events.v1.OrganizationDeletedEvent.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.libs.events.v1.OrganizationDeletedEvent.prototype.serializeBinary = function() { +proto.libs.events.v1.OrganizationDeletedEvent.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.libs.events.v1.OrganizationDeletedEvent.serializeBinaryToWriter(this, writer); + proto.libs.events.v1.OrganizationDeletedEvent.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -321,11 +321,11 @@ proto.proto.libs.events.v1.OrganizationDeletedEvent.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.libs.events.v1.OrganizationDeletedEvent} message + * @param {!proto.libs.events.v1.OrganizationDeletedEvent} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.libs.events.v1.OrganizationDeletedEvent.serializeBinaryToWriter = function(message, writer) { +proto.libs.events.v1.OrganizationDeletedEvent.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -341,18 +341,18 @@ proto.proto.libs.events.v1.OrganizationDeletedEvent.serializeBinaryToWriter = fu * optional string id = 1; * @return {string} */ -proto.proto.libs.events.v1.OrganizationDeletedEvent.prototype.getId = function() { +proto.libs.events.v1.OrganizationDeletedEvent.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.OrganizationDeletedEvent} returns this + * @return {!proto.libs.events.v1.OrganizationDeletedEvent} returns this */ -proto.proto.libs.events.v1.OrganizationDeletedEvent.prototype.setId = function(value) { +proto.libs.events.v1.OrganizationDeletedEvent.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; -goog.object.extend(exports, proto.proto.libs.events.v1); +goog.object.extend(exports, proto.libs.events.v1); diff --git a/gen/ts/proto/libs/events/v1/user_events_pb.d.ts b/gen/ts/libs/events/v1/user_events_pb.d.ts similarity index 100% rename from gen/ts/proto/libs/events/v1/user_events_pb.d.ts rename to gen/ts/libs/events/v1/user_events_pb.d.ts diff --git a/gen/ts/proto/libs/events/v1/user_events_pb.js b/gen/ts/libs/events/v1/user_events_pb.js similarity index 65% rename from gen/ts/proto/libs/events/v1/user_events_pb.js rename to gen/ts/libs/events/v1/user_events_pb.js index 433bd6a42..d170d7b3a 100644 --- a/gen/ts/proto/libs/events/v1/user_events_pb.js +++ b/gen/ts/libs/events/v1/user_events_pb.js @@ -1,4 +1,4 @@ -// source: proto/libs/events/v1/user_events.proto +// source: libs/events/v1/user_events.proto /** * @fileoverview * @enhanceable @@ -21,9 +21,9 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.libs.events.v1.UserCreatedEvent', null, global); -goog.exportSymbol('proto.proto.libs.events.v1.UserRegisteredEvent', null, global); -goog.exportSymbol('proto.proto.libs.events.v1.UserUpdatedEvent', null, global); +goog.exportSymbol('proto.libs.events.v1.UserCreatedEvent', null, global); +goog.exportSymbol('proto.libs.events.v1.UserRegisteredEvent', null, global); +goog.exportSymbol('proto.libs.events.v1.UserUpdatedEvent', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -34,16 +34,16 @@ goog.exportSymbol('proto.proto.libs.events.v1.UserUpdatedEvent', null, global); * @extends {jspb.Message} * @constructor */ -proto.proto.libs.events.v1.UserRegisteredEvent = function(opt_data) { +proto.libs.events.v1.UserRegisteredEvent = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.libs.events.v1.UserRegisteredEvent, jspb.Message); +goog.inherits(proto.libs.events.v1.UserRegisteredEvent, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.libs.events.v1.UserRegisteredEvent.displayName = 'proto.proto.libs.events.v1.UserRegisteredEvent'; + proto.libs.events.v1.UserRegisteredEvent.displayName = 'proto.libs.events.v1.UserRegisteredEvent'; } /** * Generated by JsPbCodeGenerator. @@ -55,16 +55,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.libs.events.v1.UserCreatedEvent = function(opt_data) { +proto.libs.events.v1.UserCreatedEvent = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.libs.events.v1.UserCreatedEvent, jspb.Message); +goog.inherits(proto.libs.events.v1.UserCreatedEvent, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.libs.events.v1.UserCreatedEvent.displayName = 'proto.proto.libs.events.v1.UserCreatedEvent'; + proto.libs.events.v1.UserCreatedEvent.displayName = 'proto.libs.events.v1.UserCreatedEvent'; } /** * Generated by JsPbCodeGenerator. @@ -76,16 +76,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.libs.events.v1.UserUpdatedEvent = function(opt_data) { +proto.libs.events.v1.UserUpdatedEvent = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.libs.events.v1.UserUpdatedEvent, jspb.Message); +goog.inherits(proto.libs.events.v1.UserUpdatedEvent, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.libs.events.v1.UserUpdatedEvent.displayName = 'proto.proto.libs.events.v1.UserUpdatedEvent'; + proto.libs.events.v1.UserUpdatedEvent.displayName = 'proto.libs.events.v1.UserUpdatedEvent'; } @@ -103,8 +103,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.libs.events.v1.UserRegisteredEvent.prototype.toObject = function(opt_includeInstance) { - return proto.proto.libs.events.v1.UserRegisteredEvent.toObject(opt_includeInstance, this); +proto.libs.events.v1.UserRegisteredEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.events.v1.UserRegisteredEvent.toObject(opt_includeInstance, this); }; @@ -113,11 +113,11 @@ proto.proto.libs.events.v1.UserRegisteredEvent.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.libs.events.v1.UserRegisteredEvent} msg The msg instance to transform. + * @param {!proto.libs.events.v1.UserRegisteredEvent} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.libs.events.v1.UserRegisteredEvent.toObject = function(includeInstance, msg) { +proto.libs.events.v1.UserRegisteredEvent.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -136,23 +136,23 @@ proto.proto.libs.events.v1.UserRegisteredEvent.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.libs.events.v1.UserRegisteredEvent} + * @return {!proto.libs.events.v1.UserRegisteredEvent} */ -proto.proto.libs.events.v1.UserRegisteredEvent.deserializeBinary = function(bytes) { +proto.libs.events.v1.UserRegisteredEvent.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.libs.events.v1.UserRegisteredEvent; - return proto.proto.libs.events.v1.UserRegisteredEvent.deserializeBinaryFromReader(msg, reader); + var msg = new proto.libs.events.v1.UserRegisteredEvent; + return proto.libs.events.v1.UserRegisteredEvent.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.libs.events.v1.UserRegisteredEvent} msg The message object to deserialize into. + * @param {!proto.libs.events.v1.UserRegisteredEvent} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.libs.events.v1.UserRegisteredEvent} + * @return {!proto.libs.events.v1.UserRegisteredEvent} */ -proto.proto.libs.events.v1.UserRegisteredEvent.deserializeBinaryFromReader = function(msg, reader) { +proto.libs.events.v1.UserRegisteredEvent.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -188,9 +188,9 @@ proto.proto.libs.events.v1.UserRegisteredEvent.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.libs.events.v1.UserRegisteredEvent.prototype.serializeBinary = function() { +proto.libs.events.v1.UserRegisteredEvent.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.libs.events.v1.UserRegisteredEvent.serializeBinaryToWriter(this, writer); + proto.libs.events.v1.UserRegisteredEvent.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -198,11 +198,11 @@ proto.proto.libs.events.v1.UserRegisteredEvent.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.libs.events.v1.UserRegisteredEvent} message + * @param {!proto.libs.events.v1.UserRegisteredEvent} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.libs.events.v1.UserRegisteredEvent.serializeBinaryToWriter = function(message, writer) { +proto.libs.events.v1.UserRegisteredEvent.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -239,16 +239,16 @@ proto.proto.libs.events.v1.UserRegisteredEvent.serializeBinaryToWriter = functio * optional string id = 1; * @return {string} */ -proto.proto.libs.events.v1.UserRegisteredEvent.prototype.getId = function() { +proto.libs.events.v1.UserRegisteredEvent.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserRegisteredEvent} returns this + * @return {!proto.libs.events.v1.UserRegisteredEvent} returns this */ -proto.proto.libs.events.v1.UserRegisteredEvent.prototype.setId = function(value) { +proto.libs.events.v1.UserRegisteredEvent.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -257,16 +257,16 @@ proto.proto.libs.events.v1.UserRegisteredEvent.prototype.setId = function(value) * optional string email = 2; * @return {string} */ -proto.proto.libs.events.v1.UserRegisteredEvent.prototype.getEmail = function() { +proto.libs.events.v1.UserRegisteredEvent.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserRegisteredEvent} returns this + * @return {!proto.libs.events.v1.UserRegisteredEvent} returns this */ -proto.proto.libs.events.v1.UserRegisteredEvent.prototype.setEmail = function(value) { +proto.libs.events.v1.UserRegisteredEvent.prototype.setEmail = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -275,16 +275,16 @@ proto.proto.libs.events.v1.UserRegisteredEvent.prototype.setEmail = function(val * optional string nickname = 3; * @return {string} */ -proto.proto.libs.events.v1.UserRegisteredEvent.prototype.getNickname = function() { +proto.libs.events.v1.UserRegisteredEvent.prototype.getNickname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserRegisteredEvent} returns this + * @return {!proto.libs.events.v1.UserRegisteredEvent} returns this */ -proto.proto.libs.events.v1.UserRegisteredEvent.prototype.setNickname = function(value) { +proto.libs.events.v1.UserRegisteredEvent.prototype.setNickname = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -293,16 +293,16 @@ proto.proto.libs.events.v1.UserRegisteredEvent.prototype.setNickname = function( * optional string name = 4; * @return {string} */ -proto.proto.libs.events.v1.UserRegisteredEvent.prototype.getName = function() { +proto.libs.events.v1.UserRegisteredEvent.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserRegisteredEvent} returns this + * @return {!proto.libs.events.v1.UserRegisteredEvent} returns this */ -proto.proto.libs.events.v1.UserRegisteredEvent.prototype.setName = function(value) { +proto.libs.events.v1.UserRegisteredEvent.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -323,8 +323,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.libs.events.v1.UserCreatedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.proto.libs.events.v1.UserCreatedEvent.toObject(opt_includeInstance, this); +proto.libs.events.v1.UserCreatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.events.v1.UserCreatedEvent.toObject(opt_includeInstance, this); }; @@ -333,11 +333,11 @@ proto.proto.libs.events.v1.UserCreatedEvent.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.libs.events.v1.UserCreatedEvent} msg The msg instance to transform. + * @param {!proto.libs.events.v1.UserCreatedEvent} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.libs.events.v1.UserCreatedEvent.toObject = function(includeInstance, msg) { +proto.libs.events.v1.UserCreatedEvent.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -356,23 +356,23 @@ proto.proto.libs.events.v1.UserCreatedEvent.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.libs.events.v1.UserCreatedEvent} + * @return {!proto.libs.events.v1.UserCreatedEvent} */ -proto.proto.libs.events.v1.UserCreatedEvent.deserializeBinary = function(bytes) { +proto.libs.events.v1.UserCreatedEvent.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.libs.events.v1.UserCreatedEvent; - return proto.proto.libs.events.v1.UserCreatedEvent.deserializeBinaryFromReader(msg, reader); + var msg = new proto.libs.events.v1.UserCreatedEvent; + return proto.libs.events.v1.UserCreatedEvent.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.libs.events.v1.UserCreatedEvent} msg The message object to deserialize into. + * @param {!proto.libs.events.v1.UserCreatedEvent} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.libs.events.v1.UserCreatedEvent} + * @return {!proto.libs.events.v1.UserCreatedEvent} */ -proto.proto.libs.events.v1.UserCreatedEvent.deserializeBinaryFromReader = function(msg, reader) { +proto.libs.events.v1.UserCreatedEvent.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -408,9 +408,9 @@ proto.proto.libs.events.v1.UserCreatedEvent.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.libs.events.v1.UserCreatedEvent.prototype.serializeBinary = function() { +proto.libs.events.v1.UserCreatedEvent.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.libs.events.v1.UserCreatedEvent.serializeBinaryToWriter(this, writer); + proto.libs.events.v1.UserCreatedEvent.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -418,11 +418,11 @@ proto.proto.libs.events.v1.UserCreatedEvent.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.libs.events.v1.UserCreatedEvent} message + * @param {!proto.libs.events.v1.UserCreatedEvent} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.libs.events.v1.UserCreatedEvent.serializeBinaryToWriter = function(message, writer) { +proto.libs.events.v1.UserCreatedEvent.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -459,16 +459,16 @@ proto.proto.libs.events.v1.UserCreatedEvent.serializeBinaryToWriter = function(m * optional string id = 1; * @return {string} */ -proto.proto.libs.events.v1.UserCreatedEvent.prototype.getId = function() { +proto.libs.events.v1.UserCreatedEvent.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserCreatedEvent} returns this + * @return {!proto.libs.events.v1.UserCreatedEvent} returns this */ -proto.proto.libs.events.v1.UserCreatedEvent.prototype.setId = function(value) { +proto.libs.events.v1.UserCreatedEvent.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -477,16 +477,16 @@ proto.proto.libs.events.v1.UserCreatedEvent.prototype.setId = function(value) { * optional string email = 2; * @return {string} */ -proto.proto.libs.events.v1.UserCreatedEvent.prototype.getEmail = function() { +proto.libs.events.v1.UserCreatedEvent.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserCreatedEvent} returns this + * @return {!proto.libs.events.v1.UserCreatedEvent} returns this */ -proto.proto.libs.events.v1.UserCreatedEvent.prototype.setEmail = function(value) { +proto.libs.events.v1.UserCreatedEvent.prototype.setEmail = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -495,16 +495,16 @@ proto.proto.libs.events.v1.UserCreatedEvent.prototype.setEmail = function(value) * optional string nickname = 3; * @return {string} */ -proto.proto.libs.events.v1.UserCreatedEvent.prototype.getNickname = function() { +proto.libs.events.v1.UserCreatedEvent.prototype.getNickname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserCreatedEvent} returns this + * @return {!proto.libs.events.v1.UserCreatedEvent} returns this */ -proto.proto.libs.events.v1.UserCreatedEvent.prototype.setNickname = function(value) { +proto.libs.events.v1.UserCreatedEvent.prototype.setNickname = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -513,16 +513,16 @@ proto.proto.libs.events.v1.UserCreatedEvent.prototype.setNickname = function(val * optional string name = 4; * @return {string} */ -proto.proto.libs.events.v1.UserCreatedEvent.prototype.getName = function() { +proto.libs.events.v1.UserCreatedEvent.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserCreatedEvent} returns this + * @return {!proto.libs.events.v1.UserCreatedEvent} returns this */ -proto.proto.libs.events.v1.UserCreatedEvent.prototype.setName = function(value) { +proto.libs.events.v1.UserCreatedEvent.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -543,8 +543,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.proto.libs.events.v1.UserUpdatedEvent.toObject(opt_includeInstance, this); +proto.libs.events.v1.UserUpdatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.events.v1.UserUpdatedEvent.toObject(opt_includeInstance, this); }; @@ -553,11 +553,11 @@ proto.proto.libs.events.v1.UserUpdatedEvent.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.libs.events.v1.UserUpdatedEvent} msg The msg instance to transform. + * @param {!proto.libs.events.v1.UserUpdatedEvent} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.libs.events.v1.UserUpdatedEvent.toObject = function(includeInstance, msg) { +proto.libs.events.v1.UserUpdatedEvent.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -576,23 +576,23 @@ proto.proto.libs.events.v1.UserUpdatedEvent.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.libs.events.v1.UserUpdatedEvent} + * @return {!proto.libs.events.v1.UserUpdatedEvent} */ -proto.proto.libs.events.v1.UserUpdatedEvent.deserializeBinary = function(bytes) { +proto.libs.events.v1.UserUpdatedEvent.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.libs.events.v1.UserUpdatedEvent; - return proto.proto.libs.events.v1.UserUpdatedEvent.deserializeBinaryFromReader(msg, reader); + var msg = new proto.libs.events.v1.UserUpdatedEvent; + return proto.libs.events.v1.UserUpdatedEvent.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.libs.events.v1.UserUpdatedEvent} msg The message object to deserialize into. + * @param {!proto.libs.events.v1.UserUpdatedEvent} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.libs.events.v1.UserUpdatedEvent} + * @return {!proto.libs.events.v1.UserUpdatedEvent} */ -proto.proto.libs.events.v1.UserUpdatedEvent.deserializeBinaryFromReader = function(msg, reader) { +proto.libs.events.v1.UserUpdatedEvent.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -628,9 +628,9 @@ proto.proto.libs.events.v1.UserUpdatedEvent.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.serializeBinary = function() { +proto.libs.events.v1.UserUpdatedEvent.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.libs.events.v1.UserUpdatedEvent.serializeBinaryToWriter(this, writer); + proto.libs.events.v1.UserUpdatedEvent.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -638,11 +638,11 @@ proto.proto.libs.events.v1.UserUpdatedEvent.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.libs.events.v1.UserUpdatedEvent} message + * @param {!proto.libs.events.v1.UserUpdatedEvent} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.libs.events.v1.UserUpdatedEvent.serializeBinaryToWriter = function(message, writer) { +proto.libs.events.v1.UserUpdatedEvent.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -679,16 +679,16 @@ proto.proto.libs.events.v1.UserUpdatedEvent.serializeBinaryToWriter = function(m * optional string id = 1; * @return {string} */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.getId = function() { +proto.libs.events.v1.UserUpdatedEvent.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserUpdatedEvent} returns this + * @return {!proto.libs.events.v1.UserUpdatedEvent} returns this */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.setId = function(value) { +proto.libs.events.v1.UserUpdatedEvent.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -697,25 +697,25 @@ proto.proto.libs.events.v1.UserUpdatedEvent.prototype.setId = function(value) { * optional string email = 2; * @return {string} */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.getEmail = function() { +proto.libs.events.v1.UserUpdatedEvent.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserUpdatedEvent} returns this + * @return {!proto.libs.events.v1.UserUpdatedEvent} returns this */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.setEmail = function(value) { +proto.libs.events.v1.UserUpdatedEvent.prototype.setEmail = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.libs.events.v1.UserUpdatedEvent} returns this + * @return {!proto.libs.events.v1.UserUpdatedEvent} returns this */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.clearEmail = function() { +proto.libs.events.v1.UserUpdatedEvent.prototype.clearEmail = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -724,7 +724,7 @@ proto.proto.libs.events.v1.UserUpdatedEvent.prototype.clearEmail = function() { * Returns whether this field is set. * @return {boolean} */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.hasEmail = function() { +proto.libs.events.v1.UserUpdatedEvent.prototype.hasEmail = function() { return jspb.Message.getField(this, 2) != null; }; @@ -733,25 +733,25 @@ proto.proto.libs.events.v1.UserUpdatedEvent.prototype.hasEmail = function() { * optional string nickname = 3; * @return {string} */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.getNickname = function() { +proto.libs.events.v1.UserUpdatedEvent.prototype.getNickname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserUpdatedEvent} returns this + * @return {!proto.libs.events.v1.UserUpdatedEvent} returns this */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.setNickname = function(value) { +proto.libs.events.v1.UserUpdatedEvent.prototype.setNickname = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.libs.events.v1.UserUpdatedEvent} returns this + * @return {!proto.libs.events.v1.UserUpdatedEvent} returns this */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.clearNickname = function() { +proto.libs.events.v1.UserUpdatedEvent.prototype.clearNickname = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -760,7 +760,7 @@ proto.proto.libs.events.v1.UserUpdatedEvent.prototype.clearNickname = function() * Returns whether this field is set. * @return {boolean} */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.hasNickname = function() { +proto.libs.events.v1.UserUpdatedEvent.prototype.hasNickname = function() { return jspb.Message.getField(this, 3) != null; }; @@ -769,25 +769,25 @@ proto.proto.libs.events.v1.UserUpdatedEvent.prototype.hasNickname = function() { * optional string name = 4; * @return {string} */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.getName = function() { +proto.libs.events.v1.UserUpdatedEvent.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.libs.events.v1.UserUpdatedEvent} returns this + * @return {!proto.libs.events.v1.UserUpdatedEvent} returns this */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.setName = function(value) { +proto.libs.events.v1.UserUpdatedEvent.prototype.setName = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.libs.events.v1.UserUpdatedEvent} returns this + * @return {!proto.libs.events.v1.UserUpdatedEvent} returns this */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.clearName = function() { +proto.libs.events.v1.UserUpdatedEvent.prototype.clearName = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -796,9 +796,9 @@ proto.proto.libs.events.v1.UserUpdatedEvent.prototype.clearName = function() { * Returns whether this field is set. * @return {boolean} */ -proto.proto.libs.events.v1.UserUpdatedEvent.prototype.hasName = function() { +proto.libs.events.v1.UserUpdatedEvent.prototype.hasName = function() { return jspb.Message.getField(this, 4) != null; }; -goog.object.extend(exports, proto.proto.libs.events.v1); +goog.object.extend(exports, proto.libs.events.v1); diff --git a/gen/ts/proto/services/auth_svc/v1/auth_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/auth_svc/v1/auth_svc_grpc_web_pb.d.ts deleted file mode 100644 index 287d9f9af..000000000 --- a/gen/ts/proto/services/auth_svc/v1/auth_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_auth_svc_v1_auth_svc_pb from '../../../../proto/services/auth_svc/v1/auth_svc_pb'; // proto import: "proto/services/auth_svc/v1/auth_svc.proto" - - -export class AuthServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - prelimAuthRequest( - request: proto_services_auth_svc_v1_auth_svc_pb.PrelimAuthRequestRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_auth_svc_v1_auth_svc_pb.PrelimAuthRequestResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class AuthServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - prelimAuthRequest( - request: proto_services_auth_svc_v1_auth_svc_pb.PrelimAuthRequestRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/impulse_svc/v1/impulse_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/impulse_svc/v1/impulse_svc_grpc_web_pb.d.ts deleted file mode 100644 index ce10202ba..000000000 --- a/gen/ts/proto/services/impulse_svc/v1/impulse_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,139 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_impulse_svc_v1_impulse_svc_pb from '../../../../proto/services/impulse_svc/v1/impulse_svc_pb'; // proto import: "proto/services/impulse_svc/v1/impulse_svc.proto" - - -export class ImpulseServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createUser( - request: proto_services_impulse_svc_v1_impulse_svc_pb.CreateUserRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_impulse_svc_v1_impulse_svc_pb.CreateUserResponse) => void - ): grpcWeb.ClientReadableStream; - - updateUser( - request: proto_services_impulse_svc_v1_impulse_svc_pb.UpdateUserRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_impulse_svc_v1_impulse_svc_pb.UpdateUserResponse) => void - ): grpcWeb.ClientReadableStream; - - trackChallenge( - request: proto_services_impulse_svc_v1_impulse_svc_pb.TrackChallengeRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_impulse_svc_v1_impulse_svc_pb.TrackChallengeResponse) => void - ): grpcWeb.ClientReadableStream; - - getActiveChallenges( - request: proto_services_impulse_svc_v1_impulse_svc_pb.GetActiveChallengesRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_impulse_svc_v1_impulse_svc_pb.GetActiveChallengesResponse) => void - ): grpcWeb.ClientReadableStream; - - getScore( - request: proto_services_impulse_svc_v1_impulse_svc_pb.GetScoreRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_impulse_svc_v1_impulse_svc_pb.GetScoreResponse) => void - ): grpcWeb.ClientReadableStream; - - getRewards( - request: proto_services_impulse_svc_v1_impulse_svc_pb.GetRewardsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_impulse_svc_v1_impulse_svc_pb.GetRewardsResponse) => void - ): grpcWeb.ClientReadableStream; - - getAllRewards( - request: proto_services_impulse_svc_v1_impulse_svc_pb.GetAllRewardsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_impulse_svc_v1_impulse_svc_pb.GetAllRewardsResponse) => void - ): grpcWeb.ClientReadableStream; - - getAllTeams( - request: proto_services_impulse_svc_v1_impulse_svc_pb.GetAllTeamsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_impulse_svc_v1_impulse_svc_pb.GetAllTeamsResponse) => void - ): grpcWeb.ClientReadableStream; - - statsForTeamByUser( - request: proto_services_impulse_svc_v1_impulse_svc_pb.StatsForTeamByUserRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_impulse_svc_v1_impulse_svc_pb.StatsForTeamByUserResponse) => void - ): grpcWeb.ClientReadableStream; - - verification( - request: proto_services_impulse_svc_v1_impulse_svc_pb.VerificationRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_impulse_svc_v1_impulse_svc_pb.VerificationResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class ImpulseServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createUser( - request: proto_services_impulse_svc_v1_impulse_svc_pb.CreateUserRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateUser( - request: proto_services_impulse_svc_v1_impulse_svc_pb.UpdateUserRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - trackChallenge( - request: proto_services_impulse_svc_v1_impulse_svc_pb.TrackChallengeRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getActiveChallenges( - request: proto_services_impulse_svc_v1_impulse_svc_pb.GetActiveChallengesRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getScore( - request: proto_services_impulse_svc_v1_impulse_svc_pb.GetScoreRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getRewards( - request: proto_services_impulse_svc_v1_impulse_svc_pb.GetRewardsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getAllRewards( - request: proto_services_impulse_svc_v1_impulse_svc_pb.GetAllRewardsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getAllTeams( - request: proto_services_impulse_svc_v1_impulse_svc_pb.GetAllTeamsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - statsForTeamByUser( - request: proto_services_impulse_svc_v1_impulse_svc_pb.StatsForTeamByUserRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - verification( - request: proto_services_impulse_svc_v1_impulse_svc_pb.VerificationRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/impulse_svc/v1/impulse_svc_grpc_web_pb.js b/gen/ts/proto/services/impulse_svc/v1/impulse_svc_grpc_web_pb.js deleted file mode 100644 index 994a7b5d9..000000000 --- a/gen/ts/proto/services/impulse_svc/v1/impulse_svc_grpc_web_pb.js +++ /dev/null @@ -1,691 +0,0 @@ -/** - * @fileoverview gRPC-Web generated client stub for proto.services.impulse_svc.v1 - * @enhanceable - * @public - */ - -// Code generated by protoc-gen-grpc-web. DO NOT EDIT. -// versions: -// protoc-gen-grpc-web v1.5.0 -// protoc v0.0.0 -// source: proto/services/impulse_svc/v1/impulse_svc.proto - - -/* eslint-disable */ -// @ts-nocheck - - - -const grpc = {}; -grpc.web = require('grpc-web'); - -const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.impulse_svc = {}; -proto.proto.services.impulse_svc.v1 = require('./impulse_svc_pb.js'); - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.impulse_svc.v1.ImpulseServiceClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.impulse_svc.v1.ImpulseServicePromiseClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.impulse_svc.v1.CreateUserRequest, - * !proto.proto.services.impulse_svc.v1.CreateUserResponse>} - */ -const methodDescriptor_ImpulseService_CreateUser = new grpc.web.MethodDescriptor( - '/proto.services.impulse_svc.v1.ImpulseService/CreateUser', - grpc.web.MethodType.UNARY, - proto.proto.services.impulse_svc.v1.CreateUserRequest, - proto.proto.services.impulse_svc.v1.CreateUserResponse, - /** - * @param {!proto.proto.services.impulse_svc.v1.CreateUserRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.impulse_svc.v1.CreateUserResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.impulse_svc.v1.CreateUserRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.impulse_svc.v1.CreateUserResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.createUser = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/CreateUser', - request, - metadata || {}, - methodDescriptor_ImpulseService_CreateUser, - callback); -}; - - -/** - * @param {!proto.proto.services.impulse_svc.v1.CreateUserRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.createUser = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/CreateUser', - request, - metadata || {}, - methodDescriptor_ImpulseService_CreateUser); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.impulse_svc.v1.UpdateUserRequest, - * !proto.proto.services.impulse_svc.v1.UpdateUserResponse>} - */ -const methodDescriptor_ImpulseService_UpdateUser = new grpc.web.MethodDescriptor( - '/proto.services.impulse_svc.v1.ImpulseService/UpdateUser', - grpc.web.MethodType.UNARY, - proto.proto.services.impulse_svc.v1.UpdateUserRequest, - proto.proto.services.impulse_svc.v1.UpdateUserResponse, - /** - * @param {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.impulse_svc.v1.UpdateUserResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.impulse_svc.v1.UpdateUserResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.updateUser = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/UpdateUser', - request, - metadata || {}, - methodDescriptor_ImpulseService_UpdateUser, - callback); -}; - - -/** - * @param {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.updateUser = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/UpdateUser', - request, - metadata || {}, - methodDescriptor_ImpulseService_UpdateUser); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.impulse_svc.v1.TrackChallengeRequest, - * !proto.proto.services.impulse_svc.v1.TrackChallengeResponse>} - */ -const methodDescriptor_ImpulseService_TrackChallenge = new grpc.web.MethodDescriptor( - '/proto.services.impulse_svc.v1.ImpulseService/TrackChallenge', - grpc.web.MethodType.UNARY, - proto.proto.services.impulse_svc.v1.TrackChallengeRequest, - proto.proto.services.impulse_svc.v1.TrackChallengeResponse, - /** - * @param {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.impulse_svc.v1.TrackChallengeResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.impulse_svc.v1.TrackChallengeResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.trackChallenge = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/TrackChallenge', - request, - metadata || {}, - methodDescriptor_ImpulseService_TrackChallenge, - callback); -}; - - -/** - * @param {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.trackChallenge = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/TrackChallenge', - request, - metadata || {}, - methodDescriptor_ImpulseService_TrackChallenge); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest, - * !proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse>} - */ -const methodDescriptor_ImpulseService_GetActiveChallenges = new grpc.web.MethodDescriptor( - '/proto.services.impulse_svc.v1.ImpulseService/GetActiveChallenges', - grpc.web.MethodType.UNARY, - proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest, - proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse, - /** - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.getActiveChallenges = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/GetActiveChallenges', - request, - metadata || {}, - methodDescriptor_ImpulseService_GetActiveChallenges, - callback); -}; - - -/** - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.getActiveChallenges = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/GetActiveChallenges', - request, - metadata || {}, - methodDescriptor_ImpulseService_GetActiveChallenges); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.impulse_svc.v1.GetScoreRequest, - * !proto.proto.services.impulse_svc.v1.GetScoreResponse>} - */ -const methodDescriptor_ImpulseService_GetScore = new grpc.web.MethodDescriptor( - '/proto.services.impulse_svc.v1.ImpulseService/GetScore', - grpc.web.MethodType.UNARY, - proto.proto.services.impulse_svc.v1.GetScoreRequest, - proto.proto.services.impulse_svc.v1.GetScoreResponse, - /** - * @param {!proto.proto.services.impulse_svc.v1.GetScoreRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.impulse_svc.v1.GetScoreResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.impulse_svc.v1.GetScoreRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.impulse_svc.v1.GetScoreResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.getScore = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/GetScore', - request, - metadata || {}, - methodDescriptor_ImpulseService_GetScore, - callback); -}; - - -/** - * @param {!proto.proto.services.impulse_svc.v1.GetScoreRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.getScore = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/GetScore', - request, - metadata || {}, - methodDescriptor_ImpulseService_GetScore); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.impulse_svc.v1.GetRewardsRequest, - * !proto.proto.services.impulse_svc.v1.GetRewardsResponse>} - */ -const methodDescriptor_ImpulseService_GetRewards = new grpc.web.MethodDescriptor( - '/proto.services.impulse_svc.v1.ImpulseService/GetRewards', - grpc.web.MethodType.UNARY, - proto.proto.services.impulse_svc.v1.GetRewardsRequest, - proto.proto.services.impulse_svc.v1.GetRewardsResponse, - /** - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.impulse_svc.v1.GetRewardsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.impulse_svc.v1.GetRewardsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.getRewards = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/GetRewards', - request, - metadata || {}, - methodDescriptor_ImpulseService_GetRewards, - callback); -}; - - -/** - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.getRewards = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/GetRewards', - request, - metadata || {}, - methodDescriptor_ImpulseService_GetRewards); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.impulse_svc.v1.GetAllRewardsRequest, - * !proto.proto.services.impulse_svc.v1.GetAllRewardsResponse>} - */ -const methodDescriptor_ImpulseService_GetAllRewards = new grpc.web.MethodDescriptor( - '/proto.services.impulse_svc.v1.ImpulseService/GetAllRewards', - grpc.web.MethodType.UNARY, - proto.proto.services.impulse_svc.v1.GetAllRewardsRequest, - proto.proto.services.impulse_svc.v1.GetAllRewardsResponse, - /** - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.impulse_svc.v1.GetAllRewardsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.getAllRewards = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/GetAllRewards', - request, - metadata || {}, - methodDescriptor_ImpulseService_GetAllRewards, - callback); -}; - - -/** - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.getAllRewards = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/GetAllRewards', - request, - metadata || {}, - methodDescriptor_ImpulseService_GetAllRewards); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.impulse_svc.v1.GetAllTeamsRequest, - * !proto.proto.services.impulse_svc.v1.GetAllTeamsResponse>} - */ -const methodDescriptor_ImpulseService_GetAllTeams = new grpc.web.MethodDescriptor( - '/proto.services.impulse_svc.v1.ImpulseService/GetAllTeams', - grpc.web.MethodType.UNARY, - proto.proto.services.impulse_svc.v1.GetAllTeamsRequest, - proto.proto.services.impulse_svc.v1.GetAllTeamsResponse, - /** - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.impulse_svc.v1.GetAllTeamsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.getAllTeams = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/GetAllTeams', - request, - metadata || {}, - methodDescriptor_ImpulseService_GetAllTeams, - callback); -}; - - -/** - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.getAllTeams = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/GetAllTeams', - request, - metadata || {}, - methodDescriptor_ImpulseService_GetAllTeams); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest, - * !proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse>} - */ -const methodDescriptor_ImpulseService_StatsForTeamByUser = new grpc.web.MethodDescriptor( - '/proto.services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', - grpc.web.MethodType.UNARY, - proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest, - proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse, - /** - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.statsForTeamByUser = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', - request, - metadata || {}, - methodDescriptor_ImpulseService_StatsForTeamByUser, - callback); -}; - - -/** - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.statsForTeamByUser = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', - request, - metadata || {}, - methodDescriptor_ImpulseService_StatsForTeamByUser); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.impulse_svc.v1.VerificationRequest, - * !proto.proto.services.impulse_svc.v1.VerificationResponse>} - */ -const methodDescriptor_ImpulseService_Verification = new grpc.web.MethodDescriptor( - '/proto.services.impulse_svc.v1.ImpulseService/Verification', - grpc.web.MethodType.UNARY, - proto.proto.services.impulse_svc.v1.VerificationRequest, - proto.proto.services.impulse_svc.v1.VerificationResponse, - /** - * @param {!proto.proto.services.impulse_svc.v1.VerificationRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.impulse_svc.v1.VerificationResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.impulse_svc.v1.VerificationRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.impulse_svc.v1.VerificationResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.verification = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/Verification', - request, - metadata || {}, - methodDescriptor_ImpulseService_Verification, - callback); -}; - - -/** - * @param {!proto.proto.services.impulse_svc.v1.VerificationRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.verification = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.impulse_svc.v1.ImpulseService/Verification', - request, - metadata || {}, - methodDescriptor_ImpulseService_Verification); -}; - - -module.exports = proto.proto.services.impulse_svc.v1; - diff --git a/gen/ts/proto/services/property_svc/v1/property_set_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/property_svc/v1/property_set_svc_grpc_web_pb.d.ts deleted file mode 100644 index 9863982cc..000000000 --- a/gen/ts/proto/services/property_svc/v1/property_set_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_property_svc_v1_property_set_svc_pb from '../../../../proto/services/property_svc/v1/property_set_svc_pb'; // proto import: "proto/services/property_svc/v1/property_set_svc.proto" - - -export class PropertySetServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createPropertySet( - request: proto_services_property_svc_v1_property_set_svc_pb.CreatePropertySetRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_property_svc_v1_property_set_svc_pb.CreatePropertySetResponse) => void - ): grpcWeb.ClientReadableStream; - - getPropertySet( - request: proto_services_property_svc_v1_property_set_svc_pb.GetPropertySetRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_property_svc_v1_property_set_svc_pb.GetPropertySetResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class PropertySetServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createPropertySet( - request: proto_services_property_svc_v1_property_set_svc_pb.CreatePropertySetRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getPropertySet( - request: proto_services_property_svc_v1_property_set_svc_pb.GetPropertySetRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/property_svc/v1/property_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/property_svc/v1/property_svc_grpc_web_pb.d.ts deleted file mode 100644 index de9f9bf52..000000000 --- a/gen/ts/proto/services/property_svc/v1/property_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_property_svc_v1_property_svc_pb from '../../../../proto/services/property_svc/v1/property_svc_pb'; // proto import: "proto/services/property_svc/v1/property_svc.proto" - - -export class PropertyServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createProperty( - request: proto_services_property_svc_v1_property_svc_pb.CreatePropertyRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_property_svc_v1_property_svc_pb.CreatePropertyResponse) => void - ): grpcWeb.ClientReadableStream; - - getProperty( - request: proto_services_property_svc_v1_property_svc_pb.GetPropertyRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_property_svc_v1_property_svc_pb.GetPropertyResponse) => void - ): grpcWeb.ClientReadableStream; - - updateProperty( - request: proto_services_property_svc_v1_property_svc_pb.UpdatePropertyRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_property_svc_v1_property_svc_pb.UpdatePropertyResponse) => void - ): grpcWeb.ClientReadableStream; - - getPropertiesBySubjectType( - request: proto_services_property_svc_v1_property_svc_pb.GetPropertiesBySubjectTypeRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_property_svc_v1_property_svc_pb.GetPropertiesBySubjectTypeResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class PropertyServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createProperty( - request: proto_services_property_svc_v1_property_svc_pb.CreatePropertyRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getProperty( - request: proto_services_property_svc_v1_property_svc_pb.GetPropertyRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateProperty( - request: proto_services_property_svc_v1_property_svc_pb.UpdatePropertyRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getPropertiesBySubjectType( - request: proto_services_property_svc_v1_property_svc_pb.GetPropertiesBySubjectTypeRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/property_svc/v1/property_svc_grpc_web_pb.js b/gen/ts/proto/services/property_svc/v1/property_svc_grpc_web_pb.js deleted file mode 100644 index f5051e802..000000000 --- a/gen/ts/proto/services/property_svc/v1/property_svc_grpc_web_pb.js +++ /dev/null @@ -1,327 +0,0 @@ -/** - * @fileoverview gRPC-Web generated client stub for proto.services.property_svc.v1 - * @enhanceable - * @public - */ - -// Code generated by protoc-gen-grpc-web. DO NOT EDIT. -// versions: -// protoc-gen-grpc-web v1.5.0 -// protoc v0.0.0 -// source: proto/services/property_svc/v1/property_svc.proto - - -/* eslint-disable */ -// @ts-nocheck - - - -const grpc = {}; -grpc.web = require('grpc-web'); - - -var proto_services_property_svc_v1_types_pb = require('../../../../proto/services/property_svc/v1/types_pb.js') -const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.property_svc = {}; -proto.proto.services.property_svc.v1 = require('./property_svc_pb.js'); - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.property_svc.v1.PropertyServiceClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.property_svc.v1.PropertyServicePromiseClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.property_svc.v1.CreatePropertyRequest, - * !proto.proto.services.property_svc.v1.CreatePropertyResponse>} - */ -const methodDescriptor_PropertyService_CreateProperty = new grpc.web.MethodDescriptor( - '/proto.services.property_svc.v1.PropertyService/CreateProperty', - grpc.web.MethodType.UNARY, - proto.proto.services.property_svc.v1.CreatePropertyRequest, - proto.proto.services.property_svc.v1.CreatePropertyResponse, - /** - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.property_svc.v1.CreatePropertyResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.property_svc.v1.CreatePropertyResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.property_svc.v1.PropertyServiceClient.prototype.createProperty = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyService/CreateProperty', - request, - metadata || {}, - methodDescriptor_PropertyService_CreateProperty, - callback); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.property_svc.v1.PropertyServicePromiseClient.prototype.createProperty = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyService/CreateProperty', - request, - metadata || {}, - methodDescriptor_PropertyService_CreateProperty); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.property_svc.v1.GetPropertyRequest, - * !proto.proto.services.property_svc.v1.GetPropertyResponse>} - */ -const methodDescriptor_PropertyService_GetProperty = new grpc.web.MethodDescriptor( - '/proto.services.property_svc.v1.PropertyService/GetProperty', - grpc.web.MethodType.UNARY, - proto.proto.services.property_svc.v1.GetPropertyRequest, - proto.proto.services.property_svc.v1.GetPropertyResponse, - /** - * @param {!proto.proto.services.property_svc.v1.GetPropertyRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.property_svc.v1.GetPropertyResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.property_svc.v1.GetPropertyRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.property_svc.v1.GetPropertyResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.property_svc.v1.PropertyServiceClient.prototype.getProperty = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyService/GetProperty', - request, - metadata || {}, - methodDescriptor_PropertyService_GetProperty, - callback); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.GetPropertyRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.property_svc.v1.PropertyServicePromiseClient.prototype.getProperty = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyService/GetProperty', - request, - metadata || {}, - methodDescriptor_PropertyService_GetProperty); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.property_svc.v1.UpdatePropertyRequest, - * !proto.proto.services.property_svc.v1.UpdatePropertyResponse>} - */ -const methodDescriptor_PropertyService_UpdateProperty = new grpc.web.MethodDescriptor( - '/proto.services.property_svc.v1.PropertyService/UpdateProperty', - grpc.web.MethodType.UNARY, - proto.proto.services.property_svc.v1.UpdatePropertyRequest, - proto.proto.services.property_svc.v1.UpdatePropertyResponse, - /** - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.property_svc.v1.UpdatePropertyResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.property_svc.v1.UpdatePropertyResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.property_svc.v1.PropertyServiceClient.prototype.updateProperty = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyService/UpdateProperty', - request, - metadata || {}, - methodDescriptor_PropertyService_UpdateProperty, - callback); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.property_svc.v1.PropertyServicePromiseClient.prototype.updateProperty = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyService/UpdateProperty', - request, - metadata || {}, - methodDescriptor_PropertyService_UpdateProperty); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest, - * !proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse>} - */ -const methodDescriptor_PropertyService_GetPropertiesBySubjectType = new grpc.web.MethodDescriptor( - '/proto.services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', - grpc.web.MethodType.UNARY, - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest, - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse, - /** - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.property_svc.v1.PropertyServiceClient.prototype.getPropertiesBySubjectType = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', - request, - metadata || {}, - methodDescriptor_PropertyService_GetPropertiesBySubjectType, - callback); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.property_svc.v1.PropertyServicePromiseClient.prototype.getPropertiesBySubjectType = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', - request, - metadata || {}, - methodDescriptor_PropertyService_GetPropertiesBySubjectType); -}; - - -module.exports = proto.proto.services.property_svc.v1; - diff --git a/gen/ts/proto/services/property_svc/v1/property_svc_pb.js b/gen/ts/proto/services/property_svc/v1/property_svc_pb.js deleted file mode 100644 index e17bb54be..000000000 --- a/gen/ts/proto/services/property_svc/v1/property_svc_pb.js +++ /dev/null @@ -1,4809 +0,0 @@ -// source: proto/services/property_svc/v1/property_svc.proto -/** - * @fileoverview - * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. - * @suppress {messageConventions} JS Compiler reports an error if a variable or - * field starts with 'MSG_' and isn't a translatable message. - * @public - */ -// GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck - -var jspb = require('google-protobuf'); -var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); - -var proto_services_property_svc_v1_types_pb = require('../../../../proto/services/property_svc/v1/types_pb.js'); -goog.object.extend(proto, proto_services_property_svc_v1_types_pb); -goog.exportSymbol('proto.proto.services.property_svc.v1.CreatePropertyRequest', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.CreatePropertyRequest.FieldTypeDataCase', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.CreatePropertyResponse', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.FieldTypeDataCase', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertyRequest', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.ValueCase', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertyResponse', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertyResponse.FieldTypeDataCase', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.UpdatePropertyRequest', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.UpdatePropertyRequest.FieldTypeDataCase', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.UpdatePropertyResponse', null, global); -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.proto.services.property_svc.v1.CreatePropertyRequest.oneofGroups_); -}; -goog.inherits(proto.proto.services.property_svc.v1.CreatePropertyRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.CreatePropertyRequest.displayName = 'proto.proto.services.property_svc.v1.CreatePropertyRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.repeatedFields_, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.displayName = 'proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.displayName = 'proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.CreatePropertyResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.CreatePropertyResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.CreatePropertyResponse.displayName = 'proto.proto.services.property_svc.v1.CreatePropertyResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetPropertyRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertyRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetPropertyRequest.displayName = 'proto.proto.services.property_svc.v1.GetPropertyRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.displayName = 'proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetPropertyResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.proto.services.property_svc.v1.GetPropertyResponse.oneofGroups_); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertyResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetPropertyResponse.displayName = 'proto.proto.services.property_svc.v1.GetPropertyResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.repeatedFields_, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.displayName = 'proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.displayName = 'proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.proto.services.property_svc.v1.UpdatePropertyRequest.oneofGroups_); -}; -goog.inherits(proto.proto.services.property_svc.v1.UpdatePropertyRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.UpdatePropertyRequest.displayName = 'proto.proto.services.property_svc.v1.UpdatePropertyRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.repeatedFields_, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.displayName = 'proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.displayName = 'proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.UpdatePropertyResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.UpdatePropertyResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.UpdatePropertyResponse.displayName = 'proto.proto.services.property_svc.v1.UpdatePropertyResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.displayName = 'proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.repeatedFields_, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.displayName = 'proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.oneofGroups_); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.displayName = 'proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.repeatedFields_, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.displayName = 'proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.displayName = 'proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption'; -} - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.oneofGroups_ = [[9]]; - -/** - * @enum {number} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.FieldTypeDataCase = { - FIELD_TYPE_DATA_NOT_SET: 0, - SELECT_DATA: 9 -}; - -/** - * @return {proto.proto.services.property_svc.v1.CreatePropertyRequest.FieldTypeDataCase} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.getFieldTypeDataCase = function() { - return /** @type {proto.proto.services.property_svc.v1.CreatePropertyRequest.FieldTypeDataCase} */(jspb.Message.computeOneofCase(this, proto.proto.services.property_svc.v1.CreatePropertyRequest.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.CreatePropertyRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.toObject = function(includeInstance, msg) { - var f, obj = { - subjectType: jspb.Message.getFieldWithDefault(msg, 2, 0), - fieldType: jspb.Message.getFieldWithDefault(msg, 3, 0), - name: jspb.Message.getFieldWithDefault(msg, 4, ""), - description: jspb.Message.getFieldWithDefault(msg, 5, ""), - setId: jspb.Message.getFieldWithDefault(msg, 6, ""), - selectData: (f = msg.getSelectData()) && proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.CreatePropertyRequest; - return proto.proto.services.property_svc.v1.CreatePropertyRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 2: - var value = /** @type {!proto.proto.services.property_svc.v1.SubjectType} */ (reader.readEnum()); - msg.setSubjectType(value); - break; - case 3: - var value = /** @type {!proto.proto.services.property_svc.v1.FieldType} */ (reader.readEnum()); - msg.setFieldType(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setDescription(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setSetId(value); - break; - case 9: - var value = new proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData; - reader.readMessage(value,proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.deserializeBinaryFromReader); - msg.setSelectData(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.CreatePropertyRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getSubjectType(); - if (f !== 0.0) { - writer.writeEnum( - 2, - f - ); - } - f = message.getFieldType(); - if (f !== 0.0) { - writer.writeEnum( - 3, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString( - 5, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeString( - 6, - f - ); - } - f = message.getSelectData(); - if (f != null) { - writer.writeMessage( - 9, - f, - proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.serializeBinaryToWriter - ); - } -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.repeatedFields_ = [2]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.toObject = function(includeInstance, msg) { - var f, obj = { - allowFreetext: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - optionsList: jspb.Message.toObjectList(msg.getOptionsList(), - proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.toObject, includeInstance) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData; - return proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setAllowFreetext(value); - break; - case 2: - var value = new proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption; - reader.readMessage(value,proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader); - msg.addOptions(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeBool( - 1, - f - ); - } - f = message.getOptionsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 2, - f, - proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter - ); - } -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - description: jspb.Message.getFieldWithDefault(msg, 2, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption; - return proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setDescription(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } -}; - - -/** - * optional string name = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string description = 2; - * @return {string} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.getDescription = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.setDescription = function(value) { - return jspb.Message.setField(this, 2, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.clearDescription = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.hasDescription = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional bool allow_freetext = 1; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.getAllowFreetext = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.setAllowFreetext = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.clearAllowFreetext = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.hasAllowFreetext = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * repeated SelectOption options = 2; - * @return {!Array} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.getOptionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption, 2)); -}; - - -/** - * @param {!Array} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData} returns this -*/ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.setOptionsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption=} opt_value - * @param {number=} opt_index - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.addOptions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.clearOptionsList = function() { - return this.setOptionsList([]); -}; - - -/** - * optional SubjectType subject_type = 2; - * @return {!proto.proto.services.property_svc.v1.SubjectType} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.getSubjectType = function() { - return /** @type {!proto.proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.SubjectType} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.setSubjectType = function(value) { - return jspb.Message.setProto3EnumField(this, 2, value); -}; - - -/** - * optional FieldType field_type = 3; - * @return {!proto.proto.services.property_svc.v1.FieldType} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.getFieldType = function() { - return /** @type {!proto.proto.services.property_svc.v1.FieldType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.FieldType} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.setFieldType = function(value) { - return jspb.Message.setProto3EnumField(this, 3, value); -}; - - -/** - * optional string name = 4; - * @return {string} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - - -/** - * optional string description = 5; - * @return {string} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.getDescription = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.setDescription = function(value) { - return jspb.Message.setField(this, 5, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.clearDescription = function() { - return jspb.Message.setField(this, 5, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.hasDescription = function() { - return jspb.Message.getField(this, 5) != null; -}; - - -/** - * optional string set_id = 6; - * @return {string} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.getSetId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.setSetId = function(value) { - return jspb.Message.setField(this, 6, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.clearSetId = function() { - return jspb.Message.setField(this, 6, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.hasSetId = function() { - return jspb.Message.getField(this, 6) != null; -}; - - -/** - * optional SelectData select_data = 9; - * @return {?proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.getSelectData = function() { - return /** @type{?proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData, 9)); -}; - - -/** - * @param {?proto.proto.services.property_svc.v1.CreatePropertyRequest.SelectData|undefined} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest} returns this -*/ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.setSelectData = function(value) { - return jspb.Message.setOneofWrapperField(this, 9, proto.proto.services.property_svc.v1.CreatePropertyRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.clearSelectData = function() { - return this.setSelectData(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.CreatePropertyRequest.prototype.hasSelectData = function() { - return jspb.Message.getField(this, 9) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.CreatePropertyResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.CreatePropertyResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.CreatePropertyResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.CreatePropertyResponse.toObject = function(includeInstance, msg) { - var f, obj = { - propertyId: jspb.Message.getFieldWithDefault(msg, 1, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyResponse} - */ -proto.proto.services.property_svc.v1.CreatePropertyResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.CreatePropertyResponse; - return proto.proto.services.property_svc.v1.CreatePropertyResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.CreatePropertyResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.CreatePropertyResponse} - */ -proto.proto.services.property_svc.v1.CreatePropertyResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setPropertyId(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.CreatePropertyResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.CreatePropertyResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.CreatePropertyResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.CreatePropertyResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getPropertyId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - -/** - * optional string property_id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.CreatePropertyResponse.prototype.getPropertyId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.CreatePropertyResponse.prototype.setPropertyId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertyRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertyRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertyRequest} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertyRequest; - return proto.proto.services.property_svc.v1.GetPropertyRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertyRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertyRequest} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertyRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertyRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_ = [[1,2]]; - -/** - * @enum {number} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.ValueCase = { - VALUE_NOT_SET: 0, - GLOBAL: 1, - WARD_ID: 2 -}; - -/** - * @return {proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.ValueCase} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.getValueCase = function() { - return /** @type {proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.ValueCase} */(jspb.Message.computeOneofCase(this, proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.toObject = function(includeInstance, msg) { - var f, obj = { - global: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - wardId: jspb.Message.getFieldWithDefault(msg, 2, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource; - return proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setGlobal(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setWardId(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeBool( - 1, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } -}; - - -/** - * optional bool global = 1; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.getGlobal = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.setGlobal = function(value) { - return jspb.Message.setOneofField(this, 1, proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_[0], value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.clearGlobal = function() { - return jspb.Message.setOneofField(this, 1, proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_[0], undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.hasGlobal = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional string ward_id = 2; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.getWardId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.setWardId = function(value) { - return jspb.Message.setOneofField(this, 2, proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_[0], value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.clearWardId = function() { - return jspb.Message.setOneofField(this, 2, proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_[0], undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.hasWardId = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional string id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.oneofGroups_ = [[10]]; - -/** - * @enum {number} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.FieldTypeDataCase = { - FIELD_TYPE_DATA_NOT_SET: 0, - SELECT_DATA: 10 -}; - -/** - * @return {proto.proto.services.property_svc.v1.GetPropertyResponse.FieldTypeDataCase} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.getFieldTypeDataCase = function() { - return /** @type {proto.proto.services.property_svc.v1.GetPropertyResponse.FieldTypeDataCase} */(jspb.Message.computeOneofCase(this, proto.proto.services.property_svc.v1.GetPropertyResponse.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertyResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertyResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - subjectType: jspb.Message.getFieldWithDefault(msg, 2, 0), - fieldType: jspb.Message.getFieldWithDefault(msg, 3, 0), - name: jspb.Message.getFieldWithDefault(msg, 4, ""), - description: jspb.Message.getFieldWithDefault(msg, 5, ""), - isArchived: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - setId: jspb.Message.getFieldWithDefault(msg, 8, ""), - selectData: (f = msg.getSelectData()) && proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.toObject(includeInstance, f), - alwaysIncludeForViewSource: jspb.Message.getBooleanFieldWithDefault(msg, 11, false) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertyResponse; - return proto.proto.services.property_svc.v1.GetPropertyResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertyResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - case 2: - var value = /** @type {!proto.proto.services.property_svc.v1.SubjectType} */ (reader.readEnum()); - msg.setSubjectType(value); - break; - case 3: - var value = /** @type {!proto.proto.services.property_svc.v1.FieldType} */ (reader.readEnum()); - msg.setFieldType(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setDescription(value); - break; - case 6: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsArchived(value); - break; - case 8: - var value = /** @type {string} */ (reader.readString()); - msg.setSetId(value); - break; - case 10: - var value = new proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData; - reader.readMessage(value,proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.deserializeBinaryFromReader); - msg.setSelectData(value); - break; - case 11: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setAlwaysIncludeForViewSource(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertyResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertyResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getSubjectType(); - if (f !== 0.0) { - writer.writeEnum( - 2, - f - ); - } - f = message.getFieldType(); - if (f !== 0.0) { - writer.writeEnum( - 3, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString( - 5, - f - ); - } - f = message.getIsArchived(); - if (f) { - writer.writeBool( - 6, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 8)); - if (f != null) { - writer.writeString( - 8, - f - ); - } - f = message.getSelectData(); - if (f != null) { - writer.writeMessage( - 10, - f, - proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.serializeBinaryToWriter - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 11)); - if (f != null) { - writer.writeBool( - 11, - f - ); - } -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.repeatedFields_ = [2]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.toObject = function(includeInstance, msg) { - var f, obj = { - allowFreetext: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - optionsList: jspb.Message.toObjectList(msg.getOptionsList(), - proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.toObject, includeInstance) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData; - return proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setAllowFreetext(value); - break; - case 2: - var value = new proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption; - reader.readMessage(value,proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.deserializeBinaryFromReader); - msg.addOptions(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeBool( - 1, - f - ); - } - f = message.getOptionsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 2, - f, - proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.serializeBinaryToWriter - ); - } -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - description: jspb.Message.getFieldWithDefault(msg, 3, ""), - isCustom: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption; - return proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setDescription(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsCustom(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } - f = message.getIsCustom(); - if (f) { - writer.writeBool( - 4, - f - ); - } -}; - - -/** - * optional string id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional string description = 3; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.getDescription = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.setDescription = function(value) { - return jspb.Message.setField(this, 3, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.clearDescription = function() { - return jspb.Message.setField(this, 3, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.hasDescription = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional bool is_custom = 4; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.getIsCustom = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.setIsCustom = function(value) { - return jspb.Message.setProto3BooleanField(this, 4, value); -}; - - -/** - * optional bool allow_freetext = 1; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.getAllowFreetext = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.setAllowFreetext = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.clearAllowFreetext = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.hasAllowFreetext = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * repeated SelectOption options = 2; - * @return {!Array} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.getOptionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption, 2)); -}; - - -/** - * @param {!Array} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData} returns this -*/ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.setOptionsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption=} opt_value - * @param {number=} opt_index - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.addOptions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.clearOptionsList = function() { - return this.setOptionsList([]); -}; - - -/** - * optional string id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional SubjectType subject_type = 2; - * @return {!proto.proto.services.property_svc.v1.SubjectType} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.getSubjectType = function() { - return /** @type {!proto.proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.SubjectType} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.setSubjectType = function(value) { - return jspb.Message.setProto3EnumField(this, 2, value); -}; - - -/** - * optional FieldType field_type = 3; - * @return {!proto.proto.services.property_svc.v1.FieldType} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.getFieldType = function() { - return /** @type {!proto.proto.services.property_svc.v1.FieldType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.FieldType} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.setFieldType = function(value) { - return jspb.Message.setProto3EnumField(this, 3, value); -}; - - -/** - * optional string name = 4; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - - -/** - * optional string description = 5; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.getDescription = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.setDescription = function(value) { - return jspb.Message.setField(this, 5, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.clearDescription = function() { - return jspb.Message.setField(this, 5, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.hasDescription = function() { - return jspb.Message.getField(this, 5) != null; -}; - - -/** - * optional bool is_archived = 6; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.getIsArchived = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.setIsArchived = function(value) { - return jspb.Message.setProto3BooleanField(this, 6, value); -}; - - -/** - * optional string set_id = 8; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.getSetId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.setSetId = function(value) { - return jspb.Message.setField(this, 8, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.clearSetId = function() { - return jspb.Message.setField(this, 8, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.hasSetId = function() { - return jspb.Message.getField(this, 8) != null; -}; - - -/** - * optional SelectData select_data = 10; - * @return {?proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.getSelectData = function() { - return /** @type{?proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData, 10)); -}; - - -/** - * @param {?proto.proto.services.property_svc.v1.GetPropertyResponse.SelectData|undefined} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this -*/ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.setSelectData = function(value) { - return jspb.Message.setOneofWrapperField(this, 10, proto.proto.services.property_svc.v1.GetPropertyResponse.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.clearSelectData = function() { - return this.setSelectData(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.hasSelectData = function() { - return jspb.Message.getField(this, 10) != null; -}; - - -/** - * optional bool always_include_for_view_source = 11; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.getAlwaysIncludeForViewSource = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.setAlwaysIncludeForViewSource = function(value) { - return jspb.Message.setField(this, 11, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertyResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.clearAlwaysIncludeForViewSource = function() { - return jspb.Message.setField(this, 11, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertyResponse.prototype.hasAlwaysIncludeForViewSource = function() { - return jspb.Message.getField(this, 11) != null; -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.oneofGroups_ = [[10]]; - -/** - * @enum {number} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.FieldTypeDataCase = { - FIELD_TYPE_DATA_NOT_SET: 0, - SELECT_DATA: 10 -}; - -/** - * @return {proto.proto.services.property_svc.v1.UpdatePropertyRequest.FieldTypeDataCase} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getFieldTypeDataCase = function() { - return /** @type {proto.proto.services.property_svc.v1.UpdatePropertyRequest.FieldTypeDataCase} */(jspb.Message.computeOneofCase(this, proto.proto.services.property_svc.v1.UpdatePropertyRequest.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.UpdatePropertyRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - subjectType: jspb.Message.getFieldWithDefault(msg, 2, 0), - name: jspb.Message.getFieldWithDefault(msg, 4, ""), - description: jspb.Message.getFieldWithDefault(msg, 5, ""), - isArchived: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - setId: jspb.Message.getFieldWithDefault(msg, 8, ""), - selectData: (f = msg.getSelectData()) && proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.UpdatePropertyRequest; - return proto.proto.services.property_svc.v1.UpdatePropertyRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - case 2: - var value = /** @type {!proto.proto.services.property_svc.v1.SubjectType} */ (reader.readEnum()); - msg.setSubjectType(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setDescription(value); - break; - case 6: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsArchived(value); - break; - case 8: - var value = /** @type {string} */ (reader.readString()); - msg.setSetId(value); - break; - case 10: - var value = new proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData; - reader.readMessage(value,proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.deserializeBinaryFromReader); - msg.setSelectData(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.UpdatePropertyRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = /** @type {!proto.proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeEnum( - 2, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeString( - 4, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString( - 5, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeBool( - 6, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 8)); - if (f != null) { - writer.writeString( - 8, - f - ); - } - f = message.getSelectData(); - if (f != null) { - writer.writeMessage( - 10, - f, - proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.serializeBinaryToWriter - ); - } -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.repeatedFields_ = [2,3]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.toObject = function(includeInstance, msg) { - var f, obj = { - allowFreetext: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - removeOptionsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - upsertOptionsList: jspb.Message.toObjectList(msg.getUpsertOptionsList(), - proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.toObject, includeInstance) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData; - return proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setAllowFreetext(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.addRemoveOptions(value); - break; - case 3: - var value = new proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption; - reader.readMessage(value,proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader); - msg.addUpsertOptions(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeBool( - 1, - f - ); - } - f = message.getRemoveOptionsList(); - if (f.length > 0) { - writer.writeRepeatedString( - 2, - f - ); - } - f = message.getUpsertOptionsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 3, - f, - proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter - ); - } -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - description: jspb.Message.getFieldWithDefault(msg, 3, ""), - isCustom: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption; - return proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setDescription(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsCustom(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeBool( - 4, - f - ); - } -}; - - -/** - * optional string id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.setName = function(value) { - return jspb.Message.setField(this, 2, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.clearName = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.hasName = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional string description = 3; - * @return {string} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.getDescription = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.setDescription = function(value) { - return jspb.Message.setField(this, 3, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.clearDescription = function() { - return jspb.Message.setField(this, 3, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.hasDescription = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional bool is_custom = 4; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.getIsCustom = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.setIsCustom = function(value) { - return jspb.Message.setField(this, 4, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.clearIsCustom = function() { - return jspb.Message.setField(this, 4, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.hasIsCustom = function() { - return jspb.Message.getField(this, 4) != null; -}; - - -/** - * optional bool allow_freetext = 1; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.getAllowFreetext = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.setAllowFreetext = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.clearAllowFreetext = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.hasAllowFreetext = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * repeated string remove_options = 2; - * @return {!Array} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.getRemoveOptionsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); -}; - - -/** - * @param {!Array} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.setRemoveOptionsList = function(value) { - return jspb.Message.setField(this, 2, value || []); -}; - - -/** - * @param {string} value - * @param {number=} opt_index - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.addRemoveOptions = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 2, value, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.clearRemoveOptionsList = function() { - return this.setRemoveOptionsList([]); -}; - - -/** - * repeated SelectOption upsert_options = 3; - * @return {!Array} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.getUpsertOptionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption, 3)); -}; - - -/** - * @param {!Array} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this -*/ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.setUpsertOptionsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 3, value); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption=} opt_value - * @param {number=} opt_index - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.addUpsertOptions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.clearUpsertOptionsList = function() { - return this.setUpsertOptionsList([]); -}; - - -/** - * optional string id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional SubjectType subject_type = 2; - * @return {!proto.proto.services.property_svc.v1.SubjectType} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getSubjectType = function() { - return /** @type {!proto.proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.SubjectType} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setSubjectType = function(value) { - return jspb.Message.setField(this, 2, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearSubjectType = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasSubjectType = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional string name = 4; - * @return {string} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setName = function(value) { - return jspb.Message.setField(this, 4, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearName = function() { - return jspb.Message.setField(this, 4, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasName = function() { - return jspb.Message.getField(this, 4) != null; -}; - - -/** - * optional string description = 5; - * @return {string} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getDescription = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setDescription = function(value) { - return jspb.Message.setField(this, 5, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearDescription = function() { - return jspb.Message.setField(this, 5, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasDescription = function() { - return jspb.Message.getField(this, 5) != null; -}; - - -/** - * optional bool is_archived = 6; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getIsArchived = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setIsArchived = function(value) { - return jspb.Message.setField(this, 6, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearIsArchived = function() { - return jspb.Message.setField(this, 6, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasIsArchived = function() { - return jspb.Message.getField(this, 6) != null; -}; - - -/** - * optional string set_id = 8; - * @return {string} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getSetId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setSetId = function(value) { - return jspb.Message.setField(this, 8, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearSetId = function() { - return jspb.Message.setField(this, 8, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasSetId = function() { - return jspb.Message.getField(this, 8) != null; -}; - - -/** - * optional SelectData select_data = 10; - * @return {?proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getSelectData = function() { - return /** @type{?proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData, 10)); -}; - - -/** - * @param {?proto.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData|undefined} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this -*/ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setSelectData = function(value) { - return jspb.Message.setOneofWrapperField(this, 10, proto.proto.services.property_svc.v1.UpdatePropertyRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyRequest} returns this - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearSelectData = function() { - return this.setSelectData(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasSelectData = function() { - return jspb.Message.getField(this, 10) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.UpdatePropertyResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.UpdatePropertyResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.UpdatePropertyResponse.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyResponse} - */ -proto.proto.services.property_svc.v1.UpdatePropertyResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.UpdatePropertyResponse; - return proto.proto.services.property_svc.v1.UpdatePropertyResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyResponse} - */ -proto.proto.services.property_svc.v1.UpdatePropertyResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.UpdatePropertyResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.UpdatePropertyResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.UpdatePropertyResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.toObject = function(includeInstance, msg) { - var f, obj = { - subjectType: jspb.Message.getFieldWithDefault(msg, 1, 0) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest; - return proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {!proto.proto.services.property_svc.v1.SubjectType} */ (reader.readEnum()); - msg.setSubjectType(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getSubjectType(); - if (f !== 0.0) { - writer.writeEnum( - 1, - f - ); - } -}; - - -/** - * optional SubjectType subject_type = 1; - * @return {!proto.proto.services.property_svc.v1.SubjectType} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.prototype.getSubjectType = function() { - return /** @type {!proto.proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.SubjectType} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.prototype.setSubjectType = function(value) { - return jspb.Message.setProto3EnumField(this, 1, value); -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.repeatedFields_ = [1]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.toObject = function(includeInstance, msg) { - var f, obj = { - propertiesList: jspb.Message.toObjectList(msg.getPropertiesList(), - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.toObject, includeInstance) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse; - return proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property; - reader.readMessage(value,proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.deserializeBinaryFromReader); - msg.addProperties(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getPropertiesList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.serializeBinaryToWriter - ); - } -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.oneofGroups_ = [[10]]; - -/** - * @enum {number} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.FieldTypeDataCase = { - FIELD_TYPE_DATA_NOT_SET: 0, - SELECT_DATA: 10 -}; - -/** - * @return {proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.FieldTypeDataCase} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getFieldTypeDataCase = function() { - return /** @type {proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.FieldTypeDataCase} */(jspb.Message.computeOneofCase(this, proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - subjectType: jspb.Message.getFieldWithDefault(msg, 2, 0), - fieldType: jspb.Message.getFieldWithDefault(msg, 3, 0), - name: jspb.Message.getFieldWithDefault(msg, 4, ""), - description: jspb.Message.getFieldWithDefault(msg, 5, ""), - isArchived: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - setId: jspb.Message.getFieldWithDefault(msg, 8, ""), - selectData: (f = msg.getSelectData()) && proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property; - return proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - case 2: - var value = /** @type {!proto.proto.services.property_svc.v1.SubjectType} */ (reader.readEnum()); - msg.setSubjectType(value); - break; - case 3: - var value = /** @type {!proto.proto.services.property_svc.v1.FieldType} */ (reader.readEnum()); - msg.setFieldType(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setDescription(value); - break; - case 6: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsArchived(value); - break; - case 8: - var value = /** @type {string} */ (reader.readString()); - msg.setSetId(value); - break; - case 10: - var value = new proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData; - reader.readMessage(value,proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.deserializeBinaryFromReader); - msg.setSelectData(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getSubjectType(); - if (f !== 0.0) { - writer.writeEnum( - 2, - f - ); - } - f = message.getFieldType(); - if (f !== 0.0) { - writer.writeEnum( - 3, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString( - 5, - f - ); - } - f = message.getIsArchived(); - if (f) { - writer.writeBool( - 6, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 8)); - if (f != null) { - writer.writeString( - 8, - f - ); - } - f = message.getSelectData(); - if (f != null) { - writer.writeMessage( - 10, - f, - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.serializeBinaryToWriter - ); - } -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.repeatedFields_ = [2]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.toObject = function(includeInstance, msg) { - var f, obj = { - allowFreetext: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - optionsList: jspb.Message.toObjectList(msg.getOptionsList(), - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.toObject, includeInstance) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData; - return proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setAllowFreetext(value); - break; - case 2: - var value = new proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption; - reader.readMessage(value,proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.deserializeBinaryFromReader); - msg.addOptions(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeBool( - 1, - f - ); - } - f = message.getOptionsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 2, - f, - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.serializeBinaryToWriter - ); - } -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - description: jspb.Message.getFieldWithDefault(msg, 3, ""), - isCustom: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption; - return proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setDescription(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsCustom(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } - f = message.getIsCustom(); - if (f) { - writer.writeBool( - 4, - f - ); - } -}; - - -/** - * optional string id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional string description = 3; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.getDescription = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.setDescription = function(value) { - return jspb.Message.setField(this, 3, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.clearDescription = function() { - return jspb.Message.setField(this, 3, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.hasDescription = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional bool is_custom = 4; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.getIsCustom = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.setIsCustom = function(value) { - return jspb.Message.setProto3BooleanField(this, 4, value); -}; - - -/** - * optional bool allow_freetext = 1; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.getAllowFreetext = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.setAllowFreetext = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.clearAllowFreetext = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.hasAllowFreetext = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * repeated SelectOption options = 2; - * @return {!Array} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.getOptionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption, 2)); -}; - - -/** - * @param {!Array} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} returns this -*/ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.setOptionsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption=} opt_value - * @param {number=} opt_index - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.addOptions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.clearOptionsList = function() { - return this.setOptionsList([]); -}; - - -/** - * optional string id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional SubjectType subject_type = 2; - * @return {!proto.proto.services.property_svc.v1.SubjectType} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getSubjectType = function() { - return /** @type {!proto.proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.SubjectType} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setSubjectType = function(value) { - return jspb.Message.setProto3EnumField(this, 2, value); -}; - - -/** - * optional FieldType field_type = 3; - * @return {!proto.proto.services.property_svc.v1.FieldType} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getFieldType = function() { - return /** @type {!proto.proto.services.property_svc.v1.FieldType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.FieldType} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setFieldType = function(value) { - return jspb.Message.setProto3EnumField(this, 3, value); -}; - - -/** - * optional string name = 4; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - - -/** - * optional string description = 5; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getDescription = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setDescription = function(value) { - return jspb.Message.setField(this, 5, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.clearDescription = function() { - return jspb.Message.setField(this, 5, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.hasDescription = function() { - return jspb.Message.getField(this, 5) != null; -}; - - -/** - * optional bool is_archived = 6; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getIsArchived = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setIsArchived = function(value) { - return jspb.Message.setProto3BooleanField(this, 6, value); -}; - - -/** - * optional string set_id = 8; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getSetId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setSetId = function(value) { - return jspb.Message.setField(this, 8, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.clearSetId = function() { - return jspb.Message.setField(this, 8, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.hasSetId = function() { - return jspb.Message.getField(this, 8) != null; -}; - - -/** - * optional SelectData select_data = 10; - * @return {?proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getSelectData = function() { - return /** @type{?proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData, 10)); -}; - - -/** - * @param {?proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData|undefined} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this -*/ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setSelectData = function(value) { - return jspb.Message.setOneofWrapperField(this, 10, proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.clearSelectData = function() { - return this.setSelectData(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.hasSelectData = function() { - return jspb.Message.getField(this, 10) != null; -}; - - -/** - * repeated Property properties = 1; - * @return {!Array} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.getPropertiesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} returns this -*/ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.setPropertiesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property=} opt_value - * @param {number=} opt_index - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.addProperties = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} returns this - */ -proto.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.clearPropertiesList = function() { - return this.setPropertiesList([]); -}; - - -goog.object.extend(exports, proto.proto.services.property_svc.v1); diff --git a/gen/ts/proto/services/property_svc/v1/property_value_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/property_svc/v1/property_value_svc_grpc_web_pb.d.ts deleted file mode 100644 index de416b7f3..000000000 --- a/gen/ts/proto/services/property_svc/v1/property_value_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_property_svc_v1_property_value_svc_pb from '../../../../proto/services/property_svc/v1/property_value_svc_pb'; // proto import: "proto/services/property_svc/v1/property_value_svc.proto" - - -export class PropertyValueServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - attachPropertyValue( - request: proto_services_property_svc_v1_property_value_svc_pb.AttachPropertyValueRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_property_svc_v1_property_value_svc_pb.AttachPropertyValueResponse) => void - ): grpcWeb.ClientReadableStream; - - getAttachedPropertyValues( - request: proto_services_property_svc_v1_property_value_svc_pb.GetAttachedPropertyValuesRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_property_svc_v1_property_value_svc_pb.GetAttachedPropertyValuesResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class PropertyValueServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - attachPropertyValue( - request: proto_services_property_svc_v1_property_value_svc_pb.AttachPropertyValueRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getAttachedPropertyValues( - request: proto_services_property_svc_v1_property_value_svc_pb.GetAttachedPropertyValuesRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/property_svc/v1/property_value_svc_pb.js b/gen/ts/proto/services/property_svc/v1/property_value_svc_pb.js deleted file mode 100644 index d50a3d5d3..000000000 --- a/gen/ts/proto/services/property_svc/v1/property_value_svc_pb.js +++ /dev/null @@ -1,1901 +0,0 @@ -// source: proto/services/property_svc/v1/property_value_svc.proto -/** - * @fileoverview - * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. - * @suppress {messageConventions} JS Compiler reports an error if a variable or - * field starts with 'MSG_' and isn't a translatable message. - * @public - */ -// GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck - -var jspb = require('google-protobuf'); -var goog = jspb; -var global = - (typeof globalThis !== 'undefined' && globalThis) || - (typeof window !== 'undefined' && window) || - (typeof global !== 'undefined' && global) || - (typeof self !== 'undefined' && self) || - (function () { return this; }).call(null) || - Function('return this')(); - -var proto_services_property_svc_v1_types_pb = require('../../../../proto/services/property_svc/v1/types_pb.js'); -goog.object.extend(proto, proto_services_property_svc_v1_types_pb); -var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); -goog.object.extend(proto, google_protobuf_timestamp_pb); -goog.exportSymbol('proto.proto.services.property_svc.v1.AttachPropertyValueRequest', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.AttachPropertyValueRequest.ValueCase', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.AttachPropertyValueResponse', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.MatcherCase', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.ValueCase', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.TaskPropertyMatcher', null, global); -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_); -}; -goog.inherits(proto.proto.services.property_svc.v1.AttachPropertyValueRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.AttachPropertyValueRequest.displayName = 'proto.proto.services.property_svc.v1.AttachPropertyValueRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.AttachPropertyValueResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.AttachPropertyValueResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.AttachPropertyValueResponse.displayName = 'proto.proto.services.property_svc.v1.AttachPropertyValueResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.TaskPropertyMatcher, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.TaskPropertyMatcher.displayName = 'proto.proto.services.property_svc.v1.TaskPropertyMatcher'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.oneofGroups_); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.displayName = 'proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.repeatedFields_, null); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.displayName = 'proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_); -}; -goog.inherits(proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.displayName = 'proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value'; -} - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_ = [[3,4,5,6,7,8]]; - -/** - * @enum {number} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.ValueCase = { - VALUE_NOT_SET: 0, - TEXT_VALUE: 3, - NUMBER_VALUE: 4, - BOOL_VALUE: 5, - DATE_VALUE: 6, - DATE_TIME_VALUE: 7, - SELECT_VALUE: 8 -}; - -/** - * @return {proto.proto.services.property_svc.v1.AttachPropertyValueRequest.ValueCase} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getValueCase = function() { - return /** @type {proto.proto.services.property_svc.v1.AttachPropertyValueRequest.ValueCase} */(jspb.Message.computeOneofCase(this, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.AttachPropertyValueRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.toObject = function(includeInstance, msg) { - var f, obj = { - subjectId: jspb.Message.getFieldWithDefault(msg, 1, ""), - propertyId: jspb.Message.getFieldWithDefault(msg, 2, ""), - textValue: jspb.Message.getFieldWithDefault(msg, 3, ""), - numberValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), - boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - dateValue: (f = msg.getDateValue()) && proto_services_property_svc_v1_types_pb.Date.toObject(includeInstance, f), - dateTimeValue: (f = msg.getDateTimeValue()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - selectValue: jspb.Message.getFieldWithDefault(msg, 8, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.AttachPropertyValueRequest; - return proto.proto.services.property_svc.v1.AttachPropertyValueRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setSubjectId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setPropertyId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setTextValue(value); - break; - case 4: - var value = /** @type {number} */ (reader.readDouble()); - msg.setNumberValue(value); - break; - case 5: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setBoolValue(value); - break; - case 6: - var value = new proto_services_property_svc_v1_types_pb.Date; - reader.readMessage(value,proto_services_property_svc_v1_types_pb.Date.deserializeBinaryFromReader); - msg.setDateValue(value); - break; - case 7: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setDateTimeValue(value); - break; - case 8: - var value = /** @type {string} */ (reader.readString()); - msg.setSelectValue(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.AttachPropertyValueRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getSubjectId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getPropertyId(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } - f = /** @type {number} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeDouble( - 4, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeBool( - 5, - f - ); - } - f = message.getDateValue(); - if (f != null) { - writer.writeMessage( - 6, - f, - proto_services_property_svc_v1_types_pb.Date.serializeBinaryToWriter - ); - } - f = message.getDateTimeValue(); - if (f != null) { - writer.writeMessage( - 7, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 8)); - if (f != null) { - writer.writeString( - 8, - f - ); - } -}; - - -/** - * optional string subject_id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getSubjectId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setSubjectId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string property_id = 2; - * @return {string} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getPropertyId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setPropertyId = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional string text_value = 3; - * @return {string} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getTextValue = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setTextValue = function(value) { - return jspb.Message.setOneofField(this, 3, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearTextValue = function() { - return jspb.Message.setOneofField(this, 3, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasTextValue = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional double number_value = 4; - * @return {number} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getNumberValue = function() { - return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); -}; - - -/** - * @param {number} value - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setNumberValue = function(value) { - return jspb.Message.setOneofField(this, 4, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearNumberValue = function() { - return jspb.Message.setOneofField(this, 4, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasNumberValue = function() { - return jspb.Message.getField(this, 4) != null; -}; - - -/** - * optional bool bool_value = 5; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getBoolValue = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setBoolValue = function(value) { - return jspb.Message.setOneofField(this, 5, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearBoolValue = function() { - return jspb.Message.setOneofField(this, 5, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasBoolValue = function() { - return jspb.Message.getField(this, 5) != null; -}; - - -/** - * optional Date date_value = 6; - * @return {?proto.proto.services.property_svc.v1.Date} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getDateValue = function() { - return /** @type{?proto.proto.services.property_svc.v1.Date} */ ( - jspb.Message.getWrapperField(this, proto_services_property_svc_v1_types_pb.Date, 6)); -}; - - -/** - * @param {?proto.proto.services.property_svc.v1.Date|undefined} value - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this -*/ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setDateValue = function(value) { - return jspb.Message.setOneofWrapperField(this, 6, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearDateValue = function() { - return this.setDateValue(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasDateValue = function() { - return jspb.Message.getField(this, 6) != null; -}; - - -/** - * optional google.protobuf.Timestamp date_time_value = 7; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getDateTimeValue = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this -*/ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setDateTimeValue = function(value) { - return jspb.Message.setOneofWrapperField(this, 7, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearDateTimeValue = function() { - return this.setDateTimeValue(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasDateTimeValue = function() { - return jspb.Message.getField(this, 7) != null; -}; - - -/** - * optional string select_value = 8; - * @return {string} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getSelectValue = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setSelectValue = function(value) { - return jspb.Message.setOneofField(this, 8, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearSelectValue = function() { - return jspb.Message.setOneofField(this, 8, proto.proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasSelectValue = function() { - return jspb.Message.getField(this, 8) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.AttachPropertyValueResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.AttachPropertyValueResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.AttachPropertyValueResponse.toObject = function(includeInstance, msg) { - var f, obj = { - propertyValueId: jspb.Message.getFieldWithDefault(msg, 1, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueResponse} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.AttachPropertyValueResponse; - return proto.proto.services.property_svc.v1.AttachPropertyValueResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.AttachPropertyValueResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueResponse} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setPropertyValueId(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.AttachPropertyValueResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.AttachPropertyValueResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.AttachPropertyValueResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getPropertyValueId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - -/** - * optional string property_value_id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.AttachPropertyValueResponse.prototype.getPropertyValueId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.AttachPropertyValueResponse} returns this - */ -proto.proto.services.property_svc.v1.AttachPropertyValueResponse.prototype.setPropertyValueId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.TaskPropertyMatcher.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.TaskPropertyMatcher} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.toObject = function(includeInstance, msg) { - var f, obj = { - wardId: jspb.Message.getFieldWithDefault(msg, 1, ""), - taskId: jspb.Message.getFieldWithDefault(msg, 2, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.TaskPropertyMatcher} - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.TaskPropertyMatcher; - return proto.proto.services.property_svc.v1.TaskPropertyMatcher.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.TaskPropertyMatcher} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.TaskPropertyMatcher} - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setWardId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setTaskId(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.TaskPropertyMatcher.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.TaskPropertyMatcher} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( - 1, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } -}; - - -/** - * optional string ward_id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.prototype.getWardId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.TaskPropertyMatcher} returns this - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.prototype.setWardId = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.TaskPropertyMatcher} returns this - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.prototype.clearWardId = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.prototype.hasWardId = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional string task_id = 2; - * @return {string} - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.prototype.getTaskId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.TaskPropertyMatcher} returns this - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.prototype.setTaskId = function(value) { - return jspb.Message.setField(this, 2, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.TaskPropertyMatcher} returns this - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.prototype.clearTaskId = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.TaskPropertyMatcher.prototype.hasTaskId = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.oneofGroups_ = [[1]]; - -/** - * @enum {number} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.MatcherCase = { - MATCHER_NOT_SET: 0, - TASK_MATCHER: 1 -}; - -/** - * @return {proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.MatcherCase} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.getMatcherCase = function() { - return /** @type {proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.MatcherCase} */(jspb.Message.computeOneofCase(this, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.toObject = function(includeInstance, msg) { - var f, obj = { - taskMatcher: (f = msg.getTaskMatcher()) && proto.proto.services.property_svc.v1.TaskPropertyMatcher.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest; - return proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.proto.services.property_svc.v1.TaskPropertyMatcher; - reader.readMessage(value,proto.proto.services.property_svc.v1.TaskPropertyMatcher.deserializeBinaryFromReader); - msg.setTaskMatcher(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getTaskMatcher(); - if (f != null) { - writer.writeMessage( - 1, - f, - proto.proto.services.property_svc.v1.TaskPropertyMatcher.serializeBinaryToWriter - ); - } -}; - - -/** - * optional TaskPropertyMatcher task_matcher = 1; - * @return {?proto.proto.services.property_svc.v1.TaskPropertyMatcher} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.getTaskMatcher = function() { - return /** @type{?proto.proto.services.property_svc.v1.TaskPropertyMatcher} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.property_svc.v1.TaskPropertyMatcher, 1)); -}; - - -/** - * @param {?proto.proto.services.property_svc.v1.TaskPropertyMatcher|undefined} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} returns this -*/ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.setTaskMatcher = function(value) { - return jspb.Message.setOneofWrapperField(this, 1, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.clearTaskMatcher = function() { - return this.setTaskMatcher(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.hasTaskMatcher = function() { - return jspb.Message.getField(this, 1) != null; -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.repeatedFields_ = [1]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.toObject = function(includeInstance, msg) { - var f, obj = { - valuesList: jspb.Message.toObjectList(msg.getValuesList(), - proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.toObject, includeInstance) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse; - return proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value; - reader.readMessage(value,proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.deserializeBinaryFromReader); - msg.addValues(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getValuesList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.serializeBinaryToWriter - ); - } -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_ = [[6,7,8,9,10,11]]; - -/** - * @enum {number} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.ValueCase = { - VALUE_NOT_SET: 0, - TEXT_VALUE: 6, - NUMBER_VALUE: 7, - BOOL_VALUE: 8, - DATE_VALUE: 9, - DATE_TIME_VALUE: 10, - SELECT_VALUE: 11 -}; - -/** - * @return {proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.ValueCase} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getValueCase = function() { - return /** @type {proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.ValueCase} */(jspb.Message.computeOneofCase(this, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.toObject = function(includeInstance, msg) { - var f, obj = { - propertyId: jspb.Message.getFieldWithDefault(msg, 1, ""), - fieldType: jspb.Message.getFieldWithDefault(msg, 2, 0), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - description: jspb.Message.getFieldWithDefault(msg, 4, ""), - isArchived: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - textValue: jspb.Message.getFieldWithDefault(msg, 6, ""), - numberValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0), - boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), - dateValue: (f = msg.getDateValue()) && proto_services_property_svc_v1_types_pb.Date.toObject(includeInstance, f), - dateTimeValue: (f = msg.getDateTimeValue()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - selectValue: jspb.Message.getFieldWithDefault(msg, 11, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value; - return proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setPropertyId(value); - break; - case 2: - var value = /** @type {!proto.proto.services.property_svc.v1.FieldType} */ (reader.readEnum()); - msg.setFieldType(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setDescription(value); - break; - case 5: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsArchived(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setTextValue(value); - break; - case 7: - var value = /** @type {number} */ (reader.readDouble()); - msg.setNumberValue(value); - break; - case 8: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setBoolValue(value); - break; - case 9: - var value = new proto_services_property_svc_v1_types_pb.Date; - reader.readMessage(value,proto_services_property_svc_v1_types_pb.Date.deserializeBinaryFromReader); - msg.setDateValue(value); - break; - case 10: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setDateTimeValue(value); - break; - case 11: - var value = /** @type {string} */ (reader.readString()); - msg.setSelectValue(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getPropertyId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getFieldType(); - if (f !== 0.0) { - writer.writeEnum( - 2, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeString( - 4, - f - ); - } - f = message.getIsArchived(); - if (f) { - writer.writeBool( - 5, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeString( - 6, - f - ); - } - f = /** @type {number} */ (jspb.Message.getField(message, 7)); - if (f != null) { - writer.writeDouble( - 7, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 8)); - if (f != null) { - writer.writeBool( - 8, - f - ); - } - f = message.getDateValue(); - if (f != null) { - writer.writeMessage( - 9, - f, - proto_services_property_svc_v1_types_pb.Date.serializeBinaryToWriter - ); - } - f = message.getDateTimeValue(); - if (f != null) { - writer.writeMessage( - 10, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 11)); - if (f != null) { - writer.writeString( - 11, - f - ); - } -}; - - -/** - * optional string property_id = 1; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getPropertyId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setPropertyId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional FieldType field_type = 2; - * @return {!proto.proto.services.property_svc.v1.FieldType} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getFieldType = function() { - return /** @type {!proto.proto.services.property_svc.v1.FieldType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.FieldType} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setFieldType = function(value) { - return jspb.Message.setProto3EnumField(this, 2, value); -}; - - -/** - * optional string name = 3; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - - -/** - * optional string description = 4; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getDescription = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setDescription = function(value) { - return jspb.Message.setField(this, 4, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearDescription = function() { - return jspb.Message.setField(this, 4, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasDescription = function() { - return jspb.Message.getField(this, 4) != null; -}; - - -/** - * optional bool is_archived = 5; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getIsArchived = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setIsArchived = function(value) { - return jspb.Message.setProto3BooleanField(this, 5, value); -}; - - -/** - * optional string text_value = 6; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getTextValue = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setTextValue = function(value) { - return jspb.Message.setOneofField(this, 6, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearTextValue = function() { - return jspb.Message.setOneofField(this, 6, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasTextValue = function() { - return jspb.Message.getField(this, 6) != null; -}; - - -/** - * optional double number_value = 7; - * @return {number} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getNumberValue = function() { - return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0)); -}; - - -/** - * @param {number} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setNumberValue = function(value) { - return jspb.Message.setOneofField(this, 7, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearNumberValue = function() { - return jspb.Message.setOneofField(this, 7, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasNumberValue = function() { - return jspb.Message.getField(this, 7) != null; -}; - - -/** - * optional bool bool_value = 8; - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getBoolValue = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setBoolValue = function(value) { - return jspb.Message.setOneofField(this, 8, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearBoolValue = function() { - return jspb.Message.setOneofField(this, 8, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasBoolValue = function() { - return jspb.Message.getField(this, 8) != null; -}; - - -/** - * optional Date date_value = 9; - * @return {?proto.proto.services.property_svc.v1.Date} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getDateValue = function() { - return /** @type{?proto.proto.services.property_svc.v1.Date} */ ( - jspb.Message.getWrapperField(this, proto_services_property_svc_v1_types_pb.Date, 9)); -}; - - -/** - * @param {?proto.proto.services.property_svc.v1.Date|undefined} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this -*/ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setDateValue = function(value) { - return jspb.Message.setOneofWrapperField(this, 9, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearDateValue = function() { - return this.setDateValue(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasDateValue = function() { - return jspb.Message.getField(this, 9) != null; -}; - - -/** - * optional google.protobuf.Timestamp date_time_value = 10; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getDateTimeValue = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this -*/ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setDateTimeValue = function(value) { - return jspb.Message.setOneofWrapperField(this, 10, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearDateTimeValue = function() { - return this.setDateTimeValue(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasDateTimeValue = function() { - return jspb.Message.getField(this, 10) != null; -}; - - -/** - * optional string select_value = 11; - * @return {string} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getSelectValue = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); -}; - - -/** - * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setSelectValue = function(value) { - return jspb.Message.setOneofField(this, 11, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearSelectValue = function() { - return jspb.Message.setOneofField(this, 11, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasSelectValue = function() { - return jspb.Message.getField(this, 11) != null; -}; - - -/** - * repeated Value values = 1; - * @return {!Array} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.getValuesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} returns this -*/ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.setValuesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - - -/** - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value=} opt_value - * @param {number=} opt_index - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.addValues = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} returns this - */ -proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.clearValuesList = function() { - return this.setValuesList([]); -}; - - -goog.object.extend(exports, proto.proto.services.property_svc.v1); diff --git a/gen/ts/proto/services/property_svc/v1/property_views_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/property_svc/v1/property_views_svc_grpc_web_pb.d.ts deleted file mode 100644 index c15d7e5d7..000000000 --- a/gen/ts/proto/services/property_svc/v1/property_views_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_property_svc_v1_property_views_svc_pb from '../../../../proto/services/property_svc/v1/property_views_svc_pb'; // proto import: "proto/services/property_svc/v1/property_views_svc.proto" - - -export class PropertyViewsServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - updatePropertyViewRule( - request: proto_services_property_svc_v1_property_views_svc_pb.UpdatePropertyViewRuleRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_property_svc_v1_property_views_svc_pb.UpdatePropertyViewRuleResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class PropertyViewsServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - updatePropertyViewRule( - request: proto_services_property_svc_v1_property_views_svc_pb.UpdatePropertyViewRuleRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/task_svc/v1/bed_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/task_svc/v1/bed_svc_grpc_web_pb.d.ts deleted file mode 100644 index c5eb94859..000000000 --- a/gen/ts/proto/services/task_svc/v1/bed_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,115 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_task_svc_v1_bed_svc_pb from '../../../../proto/services/task_svc/v1/bed_svc_pb'; // proto import: "proto/services/task_svc/v1/bed_svc.proto" - - -export class BedServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createBed( - request: proto_services_task_svc_v1_bed_svc_pb.CreateBedRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_bed_svc_pb.CreateBedResponse) => void - ): grpcWeb.ClientReadableStream; - - bulkCreateBeds( - request: proto_services_task_svc_v1_bed_svc_pb.BulkCreateBedsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_bed_svc_pb.BulkCreateBedsResponse) => void - ): grpcWeb.ClientReadableStream; - - getBed( - request: proto_services_task_svc_v1_bed_svc_pb.GetBedRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_bed_svc_pb.GetBedResponse) => void - ): grpcWeb.ClientReadableStream; - - getBedByPatient( - request: proto_services_task_svc_v1_bed_svc_pb.GetBedByPatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_bed_svc_pb.GetBedByPatientResponse) => void - ): grpcWeb.ClientReadableStream; - - getBeds( - request: proto_services_task_svc_v1_bed_svc_pb.GetBedsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_bed_svc_pb.GetBedsResponse) => void - ): grpcWeb.ClientReadableStream; - - getBedsByRoom( - request: proto_services_task_svc_v1_bed_svc_pb.GetBedsByRoomRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_bed_svc_pb.GetBedsByRoomResponse) => void - ): grpcWeb.ClientReadableStream; - - updateBed( - request: proto_services_task_svc_v1_bed_svc_pb.UpdateBedRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_bed_svc_pb.UpdateBedResponse) => void - ): grpcWeb.ClientReadableStream; - - deleteBed( - request: proto_services_task_svc_v1_bed_svc_pb.DeleteBedRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_bed_svc_pb.DeleteBedResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class BedServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createBed( - request: proto_services_task_svc_v1_bed_svc_pb.CreateBedRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - bulkCreateBeds( - request: proto_services_task_svc_v1_bed_svc_pb.BulkCreateBedsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getBed( - request: proto_services_task_svc_v1_bed_svc_pb.GetBedRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getBedByPatient( - request: proto_services_task_svc_v1_bed_svc_pb.GetBedByPatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getBeds( - request: proto_services_task_svc_v1_bed_svc_pb.GetBedsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getBedsByRoom( - request: proto_services_task_svc_v1_bed_svc_pb.GetBedsByRoomRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateBed( - request: proto_services_task_svc_v1_bed_svc_pb.UpdateBedRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - deleteBed( - request: proto_services_task_svc_v1_bed_svc_pb.DeleteBedRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/task_svc/v1/bed_svc_grpc_web_pb.js b/gen/ts/proto/services/task_svc/v1/bed_svc_grpc_web_pb.js deleted file mode 100644 index 3b420e021..000000000 --- a/gen/ts/proto/services/task_svc/v1/bed_svc_grpc_web_pb.js +++ /dev/null @@ -1,569 +0,0 @@ -/** - * @fileoverview gRPC-Web generated client stub for proto.services.task_svc.v1 - * @enhanceable - * @public - */ - -// Code generated by protoc-gen-grpc-web. DO NOT EDIT. -// versions: -// protoc-gen-grpc-web v1.5.0 -// protoc v0.0.0 -// source: proto/services/task_svc/v1/bed_svc.proto - - -/* eslint-disable */ -// @ts-nocheck - - - -const grpc = {}; -grpc.web = require('grpc-web'); - -const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.task_svc = {}; -proto.proto.services.task_svc.v1 = require('./bed_svc_pb.js'); - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.BedServiceClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.BedServicePromiseClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.CreateBedRequest, - * !proto.proto.services.task_svc.v1.CreateBedResponse>} - */ -const methodDescriptor_BedService_CreateBed = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.BedService/CreateBed', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.CreateBedRequest, - proto.proto.services.task_svc.v1.CreateBedResponse, - /** - * @param {!proto.proto.services.task_svc.v1.CreateBedRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.CreateBedResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateBedRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.CreateBedResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.BedServiceClient.prototype.createBed = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/CreateBed', - request, - metadata || {}, - methodDescriptor_BedService_CreateBed, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateBedRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.BedServicePromiseClient.prototype.createBed = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/CreateBed', - request, - metadata || {}, - methodDescriptor_BedService_CreateBed); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.BulkCreateBedsRequest, - * !proto.proto.services.task_svc.v1.BulkCreateBedsResponse>} - */ -const methodDescriptor_BedService_BulkCreateBeds = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.BedService/BulkCreateBeds', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.BulkCreateBedsRequest, - proto.proto.services.task_svc.v1.BulkCreateBedsResponse, - /** - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.BulkCreateBedsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.BulkCreateBedsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.BedServiceClient.prototype.bulkCreateBeds = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/BulkCreateBeds', - request, - metadata || {}, - methodDescriptor_BedService_BulkCreateBeds, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.BedServicePromiseClient.prototype.bulkCreateBeds = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/BulkCreateBeds', - request, - metadata || {}, - methodDescriptor_BedService_BulkCreateBeds); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetBedRequest, - * !proto.proto.services.task_svc.v1.GetBedResponse>} - */ -const methodDescriptor_BedService_GetBed = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.BedService/GetBed', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetBedRequest, - proto.proto.services.task_svc.v1.GetBedResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetBedRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetBedResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetBedRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetBedResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.BedServiceClient.prototype.getBed = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/GetBed', - request, - metadata || {}, - methodDescriptor_BedService_GetBed, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetBedRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.BedServicePromiseClient.prototype.getBed = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/GetBed', - request, - metadata || {}, - methodDescriptor_BedService_GetBed); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetBedByPatientRequest, - * !proto.proto.services.task_svc.v1.GetBedByPatientResponse>} - */ -const methodDescriptor_BedService_GetBedByPatient = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.BedService/GetBedByPatient', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetBedByPatientRequest, - proto.proto.services.task_svc.v1.GetBedByPatientResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetBedByPatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetBedByPatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.BedServiceClient.prototype.getBedByPatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/GetBedByPatient', - request, - metadata || {}, - methodDescriptor_BedService_GetBedByPatient, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.BedServicePromiseClient.prototype.getBedByPatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/GetBedByPatient', - request, - metadata || {}, - methodDescriptor_BedService_GetBedByPatient); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetBedsRequest, - * !proto.proto.services.task_svc.v1.GetBedsResponse>} - */ -const methodDescriptor_BedService_GetBeds = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.BedService/GetBeds', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetBedsRequest, - proto.proto.services.task_svc.v1.GetBedsResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetBedsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetBedsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetBedsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetBedsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.BedServiceClient.prototype.getBeds = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/GetBeds', - request, - metadata || {}, - methodDescriptor_BedService_GetBeds, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetBedsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.BedServicePromiseClient.prototype.getBeds = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/GetBeds', - request, - metadata || {}, - methodDescriptor_BedService_GetBeds); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetBedsByRoomRequest, - * !proto.proto.services.task_svc.v1.GetBedsByRoomResponse>} - */ -const methodDescriptor_BedService_GetBedsByRoom = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.BedService/GetBedsByRoom', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetBedsByRoomRequest, - proto.proto.services.task_svc.v1.GetBedsByRoomResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetBedsByRoomResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetBedsByRoomResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.BedServiceClient.prototype.getBedsByRoom = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/GetBedsByRoom', - request, - metadata || {}, - methodDescriptor_BedService_GetBedsByRoom, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.BedServicePromiseClient.prototype.getBedsByRoom = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/GetBedsByRoom', - request, - metadata || {}, - methodDescriptor_BedService_GetBedsByRoom); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.UpdateBedRequest, - * !proto.proto.services.task_svc.v1.UpdateBedResponse>} - */ -const methodDescriptor_BedService_UpdateBed = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.BedService/UpdateBed', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.UpdateBedRequest, - proto.proto.services.task_svc.v1.UpdateBedResponse, - /** - * @param {!proto.proto.services.task_svc.v1.UpdateBedRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.UpdateBedResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateBedRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.UpdateBedResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.BedServiceClient.prototype.updateBed = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/UpdateBed', - request, - metadata || {}, - methodDescriptor_BedService_UpdateBed, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateBedRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.BedServicePromiseClient.prototype.updateBed = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/UpdateBed', - request, - metadata || {}, - methodDescriptor_BedService_UpdateBed); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.DeleteBedRequest, - * !proto.proto.services.task_svc.v1.DeleteBedResponse>} - */ -const methodDescriptor_BedService_DeleteBed = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.BedService/DeleteBed', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.DeleteBedRequest, - proto.proto.services.task_svc.v1.DeleteBedResponse, - /** - * @param {!proto.proto.services.task_svc.v1.DeleteBedRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.DeleteBedResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteBedRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.DeleteBedResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.BedServiceClient.prototype.deleteBed = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/DeleteBed', - request, - metadata || {}, - methodDescriptor_BedService_DeleteBed, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteBedRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.BedServicePromiseClient.prototype.deleteBed = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.BedService/DeleteBed', - request, - metadata || {}, - methodDescriptor_BedService_DeleteBed); -}; - - -module.exports = proto.proto.services.task_svc.v1; - diff --git a/gen/ts/proto/services/task_svc/v1/patient_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/task_svc/v1/patient_svc_grpc_web_pb.d.ts deleted file mode 100644 index b59e65620..000000000 --- a/gen/ts/proto/services/task_svc/v1/patient_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,187 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_task_svc_v1_patient_svc_pb from '../../../../proto/services/task_svc/v1/patient_svc_pb'; // proto import: "proto/services/task_svc/v1/patient_svc.proto" - - -export class PatientServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createPatient( - request: proto_services_task_svc_v1_patient_svc_pb.CreatePatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.CreatePatientResponse) => void - ): grpcWeb.ClientReadableStream; - - getPatient( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.GetPatientResponse) => void - ): grpcWeb.ClientReadableStream; - - getPatientByBed( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientByBedRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.GetPatientByBedResponse) => void - ): grpcWeb.ClientReadableStream; - - getPatientsByWard( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientsByWardRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.GetPatientsByWardResponse) => void - ): grpcWeb.ClientReadableStream; - - getPatientAssignmentByWard( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientAssignmentByWardRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.GetPatientAssignmentByWardResponse) => void - ): grpcWeb.ClientReadableStream; - - getRecentPatients( - request: proto_services_task_svc_v1_patient_svc_pb.GetRecentPatientsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.GetRecentPatientsResponse) => void - ): grpcWeb.ClientReadableStream; - - updatePatient( - request: proto_services_task_svc_v1_patient_svc_pb.UpdatePatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.UpdatePatientResponse) => void - ): grpcWeb.ClientReadableStream; - - assignBed( - request: proto_services_task_svc_v1_patient_svc_pb.AssignBedRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.AssignBedResponse) => void - ): grpcWeb.ClientReadableStream; - - unassignBed( - request: proto_services_task_svc_v1_patient_svc_pb.UnassignBedRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.UnassignBedResponse) => void - ): grpcWeb.ClientReadableStream; - - dischargePatient( - request: proto_services_task_svc_v1_patient_svc_pb.DischargePatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.DischargePatientResponse) => void - ): grpcWeb.ClientReadableStream; - - getPatientDetails( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientDetailsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.GetPatientDetailsResponse) => void - ): grpcWeb.ClientReadableStream; - - getPatientList( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientListRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.GetPatientListResponse) => void - ): grpcWeb.ClientReadableStream; - - deletePatient( - request: proto_services_task_svc_v1_patient_svc_pb.DeletePatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.DeletePatientResponse) => void - ): grpcWeb.ClientReadableStream; - - readmitPatient( - request: proto_services_task_svc_v1_patient_svc_pb.ReadmitPatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_patient_svc_pb.ReadmitPatientResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class PatientServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createPatient( - request: proto_services_task_svc_v1_patient_svc_pb.CreatePatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getPatient( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getPatientByBed( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientByBedRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getPatientsByWard( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientsByWardRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getPatientAssignmentByWard( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientAssignmentByWardRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getRecentPatients( - request: proto_services_task_svc_v1_patient_svc_pb.GetRecentPatientsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updatePatient( - request: proto_services_task_svc_v1_patient_svc_pb.UpdatePatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - assignBed( - request: proto_services_task_svc_v1_patient_svc_pb.AssignBedRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - unassignBed( - request: proto_services_task_svc_v1_patient_svc_pb.UnassignBedRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - dischargePatient( - request: proto_services_task_svc_v1_patient_svc_pb.DischargePatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getPatientDetails( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientDetailsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getPatientList( - request: proto_services_task_svc_v1_patient_svc_pb.GetPatientListRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - deletePatient( - request: proto_services_task_svc_v1_patient_svc_pb.DeletePatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - readmitPatient( - request: proto_services_task_svc_v1_patient_svc_pb.ReadmitPatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/task_svc/v1/patient_svc_grpc_web_pb.js b/gen/ts/proto/services/task_svc/v1/patient_svc_grpc_web_pb.js deleted file mode 100644 index e63ff1c48..000000000 --- a/gen/ts/proto/services/task_svc/v1/patient_svc_grpc_web_pb.js +++ /dev/null @@ -1,935 +0,0 @@ -/** - * @fileoverview gRPC-Web generated client stub for proto.services.task_svc.v1 - * @enhanceable - * @public - */ - -// Code generated by protoc-gen-grpc-web. DO NOT EDIT. -// versions: -// protoc-gen-grpc-web v1.5.0 -// protoc v0.0.0 -// source: proto/services/task_svc/v1/patient_svc.proto - - -/* eslint-disable */ -// @ts-nocheck - - - -const grpc = {}; -grpc.web = require('grpc-web'); - -const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.task_svc = {}; -proto.proto.services.task_svc.v1 = require('./patient_svc_pb.js'); - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.PatientServiceClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.CreatePatientRequest, - * !proto.proto.services.task_svc.v1.CreatePatientResponse>} - */ -const methodDescriptor_PatientService_CreatePatient = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/CreatePatient', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.CreatePatientRequest, - proto.proto.services.task_svc.v1.CreatePatientResponse, - /** - * @param {!proto.proto.services.task_svc.v1.CreatePatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.CreatePatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.CreatePatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.CreatePatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.createPatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/CreatePatient', - request, - metadata || {}, - methodDescriptor_PatientService_CreatePatient, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.CreatePatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.createPatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/CreatePatient', - request, - metadata || {}, - methodDescriptor_PatientService_CreatePatient); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetPatientRequest, - * !proto.proto.services.task_svc.v1.GetPatientResponse>} - */ -const methodDescriptor_PatientService_GetPatient = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/GetPatient', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetPatientRequest, - proto.proto.services.task_svc.v1.GetPatientResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetPatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetPatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetPatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.getPatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatient', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatient, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatient', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatient); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetPatientByBedRequest, - * !proto.proto.services.task_svc.v1.GetPatientByBedResponse>} - */ -const methodDescriptor_PatientService_GetPatientByBed = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/GetPatientByBed', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetPatientByBedRequest, - proto.proto.services.task_svc.v1.GetPatientByBedResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetPatientByBedRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetPatientByBedResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientByBedRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetPatientByBedResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.getPatientByBed = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatientByBed', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatientByBed, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientByBedRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatientByBed = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatientByBed', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatientByBed); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetPatientsByWardRequest, - * !proto.proto.services.task_svc.v1.GetPatientsByWardResponse>} - */ -const methodDescriptor_PatientService_GetPatientsByWard = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/GetPatientsByWard', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetPatientsByWardRequest, - proto.proto.services.task_svc.v1.GetPatientsByWardResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetPatientsByWardResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetPatientsByWardResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.getPatientsByWard = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatientsByWard', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatientsByWard, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatientsByWard = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatientsByWard', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatientsByWard); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest, - * !proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse>} - */ -const methodDescriptor_PatientService_GetPatientAssignmentByWard = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest, - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.getPatientAssignmentByWard = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatientAssignmentByWard, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatientAssignmentByWard = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatientAssignmentByWard); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetRecentPatientsRequest, - * !proto.proto.services.task_svc.v1.GetRecentPatientsResponse>} - */ -const methodDescriptor_PatientService_GetRecentPatients = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/GetRecentPatients', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetRecentPatientsRequest, - proto.proto.services.task_svc.v1.GetRecentPatientsResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetRecentPatientsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.getRecentPatients = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetRecentPatients', - request, - metadata || {}, - methodDescriptor_PatientService_GetRecentPatients, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getRecentPatients = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetRecentPatients', - request, - metadata || {}, - methodDescriptor_PatientService_GetRecentPatients); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.UpdatePatientRequest, - * !proto.proto.services.task_svc.v1.UpdatePatientResponse>} - */ -const methodDescriptor_PatientService_UpdatePatient = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/UpdatePatient', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.UpdatePatientRequest, - proto.proto.services.task_svc.v1.UpdatePatientResponse, - /** - * @param {!proto.proto.services.task_svc.v1.UpdatePatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.UpdatePatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdatePatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.UpdatePatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.updatePatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/UpdatePatient', - request, - metadata || {}, - methodDescriptor_PatientService_UpdatePatient, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdatePatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.updatePatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/UpdatePatient', - request, - metadata || {}, - methodDescriptor_PatientService_UpdatePatient); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.AssignBedRequest, - * !proto.proto.services.task_svc.v1.AssignBedResponse>} - */ -const methodDescriptor_PatientService_AssignBed = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/AssignBed', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.AssignBedRequest, - proto.proto.services.task_svc.v1.AssignBedResponse, - /** - * @param {!proto.proto.services.task_svc.v1.AssignBedRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.AssignBedResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.AssignBedRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.AssignBedResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.assignBed = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/AssignBed', - request, - metadata || {}, - methodDescriptor_PatientService_AssignBed, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.AssignBedRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.assignBed = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/AssignBed', - request, - metadata || {}, - methodDescriptor_PatientService_AssignBed); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.UnassignBedRequest, - * !proto.proto.services.task_svc.v1.UnassignBedResponse>} - */ -const methodDescriptor_PatientService_UnassignBed = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/UnassignBed', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.UnassignBedRequest, - proto.proto.services.task_svc.v1.UnassignBedResponse, - /** - * @param {!proto.proto.services.task_svc.v1.UnassignBedRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.UnassignBedResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.UnassignBedRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.UnassignBedResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.unassignBed = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/UnassignBed', - request, - metadata || {}, - methodDescriptor_PatientService_UnassignBed, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.UnassignBedRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.unassignBed = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/UnassignBed', - request, - metadata || {}, - methodDescriptor_PatientService_UnassignBed); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.DischargePatientRequest, - * !proto.proto.services.task_svc.v1.DischargePatientResponse>} - */ -const methodDescriptor_PatientService_DischargePatient = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/DischargePatient', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.DischargePatientRequest, - proto.proto.services.task_svc.v1.DischargePatientResponse, - /** - * @param {!proto.proto.services.task_svc.v1.DischargePatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.DischargePatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.DischargePatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.DischargePatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.dischargePatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/DischargePatient', - request, - metadata || {}, - methodDescriptor_PatientService_DischargePatient, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.DischargePatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.dischargePatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/DischargePatient', - request, - metadata || {}, - methodDescriptor_PatientService_DischargePatient); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetPatientDetailsRequest, - * !proto.proto.services.task_svc.v1.GetPatientDetailsResponse>} - */ -const methodDescriptor_PatientService_GetPatientDetails = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/GetPatientDetails', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetPatientDetailsRequest, - proto.proto.services.task_svc.v1.GetPatientDetailsResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetPatientDetailsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.getPatientDetails = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatientDetails', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatientDetails, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatientDetails = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatientDetails', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatientDetails); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetPatientListRequest, - * !proto.proto.services.task_svc.v1.GetPatientListResponse>} - */ -const methodDescriptor_PatientService_GetPatientList = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/GetPatientList', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetPatientListRequest, - proto.proto.services.task_svc.v1.GetPatientListResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetPatientListRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetPatientListResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientListRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetPatientListResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.getPatientList = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatientList', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatientList, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetPatientListRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatientList = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/GetPatientList', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatientList); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.DeletePatientRequest, - * !proto.proto.services.task_svc.v1.DeletePatientResponse>} - */ -const methodDescriptor_PatientService_DeletePatient = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/DeletePatient', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.DeletePatientRequest, - proto.proto.services.task_svc.v1.DeletePatientResponse, - /** - * @param {!proto.proto.services.task_svc.v1.DeletePatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.DeletePatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.DeletePatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.DeletePatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.deletePatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/DeletePatient', - request, - metadata || {}, - methodDescriptor_PatientService_DeletePatient, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.DeletePatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.deletePatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/DeletePatient', - request, - metadata || {}, - methodDescriptor_PatientService_DeletePatient); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.ReadmitPatientRequest, - * !proto.proto.services.task_svc.v1.ReadmitPatientResponse>} - */ -const methodDescriptor_PatientService_ReadmitPatient = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.PatientService/ReadmitPatient', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.ReadmitPatientRequest, - proto.proto.services.task_svc.v1.ReadmitPatientResponse, - /** - * @param {!proto.proto.services.task_svc.v1.ReadmitPatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.ReadmitPatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.ReadmitPatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.ReadmitPatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.PatientServiceClient.prototype.readmitPatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/ReadmitPatient', - request, - metadata || {}, - methodDescriptor_PatientService_ReadmitPatient, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.ReadmitPatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.PatientServicePromiseClient.prototype.readmitPatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.PatientService/ReadmitPatient', - request, - metadata || {}, - methodDescriptor_PatientService_ReadmitPatient); -}; - - -module.exports = proto.proto.services.task_svc.v1; - diff --git a/gen/ts/proto/services/task_svc/v1/room_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/task_svc/v1/room_svc_grpc_web_pb.d.ts deleted file mode 100644 index 408f8bed3..000000000 --- a/gen/ts/proto/services/task_svc/v1/room_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,103 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_task_svc_v1_room_svc_pb from '../../../../proto/services/task_svc/v1/room_svc_pb'; // proto import: "proto/services/task_svc/v1/room_svc.proto" - - -export class RoomServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createRoom( - request: proto_services_task_svc_v1_room_svc_pb.CreateRoomRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_room_svc_pb.CreateRoomResponse) => void - ): grpcWeb.ClientReadableStream; - - getRoom( - request: proto_services_task_svc_v1_room_svc_pb.GetRoomRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_room_svc_pb.GetRoomResponse) => void - ): grpcWeb.ClientReadableStream; - - getRooms( - request: proto_services_task_svc_v1_room_svc_pb.GetRoomsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_room_svc_pb.GetRoomsResponse) => void - ): grpcWeb.ClientReadableStream; - - getRoomsByWard( - request: proto_services_task_svc_v1_room_svc_pb.GetRoomsByWardRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_room_svc_pb.GetRoomsByWardResponse) => void - ): grpcWeb.ClientReadableStream; - - updateRoom( - request: proto_services_task_svc_v1_room_svc_pb.UpdateRoomRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_room_svc_pb.UpdateRoomResponse) => void - ): grpcWeb.ClientReadableStream; - - deleteRoom( - request: proto_services_task_svc_v1_room_svc_pb.DeleteRoomRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_room_svc_pb.DeleteRoomResponse) => void - ): grpcWeb.ClientReadableStream; - - getRoomOverviewsByWard( - request: proto_services_task_svc_v1_room_svc_pb.GetRoomOverviewsByWardRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_room_svc_pb.GetRoomOverviewsByWardResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class RoomServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createRoom( - request: proto_services_task_svc_v1_room_svc_pb.CreateRoomRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getRoom( - request: proto_services_task_svc_v1_room_svc_pb.GetRoomRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getRooms( - request: proto_services_task_svc_v1_room_svc_pb.GetRoomsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getRoomsByWard( - request: proto_services_task_svc_v1_room_svc_pb.GetRoomsByWardRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateRoom( - request: proto_services_task_svc_v1_room_svc_pb.UpdateRoomRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - deleteRoom( - request: proto_services_task_svc_v1_room_svc_pb.DeleteRoomRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getRoomOverviewsByWard( - request: proto_services_task_svc_v1_room_svc_pb.GetRoomOverviewsByWardRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/task_svc/v1/room_svc_grpc_web_pb.js b/gen/ts/proto/services/task_svc/v1/room_svc_grpc_web_pb.js deleted file mode 100644 index 6252b623d..000000000 --- a/gen/ts/proto/services/task_svc/v1/room_svc_grpc_web_pb.js +++ /dev/null @@ -1,508 +0,0 @@ -/** - * @fileoverview gRPC-Web generated client stub for proto.services.task_svc.v1 - * @enhanceable - * @public - */ - -// Code generated by protoc-gen-grpc-web. DO NOT EDIT. -// versions: -// protoc-gen-grpc-web v1.5.0 -// protoc v0.0.0 -// source: proto/services/task_svc/v1/room_svc.proto - - -/* eslint-disable */ -// @ts-nocheck - - - -const grpc = {}; -grpc.web = require('grpc-web'); - -const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.task_svc = {}; -proto.proto.services.task_svc.v1 = require('./room_svc_pb.js'); - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.RoomServiceClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.RoomServicePromiseClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.CreateRoomRequest, - * !proto.proto.services.task_svc.v1.CreateRoomResponse>} - */ -const methodDescriptor_RoomService_CreateRoom = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.RoomService/CreateRoom', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.CreateRoomRequest, - proto.proto.services.task_svc.v1.CreateRoomResponse, - /** - * @param {!proto.proto.services.task_svc.v1.CreateRoomRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.CreateRoomResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateRoomRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.CreateRoomResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.RoomServiceClient.prototype.createRoom = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/CreateRoom', - request, - metadata || {}, - methodDescriptor_RoomService_CreateRoom, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateRoomRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.RoomServicePromiseClient.prototype.createRoom = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/CreateRoom', - request, - metadata || {}, - methodDescriptor_RoomService_CreateRoom); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetRoomRequest, - * !proto.proto.services.task_svc.v1.GetRoomResponse>} - */ -const methodDescriptor_RoomService_GetRoom = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.RoomService/GetRoom', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetRoomRequest, - proto.proto.services.task_svc.v1.GetRoomResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetRoomRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetRoomResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRoomRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetRoomResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.RoomServiceClient.prototype.getRoom = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/GetRoom', - request, - metadata || {}, - methodDescriptor_RoomService_GetRoom, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRoomRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.RoomServicePromiseClient.prototype.getRoom = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/GetRoom', - request, - metadata || {}, - methodDescriptor_RoomService_GetRoom); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetRoomsRequest, - * !proto.proto.services.task_svc.v1.GetRoomsResponse>} - */ -const methodDescriptor_RoomService_GetRooms = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.RoomService/GetRooms', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetRoomsRequest, - proto.proto.services.task_svc.v1.GetRoomsResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetRoomsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetRoomsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRoomsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetRoomsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.RoomServiceClient.prototype.getRooms = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/GetRooms', - request, - metadata || {}, - methodDescriptor_RoomService_GetRooms, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRoomsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.RoomServicePromiseClient.prototype.getRooms = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/GetRooms', - request, - metadata || {}, - methodDescriptor_RoomService_GetRooms); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetRoomsByWardRequest, - * !proto.proto.services.task_svc.v1.GetRoomsByWardResponse>} - */ -const methodDescriptor_RoomService_GetRoomsByWard = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.RoomService/GetRoomsByWard', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetRoomsByWardRequest, - proto.proto.services.task_svc.v1.GetRoomsByWardResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetRoomsByWardResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetRoomsByWardResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.RoomServiceClient.prototype.getRoomsByWard = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/GetRoomsByWard', - request, - metadata || {}, - methodDescriptor_RoomService_GetRoomsByWard, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.RoomServicePromiseClient.prototype.getRoomsByWard = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/GetRoomsByWard', - request, - metadata || {}, - methodDescriptor_RoomService_GetRoomsByWard); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.UpdateRoomRequest, - * !proto.proto.services.task_svc.v1.UpdateRoomResponse>} - */ -const methodDescriptor_RoomService_UpdateRoom = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.RoomService/UpdateRoom', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.UpdateRoomRequest, - proto.proto.services.task_svc.v1.UpdateRoomResponse, - /** - * @param {!proto.proto.services.task_svc.v1.UpdateRoomRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.UpdateRoomResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateRoomRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.UpdateRoomResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.RoomServiceClient.prototype.updateRoom = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/UpdateRoom', - request, - metadata || {}, - methodDescriptor_RoomService_UpdateRoom, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateRoomRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.RoomServicePromiseClient.prototype.updateRoom = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/UpdateRoom', - request, - metadata || {}, - methodDescriptor_RoomService_UpdateRoom); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.DeleteRoomRequest, - * !proto.proto.services.task_svc.v1.DeleteRoomResponse>} - */ -const methodDescriptor_RoomService_DeleteRoom = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.RoomService/DeleteRoom', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.DeleteRoomRequest, - proto.proto.services.task_svc.v1.DeleteRoomResponse, - /** - * @param {!proto.proto.services.task_svc.v1.DeleteRoomRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.DeleteRoomResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteRoomRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.DeleteRoomResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.RoomServiceClient.prototype.deleteRoom = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/DeleteRoom', - request, - metadata || {}, - methodDescriptor_RoomService_DeleteRoom, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteRoomRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.RoomServicePromiseClient.prototype.deleteRoom = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/DeleteRoom', - request, - metadata || {}, - methodDescriptor_RoomService_DeleteRoom); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest, - * !proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse>} - */ -const methodDescriptor_RoomService_GetRoomOverviewsByWard = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest, - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.RoomServiceClient.prototype.getRoomOverviewsByWard = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard', - request, - metadata || {}, - methodDescriptor_RoomService_GetRoomOverviewsByWard, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.RoomServicePromiseClient.prototype.getRoomOverviewsByWard = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard', - request, - metadata || {}, - methodDescriptor_RoomService_GetRoomOverviewsByWard); -}; - - -module.exports = proto.proto.services.task_svc.v1; - diff --git a/gen/ts/proto/services/task_svc/v1/task_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/task_svc/v1/task_svc_grpc_web_pb.d.ts deleted file mode 100644 index ca8f40b1a..000000000 --- a/gen/ts/proto/services/task_svc/v1/task_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,247 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_task_svc_v1_task_svc_pb from '../../../../proto/services/task_svc/v1/task_svc_pb'; // proto import: "proto/services/task_svc/v1/task_svc.proto" - - -export class TaskServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createTask( - request: proto_services_task_svc_v1_task_svc_pb.CreateTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.CreateTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - getTask( - request: proto_services_task_svc_v1_task_svc_pb.GetTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.GetTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - getTasksByPatient( - request: proto_services_task_svc_v1_task_svc_pb.GetTasksByPatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.GetTasksByPatientResponse) => void - ): grpcWeb.ClientReadableStream; - - getTasksByPatientSortedByStatus( - request: proto_services_task_svc_v1_task_svc_pb.GetTasksByPatientSortedByStatusRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.GetTasksByPatientSortedByStatusResponse) => void - ): grpcWeb.ClientReadableStream; - - getAssignedTasks( - request: proto_services_task_svc_v1_task_svc_pb.GetAssignedTasksRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.GetAssignedTasksResponse) => void - ): grpcWeb.ClientReadableStream; - - updateTask( - request: proto_services_task_svc_v1_task_svc_pb.UpdateTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.UpdateTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - addSubTask( - request: proto_services_task_svc_v1_task_svc_pb.AddSubTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.AddSubTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - removeSubTask( - request: proto_services_task_svc_v1_task_svc_pb.RemoveSubTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.RemoveSubTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - updateSubTask( - request: proto_services_task_svc_v1_task_svc_pb.UpdateSubTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.UpdateSubTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - subTaskToToDo( - request: proto_services_task_svc_v1_task_svc_pb.SubTaskToToDoRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.SubTaskToToDoResponse) => void - ): grpcWeb.ClientReadableStream; - - subTaskToDone( - request: proto_services_task_svc_v1_task_svc_pb.SubTaskToDoneRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.SubTaskToDoneResponse) => void - ): grpcWeb.ClientReadableStream; - - taskToToDo( - request: proto_services_task_svc_v1_task_svc_pb.TaskToToDoRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.TaskToToDoResponse) => void - ): grpcWeb.ClientReadableStream; - - taskToInProgress( - request: proto_services_task_svc_v1_task_svc_pb.TaskToInProgressRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.TaskToInProgressResponse) => void - ): grpcWeb.ClientReadableStream; - - taskToDone( - request: proto_services_task_svc_v1_task_svc_pb.TaskToDoneRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.TaskToDoneResponse) => void - ): grpcWeb.ClientReadableStream; - - assignTaskToUser( - request: proto_services_task_svc_v1_task_svc_pb.AssignTaskToUserRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.AssignTaskToUserResponse) => void - ): grpcWeb.ClientReadableStream; - - unassignTaskFromUser( - request: proto_services_task_svc_v1_task_svc_pb.UnassignTaskFromUserRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.UnassignTaskFromUserResponse) => void - ): grpcWeb.ClientReadableStream; - - publishTask( - request: proto_services_task_svc_v1_task_svc_pb.PublishTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.PublishTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - unpublishTask( - request: proto_services_task_svc_v1_task_svc_pb.UnpublishTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.UnpublishTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - deleteTask( - request: proto_services_task_svc_v1_task_svc_pb.DeleteTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_svc_pb.DeleteTaskResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class TaskServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createTask( - request: proto_services_task_svc_v1_task_svc_pb.CreateTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getTask( - request: proto_services_task_svc_v1_task_svc_pb.GetTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getTasksByPatient( - request: proto_services_task_svc_v1_task_svc_pb.GetTasksByPatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getTasksByPatientSortedByStatus( - request: proto_services_task_svc_v1_task_svc_pb.GetTasksByPatientSortedByStatusRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getAssignedTasks( - request: proto_services_task_svc_v1_task_svc_pb.GetAssignedTasksRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateTask( - request: proto_services_task_svc_v1_task_svc_pb.UpdateTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - addSubTask( - request: proto_services_task_svc_v1_task_svc_pb.AddSubTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - removeSubTask( - request: proto_services_task_svc_v1_task_svc_pb.RemoveSubTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateSubTask( - request: proto_services_task_svc_v1_task_svc_pb.UpdateSubTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - subTaskToToDo( - request: proto_services_task_svc_v1_task_svc_pb.SubTaskToToDoRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - subTaskToDone( - request: proto_services_task_svc_v1_task_svc_pb.SubTaskToDoneRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - taskToToDo( - request: proto_services_task_svc_v1_task_svc_pb.TaskToToDoRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - taskToInProgress( - request: proto_services_task_svc_v1_task_svc_pb.TaskToInProgressRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - taskToDone( - request: proto_services_task_svc_v1_task_svc_pb.TaskToDoneRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - assignTaskToUser( - request: proto_services_task_svc_v1_task_svc_pb.AssignTaskToUserRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - unassignTaskFromUser( - request: proto_services_task_svc_v1_task_svc_pb.UnassignTaskFromUserRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - publishTask( - request: proto_services_task_svc_v1_task_svc_pb.PublishTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - unpublishTask( - request: proto_services_task_svc_v1_task_svc_pb.UnpublishTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - deleteTask( - request: proto_services_task_svc_v1_task_svc_pb.DeleteTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/task_svc/v1/task_svc_grpc_web_pb.js b/gen/ts/proto/services/task_svc/v1/task_svc_grpc_web_pb.js deleted file mode 100644 index 21bcc1a4d..000000000 --- a/gen/ts/proto/services/task_svc/v1/task_svc_grpc_web_pb.js +++ /dev/null @@ -1,1242 +0,0 @@ -/** - * @fileoverview gRPC-Web generated client stub for proto.services.task_svc.v1 - * @enhanceable - * @public - */ - -// Code generated by protoc-gen-grpc-web. DO NOT EDIT. -// versions: -// protoc-gen-grpc-web v1.5.0 -// protoc v0.0.0 -// source: proto/services/task_svc/v1/task_svc.proto - - -/* eslint-disable */ -// @ts-nocheck - - - -const grpc = {}; -grpc.web = require('grpc-web'); - - -var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js') -const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.task_svc = {}; -proto.proto.services.task_svc.v1 = require('./task_svc_pb.js'); - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.TaskServiceClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.CreateTaskRequest, - * !proto.proto.services.task_svc.v1.CreateTaskResponse>} - */ -const methodDescriptor_TaskService_CreateTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/CreateTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.CreateTaskRequest, - proto.proto.services.task_svc.v1.CreateTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.CreateTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.CreateTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.CreateTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.createTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/CreateTask', - request, - metadata || {}, - methodDescriptor_TaskService_CreateTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.createTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/CreateTask', - request, - metadata || {}, - methodDescriptor_TaskService_CreateTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetTaskRequest, - * !proto.proto.services.task_svc.v1.GetTaskResponse>} - */ -const methodDescriptor_TaskService_GetTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/GetTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetTaskRequest, - proto.proto.services.task_svc.v1.GetTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.getTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/GetTask', - request, - metadata || {}, - methodDescriptor_TaskService_GetTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.getTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/GetTask', - request, - metadata || {}, - methodDescriptor_TaskService_GetTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetTasksByPatientRequest, - * !proto.proto.services.task_svc.v1.GetTasksByPatientResponse>} - */ -const methodDescriptor_TaskService_GetTasksByPatient = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/GetTasksByPatient', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetTasksByPatientRequest, - proto.proto.services.task_svc.v1.GetTasksByPatientResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetTasksByPatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetTasksByPatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.getTasksByPatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/GetTasksByPatient', - request, - metadata || {}, - methodDescriptor_TaskService_GetTasksByPatient, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.getTasksByPatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/GetTasksByPatient', - request, - metadata || {}, - methodDescriptor_TaskService_GetTasksByPatient); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest, - * !proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse>} - */ -const methodDescriptor_TaskService_GetTasksByPatientSortedByStatus = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest, - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.getTasksByPatientSortedByStatus = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', - request, - metadata || {}, - methodDescriptor_TaskService_GetTasksByPatientSortedByStatus, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.getTasksByPatientSortedByStatus = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', - request, - metadata || {}, - methodDescriptor_TaskService_GetTasksByPatientSortedByStatus); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetAssignedTasksRequest, - * !proto.proto.services.task_svc.v1.GetAssignedTasksResponse>} - */ -const methodDescriptor_TaskService_GetAssignedTasks = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/GetAssignedTasks', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetAssignedTasksRequest, - proto.proto.services.task_svc.v1.GetAssignedTasksResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetAssignedTasksResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.getAssignedTasks = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/GetAssignedTasks', - request, - metadata || {}, - methodDescriptor_TaskService_GetAssignedTasks, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.getAssignedTasks = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/GetAssignedTasks', - request, - metadata || {}, - methodDescriptor_TaskService_GetAssignedTasks); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.UpdateTaskRequest, - * !proto.proto.services.task_svc.v1.UpdateTaskResponse>} - */ -const methodDescriptor_TaskService_UpdateTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/UpdateTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.UpdateTaskRequest, - proto.proto.services.task_svc.v1.UpdateTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.UpdateTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.UpdateTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.UpdateTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.updateTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/UpdateTask', - request, - metadata || {}, - methodDescriptor_TaskService_UpdateTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.updateTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/UpdateTask', - request, - metadata || {}, - methodDescriptor_TaskService_UpdateTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.AddSubTaskRequest, - * !proto.proto.services.task_svc.v1.AddSubTaskResponse>} - */ -const methodDescriptor_TaskService_AddSubTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/AddSubTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.AddSubTaskRequest, - proto.proto.services.task_svc.v1.AddSubTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.AddSubTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.AddSubTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.AddSubTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.AddSubTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.addSubTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/AddSubTask', - request, - metadata || {}, - methodDescriptor_TaskService_AddSubTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.AddSubTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.addSubTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/AddSubTask', - request, - metadata || {}, - methodDescriptor_TaskService_AddSubTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.RemoveSubTaskRequest, - * !proto.proto.services.task_svc.v1.RemoveSubTaskResponse>} - */ -const methodDescriptor_TaskService_RemoveSubTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/RemoveSubTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.RemoveSubTaskRequest, - proto.proto.services.task_svc.v1.RemoveSubTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.RemoveSubTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.RemoveSubTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.RemoveSubTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.RemoveSubTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.removeSubTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/RemoveSubTask', - request, - metadata || {}, - methodDescriptor_TaskService_RemoveSubTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.RemoveSubTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.removeSubTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/RemoveSubTask', - request, - metadata || {}, - methodDescriptor_TaskService_RemoveSubTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.UpdateSubTaskRequest, - * !proto.proto.services.task_svc.v1.UpdateSubTaskResponse>} - */ -const methodDescriptor_TaskService_UpdateSubTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/UpdateSubTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.UpdateSubTaskRequest, - proto.proto.services.task_svc.v1.UpdateSubTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.UpdateSubTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.UpdateSubTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateSubTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.UpdateSubTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.updateSubTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/UpdateSubTask', - request, - metadata || {}, - methodDescriptor_TaskService_UpdateSubTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateSubTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.updateSubTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/UpdateSubTask', - request, - metadata || {}, - methodDescriptor_TaskService_UpdateSubTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.SubTaskToToDoRequest, - * !proto.proto.services.task_svc.v1.SubTaskToToDoResponse>} - */ -const methodDescriptor_TaskService_SubTaskToToDo = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/SubTaskToToDo', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.SubTaskToToDoRequest, - proto.proto.services.task_svc.v1.SubTaskToToDoResponse, - /** - * @param {!proto.proto.services.task_svc.v1.SubTaskToToDoRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.SubTaskToToDoResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.SubTaskToToDoRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.SubTaskToToDoResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.subTaskToToDo = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/SubTaskToToDo', - request, - metadata || {}, - methodDescriptor_TaskService_SubTaskToToDo, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.SubTaskToToDoRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.subTaskToToDo = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/SubTaskToToDo', - request, - metadata || {}, - methodDescriptor_TaskService_SubTaskToToDo); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.SubTaskToDoneRequest, - * !proto.proto.services.task_svc.v1.SubTaskToDoneResponse>} - */ -const methodDescriptor_TaskService_SubTaskToDone = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/SubTaskToDone', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.SubTaskToDoneRequest, - proto.proto.services.task_svc.v1.SubTaskToDoneResponse, - /** - * @param {!proto.proto.services.task_svc.v1.SubTaskToDoneRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.SubTaskToDoneResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.SubTaskToDoneRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.SubTaskToDoneResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.subTaskToDone = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/SubTaskToDone', - request, - metadata || {}, - methodDescriptor_TaskService_SubTaskToDone, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.SubTaskToDoneRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.subTaskToDone = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/SubTaskToDone', - request, - metadata || {}, - methodDescriptor_TaskService_SubTaskToDone); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.TaskToToDoRequest, - * !proto.proto.services.task_svc.v1.TaskToToDoResponse>} - */ -const methodDescriptor_TaskService_TaskToToDo = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/TaskToToDo', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.TaskToToDoRequest, - proto.proto.services.task_svc.v1.TaskToToDoResponse, - /** - * @param {!proto.proto.services.task_svc.v1.TaskToToDoRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.TaskToToDoResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.TaskToToDoRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.TaskToToDoResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.taskToToDo = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/TaskToToDo', - request, - metadata || {}, - methodDescriptor_TaskService_TaskToToDo, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.TaskToToDoRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.taskToToDo = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/TaskToToDo', - request, - metadata || {}, - methodDescriptor_TaskService_TaskToToDo); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.TaskToInProgressRequest, - * !proto.proto.services.task_svc.v1.TaskToInProgressResponse>} - */ -const methodDescriptor_TaskService_TaskToInProgress = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/TaskToInProgress', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.TaskToInProgressRequest, - proto.proto.services.task_svc.v1.TaskToInProgressResponse, - /** - * @param {!proto.proto.services.task_svc.v1.TaskToInProgressRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.TaskToInProgressResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.TaskToInProgressRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.TaskToInProgressResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.taskToInProgress = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/TaskToInProgress', - request, - metadata || {}, - methodDescriptor_TaskService_TaskToInProgress, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.TaskToInProgressRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.taskToInProgress = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/TaskToInProgress', - request, - metadata || {}, - methodDescriptor_TaskService_TaskToInProgress); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.TaskToDoneRequest, - * !proto.proto.services.task_svc.v1.TaskToDoneResponse>} - */ -const methodDescriptor_TaskService_TaskToDone = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/TaskToDone', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.TaskToDoneRequest, - proto.proto.services.task_svc.v1.TaskToDoneResponse, - /** - * @param {!proto.proto.services.task_svc.v1.TaskToDoneRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.TaskToDoneResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.TaskToDoneRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.TaskToDoneResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.taskToDone = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/TaskToDone', - request, - metadata || {}, - methodDescriptor_TaskService_TaskToDone, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.TaskToDoneRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.taskToDone = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/TaskToDone', - request, - metadata || {}, - methodDescriptor_TaskService_TaskToDone); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.AssignTaskToUserRequest, - * !proto.proto.services.task_svc.v1.AssignTaskToUserResponse>} - */ -const methodDescriptor_TaskService_AssignTaskToUser = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/AssignTaskToUser', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.AssignTaskToUserRequest, - proto.proto.services.task_svc.v1.AssignTaskToUserResponse, - /** - * @param {!proto.proto.services.task_svc.v1.AssignTaskToUserRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.AssignTaskToUserResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.AssignTaskToUserRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.AssignTaskToUserResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.assignTaskToUser = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/AssignTaskToUser', - request, - metadata || {}, - methodDescriptor_TaskService_AssignTaskToUser, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.AssignTaskToUserRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.assignTaskToUser = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/AssignTaskToUser', - request, - metadata || {}, - methodDescriptor_TaskService_AssignTaskToUser); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest, - * !proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse>} - */ -const methodDescriptor_TaskService_UnassignTaskFromUser = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/UnassignTaskFromUser', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest, - proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse, - /** - * @param {!proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.unassignTaskFromUser = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/UnassignTaskFromUser', - request, - metadata || {}, - methodDescriptor_TaskService_UnassignTaskFromUser, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.unassignTaskFromUser = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/UnassignTaskFromUser', - request, - metadata || {}, - methodDescriptor_TaskService_UnassignTaskFromUser); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.PublishTaskRequest, - * !proto.proto.services.task_svc.v1.PublishTaskResponse>} - */ -const methodDescriptor_TaskService_PublishTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/PublishTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.PublishTaskRequest, - proto.proto.services.task_svc.v1.PublishTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.PublishTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.PublishTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.PublishTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.PublishTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.publishTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/PublishTask', - request, - metadata || {}, - methodDescriptor_TaskService_PublishTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.PublishTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.publishTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/PublishTask', - request, - metadata || {}, - methodDescriptor_TaskService_PublishTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.UnpublishTaskRequest, - * !proto.proto.services.task_svc.v1.UnpublishTaskResponse>} - */ -const methodDescriptor_TaskService_UnpublishTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/UnpublishTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.UnpublishTaskRequest, - proto.proto.services.task_svc.v1.UnpublishTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.UnpublishTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.UnpublishTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.UnpublishTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.UnpublishTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.unpublishTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/UnpublishTask', - request, - metadata || {}, - methodDescriptor_TaskService_UnpublishTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.UnpublishTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.unpublishTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/UnpublishTask', - request, - metadata || {}, - methodDescriptor_TaskService_UnpublishTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.DeleteTaskRequest, - * !proto.proto.services.task_svc.v1.DeleteTaskResponse>} - */ -const methodDescriptor_TaskService_DeleteTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskService/DeleteTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.DeleteTaskRequest, - proto.proto.services.task_svc.v1.DeleteTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.DeleteTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.DeleteTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.DeleteTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskServiceClient.prototype.deleteTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/DeleteTask', - request, - metadata || {}, - methodDescriptor_TaskService_DeleteTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskServicePromiseClient.prototype.deleteTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskService/DeleteTask', - request, - metadata || {}, - methodDescriptor_TaskService_DeleteTask); -}; - - -module.exports = proto.proto.services.task_svc.v1; - diff --git a/gen/ts/proto/services/task_svc/v1/task_template_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/task_svc/v1/task_template_svc_grpc_web_pb.d.ts deleted file mode 100644 index 0fc56971b..000000000 --- a/gen/ts/proto/services/task_svc/v1/task_template_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,127 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_task_svc_v1_task_template_svc_pb from '../../../../proto/services/task_svc/v1/task_template_svc_pb'; // proto import: "proto/services/task_svc/v1/task_template_svc.proto" - - -export class TaskTemplateServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createTaskTemplate( - request: proto_services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateResponse) => void - ): grpcWeb.ClientReadableStream; - - getAllTaskTemplates( - request: proto_services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesResponse) => void - ): grpcWeb.ClientReadableStream; - - deleteTaskTemplate( - request: proto_services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateResponse) => void - ): grpcWeb.ClientReadableStream; - - deleteTaskTemplateSubTask( - request: proto_services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateSubTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateSubTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - updateTaskTemplate( - request: proto_services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateResponse) => void - ): grpcWeb.ClientReadableStream; - - updateTaskTemplateSubTask( - request: proto_services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateSubTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateSubTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - createTaskTemplateSubTask( - request: proto_services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateSubTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateSubTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - getAllTaskTemplatesByCreator( - request: proto_services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByCreatorRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByCreatorResponse) => void - ): grpcWeb.ClientReadableStream; - - getAllTaskTemplatesByWard( - request: proto_services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByWardRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByWardResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class TaskTemplateServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createTaskTemplate( - request: proto_services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getAllTaskTemplates( - request: proto_services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - deleteTaskTemplate( - request: proto_services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - deleteTaskTemplateSubTask( - request: proto_services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateSubTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateTaskTemplate( - request: proto_services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateTaskTemplateSubTask( - request: proto_services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateSubTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - createTaskTemplateSubTask( - request: proto_services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateSubTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getAllTaskTemplatesByCreator( - request: proto_services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByCreatorRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getAllTaskTemplatesByWard( - request: proto_services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByWardRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/task_svc/v1/task_template_svc_grpc_web_pb.js b/gen/ts/proto/services/task_svc/v1/task_template_svc_grpc_web_pb.js deleted file mode 100644 index 4a4e95b1b..000000000 --- a/gen/ts/proto/services/task_svc/v1/task_template_svc_grpc_web_pb.js +++ /dev/null @@ -1,630 +0,0 @@ -/** - * @fileoverview gRPC-Web generated client stub for proto.services.task_svc.v1 - * @enhanceable - * @public - */ - -// Code generated by protoc-gen-grpc-web. DO NOT EDIT. -// versions: -// protoc-gen-grpc-web v1.5.0 -// protoc v0.0.0 -// source: proto/services/task_svc/v1/task_template_svc.proto - - -/* eslint-disable */ -// @ts-nocheck - - - -const grpc = {}; -grpc.web = require('grpc-web'); - -const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.task_svc = {}; -proto.proto.services.task_svc.v1 = require('./task_template_svc_pb.js'); - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.TaskTemplateServiceClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.TaskTemplateServicePromiseClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.CreateTaskTemplateRequest, - * !proto.proto.services.task_svc.v1.CreateTaskTemplateResponse>} - */ -const methodDescriptor_TaskTemplateService_CreateTaskTemplate = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.CreateTaskTemplateRequest, - proto.proto.services.task_svc.v1.CreateTaskTemplateResponse, - /** - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.CreateTaskTemplateResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.createTaskTemplate = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_CreateTaskTemplate, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.createTaskTemplate = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_CreateTaskTemplate); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest, - * !proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse>} - */ -const methodDescriptor_TaskTemplateService_GetAllTaskTemplates = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.getAllTaskTemplates = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_GetAllTaskTemplates, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.getAllTaskTemplates = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_GetAllTaskTemplates); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest, - * !proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse>} - */ -const methodDescriptor_TaskTemplateService_DeleteTaskTemplate = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest, - proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse, - /** - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.deleteTaskTemplate = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_DeleteTaskTemplate, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.deleteTaskTemplate = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_DeleteTaskTemplate); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest, - * !proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse>} - */ -const methodDescriptor_TaskTemplateService_DeleteTaskTemplateSubTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest, - proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.deleteTaskTemplateSubTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_DeleteTaskTemplateSubTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.deleteTaskTemplateSubTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_DeleteTaskTemplateSubTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest, - * !proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse>} - */ -const methodDescriptor_TaskTemplateService_UpdateTaskTemplate = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest, - proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse, - /** - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.updateTaskTemplate = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_UpdateTaskTemplate, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.updateTaskTemplate = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_UpdateTaskTemplate); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest, - * !proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse>} - */ -const methodDescriptor_TaskTemplateService_UpdateTaskTemplateSubTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest, - proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.updateTaskTemplateSubTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_UpdateTaskTemplateSubTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.updateTaskTemplateSubTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_UpdateTaskTemplateSubTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest, - * !proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse>} - */ -const methodDescriptor_TaskTemplateService_CreateTaskTemplateSubTask = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest, - proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse, - /** - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.createTaskTemplateSubTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_CreateTaskTemplateSubTask, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.createTaskTemplateSubTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_CreateTaskTemplateSubTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest, - * !proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse>} - */ -const methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByCreator = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.getAllTaskTemplatesByCreator = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByCreator, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.getAllTaskTemplatesByCreator = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByCreator); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest, - * !proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse>} - */ -const methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByWard = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.getAllTaskTemplatesByWard = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByWard, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.getAllTaskTemplatesByWard = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', - request, - metadata || {}, - methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByWard); -}; - - -module.exports = proto.proto.services.task_svc.v1; - diff --git a/gen/ts/proto/services/task_svc/v1/ward_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/task_svc/v1/ward_svc_grpc_web_pb.d.ts deleted file mode 100644 index 112e228c9..000000000 --- a/gen/ts/proto/services/task_svc/v1/ward_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,115 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_task_svc_v1_ward_svc_pb from '../../../../proto/services/task_svc/v1/ward_svc_pb'; // proto import: "proto/services/task_svc/v1/ward_svc.proto" - - -export class WardServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createWard( - request: proto_services_task_svc_v1_ward_svc_pb.CreateWardRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_ward_svc_pb.CreateWardResponse) => void - ): grpcWeb.ClientReadableStream; - - getWard( - request: proto_services_task_svc_v1_ward_svc_pb.GetWardRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_ward_svc_pb.GetWardResponse) => void - ): grpcWeb.ClientReadableStream; - - getWards( - request: proto_services_task_svc_v1_ward_svc_pb.GetWardsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_ward_svc_pb.GetWardsResponse) => void - ): grpcWeb.ClientReadableStream; - - getRecentWards( - request: proto_services_task_svc_v1_ward_svc_pb.GetRecentWardsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_ward_svc_pb.GetRecentWardsResponse) => void - ): grpcWeb.ClientReadableStream; - - updateWard( - request: proto_services_task_svc_v1_ward_svc_pb.UpdateWardRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_ward_svc_pb.UpdateWardResponse) => void - ): grpcWeb.ClientReadableStream; - - deleteWard( - request: proto_services_task_svc_v1_ward_svc_pb.DeleteWardRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_ward_svc_pb.DeleteWardResponse) => void - ): grpcWeb.ClientReadableStream; - - getWardOverviews( - request: proto_services_task_svc_v1_ward_svc_pb.GetWardOverviewsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_ward_svc_pb.GetWardOverviewsResponse) => void - ): grpcWeb.ClientReadableStream; - - getWardDetails( - request: proto_services_task_svc_v1_ward_svc_pb.GetWardDetailsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_task_svc_v1_ward_svc_pb.GetWardDetailsResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class WardServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createWard( - request: proto_services_task_svc_v1_ward_svc_pb.CreateWardRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getWard( - request: proto_services_task_svc_v1_ward_svc_pb.GetWardRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getWards( - request: proto_services_task_svc_v1_ward_svc_pb.GetWardsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getRecentWards( - request: proto_services_task_svc_v1_ward_svc_pb.GetRecentWardsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateWard( - request: proto_services_task_svc_v1_ward_svc_pb.UpdateWardRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - deleteWard( - request: proto_services_task_svc_v1_ward_svc_pb.DeleteWardRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getWardOverviews( - request: proto_services_task_svc_v1_ward_svc_pb.GetWardOverviewsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getWardDetails( - request: proto_services_task_svc_v1_ward_svc_pb.GetWardDetailsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/task_svc/v1/ward_svc_grpc_web_pb.js b/gen/ts/proto/services/task_svc/v1/ward_svc_grpc_web_pb.js deleted file mode 100644 index 932f2756a..000000000 --- a/gen/ts/proto/services/task_svc/v1/ward_svc_grpc_web_pb.js +++ /dev/null @@ -1,569 +0,0 @@ -/** - * @fileoverview gRPC-Web generated client stub for proto.services.task_svc.v1 - * @enhanceable - * @public - */ - -// Code generated by protoc-gen-grpc-web. DO NOT EDIT. -// versions: -// protoc-gen-grpc-web v1.5.0 -// protoc v0.0.0 -// source: proto/services/task_svc/v1/ward_svc.proto - - -/* eslint-disable */ -// @ts-nocheck - - - -const grpc = {}; -grpc.web = require('grpc-web'); - -const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.task_svc = {}; -proto.proto.services.task_svc.v1 = require('./ward_svc_pb.js'); - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.WardServiceClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.task_svc.v1.WardServicePromiseClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.CreateWardRequest, - * !proto.proto.services.task_svc.v1.CreateWardResponse>} - */ -const methodDescriptor_WardService_CreateWard = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.WardService/CreateWard', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.CreateWardRequest, - proto.proto.services.task_svc.v1.CreateWardResponse, - /** - * @param {!proto.proto.services.task_svc.v1.CreateWardRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.CreateWardResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateWardRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.CreateWardResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.WardServiceClient.prototype.createWard = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/CreateWard', - request, - metadata || {}, - methodDescriptor_WardService_CreateWard, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.CreateWardRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.WardServicePromiseClient.prototype.createWard = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/CreateWard', - request, - metadata || {}, - methodDescriptor_WardService_CreateWard); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetWardRequest, - * !proto.proto.services.task_svc.v1.GetWardResponse>} - */ -const methodDescriptor_WardService_GetWard = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.WardService/GetWard', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetWardRequest, - proto.proto.services.task_svc.v1.GetWardResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetWardRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetWardResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetWardRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetWardResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.WardServiceClient.prototype.getWard = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/GetWard', - request, - metadata || {}, - methodDescriptor_WardService_GetWard, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetWardRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.WardServicePromiseClient.prototype.getWard = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/GetWard', - request, - metadata || {}, - methodDescriptor_WardService_GetWard); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetWardsRequest, - * !proto.proto.services.task_svc.v1.GetWardsResponse>} - */ -const methodDescriptor_WardService_GetWards = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.WardService/GetWards', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetWardsRequest, - proto.proto.services.task_svc.v1.GetWardsResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetWardsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetWardsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetWardsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetWardsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.WardServiceClient.prototype.getWards = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/GetWards', - request, - metadata || {}, - methodDescriptor_WardService_GetWards, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetWardsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.WardServicePromiseClient.prototype.getWards = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/GetWards', - request, - metadata || {}, - methodDescriptor_WardService_GetWards); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetRecentWardsRequest, - * !proto.proto.services.task_svc.v1.GetRecentWardsResponse>} - */ -const methodDescriptor_WardService_GetRecentWards = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.WardService/GetRecentWards', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetRecentWardsRequest, - proto.proto.services.task_svc.v1.GetRecentWardsResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetRecentWardsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetRecentWardsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.WardServiceClient.prototype.getRecentWards = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/GetRecentWards', - request, - metadata || {}, - methodDescriptor_WardService_GetRecentWards, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.WardServicePromiseClient.prototype.getRecentWards = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/GetRecentWards', - request, - metadata || {}, - methodDescriptor_WardService_GetRecentWards); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.UpdateWardRequest, - * !proto.proto.services.task_svc.v1.UpdateWardResponse>} - */ -const methodDescriptor_WardService_UpdateWard = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.WardService/UpdateWard', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.UpdateWardRequest, - proto.proto.services.task_svc.v1.UpdateWardResponse, - /** - * @param {!proto.proto.services.task_svc.v1.UpdateWardRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.UpdateWardResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateWardRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.UpdateWardResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.WardServiceClient.prototype.updateWard = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/UpdateWard', - request, - metadata || {}, - methodDescriptor_WardService_UpdateWard, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.UpdateWardRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.WardServicePromiseClient.prototype.updateWard = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/UpdateWard', - request, - metadata || {}, - methodDescriptor_WardService_UpdateWard); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.DeleteWardRequest, - * !proto.proto.services.task_svc.v1.DeleteWardResponse>} - */ -const methodDescriptor_WardService_DeleteWard = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.WardService/DeleteWard', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.DeleteWardRequest, - proto.proto.services.task_svc.v1.DeleteWardResponse, - /** - * @param {!proto.proto.services.task_svc.v1.DeleteWardRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.DeleteWardResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteWardRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.DeleteWardResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.WardServiceClient.prototype.deleteWard = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/DeleteWard', - request, - metadata || {}, - methodDescriptor_WardService_DeleteWard, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.DeleteWardRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.WardServicePromiseClient.prototype.deleteWard = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/DeleteWard', - request, - metadata || {}, - methodDescriptor_WardService_DeleteWard); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetWardOverviewsRequest, - * !proto.proto.services.task_svc.v1.GetWardOverviewsResponse>} - */ -const methodDescriptor_WardService_GetWardOverviews = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.WardService/GetWardOverviews', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetWardOverviewsRequest, - proto.proto.services.task_svc.v1.GetWardOverviewsResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetWardOverviewsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetWardOverviewsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.WardServiceClient.prototype.getWardOverviews = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/GetWardOverviews', - request, - metadata || {}, - methodDescriptor_WardService_GetWardOverviews, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.WardServicePromiseClient.prototype.getWardOverviews = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/GetWardOverviews', - request, - metadata || {}, - methodDescriptor_WardService_GetWardOverviews); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.task_svc.v1.GetWardDetailsRequest, - * !proto.proto.services.task_svc.v1.GetWardDetailsResponse>} - */ -const methodDescriptor_WardService_GetWardDetails = new grpc.web.MethodDescriptor( - '/proto.services.task_svc.v1.WardService/GetWardDetails', - grpc.web.MethodType.UNARY, - proto.proto.services.task_svc.v1.GetWardDetailsRequest, - proto.proto.services.task_svc.v1.GetWardDetailsResponse, - /** - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.task_svc.v1.GetWardDetailsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.task_svc.v1.GetWardDetailsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.task_svc.v1.WardServiceClient.prototype.getWardDetails = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/GetWardDetails', - request, - metadata || {}, - methodDescriptor_WardService_GetWardDetails, - callback); -}; - - -/** - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.task_svc.v1.WardServicePromiseClient.prototype.getWardDetails = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.task_svc.v1.WardService/GetWardDetails', - request, - metadata || {}, - methodDescriptor_WardService_GetWardDetails); -}; - - -module.exports = proto.proto.services.task_svc.v1; - diff --git a/gen/ts/proto/services/tasks_svc/v1/patient_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/tasks_svc/v1/patient_svc_grpc_web_pb.d.ts deleted file mode 100644 index a2277858b..000000000 --- a/gen/ts/proto/services/tasks_svc/v1/patient_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,115 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_tasks_svc_v1_patient_svc_pb from '../../../../proto/services/tasks_svc/v1/patient_svc_pb'; // proto import: "proto/services/tasks_svc/v1/patient_svc.proto" - - -export class PatientServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createPatient( - request: proto_services_tasks_svc_v1_patient_svc_pb.CreatePatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_patient_svc_pb.CreatePatientResponse) => void - ): grpcWeb.ClientReadableStream; - - getPatient( - request: proto_services_tasks_svc_v1_patient_svc_pb.GetPatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_patient_svc_pb.GetPatientResponse) => void - ): grpcWeb.ClientReadableStream; - - getRecentPatients( - request: proto_services_tasks_svc_v1_patient_svc_pb.GetRecentPatientsRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_patient_svc_pb.GetRecentPatientsResponse) => void - ): grpcWeb.ClientReadableStream; - - updatePatient( - request: proto_services_tasks_svc_v1_patient_svc_pb.UpdatePatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_patient_svc_pb.UpdatePatientResponse) => void - ): grpcWeb.ClientReadableStream; - - assignBed( - request: proto_services_tasks_svc_v1_patient_svc_pb.AssignBedRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_patient_svc_pb.AssignBedResponse) => void - ): grpcWeb.ClientReadableStream; - - unassignBed( - request: proto_services_tasks_svc_v1_patient_svc_pb.UnassignBedRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_patient_svc_pb.UnassignBedResponse) => void - ): grpcWeb.ClientReadableStream; - - dischargePatient( - request: proto_services_tasks_svc_v1_patient_svc_pb.DischargePatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_patient_svc_pb.DischargePatientResponse) => void - ): grpcWeb.ClientReadableStream; - - readmitPatient( - request: proto_services_tasks_svc_v1_patient_svc_pb.ReadmitPatientRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_patient_svc_pb.ReadmitPatientResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class PatientServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createPatient( - request: proto_services_tasks_svc_v1_patient_svc_pb.CreatePatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getPatient( - request: proto_services_tasks_svc_v1_patient_svc_pb.GetPatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getRecentPatients( - request: proto_services_tasks_svc_v1_patient_svc_pb.GetRecentPatientsRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updatePatient( - request: proto_services_tasks_svc_v1_patient_svc_pb.UpdatePatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - assignBed( - request: proto_services_tasks_svc_v1_patient_svc_pb.AssignBedRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - unassignBed( - request: proto_services_tasks_svc_v1_patient_svc_pb.UnassignBedRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - dischargePatient( - request: proto_services_tasks_svc_v1_patient_svc_pb.DischargePatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - readmitPatient( - request: proto_services_tasks_svc_v1_patient_svc_pb.ReadmitPatientRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/tasks_svc/v1/patient_svc_grpc_web_pb.js b/gen/ts/proto/services/tasks_svc/v1/patient_svc_grpc_web_pb.js deleted file mode 100644 index 28da127b0..000000000 --- a/gen/ts/proto/services/tasks_svc/v1/patient_svc_grpc_web_pb.js +++ /dev/null @@ -1,569 +0,0 @@ -/** - * @fileoverview gRPC-Web generated client stub for proto.services.tasks_svc.v1 - * @enhanceable - * @public - */ - -// Code generated by protoc-gen-grpc-web. DO NOT EDIT. -// versions: -// protoc-gen-grpc-web v1.5.0 -// protoc v0.0.0 -// source: proto/services/tasks_svc/v1/patient_svc.proto - - -/* eslint-disable */ -// @ts-nocheck - - - -const grpc = {}; -grpc.web = require('grpc-web'); - -const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.tasks_svc = {}; -proto.proto.services.tasks_svc.v1 = require('./patient_svc_pb.js'); - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.tasks_svc.v1.PatientServiceClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.tasks_svc.v1.PatientServicePromiseClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.CreatePatientRequest, - * !proto.proto.services.tasks_svc.v1.CreatePatientResponse>} - */ -const methodDescriptor_PatientService_CreatePatient = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.PatientService/CreatePatient', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.CreatePatientRequest, - proto.proto.services.tasks_svc.v1.CreatePatientResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.CreatePatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.CreatePatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.CreatePatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.CreatePatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.PatientServiceClient.prototype.createPatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/CreatePatient', - request, - metadata || {}, - methodDescriptor_PatientService_CreatePatient, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.CreatePatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.createPatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/CreatePatient', - request, - metadata || {}, - methodDescriptor_PatientService_CreatePatient); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.GetPatientRequest, - * !proto.proto.services.tasks_svc.v1.GetPatientResponse>} - */ -const methodDescriptor_PatientService_GetPatient = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.PatientService/GetPatient', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.GetPatientRequest, - proto.proto.services.tasks_svc.v1.GetPatientResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.GetPatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.GetPatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.GetPatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.GetPatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.PatientServiceClient.prototype.getPatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/GetPatient', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatient, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.GetPatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.getPatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/GetPatient', - request, - metadata || {}, - methodDescriptor_PatientService_GetPatient); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest, - * !proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse>} - */ -const methodDescriptor_PatientService_GetRecentPatients = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.PatientService/GetRecentPatients', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest, - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.PatientServiceClient.prototype.getRecentPatients = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/GetRecentPatients', - request, - metadata || {}, - methodDescriptor_PatientService_GetRecentPatients, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.getRecentPatients = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/GetRecentPatients', - request, - metadata || {}, - methodDescriptor_PatientService_GetRecentPatients); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.UpdatePatientRequest, - * !proto.proto.services.tasks_svc.v1.UpdatePatientResponse>} - */ -const methodDescriptor_PatientService_UpdatePatient = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.PatientService/UpdatePatient', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.UpdatePatientRequest, - proto.proto.services.tasks_svc.v1.UpdatePatientResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.UpdatePatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.UpdatePatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.PatientServiceClient.prototype.updatePatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/UpdatePatient', - request, - metadata || {}, - methodDescriptor_PatientService_UpdatePatient, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.updatePatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/UpdatePatient', - request, - metadata || {}, - methodDescriptor_PatientService_UpdatePatient); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.AssignBedRequest, - * !proto.proto.services.tasks_svc.v1.AssignBedResponse>} - */ -const methodDescriptor_PatientService_AssignBed = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.PatientService/AssignBed', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.AssignBedRequest, - proto.proto.services.tasks_svc.v1.AssignBedResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.AssignBedRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.AssignBedResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.AssignBedRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.AssignBedResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.PatientServiceClient.prototype.assignBed = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/AssignBed', - request, - metadata || {}, - methodDescriptor_PatientService_AssignBed, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.AssignBedRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.assignBed = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/AssignBed', - request, - metadata || {}, - methodDescriptor_PatientService_AssignBed); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.UnassignBedRequest, - * !proto.proto.services.tasks_svc.v1.UnassignBedResponse>} - */ -const methodDescriptor_PatientService_UnassignBed = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.PatientService/UnassignBed', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.UnassignBedRequest, - proto.proto.services.tasks_svc.v1.UnassignBedResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.UnassignBedRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.UnassignBedResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UnassignBedRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.UnassignBedResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.PatientServiceClient.prototype.unassignBed = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/UnassignBed', - request, - metadata || {}, - methodDescriptor_PatientService_UnassignBed, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UnassignBedRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.unassignBed = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/UnassignBed', - request, - metadata || {}, - methodDescriptor_PatientService_UnassignBed); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.DischargePatientRequest, - * !proto.proto.services.tasks_svc.v1.DischargePatientResponse>} - */ -const methodDescriptor_PatientService_DischargePatient = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.PatientService/DischargePatient', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.DischargePatientRequest, - proto.proto.services.tasks_svc.v1.DischargePatientResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.DischargePatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.DischargePatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.DischargePatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.DischargePatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.PatientServiceClient.prototype.dischargePatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/DischargePatient', - request, - metadata || {}, - methodDescriptor_PatientService_DischargePatient, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.DischargePatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.dischargePatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/DischargePatient', - request, - metadata || {}, - methodDescriptor_PatientService_DischargePatient); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.ReadmitPatientRequest, - * !proto.proto.services.tasks_svc.v1.ReadmitPatientResponse>} - */ -const methodDescriptor_PatientService_ReadmitPatient = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.PatientService/ReadmitPatient', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.ReadmitPatientRequest, - proto.proto.services.tasks_svc.v1.ReadmitPatientResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.ReadmitPatientRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.ReadmitPatientRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.ReadmitPatientResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.PatientServiceClient.prototype.readmitPatient = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/ReadmitPatient', - request, - metadata || {}, - methodDescriptor_PatientService_ReadmitPatient, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.ReadmitPatientRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.readmitPatient = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.PatientService/ReadmitPatient', - request, - metadata || {}, - methodDescriptor_PatientService_ReadmitPatient); -}; - - -module.exports = proto.proto.services.tasks_svc.v1; - diff --git a/gen/ts/proto/services/tasks_svc/v1/task_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/tasks_svc/v1/task_svc_grpc_web_pb.d.ts deleted file mode 100644 index cae3609af..000000000 --- a/gen/ts/proto/services/tasks_svc/v1/task_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,139 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_tasks_svc_v1_task_svc_pb from '../../../../proto/services/tasks_svc/v1/task_svc_pb'; // proto import: "proto/services/tasks_svc/v1/task_svc.proto" - - -export class TaskServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createTask( - request: proto_services_tasks_svc_v1_task_svc_pb.CreateTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_task_svc_pb.CreateTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - updateTask( - request: proto_services_tasks_svc_v1_task_svc_pb.UpdateTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_task_svc_pb.UpdateTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - getTask( - request: proto_services_tasks_svc_v1_task_svc_pb.GetTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_task_svc_pb.GetTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - assignTask( - request: proto_services_tasks_svc_v1_task_svc_pb.AssignTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_task_svc_pb.AssignTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - unassignTask( - request: proto_services_tasks_svc_v1_task_svc_pb.UnassignTaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_task_svc_pb.UnassignTaskResponse) => void - ): grpcWeb.ClientReadableStream; - - createSubtask( - request: proto_services_tasks_svc_v1_task_svc_pb.CreateSubtaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_task_svc_pb.CreateSubtaskResponse) => void - ): grpcWeb.ClientReadableStream; - - updateSubtask( - request: proto_services_tasks_svc_v1_task_svc_pb.UpdateSubtaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_task_svc_pb.UpdateSubtaskResponse) => void - ): grpcWeb.ClientReadableStream; - - completeSubtask( - request: proto_services_tasks_svc_v1_task_svc_pb.CompleteSubtaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_task_svc_pb.CompleteSubtaskResponse) => void - ): grpcWeb.ClientReadableStream; - - uncompleteSubtask( - request: proto_services_tasks_svc_v1_task_svc_pb.UncompleteSubtaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_task_svc_pb.UncompleteSubtaskResponse) => void - ): grpcWeb.ClientReadableStream; - - deleteSubtask( - request: proto_services_tasks_svc_v1_task_svc_pb.DeleteSubtaskRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_tasks_svc_v1_task_svc_pb.DeleteSubtaskResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class TaskServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createTask( - request: proto_services_tasks_svc_v1_task_svc_pb.CreateTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateTask( - request: proto_services_tasks_svc_v1_task_svc_pb.UpdateTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getTask( - request: proto_services_tasks_svc_v1_task_svc_pb.GetTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - assignTask( - request: proto_services_tasks_svc_v1_task_svc_pb.AssignTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - unassignTask( - request: proto_services_tasks_svc_v1_task_svc_pb.UnassignTaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - createSubtask( - request: proto_services_tasks_svc_v1_task_svc_pb.CreateSubtaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateSubtask( - request: proto_services_tasks_svc_v1_task_svc_pb.UpdateSubtaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - completeSubtask( - request: proto_services_tasks_svc_v1_task_svc_pb.CompleteSubtaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - uncompleteSubtask( - request: proto_services_tasks_svc_v1_task_svc_pb.UncompleteSubtaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - deleteSubtask( - request: proto_services_tasks_svc_v1_task_svc_pb.DeleteSubtaskRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/tasks_svc/v1/task_svc_grpc_web_pb.js b/gen/ts/proto/services/tasks_svc/v1/task_svc_grpc_web_pb.js deleted file mode 100644 index 5017d3321..000000000 --- a/gen/ts/proto/services/tasks_svc/v1/task_svc_grpc_web_pb.js +++ /dev/null @@ -1,693 +0,0 @@ -/** - * @fileoverview gRPC-Web generated client stub for proto.services.tasks_svc.v1 - * @enhanceable - * @public - */ - -// Code generated by protoc-gen-grpc-web. DO NOT EDIT. -// versions: -// protoc-gen-grpc-web v1.5.0 -// protoc v0.0.0 -// source: proto/services/tasks_svc/v1/task_svc.proto - - -/* eslint-disable */ -// @ts-nocheck - - - -const grpc = {}; -grpc.web = require('grpc-web'); - - -var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js') -const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.tasks_svc = {}; -proto.proto.services.tasks_svc.v1 = require('./task_svc_pb.js'); - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.tasks_svc.v1.TaskServiceClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.tasks_svc.v1.TaskServicePromiseClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.CreateTaskRequest, - * !proto.proto.services.tasks_svc.v1.CreateTaskResponse>} - */ -const methodDescriptor_TaskService_CreateTask = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.TaskService/CreateTask', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.CreateTaskRequest, - proto.proto.services.tasks_svc.v1.CreateTaskResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.CreateTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.CreateTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.TaskServiceClient.prototype.createTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/CreateTask', - request, - metadata || {}, - methodDescriptor_TaskService_CreateTask, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.createTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/CreateTask', - request, - metadata || {}, - methodDescriptor_TaskService_CreateTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.UpdateTaskRequest, - * !proto.proto.services.tasks_svc.v1.UpdateTaskResponse>} - */ -const methodDescriptor_TaskService_UpdateTask = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.TaskService/UpdateTask', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.UpdateTaskRequest, - proto.proto.services.tasks_svc.v1.UpdateTaskResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.UpdateTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.UpdateTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.TaskServiceClient.prototype.updateTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/UpdateTask', - request, - metadata || {}, - methodDescriptor_TaskService_UpdateTask, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.updateTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/UpdateTask', - request, - metadata || {}, - methodDescriptor_TaskService_UpdateTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.GetTaskRequest, - * !proto.proto.services.tasks_svc.v1.GetTaskResponse>} - */ -const methodDescriptor_TaskService_GetTask = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.TaskService/GetTask', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.GetTaskRequest, - proto.proto.services.tasks_svc.v1.GetTaskResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.GetTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.GetTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.GetTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.GetTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.TaskServiceClient.prototype.getTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/GetTask', - request, - metadata || {}, - methodDescriptor_TaskService_GetTask, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.GetTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.getTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/GetTask', - request, - metadata || {}, - methodDescriptor_TaskService_GetTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.AssignTaskRequest, - * !proto.proto.services.tasks_svc.v1.AssignTaskResponse>} - */ -const methodDescriptor_TaskService_AssignTask = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.TaskService/AssignTask', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.AssignTaskRequest, - proto.proto.services.tasks_svc.v1.AssignTaskResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.AssignTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.AssignTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.AssignTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.AssignTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.TaskServiceClient.prototype.assignTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/AssignTask', - request, - metadata || {}, - methodDescriptor_TaskService_AssignTask, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.AssignTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.assignTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/AssignTask', - request, - metadata || {}, - methodDescriptor_TaskService_AssignTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.UnassignTaskRequest, - * !proto.proto.services.tasks_svc.v1.UnassignTaskResponse>} - */ -const methodDescriptor_TaskService_UnassignTask = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.TaskService/UnassignTask', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.UnassignTaskRequest, - proto.proto.services.tasks_svc.v1.UnassignTaskResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.UnassignTaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.UnassignTaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UnassignTaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.UnassignTaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.TaskServiceClient.prototype.unassignTask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/UnassignTask', - request, - metadata || {}, - methodDescriptor_TaskService_UnassignTask, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UnassignTaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.unassignTask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/UnassignTask', - request, - metadata || {}, - methodDescriptor_TaskService_UnassignTask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.CreateSubtaskRequest, - * !proto.proto.services.tasks_svc.v1.CreateSubtaskResponse>} - */ -const methodDescriptor_TaskService_CreateSubtask = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.TaskService/CreateSubtask', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.CreateSubtaskRequest, - proto.proto.services.tasks_svc.v1.CreateSubtaskResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.CreateSubtaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.TaskServiceClient.prototype.createSubtask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/CreateSubtask', - request, - metadata || {}, - methodDescriptor_TaskService_CreateSubtask, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.createSubtask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/CreateSubtask', - request, - metadata || {}, - methodDescriptor_TaskService_CreateSubtask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest, - * !proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse>} - */ -const methodDescriptor_TaskService_UpdateSubtask = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.TaskService/UpdateSubtask', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest, - proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.TaskServiceClient.prototype.updateSubtask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/UpdateSubtask', - request, - metadata || {}, - methodDescriptor_TaskService_UpdateSubtask, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.updateSubtask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/UpdateSubtask', - request, - metadata || {}, - methodDescriptor_TaskService_UpdateSubtask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest, - * !proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse>} - */ -const methodDescriptor_TaskService_CompleteSubtask = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.TaskService/CompleteSubtask', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest, - proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.TaskServiceClient.prototype.completeSubtask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/CompleteSubtask', - request, - metadata || {}, - methodDescriptor_TaskService_CompleteSubtask, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.completeSubtask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/CompleteSubtask', - request, - metadata || {}, - methodDescriptor_TaskService_CompleteSubtask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest, - * !proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse>} - */ -const methodDescriptor_TaskService_UncompleteSubtask = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.TaskService/UncompleteSubtask', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest, - proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.TaskServiceClient.prototype.uncompleteSubtask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/UncompleteSubtask', - request, - metadata || {}, - methodDescriptor_TaskService_UncompleteSubtask, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.uncompleteSubtask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/UncompleteSubtask', - request, - metadata || {}, - methodDescriptor_TaskService_UncompleteSubtask); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest, - * !proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse>} - */ -const methodDescriptor_TaskService_DeleteSubtask = new grpc.web.MethodDescriptor( - '/proto.services.tasks_svc.v1.TaskService/DeleteSubtask', - grpc.web.MethodType.UNARY, - proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest, - proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse, - /** - * @param {!proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.tasks_svc.v1.TaskServiceClient.prototype.deleteSubtask = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/DeleteSubtask', - request, - metadata || {}, - methodDescriptor_TaskService_DeleteSubtask, - callback); -}; - - -/** - * @param {!proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.deleteSubtask = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.tasks_svc.v1.TaskService/DeleteSubtask', - request, - metadata || {}, - methodDescriptor_TaskService_DeleteSubtask); -}; - - -module.exports = proto.proto.services.tasks_svc.v1; - diff --git a/gen/ts/proto/services/user_svc/v1/organization_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/user_svc/v1/organization_svc_grpc_web_pb.d.ts deleted file mode 100644 index 474c73892..000000000 --- a/gen/ts/proto/services/user_svc/v1/organization_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,211 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_user_svc_v1_organization_svc_pb from '../../../../proto/services/user_svc/v1/organization_svc_pb'; // proto import: "proto/services/user_svc/v1/organization_svc.proto" - - -export class OrganizationServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.CreateOrganizationRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.CreateOrganizationResponse) => void - ): grpcWeb.ClientReadableStream; - - createOrganizationForUser( - request: proto_services_user_svc_v1_organization_svc_pb.CreateOrganizationForUserRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.CreateOrganizationForUserResponse) => void - ): grpcWeb.ClientReadableStream; - - getOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.GetOrganizationRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.GetOrganizationResponse) => void - ): grpcWeb.ClientReadableStream; - - getOrganizationsByUser( - request: proto_services_user_svc_v1_organization_svc_pb.GetOrganizationsByUserRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.GetOrganizationsByUserResponse) => void - ): grpcWeb.ClientReadableStream; - - getOrganizationsForUser( - request: proto_services_user_svc_v1_organization_svc_pb.GetOrganizationsForUserRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.GetOrganizationsForUserResponse) => void - ): grpcWeb.ClientReadableStream; - - updateOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.UpdateOrganizationRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.UpdateOrganizationResponse) => void - ): grpcWeb.ClientReadableStream; - - deleteOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.DeleteOrganizationRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.DeleteOrganizationResponse) => void - ): grpcWeb.ClientReadableStream; - - getMembersByOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.GetMembersByOrganizationRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.GetMembersByOrganizationResponse) => void - ): grpcWeb.ClientReadableStream; - - addMember( - request: proto_services_user_svc_v1_organization_svc_pb.AddMemberRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.AddMemberResponse) => void - ): grpcWeb.ClientReadableStream; - - removeMember( - request: proto_services_user_svc_v1_organization_svc_pb.RemoveMemberRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.RemoveMemberResponse) => void - ): grpcWeb.ClientReadableStream; - - inviteMember( - request: proto_services_user_svc_v1_organization_svc_pb.InviteMemberRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.InviteMemberResponse) => void - ): grpcWeb.ClientReadableStream; - - getInvitationsByOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.GetInvitationsByOrganizationRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.GetInvitationsByOrganizationResponse) => void - ): grpcWeb.ClientReadableStream; - - getInvitationsByUser( - request: proto_services_user_svc_v1_organization_svc_pb.GetInvitationsByUserRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.GetInvitationsByUserResponse) => void - ): grpcWeb.ClientReadableStream; - - acceptInvitation( - request: proto_services_user_svc_v1_organization_svc_pb.AcceptInvitationRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.AcceptInvitationResponse) => void - ): grpcWeb.ClientReadableStream; - - declineInvitation( - request: proto_services_user_svc_v1_organization_svc_pb.DeclineInvitationRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.DeclineInvitationResponse) => void - ): grpcWeb.ClientReadableStream; - - revokeInvitation( - request: proto_services_user_svc_v1_organization_svc_pb.RevokeInvitationRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_organization_svc_pb.RevokeInvitationResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class OrganizationServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.CreateOrganizationRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - createOrganizationForUser( - request: proto_services_user_svc_v1_organization_svc_pb.CreateOrganizationForUserRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.GetOrganizationRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getOrganizationsByUser( - request: proto_services_user_svc_v1_organization_svc_pb.GetOrganizationsByUserRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getOrganizationsForUser( - request: proto_services_user_svc_v1_organization_svc_pb.GetOrganizationsForUserRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.UpdateOrganizationRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - deleteOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.DeleteOrganizationRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getMembersByOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.GetMembersByOrganizationRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - addMember( - request: proto_services_user_svc_v1_organization_svc_pb.AddMemberRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - removeMember( - request: proto_services_user_svc_v1_organization_svc_pb.RemoveMemberRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - inviteMember( - request: proto_services_user_svc_v1_organization_svc_pb.InviteMemberRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getInvitationsByOrganization( - request: proto_services_user_svc_v1_organization_svc_pb.GetInvitationsByOrganizationRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - getInvitationsByUser( - request: proto_services_user_svc_v1_organization_svc_pb.GetInvitationsByUserRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - acceptInvitation( - request: proto_services_user_svc_v1_organization_svc_pb.AcceptInvitationRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - declineInvitation( - request: proto_services_user_svc_v1_organization_svc_pb.DeclineInvitationRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - revokeInvitation( - request: proto_services_user_svc_v1_organization_svc_pb.RevokeInvitationRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/proto/services/user_svc/v1/organization_svc_grpc_web_pb.js b/gen/ts/proto/services/user_svc/v1/organization_svc_grpc_web_pb.js deleted file mode 100644 index 216019fe8..000000000 --- a/gen/ts/proto/services/user_svc/v1/organization_svc_grpc_web_pb.js +++ /dev/null @@ -1,1057 +0,0 @@ -/** - * @fileoverview gRPC-Web generated client stub for proto.services.user_svc.v1 - * @enhanceable - * @public - */ - -// Code generated by protoc-gen-grpc-web. DO NOT EDIT. -// versions: -// protoc-gen-grpc-web v1.5.0 -// protoc v0.0.0 -// source: proto/services/user_svc/v1/organization_svc.proto - - -/* eslint-disable */ -// @ts-nocheck - - - -const grpc = {}; -grpc.web = require('grpc-web'); - -const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.user_svc = {}; -proto.proto.services.user_svc.v1 = require('./organization_svc_pb.js'); - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @param {string} hostname - * @param {?Object} credentials - * @param {?grpc.web.ClientOptions} options - * @constructor - * @struct - * @final - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient = - function(hostname, credentials, options) { - if (!options) options = {}; - options.format = 'text'; - - /** - * @private @const {!grpc.web.GrpcWebClientBase} The client - */ - this.client_ = new grpc.web.GrpcWebClientBase(options); - - /** - * @private @const {string} The hostname - */ - this.hostname_ = hostname.replace(/\/+$/, ''); - -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.CreateOrganizationRequest, - * !proto.proto.services.user_svc.v1.CreateOrganizationResponse>} - */ -const methodDescriptor_OrganizationService_CreateOrganization = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/CreateOrganization', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.CreateOrganizationRequest, - proto.proto.services.user_svc.v1.CreateOrganizationResponse, - /** - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.CreateOrganizationResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.CreateOrganizationResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.createOrganization = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/CreateOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_CreateOrganization, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.createOrganization = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/CreateOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_CreateOrganization); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest, - * !proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse>} - */ -const methodDescriptor_OrganizationService_CreateOrganizationForUser = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/CreateOrganizationForUser', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest, - proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse, - /** - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.createOrganizationForUser = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/CreateOrganizationForUser', - request, - metadata || {}, - methodDescriptor_OrganizationService_CreateOrganizationForUser, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.createOrganizationForUser = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/CreateOrganizationForUser', - request, - metadata || {}, - methodDescriptor_OrganizationService_CreateOrganizationForUser); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.GetOrganizationRequest, - * !proto.proto.services.user_svc.v1.GetOrganizationResponse>} - */ -const methodDescriptor_OrganizationService_GetOrganization = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/GetOrganization', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.GetOrganizationRequest, - proto.proto.services.user_svc.v1.GetOrganizationResponse, - /** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.GetOrganizationResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.GetOrganizationResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.getOrganization = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetOrganization, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getOrganization = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetOrganization); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest, - * !proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse>} - */ -const methodDescriptor_OrganizationService_GetOrganizationsByUser = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsByUser', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest, - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse, - /** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.getOrganizationsByUser = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsByUser', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetOrganizationsByUser, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getOrganizationsByUser = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsByUser', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetOrganizationsByUser); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest, - * !proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse>} - */ -const methodDescriptor_OrganizationService_GetOrganizationsForUser = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsForUser', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest, - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse, - /** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.getOrganizationsForUser = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsForUser', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetOrganizationsForUser, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getOrganizationsForUser = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsForUser', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetOrganizationsForUser); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.UpdateOrganizationRequest, - * !proto.proto.services.user_svc.v1.UpdateOrganizationResponse>} - */ -const methodDescriptor_OrganizationService_UpdateOrganization = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/UpdateOrganization', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.UpdateOrganizationRequest, - proto.proto.services.user_svc.v1.UpdateOrganizationResponse, - /** - * @param {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.UpdateOrganizationResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.UpdateOrganizationResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.updateOrganization = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/UpdateOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_UpdateOrganization, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.updateOrganization = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/UpdateOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_UpdateOrganization); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.DeleteOrganizationRequest, - * !proto.proto.services.user_svc.v1.DeleteOrganizationResponse>} - */ -const methodDescriptor_OrganizationService_DeleteOrganization = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/DeleteOrganization', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.DeleteOrganizationRequest, - proto.proto.services.user_svc.v1.DeleteOrganizationResponse, - /** - * @param {!proto.proto.services.user_svc.v1.DeleteOrganizationRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.DeleteOrganizationResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.DeleteOrganizationRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.DeleteOrganizationResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.deleteOrganization = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/DeleteOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_DeleteOrganization, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.DeleteOrganizationRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.deleteOrganization = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/DeleteOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_DeleteOrganization); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest, - * !proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse>} - */ -const methodDescriptor_OrganizationService_GetMembersByOrganization = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/GetMembersByOrganization', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest, - proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse, - /** - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.getMembersByOrganization = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetMembersByOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetMembersByOrganization, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getMembersByOrganization = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetMembersByOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetMembersByOrganization); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.AddMemberRequest, - * !proto.proto.services.user_svc.v1.AddMemberResponse>} - */ -const methodDescriptor_OrganizationService_AddMember = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/AddMember', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.AddMemberRequest, - proto.proto.services.user_svc.v1.AddMemberResponse, - /** - * @param {!proto.proto.services.user_svc.v1.AddMemberRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.AddMemberResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.AddMemberRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.AddMemberResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.addMember = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/AddMember', - request, - metadata || {}, - methodDescriptor_OrganizationService_AddMember, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.AddMemberRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.addMember = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/AddMember', - request, - metadata || {}, - methodDescriptor_OrganizationService_AddMember); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.RemoveMemberRequest, - * !proto.proto.services.user_svc.v1.RemoveMemberResponse>} - */ -const methodDescriptor_OrganizationService_RemoveMember = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/RemoveMember', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.RemoveMemberRequest, - proto.proto.services.user_svc.v1.RemoveMemberResponse, - /** - * @param {!proto.proto.services.user_svc.v1.RemoveMemberRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.RemoveMemberResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.RemoveMemberRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.RemoveMemberResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.removeMember = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/RemoveMember', - request, - metadata || {}, - methodDescriptor_OrganizationService_RemoveMember, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.RemoveMemberRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.removeMember = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/RemoveMember', - request, - metadata || {}, - methodDescriptor_OrganizationService_RemoveMember); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.InviteMemberRequest, - * !proto.proto.services.user_svc.v1.InviteMemberResponse>} - */ -const methodDescriptor_OrganizationService_InviteMember = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/InviteMember', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.InviteMemberRequest, - proto.proto.services.user_svc.v1.InviteMemberResponse, - /** - * @param {!proto.proto.services.user_svc.v1.InviteMemberRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.InviteMemberResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.InviteMemberRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.InviteMemberResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.inviteMember = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/InviteMember', - request, - metadata || {}, - methodDescriptor_OrganizationService_InviteMember, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.InviteMemberRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.inviteMember = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/InviteMember', - request, - metadata || {}, - methodDescriptor_OrganizationService_InviteMember); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest, - * !proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse>} - */ -const methodDescriptor_OrganizationService_GetInvitationsByOrganization = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest, - proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse, - /** - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.getInvitationsByOrganization = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetInvitationsByOrganization, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getInvitationsByOrganization = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetInvitationsByOrganization); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.GetInvitationsByUserRequest, - * !proto.proto.services.user_svc.v1.GetInvitationsByUserResponse>} - */ -const methodDescriptor_OrganizationService_GetInvitationsByUser = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByUser', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.GetInvitationsByUserRequest, - proto.proto.services.user_svc.v1.GetInvitationsByUserResponse, - /** - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.GetInvitationsByUserResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.getInvitationsByUser = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByUser', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetInvitationsByUser, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getInvitationsByUser = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByUser', - request, - metadata || {}, - methodDescriptor_OrganizationService_GetInvitationsByUser); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.AcceptInvitationRequest, - * !proto.proto.services.user_svc.v1.AcceptInvitationResponse>} - */ -const methodDescriptor_OrganizationService_AcceptInvitation = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/AcceptInvitation', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.AcceptInvitationRequest, - proto.proto.services.user_svc.v1.AcceptInvitationResponse, - /** - * @param {!proto.proto.services.user_svc.v1.AcceptInvitationRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.AcceptInvitationResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.AcceptInvitationRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.AcceptInvitationResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.acceptInvitation = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/AcceptInvitation', - request, - metadata || {}, - methodDescriptor_OrganizationService_AcceptInvitation, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.AcceptInvitationRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.acceptInvitation = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/AcceptInvitation', - request, - metadata || {}, - methodDescriptor_OrganizationService_AcceptInvitation); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.DeclineInvitationRequest, - * !proto.proto.services.user_svc.v1.DeclineInvitationResponse>} - */ -const methodDescriptor_OrganizationService_DeclineInvitation = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/DeclineInvitation', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.DeclineInvitationRequest, - proto.proto.services.user_svc.v1.DeclineInvitationResponse, - /** - * @param {!proto.proto.services.user_svc.v1.DeclineInvitationRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.DeclineInvitationResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.DeclineInvitationRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.DeclineInvitationResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.declineInvitation = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/DeclineInvitation', - request, - metadata || {}, - methodDescriptor_OrganizationService_DeclineInvitation, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.DeclineInvitationRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.declineInvitation = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/DeclineInvitation', - request, - metadata || {}, - methodDescriptor_OrganizationService_DeclineInvitation); -}; - - -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.RevokeInvitationRequest, - * !proto.proto.services.user_svc.v1.RevokeInvitationResponse>} - */ -const methodDescriptor_OrganizationService_RevokeInvitation = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.OrganizationService/RevokeInvitation', - grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.RevokeInvitationRequest, - proto.proto.services.user_svc.v1.RevokeInvitationResponse, - /** - * @param {!proto.proto.services.user_svc.v1.RevokeInvitationRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.proto.services.user_svc.v1.RevokeInvitationResponse.deserializeBinary -); - - -/** - * @param {!proto.proto.services.user_svc.v1.RevokeInvitationRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.RevokeInvitationResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.proto.services.user_svc.v1.OrganizationServiceClient.prototype.revokeInvitation = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/RevokeInvitation', - request, - metadata || {}, - methodDescriptor_OrganizationService_RevokeInvitation, - callback); -}; - - -/** - * @param {!proto.proto.services.user_svc.v1.RevokeInvitationRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.revokeInvitation = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.OrganizationService/RevokeInvitation', - request, - metadata || {}, - methodDescriptor_OrganizationService_RevokeInvitation); -}; - - -module.exports = proto.proto.services.user_svc.v1; - diff --git a/gen/ts/proto/services/user_svc/v1/user_svc_grpc_web_pb.d.ts b/gen/ts/proto/services/user_svc/v1/user_svc_grpc_web_pb.d.ts deleted file mode 100644 index 6b1a5d39a..000000000 --- a/gen/ts/proto/services/user_svc/v1/user_svc_grpc_web_pb.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import * as grpcWeb from 'grpc-web'; - -import * as proto_services_user_svc_v1_user_svc_pb from '../../../../proto/services/user_svc/v1/user_svc_pb'; // proto import: "proto/services/user_svc/v1/user_svc.proto" - - -export class UserServiceClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createUser( - request: proto_services_user_svc_v1_user_svc_pb.CreateUserRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_user_svc_pb.CreateUserResponse) => void - ): grpcWeb.ClientReadableStream; - - readSelf( - request: proto_services_user_svc_v1_user_svc_pb.ReadSelfRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_user_svc_pb.ReadSelfResponse) => void - ): grpcWeb.ClientReadableStream; - - readPublicProfile( - request: proto_services_user_svc_v1_user_svc_pb.ReadPublicProfileRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_user_svc_pb.ReadPublicProfileResponse) => void - ): grpcWeb.ClientReadableStream; - - updateUser( - request: proto_services_user_svc_v1_user_svc_pb.UpdateUserRequest, - metadata: grpcWeb.Metadata | undefined, - callback: (err: grpcWeb.RpcError, - response: proto_services_user_svc_v1_user_svc_pb.UpdateUserResponse) => void - ): grpcWeb.ClientReadableStream; - -} - -export class UserServicePromiseClient { - constructor (hostname: string, - credentials?: null | { [index: string]: string; }, - options?: null | { [index: string]: any; }); - - createUser( - request: proto_services_user_svc_v1_user_svc_pb.CreateUserRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - readSelf( - request: proto_services_user_svc_v1_user_svc_pb.ReadSelfRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - readPublicProfile( - request: proto_services_user_svc_v1_user_svc_pb.ReadPublicProfileRequest, - metadata?: grpcWeb.Metadata - ): Promise; - - updateUser( - request: proto_services_user_svc_v1_user_svc_pb.UpdateUserRequest, - metadata?: grpcWeb.Metadata - ): Promise; - -} - diff --git a/gen/ts/services/auth_svc/v1/auth_svc_grpc_web_pb.d.ts b/gen/ts/services/auth_svc/v1/auth_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..9757e4b7d --- /dev/null +++ b/gen/ts/services/auth_svc/v1/auth_svc_grpc_web_pb.d.ts @@ -0,0 +1,31 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_auth_svc_v1_auth_svc_pb from '../../../services/auth_svc/v1/auth_svc_pb'; // proto import: "services/auth_svc/v1/auth_svc.proto" + + +export class AuthServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + prelimAuthRequest( + request: services_auth_svc_v1_auth_svc_pb.PrelimAuthRequestRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_auth_svc_v1_auth_svc_pb.PrelimAuthRequestResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class AuthServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + prelimAuthRequest( + request: services_auth_svc_v1_auth_svc_pb.PrelimAuthRequestRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/proto/services/auth_svc/v1/auth_svc_grpc_web_pb.js b/gen/ts/services/auth_svc/v1/auth_svc_grpc_web_pb.js similarity index 57% rename from gen/ts/proto/services/auth_svc/v1/auth_svc_grpc_web_pb.js rename to gen/ts/services/auth_svc/v1/auth_svc_grpc_web_pb.js index 388806cc4..9023e6ad9 100644 --- a/gen/ts/proto/services/auth_svc/v1/auth_svc_grpc_web_pb.js +++ b/gen/ts/services/auth_svc/v1/auth_svc_grpc_web_pb.js @@ -1,5 +1,5 @@ /** - * @fileoverview gRPC-Web generated client stub for proto.services.auth_svc.v1 + * @fileoverview gRPC-Web generated client stub for services.auth_svc.v1 * @enhanceable * @public */ @@ -8,7 +8,7 @@ // versions: // protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 -// source: proto/services/auth_svc/v1/auth_svc.proto +// source: services/auth_svc/v1/auth_svc.proto /* eslint-disable */ @@ -20,10 +20,9 @@ const grpc = {}; grpc.web = require('grpc-web'); const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.auth_svc = {}; -proto.proto.services.auth_svc.v1 = require('./auth_svc_pb.js'); +proto.services = {}; +proto.services.auth_svc = {}; +proto.services.auth_svc.v1 = require('./auth_svc_pb.js'); /** * @param {string} hostname @@ -33,7 +32,7 @@ proto.proto.services.auth_svc.v1 = require('./auth_svc_pb.js'); * @struct * @final */ -proto.proto.services.auth_svc.v1.AuthServiceClient = +proto.services.auth_svc.v1.AuthServiceClient = function(hostname, credentials, options) { if (!options) options = {}; options.format = 'text'; @@ -59,7 +58,7 @@ proto.proto.services.auth_svc.v1.AuthServiceClient = * @struct * @final */ -proto.proto.services.auth_svc.v1.AuthServicePromiseClient = +proto.services.auth_svc.v1.AuthServicePromiseClient = function(hostname, credentials, options) { if (!options) options = {}; options.format = 'text'; @@ -80,39 +79,39 @@ proto.proto.services.auth_svc.v1.AuthServicePromiseClient = /** * @const * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest, - * !proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse>} + * !proto.services.auth_svc.v1.PrelimAuthRequestRequest, + * !proto.services.auth_svc.v1.PrelimAuthRequestResponse>} */ const methodDescriptor_AuthService_PrelimAuthRequest = new grpc.web.MethodDescriptor( - '/proto.services.auth_svc.v1.AuthService/PrelimAuthRequest', + '/services.auth_svc.v1.AuthService/PrelimAuthRequest', grpc.web.MethodType.UNARY, - proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest, - proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse, + proto.services.auth_svc.v1.PrelimAuthRequestRequest, + proto.services.auth_svc.v1.PrelimAuthRequestResponse, /** - * @param {!proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest} request + * @param {!proto.services.auth_svc.v1.PrelimAuthRequestRequest} request * @return {!Uint8Array} */ function(request) { return request.serializeBinary(); }, - proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.deserializeBinary + proto.services.auth_svc.v1.PrelimAuthRequestResponse.deserializeBinary ); /** - * @param {!proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest} request The + * @param {!proto.services.auth_svc.v1.PrelimAuthRequestRequest} request The * request proto * @param {?Object} metadata User defined * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse)} + * @param {function(?grpc.web.RpcError, ?proto.services.auth_svc.v1.PrelimAuthRequestResponse)} * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} + * @return {!grpc.web.ClientReadableStream|undefined} * The XHR Node Readable Stream */ -proto.proto.services.auth_svc.v1.AuthServiceClient.prototype.prelimAuthRequest = +proto.services.auth_svc.v1.AuthServiceClient.prototype.prelimAuthRequest = function(request, metadata, callback) { return this.client_.rpcCall(this.hostname_ + - '/proto.services.auth_svc.v1.AuthService/PrelimAuthRequest', + '/services.auth_svc.v1.AuthService/PrelimAuthRequest', request, metadata || {}, methodDescriptor_AuthService_PrelimAuthRequest, @@ -121,22 +120,22 @@ proto.proto.services.auth_svc.v1.AuthServiceClient.prototype.prelimAuthRequest = /** - * @param {!proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest} request The + * @param {!proto.services.auth_svc.v1.PrelimAuthRequestRequest} request The * request proto * @param {?Object=} metadata User defined * call metadata - * @return {!Promise} + * @return {!Promise} * Promise that resolves to the response */ -proto.proto.services.auth_svc.v1.AuthServicePromiseClient.prototype.prelimAuthRequest = +proto.services.auth_svc.v1.AuthServicePromiseClient.prototype.prelimAuthRequest = function(request, metadata) { return this.client_.unaryCall(this.hostname_ + - '/proto.services.auth_svc.v1.AuthService/PrelimAuthRequest', + '/services.auth_svc.v1.AuthService/PrelimAuthRequest', request, metadata || {}, methodDescriptor_AuthService_PrelimAuthRequest); }; -module.exports = proto.proto.services.auth_svc.v1; +module.exports = proto.services.auth_svc.v1; diff --git a/gen/ts/proto/services/auth_svc/v1/auth_svc_pb.d.ts b/gen/ts/services/auth_svc/v1/auth_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/auth_svc/v1/auth_svc_pb.d.ts rename to gen/ts/services/auth_svc/v1/auth_svc_pb.d.ts diff --git a/gen/ts/proto/services/auth_svc/v1/auth_svc_pb.js b/gen/ts/services/auth_svc/v1/auth_svc_pb.js similarity index 60% rename from gen/ts/proto/services/auth_svc/v1/auth_svc_pb.js rename to gen/ts/services/auth_svc/v1/auth_svc_pb.js index 783d9e8ab..c1b9bf94f 100644 --- a/gen/ts/proto/services/auth_svc/v1/auth_svc_pb.js +++ b/gen/ts/services/auth_svc/v1/auth_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/auth_svc/v1/auth_svc.proto +// source: services/auth_svc/v1/auth_svc.proto /** * @fileoverview * @enhanceable @@ -21,8 +21,8 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest', null, global); -goog.exportSymbol('proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse', null, global); +goog.exportSymbol('proto.services.auth_svc.v1.PrelimAuthRequestRequest', null, global); +goog.exportSymbol('proto.services.auth_svc.v1.PrelimAuthRequestResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -33,16 +33,16 @@ goog.exportSymbol('proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse', * @extends {jspb.Message} * @constructor */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest = function(opt_data) { +proto.services.auth_svc.v1.PrelimAuthRequestRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest, jspb.Message); +goog.inherits(proto.services.auth_svc.v1.PrelimAuthRequestRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.displayName = 'proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest'; + proto.services.auth_svc.v1.PrelimAuthRequestRequest.displayName = 'proto.services.auth_svc.v1.PrelimAuthRequestRequest'; } /** * Generated by JsPbCodeGenerator. @@ -54,16 +54,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse = function(opt_data) { +proto.services.auth_svc.v1.PrelimAuthRequestResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse, jspb.Message); +goog.inherits(proto.services.auth_svc.v1.PrelimAuthRequestResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.displayName = 'proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse'; + proto.services.auth_svc.v1.PrelimAuthRequestResponse.displayName = 'proto.services.auth_svc.v1.PrelimAuthRequestResponse'; } @@ -81,8 +81,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.toObject(opt_includeInstance, this); +proto.services.auth_svc.v1.PrelimAuthRequestRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.auth_svc.v1.PrelimAuthRequestRequest.toObject(opt_includeInstance, this); }; @@ -91,11 +91,11 @@ proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest} msg The msg instance to transform. + * @param {!proto.services.auth_svc.v1.PrelimAuthRequestRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.toObject = function(includeInstance, msg) { +proto.services.auth_svc.v1.PrelimAuthRequestRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -111,23 +111,23 @@ proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest} + * @return {!proto.services.auth_svc.v1.PrelimAuthRequestRequest} */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.deserializeBinary = function(bytes) { +proto.services.auth_svc.v1.PrelimAuthRequestRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest; - return proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.auth_svc.v1.PrelimAuthRequestRequest; + return proto.services.auth_svc.v1.PrelimAuthRequestRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest} msg The message object to deserialize into. + * @param {!proto.services.auth_svc.v1.PrelimAuthRequestRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest} + * @return {!proto.services.auth_svc.v1.PrelimAuthRequestRequest} */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.auth_svc.v1.PrelimAuthRequestRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -147,9 +147,9 @@ proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.prototype.serializeBinary = function() { +proto.services.auth_svc.v1.PrelimAuthRequestRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.serializeBinaryToWriter(this, writer); + proto.services.auth_svc.v1.PrelimAuthRequestRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -157,11 +157,11 @@ proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest} message + * @param {!proto.services.auth_svc.v1.PrelimAuthRequestRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.auth_svc.v1.PrelimAuthRequestRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -182,8 +182,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.toObject(opt_includeInstance, this); +proto.services.auth_svc.v1.PrelimAuthRequestResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.auth_svc.v1.PrelimAuthRequestResponse.toObject(opt_includeInstance, this); }; @@ -192,11 +192,11 @@ proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse} msg The msg instance to transform. + * @param {!proto.services.auth_svc.v1.PrelimAuthRequestResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.toObject = function(includeInstance, msg) { +proto.services.auth_svc.v1.PrelimAuthRequestResponse.toObject = function(includeInstance, msg) { var f, obj = { url: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -212,23 +212,23 @@ proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse} + * @return {!proto.services.auth_svc.v1.PrelimAuthRequestResponse} */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.deserializeBinary = function(bytes) { +proto.services.auth_svc.v1.PrelimAuthRequestResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse; - return proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.auth_svc.v1.PrelimAuthRequestResponse; + return proto.services.auth_svc.v1.PrelimAuthRequestResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse} msg The message object to deserialize into. + * @param {!proto.services.auth_svc.v1.PrelimAuthRequestResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse} + * @return {!proto.services.auth_svc.v1.PrelimAuthRequestResponse} */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.auth_svc.v1.PrelimAuthRequestResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -252,9 +252,9 @@ proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.prototype.serializeBinary = function() { +proto.services.auth_svc.v1.PrelimAuthRequestResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.serializeBinaryToWriter(this, writer); + proto.services.auth_svc.v1.PrelimAuthRequestResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -262,11 +262,11 @@ proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse} message + * @param {!proto.services.auth_svc.v1.PrelimAuthRequestResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.auth_svc.v1.PrelimAuthRequestResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUrl(); if (f.length > 0) { @@ -282,18 +282,18 @@ proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.serializeBinaryToWrit * optional string url = 1; * @return {string} */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.prototype.getUrl = function() { +proto.services.auth_svc.v1.PrelimAuthRequestResponse.prototype.getUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse} returns this + * @return {!proto.services.auth_svc.v1.PrelimAuthRequestResponse} returns this */ -proto.proto.services.auth_svc.v1.PrelimAuthRequestResponse.prototype.setUrl = function(value) { +proto.services.auth_svc.v1.PrelimAuthRequestResponse.prototype.setUrl = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; -goog.object.extend(exports, proto.proto.services.auth_svc.v1); +goog.object.extend(exports, proto.services.auth_svc.v1); diff --git a/gen/ts/services/impulse_svc/v1/impulse_svc_grpc_web_pb.d.ts b/gen/ts/services/impulse_svc/v1/impulse_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..9dd6cc07b --- /dev/null +++ b/gen/ts/services/impulse_svc/v1/impulse_svc_grpc_web_pb.d.ts @@ -0,0 +1,139 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_impulse_svc_v1_impulse_svc_pb from '../../../services/impulse_svc/v1/impulse_svc_pb'; // proto import: "services/impulse_svc/v1/impulse_svc.proto" + + +export class ImpulseServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createUser( + request: services_impulse_svc_v1_impulse_svc_pb.CreateUserRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_impulse_svc_v1_impulse_svc_pb.CreateUserResponse) => void + ): grpcWeb.ClientReadableStream; + + updateUser( + request: services_impulse_svc_v1_impulse_svc_pb.UpdateUserRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_impulse_svc_v1_impulse_svc_pb.UpdateUserResponse) => void + ): grpcWeb.ClientReadableStream; + + trackChallenge( + request: services_impulse_svc_v1_impulse_svc_pb.TrackChallengeRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_impulse_svc_v1_impulse_svc_pb.TrackChallengeResponse) => void + ): grpcWeb.ClientReadableStream; + + getActiveChallenges( + request: services_impulse_svc_v1_impulse_svc_pb.GetActiveChallengesRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_impulse_svc_v1_impulse_svc_pb.GetActiveChallengesResponse) => void + ): grpcWeb.ClientReadableStream; + + getScore( + request: services_impulse_svc_v1_impulse_svc_pb.GetScoreRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_impulse_svc_v1_impulse_svc_pb.GetScoreResponse) => void + ): grpcWeb.ClientReadableStream; + + getRewards( + request: services_impulse_svc_v1_impulse_svc_pb.GetRewardsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_impulse_svc_v1_impulse_svc_pb.GetRewardsResponse) => void + ): grpcWeb.ClientReadableStream; + + getAllRewards( + request: services_impulse_svc_v1_impulse_svc_pb.GetAllRewardsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_impulse_svc_v1_impulse_svc_pb.GetAllRewardsResponse) => void + ): grpcWeb.ClientReadableStream; + + getAllTeams( + request: services_impulse_svc_v1_impulse_svc_pb.GetAllTeamsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_impulse_svc_v1_impulse_svc_pb.GetAllTeamsResponse) => void + ): grpcWeb.ClientReadableStream; + + statsForTeamByUser( + request: services_impulse_svc_v1_impulse_svc_pb.StatsForTeamByUserRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_impulse_svc_v1_impulse_svc_pb.StatsForTeamByUserResponse) => void + ): grpcWeb.ClientReadableStream; + + verification( + request: services_impulse_svc_v1_impulse_svc_pb.VerificationRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_impulse_svc_v1_impulse_svc_pb.VerificationResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class ImpulseServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createUser( + request: services_impulse_svc_v1_impulse_svc_pb.CreateUserRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateUser( + request: services_impulse_svc_v1_impulse_svc_pb.UpdateUserRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + trackChallenge( + request: services_impulse_svc_v1_impulse_svc_pb.TrackChallengeRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getActiveChallenges( + request: services_impulse_svc_v1_impulse_svc_pb.GetActiveChallengesRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getScore( + request: services_impulse_svc_v1_impulse_svc_pb.GetScoreRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getRewards( + request: services_impulse_svc_v1_impulse_svc_pb.GetRewardsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getAllRewards( + request: services_impulse_svc_v1_impulse_svc_pb.GetAllRewardsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getAllTeams( + request: services_impulse_svc_v1_impulse_svc_pb.GetAllTeamsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + statsForTeamByUser( + request: services_impulse_svc_v1_impulse_svc_pb.StatsForTeamByUserRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + verification( + request: services_impulse_svc_v1_impulse_svc_pb.VerificationRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/services/impulse_svc/v1/impulse_svc_grpc_web_pb.js b/gen/ts/services/impulse_svc/v1/impulse_svc_grpc_web_pb.js new file mode 100644 index 000000000..24084fcf9 --- /dev/null +++ b/gen/ts/services/impulse_svc/v1/impulse_svc_grpc_web_pb.js @@ -0,0 +1,690 @@ +/** + * @fileoverview gRPC-Web generated client stub for services.impulse_svc.v1 + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.5.0 +// protoc v0.0.0 +// source: services/impulse_svc/v1/impulse_svc.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + +const proto = {}; +proto.services = {}; +proto.services.impulse_svc = {}; +proto.services.impulse_svc.v1 = require('./impulse_svc_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.impulse_svc.v1.ImpulseServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.impulse_svc.v1.ImpulseServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.impulse_svc.v1.CreateUserRequest, + * !proto.services.impulse_svc.v1.CreateUserResponse>} + */ +const methodDescriptor_ImpulseService_CreateUser = new grpc.web.MethodDescriptor( + '/services.impulse_svc.v1.ImpulseService/CreateUser', + grpc.web.MethodType.UNARY, + proto.services.impulse_svc.v1.CreateUserRequest, + proto.services.impulse_svc.v1.CreateUserResponse, + /** + * @param {!proto.services.impulse_svc.v1.CreateUserRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.impulse_svc.v1.CreateUserResponse.deserializeBinary +); + + +/** + * @param {!proto.services.impulse_svc.v1.CreateUserRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.impulse_svc.v1.CreateUserResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.createUser = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/CreateUser', + request, + metadata || {}, + methodDescriptor_ImpulseService_CreateUser, + callback); +}; + + +/** + * @param {!proto.services.impulse_svc.v1.CreateUserRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.createUser = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/CreateUser', + request, + metadata || {}, + methodDescriptor_ImpulseService_CreateUser); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.impulse_svc.v1.UpdateUserRequest, + * !proto.services.impulse_svc.v1.UpdateUserResponse>} + */ +const methodDescriptor_ImpulseService_UpdateUser = new grpc.web.MethodDescriptor( + '/services.impulse_svc.v1.ImpulseService/UpdateUser', + grpc.web.MethodType.UNARY, + proto.services.impulse_svc.v1.UpdateUserRequest, + proto.services.impulse_svc.v1.UpdateUserResponse, + /** + * @param {!proto.services.impulse_svc.v1.UpdateUserRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.impulse_svc.v1.UpdateUserResponse.deserializeBinary +); + + +/** + * @param {!proto.services.impulse_svc.v1.UpdateUserRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.impulse_svc.v1.UpdateUserResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.updateUser = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/UpdateUser', + request, + metadata || {}, + methodDescriptor_ImpulseService_UpdateUser, + callback); +}; + + +/** + * @param {!proto.services.impulse_svc.v1.UpdateUserRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.updateUser = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/UpdateUser', + request, + metadata || {}, + methodDescriptor_ImpulseService_UpdateUser); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.impulse_svc.v1.TrackChallengeRequest, + * !proto.services.impulse_svc.v1.TrackChallengeResponse>} + */ +const methodDescriptor_ImpulseService_TrackChallenge = new grpc.web.MethodDescriptor( + '/services.impulse_svc.v1.ImpulseService/TrackChallenge', + grpc.web.MethodType.UNARY, + proto.services.impulse_svc.v1.TrackChallengeRequest, + proto.services.impulse_svc.v1.TrackChallengeResponse, + /** + * @param {!proto.services.impulse_svc.v1.TrackChallengeRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.impulse_svc.v1.TrackChallengeResponse.deserializeBinary +); + + +/** + * @param {!proto.services.impulse_svc.v1.TrackChallengeRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.impulse_svc.v1.TrackChallengeResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.trackChallenge = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/TrackChallenge', + request, + metadata || {}, + methodDescriptor_ImpulseService_TrackChallenge, + callback); +}; + + +/** + * @param {!proto.services.impulse_svc.v1.TrackChallengeRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.trackChallenge = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/TrackChallenge', + request, + metadata || {}, + methodDescriptor_ImpulseService_TrackChallenge); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.impulse_svc.v1.GetActiveChallengesRequest, + * !proto.services.impulse_svc.v1.GetActiveChallengesResponse>} + */ +const methodDescriptor_ImpulseService_GetActiveChallenges = new grpc.web.MethodDescriptor( + '/services.impulse_svc.v1.ImpulseService/GetActiveChallenges', + grpc.web.MethodType.UNARY, + proto.services.impulse_svc.v1.GetActiveChallengesRequest, + proto.services.impulse_svc.v1.GetActiveChallengesResponse, + /** + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.impulse_svc.v1.GetActiveChallengesResponse.deserializeBinary +); + + +/** + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.impulse_svc.v1.GetActiveChallengesResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.getActiveChallenges = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/GetActiveChallenges', + request, + metadata || {}, + methodDescriptor_ImpulseService_GetActiveChallenges, + callback); +}; + + +/** + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.getActiveChallenges = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/GetActiveChallenges', + request, + metadata || {}, + methodDescriptor_ImpulseService_GetActiveChallenges); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.impulse_svc.v1.GetScoreRequest, + * !proto.services.impulse_svc.v1.GetScoreResponse>} + */ +const methodDescriptor_ImpulseService_GetScore = new grpc.web.MethodDescriptor( + '/services.impulse_svc.v1.ImpulseService/GetScore', + grpc.web.MethodType.UNARY, + proto.services.impulse_svc.v1.GetScoreRequest, + proto.services.impulse_svc.v1.GetScoreResponse, + /** + * @param {!proto.services.impulse_svc.v1.GetScoreRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.impulse_svc.v1.GetScoreResponse.deserializeBinary +); + + +/** + * @param {!proto.services.impulse_svc.v1.GetScoreRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.impulse_svc.v1.GetScoreResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.getScore = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/GetScore', + request, + metadata || {}, + methodDescriptor_ImpulseService_GetScore, + callback); +}; + + +/** + * @param {!proto.services.impulse_svc.v1.GetScoreRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.getScore = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/GetScore', + request, + metadata || {}, + methodDescriptor_ImpulseService_GetScore); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.impulse_svc.v1.GetRewardsRequest, + * !proto.services.impulse_svc.v1.GetRewardsResponse>} + */ +const methodDescriptor_ImpulseService_GetRewards = new grpc.web.MethodDescriptor( + '/services.impulse_svc.v1.ImpulseService/GetRewards', + grpc.web.MethodType.UNARY, + proto.services.impulse_svc.v1.GetRewardsRequest, + proto.services.impulse_svc.v1.GetRewardsResponse, + /** + * @param {!proto.services.impulse_svc.v1.GetRewardsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.impulse_svc.v1.GetRewardsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.impulse_svc.v1.GetRewardsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.impulse_svc.v1.GetRewardsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.getRewards = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/GetRewards', + request, + metadata || {}, + methodDescriptor_ImpulseService_GetRewards, + callback); +}; + + +/** + * @param {!proto.services.impulse_svc.v1.GetRewardsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.getRewards = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/GetRewards', + request, + metadata || {}, + methodDescriptor_ImpulseService_GetRewards); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.impulse_svc.v1.GetAllRewardsRequest, + * !proto.services.impulse_svc.v1.GetAllRewardsResponse>} + */ +const methodDescriptor_ImpulseService_GetAllRewards = new grpc.web.MethodDescriptor( + '/services.impulse_svc.v1.ImpulseService/GetAllRewards', + grpc.web.MethodType.UNARY, + proto.services.impulse_svc.v1.GetAllRewardsRequest, + proto.services.impulse_svc.v1.GetAllRewardsResponse, + /** + * @param {!proto.services.impulse_svc.v1.GetAllRewardsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.impulse_svc.v1.GetAllRewardsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.impulse_svc.v1.GetAllRewardsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.impulse_svc.v1.GetAllRewardsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.getAllRewards = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/GetAllRewards', + request, + metadata || {}, + methodDescriptor_ImpulseService_GetAllRewards, + callback); +}; + + +/** + * @param {!proto.services.impulse_svc.v1.GetAllRewardsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.getAllRewards = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/GetAllRewards', + request, + metadata || {}, + methodDescriptor_ImpulseService_GetAllRewards); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.impulse_svc.v1.GetAllTeamsRequest, + * !proto.services.impulse_svc.v1.GetAllTeamsResponse>} + */ +const methodDescriptor_ImpulseService_GetAllTeams = new grpc.web.MethodDescriptor( + '/services.impulse_svc.v1.ImpulseService/GetAllTeams', + grpc.web.MethodType.UNARY, + proto.services.impulse_svc.v1.GetAllTeamsRequest, + proto.services.impulse_svc.v1.GetAllTeamsResponse, + /** + * @param {!proto.services.impulse_svc.v1.GetAllTeamsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.impulse_svc.v1.GetAllTeamsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.impulse_svc.v1.GetAllTeamsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.impulse_svc.v1.GetAllTeamsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.getAllTeams = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/GetAllTeams', + request, + metadata || {}, + methodDescriptor_ImpulseService_GetAllTeams, + callback); +}; + + +/** + * @param {!proto.services.impulse_svc.v1.GetAllTeamsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.getAllTeams = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/GetAllTeams', + request, + metadata || {}, + methodDescriptor_ImpulseService_GetAllTeams); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.impulse_svc.v1.StatsForTeamByUserRequest, + * !proto.services.impulse_svc.v1.StatsForTeamByUserResponse>} + */ +const methodDescriptor_ImpulseService_StatsForTeamByUser = new grpc.web.MethodDescriptor( + '/services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', + grpc.web.MethodType.UNARY, + proto.services.impulse_svc.v1.StatsForTeamByUserRequest, + proto.services.impulse_svc.v1.StatsForTeamByUserResponse, + /** + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.impulse_svc.v1.StatsForTeamByUserResponse.deserializeBinary +); + + +/** + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.impulse_svc.v1.StatsForTeamByUserResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.statsForTeamByUser = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', + request, + metadata || {}, + methodDescriptor_ImpulseService_StatsForTeamByUser, + callback); +}; + + +/** + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.statsForTeamByUser = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', + request, + metadata || {}, + methodDescriptor_ImpulseService_StatsForTeamByUser); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.impulse_svc.v1.VerificationRequest, + * !proto.services.impulse_svc.v1.VerificationResponse>} + */ +const methodDescriptor_ImpulseService_Verification = new grpc.web.MethodDescriptor( + '/services.impulse_svc.v1.ImpulseService/Verification', + grpc.web.MethodType.UNARY, + proto.services.impulse_svc.v1.VerificationRequest, + proto.services.impulse_svc.v1.VerificationResponse, + /** + * @param {!proto.services.impulse_svc.v1.VerificationRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.impulse_svc.v1.VerificationResponse.deserializeBinary +); + + +/** + * @param {!proto.services.impulse_svc.v1.VerificationRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.impulse_svc.v1.VerificationResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.impulse_svc.v1.ImpulseServiceClient.prototype.verification = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/Verification', + request, + metadata || {}, + methodDescriptor_ImpulseService_Verification, + callback); +}; + + +/** + * @param {!proto.services.impulse_svc.v1.VerificationRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.impulse_svc.v1.ImpulseServicePromiseClient.prototype.verification = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.impulse_svc.v1.ImpulseService/Verification', + request, + metadata || {}, + methodDescriptor_ImpulseService_Verification); +}; + + +module.exports = proto.services.impulse_svc.v1; + diff --git a/gen/ts/proto/services/impulse_svc/v1/impulse_svc_pb.d.ts b/gen/ts/services/impulse_svc/v1/impulse_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/impulse_svc/v1/impulse_svc_pb.d.ts rename to gen/ts/services/impulse_svc/v1/impulse_svc_pb.d.ts diff --git a/gen/ts/proto/services/impulse_svc/v1/impulse_svc_pb.js b/gen/ts/services/impulse_svc/v1/impulse_svc_pb.js similarity index 57% rename from gen/ts/proto/services/impulse_svc/v1/impulse_svc_pb.js rename to gen/ts/services/impulse_svc/v1/impulse_svc_pb.js index 5282b13b0..d768ecc67 100644 --- a/gen/ts/proto/services/impulse_svc/v1/impulse_svc_pb.js +++ b/gen/ts/services/impulse_svc/v1/impulse_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/impulse_svc/v1/impulse_svc.proto +// source: services/impulse_svc/v1/impulse_svc.proto /** * @fileoverview * @enhanceable @@ -21,40 +21,40 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.ChallengeCategory', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.ChallengeType', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.CreateUserRequest', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.CreateUserResponse', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.Gender', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetAllRewardsRequest', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetAllRewardsResponse', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetAllTeamsRequest', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetAllTeamsResponse', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetRewardsRequest', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetRewardsResponse', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetScoreRequest', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.GetScoreResponse', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.IntegerVerificationType', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.StringVerificationType', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.TrackChallengeRequest', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.TrackChallengeResponse', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.UpdateChallengeRequest', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.UpdateChallengeResponse', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.UpdateUserRequest', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.UpdateUserResponse', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.VerificationRequest', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.VerificationResponse', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification', null, global); -goog.exportSymbol('proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.ChallengeCategory', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.ChallengeType', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.CreateUserRequest', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.CreateUserResponse', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.Gender', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetActiveChallengesRequest', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetActiveChallengesResponse', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetAllRewardsRequest', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetAllRewardsResponse', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetAllTeamsRequest', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetAllTeamsResponse', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetAllTeamsResponse.Team', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetRewardsRequest', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetRewardsResponse', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetRewardsResponse.Reward', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetScoreRequest', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.GetScoreResponse', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.IntegerVerificationType', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.StatsForTeamByUserRequest', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.StatsForTeamByUserResponse', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.StringVerificationType', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.TrackChallengeRequest', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.TrackChallengeResponse', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.UpdateChallengeRequest', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.UpdateChallengeResponse', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.UpdateUserRequest', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.UpdateUserResponse', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.VerificationRequest', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.VerificationResponse', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification', null, global); +goog.exportSymbol('proto.services.impulse_svc.v1.VerificationResponse.StringVerification', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -65,16 +65,16 @@ goog.exportSymbol('proto.proto.services.impulse_svc.v1.VerificationResponse.Stri * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.CreateUserRequest = function(opt_data) { +proto.services.impulse_svc.v1.CreateUserRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.CreateUserRequest, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.CreateUserRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.CreateUserRequest.displayName = 'proto.proto.services.impulse_svc.v1.CreateUserRequest'; + proto.services.impulse_svc.v1.CreateUserRequest.displayName = 'proto.services.impulse_svc.v1.CreateUserRequest'; } /** * Generated by JsPbCodeGenerator. @@ -86,16 +86,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.CreateUserResponse = function(opt_data) { +proto.services.impulse_svc.v1.CreateUserResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.CreateUserResponse, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.CreateUserResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.CreateUserResponse.displayName = 'proto.proto.services.impulse_svc.v1.CreateUserResponse'; + proto.services.impulse_svc.v1.CreateUserResponse.displayName = 'proto.services.impulse_svc.v1.CreateUserResponse'; } /** * Generated by JsPbCodeGenerator. @@ -107,16 +107,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest = function(opt_data) { +proto.services.impulse_svc.v1.UpdateUserRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.UpdateUserRequest, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.UpdateUserRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.UpdateUserRequest.displayName = 'proto.proto.services.impulse_svc.v1.UpdateUserRequest'; + proto.services.impulse_svc.v1.UpdateUserRequest.displayName = 'proto.services.impulse_svc.v1.UpdateUserRequest'; } /** * Generated by JsPbCodeGenerator. @@ -128,16 +128,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse = function(opt_data) { +proto.services.impulse_svc.v1.UpdateUserResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.UpdateUserResponse, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.UpdateUserResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.UpdateUserResponse.displayName = 'proto.proto.services.impulse_svc.v1.UpdateUserResponse'; + proto.services.impulse_svc.v1.UpdateUserResponse.displayName = 'proto.services.impulse_svc.v1.UpdateUserResponse'; } /** * Generated by JsPbCodeGenerator. @@ -149,16 +149,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetAllTeamsRequest = function(opt_data) { +proto.services.impulse_svc.v1.GetAllTeamsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetAllTeamsRequest, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetAllTeamsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.displayName = 'proto.proto.services.impulse_svc.v1.GetAllTeamsRequest'; + proto.services.impulse_svc.v1.GetAllTeamsRequest.displayName = 'proto.services.impulse_svc.v1.GetAllTeamsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -170,16 +170,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.repeatedFields_, null); +proto.services.impulse_svc.v1.GetAllTeamsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.impulse_svc.v1.GetAllTeamsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetAllTeamsResponse, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetAllTeamsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.displayName = 'proto.proto.services.impulse_svc.v1.GetAllTeamsResponse'; + proto.services.impulse_svc.v1.GetAllTeamsResponse.displayName = 'proto.services.impulse_svc.v1.GetAllTeamsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -191,16 +191,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team = function(opt_data) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetAllTeamsResponse.Team, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.displayName = 'proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team'; + proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.displayName = 'proto.services.impulse_svc.v1.GetAllTeamsResponse.Team'; } /** * Generated by JsPbCodeGenerator. @@ -212,16 +212,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest = function(opt_data) { +proto.services.impulse_svc.v1.TrackChallengeRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.TrackChallengeRequest, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.TrackChallengeRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.TrackChallengeRequest.displayName = 'proto.proto.services.impulse_svc.v1.TrackChallengeRequest'; + proto.services.impulse_svc.v1.TrackChallengeRequest.displayName = 'proto.services.impulse_svc.v1.TrackChallengeRequest'; } /** * Generated by JsPbCodeGenerator. @@ -233,16 +233,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.TrackChallengeResponse = function(opt_data) { +proto.services.impulse_svc.v1.TrackChallengeResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.TrackChallengeResponse, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.TrackChallengeResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.TrackChallengeResponse.displayName = 'proto.proto.services.impulse_svc.v1.TrackChallengeResponse'; + proto.services.impulse_svc.v1.TrackChallengeResponse.displayName = 'proto.services.impulse_svc.v1.TrackChallengeResponse'; } /** * Generated by JsPbCodeGenerator. @@ -254,16 +254,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest = function(opt_data) { +proto.services.impulse_svc.v1.GetActiveChallengesRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetActiveChallengesRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.displayName = 'proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest'; + proto.services.impulse_svc.v1.GetActiveChallengesRequest.displayName = 'proto.services.impulse_svc.v1.GetActiveChallengesRequest'; } /** * Generated by JsPbCodeGenerator. @@ -275,16 +275,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.repeatedFields_, null); +proto.services.impulse_svc.v1.GetActiveChallengesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.impulse_svc.v1.GetActiveChallengesResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetActiveChallengesResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.displayName = 'proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse'; + proto.services.impulse_svc.v1.GetActiveChallengesResponse.displayName = 'proto.services.impulse_svc.v1.GetActiveChallengesResponse'; } /** * Generated by JsPbCodeGenerator. @@ -296,16 +296,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge = function(opt_data) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.displayName = 'proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge'; + proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.displayName = 'proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge'; } /** * Generated by JsPbCodeGenerator. @@ -317,16 +317,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest = function(opt_data) { +proto.services.impulse_svc.v1.UpdateChallengeRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.UpdateChallengeRequest, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.UpdateChallengeRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.displayName = 'proto.proto.services.impulse_svc.v1.UpdateChallengeRequest'; + proto.services.impulse_svc.v1.UpdateChallengeRequest.displayName = 'proto.services.impulse_svc.v1.UpdateChallengeRequest'; } /** * Generated by JsPbCodeGenerator. @@ -338,16 +338,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse = function(opt_data) { +proto.services.impulse_svc.v1.UpdateChallengeResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.UpdateChallengeResponse, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.UpdateChallengeResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.displayName = 'proto.proto.services.impulse_svc.v1.UpdateChallengeResponse'; + proto.services.impulse_svc.v1.UpdateChallengeResponse.displayName = 'proto.services.impulse_svc.v1.UpdateChallengeResponse'; } /** * Generated by JsPbCodeGenerator. @@ -359,16 +359,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetScoreRequest = function(opt_data) { +proto.services.impulse_svc.v1.GetScoreRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetScoreRequest, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetScoreRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetScoreRequest.displayName = 'proto.proto.services.impulse_svc.v1.GetScoreRequest'; + proto.services.impulse_svc.v1.GetScoreRequest.displayName = 'proto.services.impulse_svc.v1.GetScoreRequest'; } /** * Generated by JsPbCodeGenerator. @@ -380,16 +380,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetScoreResponse = function(opt_data) { +proto.services.impulse_svc.v1.GetScoreResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetScoreResponse, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetScoreResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetScoreResponse.displayName = 'proto.proto.services.impulse_svc.v1.GetScoreResponse'; + proto.services.impulse_svc.v1.GetScoreResponse.displayName = 'proto.services.impulse_svc.v1.GetScoreResponse'; } /** * Generated by JsPbCodeGenerator. @@ -401,16 +401,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetRewardsRequest = function(opt_data) { +proto.services.impulse_svc.v1.GetRewardsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetRewardsRequest, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetRewardsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetRewardsRequest.displayName = 'proto.proto.services.impulse_svc.v1.GetRewardsRequest'; + proto.services.impulse_svc.v1.GetRewardsRequest.displayName = 'proto.services.impulse_svc.v1.GetRewardsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -422,16 +422,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.impulse_svc.v1.GetRewardsResponse.repeatedFields_, null); +proto.services.impulse_svc.v1.GetRewardsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.impulse_svc.v1.GetRewardsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetRewardsResponse, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetRewardsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetRewardsResponse.displayName = 'proto.proto.services.impulse_svc.v1.GetRewardsResponse'; + proto.services.impulse_svc.v1.GetRewardsResponse.displayName = 'proto.services.impulse_svc.v1.GetRewardsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -443,16 +443,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward = function(opt_data) { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetRewardsResponse.Reward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.displayName = 'proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward'; + proto.services.impulse_svc.v1.GetRewardsResponse.Reward.displayName = 'proto.services.impulse_svc.v1.GetRewardsResponse.Reward'; } /** * Generated by JsPbCodeGenerator. @@ -464,16 +464,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetAllRewardsRequest = function(opt_data) { +proto.services.impulse_svc.v1.GetAllRewardsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetAllRewardsRequest, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetAllRewardsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.displayName = 'proto.proto.services.impulse_svc.v1.GetAllRewardsRequest'; + proto.services.impulse_svc.v1.GetAllRewardsRequest.displayName = 'proto.services.impulse_svc.v1.GetAllRewardsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -485,16 +485,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.repeatedFields_, null); +proto.services.impulse_svc.v1.GetAllRewardsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.impulse_svc.v1.GetAllRewardsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetAllRewardsResponse, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetAllRewardsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.displayName = 'proto.proto.services.impulse_svc.v1.GetAllRewardsResponse'; + proto.services.impulse_svc.v1.GetAllRewardsResponse.displayName = 'proto.services.impulse_svc.v1.GetAllRewardsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -506,16 +506,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward = function(opt_data) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.displayName = 'proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward'; + proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.displayName = 'proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward'; } /** * Generated by JsPbCodeGenerator. @@ -527,16 +527,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest = function(opt_data) { +proto.services.impulse_svc.v1.StatsForTeamByUserRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.StatsForTeamByUserRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.displayName = 'proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest'; + proto.services.impulse_svc.v1.StatsForTeamByUserRequest.displayName = 'proto.services.impulse_svc.v1.StatsForTeamByUserRequest'; } /** * Generated by JsPbCodeGenerator. @@ -548,16 +548,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.repeatedFields_, null); +proto.services.impulse_svc.v1.StatsForTeamByUserResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.impulse_svc.v1.StatsForTeamByUserResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.StatsForTeamByUserResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.displayName = 'proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse'; + proto.services.impulse_svc.v1.StatsForTeamByUserResponse.displayName = 'proto.services.impulse_svc.v1.StatsForTeamByUserResponse'; } /** * Generated by JsPbCodeGenerator. @@ -569,16 +569,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount = function(opt_data) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.displayName = 'proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount'; + proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.displayName = 'proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount'; } /** * Generated by JsPbCodeGenerator. @@ -590,16 +590,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.VerificationRequest = function(opt_data) { +proto.services.impulse_svc.v1.VerificationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.VerificationRequest, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.VerificationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.VerificationRequest.displayName = 'proto.proto.services.impulse_svc.v1.VerificationRequest'; + proto.services.impulse_svc.v1.VerificationRequest.displayName = 'proto.services.impulse_svc.v1.VerificationRequest'; } /** * Generated by JsPbCodeGenerator. @@ -611,16 +611,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.VerificationResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.impulse_svc.v1.VerificationResponse.repeatedFields_, null); +proto.services.impulse_svc.v1.VerificationResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.impulse_svc.v1.VerificationResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.VerificationResponse, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.VerificationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.VerificationResponse.displayName = 'proto.proto.services.impulse_svc.v1.VerificationResponse'; + proto.services.impulse_svc.v1.VerificationResponse.displayName = 'proto.services.impulse_svc.v1.VerificationResponse'; } /** * Generated by JsPbCodeGenerator. @@ -632,16 +632,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification = function(opt_data) { +proto.services.impulse_svc.v1.VerificationResponse.StringVerification = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.VerificationResponse.StringVerification, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.displayName = 'proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification'; + proto.services.impulse_svc.v1.VerificationResponse.StringVerification.displayName = 'proto.services.impulse_svc.v1.VerificationResponse.StringVerification'; } /** * Generated by JsPbCodeGenerator. @@ -653,16 +653,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification = function(opt_data) { +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification, jspb.Message); +goog.inherits(proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.displayName = 'proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification'; + proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.displayName = 'proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification'; } @@ -680,8 +680,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.CreateUserRequest.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.CreateUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.CreateUserRequest.toObject(opt_includeInstance, this); }; @@ -690,11 +690,11 @@ proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.CreateUserRequest} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.CreateUserRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.CreateUserRequest.toObject = function(includeInstance, msg) { var f, obj = { username: jspb.Message.getFieldWithDefault(msg, 1, ""), gender: jspb.Message.getFieldWithDefault(msg, 2, 0), @@ -715,23 +715,23 @@ proto.proto.services.impulse_svc.v1.CreateUserRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.CreateUserRequest} + * @return {!proto.services.impulse_svc.v1.CreateUserRequest} */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.CreateUserRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.CreateUserRequest; - return proto.proto.services.impulse_svc.v1.CreateUserRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.CreateUserRequest; + return proto.services.impulse_svc.v1.CreateUserRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.CreateUserRequest} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.CreateUserRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.CreateUserRequest} + * @return {!proto.services.impulse_svc.v1.CreateUserRequest} */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.CreateUserRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -743,7 +743,7 @@ proto.proto.services.impulse_svc.v1.CreateUserRequest.deserializeBinaryFromReade msg.setUsername(value); break; case 2: - var value = /** @type {!proto.proto.services.impulse_svc.v1.Gender} */ (reader.readEnum()); + var value = /** @type {!proto.services.impulse_svc.v1.Gender} */ (reader.readEnum()); msg.setGender(value); break; case 3: @@ -775,9 +775,9 @@ proto.proto.services.impulse_svc.v1.CreateUserRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.CreateUserRequest.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.CreateUserRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -785,11 +785,11 @@ proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.CreateUserRequest} message + * @param {!proto.services.impulse_svc.v1.CreateUserRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.CreateUserRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUsername(); if (f.length > 0) { @@ -840,34 +840,34 @@ proto.proto.services.impulse_svc.v1.CreateUserRequest.serializeBinaryToWriter = * optional string username = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.getUsername = function() { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.getUsername = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.CreateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.CreateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.setUsername = function(value) { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.setUsername = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional Gender gender = 2; - * @return {!proto.proto.services.impulse_svc.v1.Gender} + * @return {!proto.services.impulse_svc.v1.Gender} */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.getGender = function() { - return /** @type {!proto.proto.services.impulse_svc.v1.Gender} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.services.impulse_svc.v1.CreateUserRequest.prototype.getGender = function() { + return /** @type {!proto.services.impulse_svc.v1.Gender} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {!proto.proto.services.impulse_svc.v1.Gender} value - * @return {!proto.proto.services.impulse_svc.v1.CreateUserRequest} returns this + * @param {!proto.services.impulse_svc.v1.Gender} value + * @return {!proto.services.impulse_svc.v1.CreateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.setGender = function(value) { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.setGender = function(value) { return jspb.Message.setProto3EnumField(this, 2, value); }; @@ -876,16 +876,16 @@ proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.setGender = func * optional string birthday = 3; * @return {string} */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.getBirthday = function() { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.getBirthday = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.CreateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.CreateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.setBirthday = function(value) { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.setBirthday = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -894,16 +894,16 @@ proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.setBirthday = fu * optional float pal = 4; * @return {number} */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.getPal = function() { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.getPal = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.CreateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.CreateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.setPal = function(value) { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.setPal = function(value) { return jspb.Message.setProto3FloatField(this, 4, value); }; @@ -912,16 +912,16 @@ proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.setPal = functio * optional int32 length = 5; * @return {number} */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.getLength = function() { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.getLength = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.CreateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.CreateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.setLength = function(value) { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.setLength = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; @@ -930,16 +930,16 @@ proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.setLength = func * optional float weight = 6; * @return {number} */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.getWeight = function() { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.getWeight = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.CreateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.CreateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.CreateUserRequest.prototype.setWeight = function(value) { +proto.services.impulse_svc.v1.CreateUserRequest.prototype.setWeight = function(value) { return jspb.Message.setProto3FloatField(this, 6, value); }; @@ -960,8 +960,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.CreateUserResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.CreateUserResponse.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.CreateUserResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.CreateUserResponse.toObject(opt_includeInstance, this); }; @@ -970,11 +970,11 @@ proto.proto.services.impulse_svc.v1.CreateUserResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.CreateUserResponse} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.CreateUserResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.CreateUserResponse.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.CreateUserResponse.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -990,23 +990,23 @@ proto.proto.services.impulse_svc.v1.CreateUserResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.CreateUserResponse} + * @return {!proto.services.impulse_svc.v1.CreateUserResponse} */ -proto.proto.services.impulse_svc.v1.CreateUserResponse.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.CreateUserResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.CreateUserResponse; - return proto.proto.services.impulse_svc.v1.CreateUserResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.CreateUserResponse; + return proto.services.impulse_svc.v1.CreateUserResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.CreateUserResponse} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.CreateUserResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.CreateUserResponse} + * @return {!proto.services.impulse_svc.v1.CreateUserResponse} */ -proto.proto.services.impulse_svc.v1.CreateUserResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.CreateUserResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1030,9 +1030,9 @@ proto.proto.services.impulse_svc.v1.CreateUserResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.CreateUserResponse.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.CreateUserResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.CreateUserResponse.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.CreateUserResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1040,11 +1040,11 @@ proto.proto.services.impulse_svc.v1.CreateUserResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.CreateUserResponse} message + * @param {!proto.services.impulse_svc.v1.CreateUserResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.CreateUserResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.CreateUserResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -1060,16 +1060,16 @@ proto.proto.services.impulse_svc.v1.CreateUserResponse.serializeBinaryToWriter = * optional string user_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.CreateUserResponse.prototype.getUserId = function() { +proto.services.impulse_svc.v1.CreateUserResponse.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.CreateUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.CreateUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.CreateUserResponse.prototype.setUserId = function(value) { +proto.services.impulse_svc.v1.CreateUserResponse.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1090,8 +1090,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.UpdateUserRequest.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.UpdateUserRequest.toObject(opt_includeInstance, this); }; @@ -1100,11 +1100,11 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.UpdateUserRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.UpdateUserRequest.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, ""), teamId: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1126,23 +1126,23 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.UpdateUserRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.UpdateUserRequest; - return proto.proto.services.impulse_svc.v1.UpdateUserRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.UpdateUserRequest; + return proto.services.impulse_svc.v1.UpdateUserRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.UpdateUserRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.UpdateUserRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1158,7 +1158,7 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.deserializeBinaryFromReade msg.setTeamId(value); break; case 3: - var value = /** @type {!proto.proto.services.impulse_svc.v1.Gender} */ (reader.readEnum()); + var value = /** @type {!proto.services.impulse_svc.v1.Gender} */ (reader.readEnum()); msg.setGender(value); break; case 4: @@ -1190,9 +1190,9 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.UpdateUserRequest.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.UpdateUserRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1200,11 +1200,11 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} message + * @param {!proto.services.impulse_svc.v1.UpdateUserRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.UpdateUserRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -1220,7 +1220,7 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.serializeBinaryToWriter = f ); } - f = /** @type {!proto.proto.services.impulse_svc.v1.Gender} */ (jspb.Message.getField(message, 3)); + f = /** @type {!proto.services.impulse_svc.v1.Gender} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeEnum( 3, @@ -1262,16 +1262,16 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.serializeBinaryToWriter = * optional string user_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getUserId = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setUserId = function(value) { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1280,25 +1280,25 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setUserId = func * optional string team_id = 2; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getTeamId = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getTeamId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setTeamId = function(value) { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setTeamId = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearTeamId = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearTeamId = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -1307,34 +1307,34 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearTeamId = fu * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasTeamId = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasTeamId = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional Gender gender = 3; - * @return {!proto.proto.services.impulse_svc.v1.Gender} + * @return {!proto.services.impulse_svc.v1.Gender} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getGender = function() { - return /** @type {!proto.proto.services.impulse_svc.v1.Gender} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getGender = function() { + return /** @type {!proto.services.impulse_svc.v1.Gender} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {!proto.proto.services.impulse_svc.v1.Gender} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @param {!proto.services.impulse_svc.v1.Gender} value + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setGender = function(value) { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setGender = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearGender = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearGender = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -1343,7 +1343,7 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearGender = fu * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasGender = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasGender = function() { return jspb.Message.getField(this, 3) != null; }; @@ -1352,25 +1352,25 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasGender = func * optional string birthday = 4; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getBirthday = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getBirthday = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setBirthday = function(value) { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setBirthday = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearBirthday = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearBirthday = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -1379,7 +1379,7 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearBirthday = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasBirthday = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasBirthday = function() { return jspb.Message.getField(this, 4) != null; }; @@ -1388,25 +1388,25 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasBirthday = fu * optional float pal = 5; * @return {number} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getPal = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getPal = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setPal = function(value) { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setPal = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearPal = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearPal = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -1415,7 +1415,7 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearPal = funct * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasPal = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasPal = function() { return jspb.Message.getField(this, 5) != null; }; @@ -1424,25 +1424,25 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasPal = functio * optional int32 length = 6; * @return {number} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getLength = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getLength = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setLength = function(value) { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setLength = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearLength = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearLength = function() { return jspb.Message.setField(this, 6, undefined); }; @@ -1451,7 +1451,7 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearLength = fu * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasLength = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasLength = function() { return jspb.Message.getField(this, 6) != null; }; @@ -1460,25 +1460,25 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasLength = func * optional float weight = 7; * @return {number} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getWeight = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.getWeight = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setWeight = function(value) { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.setWeight = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearWeight = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearWeight = function() { return jspb.Message.setField(this, 7, undefined); }; @@ -1487,7 +1487,7 @@ proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.clearWeight = fu * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasWeight = function() { +proto.services.impulse_svc.v1.UpdateUserRequest.prototype.hasWeight = function() { return jspb.Message.getField(this, 7) != null; }; @@ -1508,8 +1508,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.UpdateUserResponse.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.UpdateUserResponse.toObject(opt_includeInstance, this); }; @@ -1518,11 +1518,11 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.UpdateUserResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.UpdateUserResponse.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, ""), teamId: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1544,23 +1544,23 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} + * @return {!proto.services.impulse_svc.v1.UpdateUserResponse} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.UpdateUserResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.UpdateUserResponse; - return proto.proto.services.impulse_svc.v1.UpdateUserResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.UpdateUserResponse; + return proto.services.impulse_svc.v1.UpdateUserResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.UpdateUserResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} + * @return {!proto.services.impulse_svc.v1.UpdateUserResponse} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.UpdateUserResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1576,7 +1576,7 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.deserializeBinaryFromRead msg.setTeamId(value); break; case 3: - var value = /** @type {!proto.proto.services.impulse_svc.v1.Gender} */ (reader.readEnum()); + var value = /** @type {!proto.services.impulse_svc.v1.Gender} */ (reader.readEnum()); msg.setGender(value); break; case 4: @@ -1608,9 +1608,9 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.UpdateUserResponse.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.UpdateUserResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1618,11 +1618,11 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} message + * @param {!proto.services.impulse_svc.v1.UpdateUserResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.UpdateUserResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -1680,16 +1680,16 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.serializeBinaryToWriter = * optional string user_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getUserId = function() { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setUserId = function(value) { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1698,25 +1698,25 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setUserId = fun * optional string team_id = 2; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getTeamId = function() { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getTeamId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setTeamId = function(value) { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setTeamId = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.clearTeamId = function() { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.clearTeamId = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -1725,25 +1725,25 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.clearTeamId = f * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.hasTeamId = function() { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.hasTeamId = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional Gender gender = 3; - * @return {!proto.proto.services.impulse_svc.v1.Gender} + * @return {!proto.services.impulse_svc.v1.Gender} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getGender = function() { - return /** @type {!proto.proto.services.impulse_svc.v1.Gender} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getGender = function() { + return /** @type {!proto.services.impulse_svc.v1.Gender} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {!proto.proto.services.impulse_svc.v1.Gender} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} returns this + * @param {!proto.services.impulse_svc.v1.Gender} value + * @return {!proto.services.impulse_svc.v1.UpdateUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setGender = function(value) { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setGender = function(value) { return jspb.Message.setProto3EnumField(this, 3, value); }; @@ -1752,16 +1752,16 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setGender = fun * optional string birthday = 4; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getBirthday = function() { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getBirthday = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setBirthday = function(value) { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setBirthday = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -1770,16 +1770,16 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setBirthday = f * optional float pal = 5; * @return {number} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getPal = function() { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getPal = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setPal = function(value) { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setPal = function(value) { return jspb.Message.setProto3FloatField(this, 5, value); }; @@ -1788,16 +1788,16 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setPal = functi * optional int32 length = 6; * @return {number} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getLength = function() { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getLength = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setLength = function(value) { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setLength = function(value) { return jspb.Message.setProto3IntField(this, 6, value); }; @@ -1806,16 +1806,16 @@ proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setLength = fun * optional float weight = 7; * @return {number} */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getWeight = function() { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.getWeight = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setWeight = function(value) { +proto.services.impulse_svc.v1.UpdateUserResponse.prototype.setWeight = function(value) { return jspb.Message.setProto3FloatField(this, 7, value); }; @@ -1836,8 +1836,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetAllTeamsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetAllTeamsRequest.toObject(opt_includeInstance, this); }; @@ -1846,11 +1846,11 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsRequest} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetAllTeamsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetAllTeamsRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -1866,23 +1866,23 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsRequest} + * @return {!proto.services.impulse_svc.v1.GetAllTeamsRequest} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetAllTeamsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetAllTeamsRequest; - return proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetAllTeamsRequest; + return proto.services.impulse_svc.v1.GetAllTeamsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsRequest} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetAllTeamsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsRequest} + * @return {!proto.services.impulse_svc.v1.GetAllTeamsRequest} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetAllTeamsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1902,9 +1902,9 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetAllTeamsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetAllTeamsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1912,11 +1912,11 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsRequest} message + * @param {!proto.services.impulse_svc.v1.GetAllTeamsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetAllTeamsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -1927,7 +1927,7 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsRequest.serializeBinaryToWriter = * @private {!Array} * @const */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.repeatedFields_ = [1]; +proto.services.impulse_svc.v1.GetAllTeamsResponse.repeatedFields_ = [1]; @@ -1944,8 +1944,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetAllTeamsResponse.toObject(opt_includeInstance, this); }; @@ -1954,14 +1954,14 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetAllTeamsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.toObject = function(includeInstance, msg) { var f, obj = { teamsList: jspb.Message.toObjectList(msg.getTeamsList(), - proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.toObject, includeInstance) + proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.toObject, includeInstance) }; if (includeInstance) { @@ -1975,23 +1975,23 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse} + * @return {!proto.services.impulse_svc.v1.GetAllTeamsResponse} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetAllTeamsResponse; - return proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetAllTeamsResponse; + return proto.services.impulse_svc.v1.GetAllTeamsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetAllTeamsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse} + * @return {!proto.services.impulse_svc.v1.GetAllTeamsResponse} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1999,8 +1999,8 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.deserializeBinaryFromRea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team; - reader.readMessage(value,proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.deserializeBinaryFromReader); + var value = new proto.services.impulse_svc.v1.GetAllTeamsResponse.Team; + reader.readMessage(value,proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.deserializeBinaryFromReader); msg.addTeams(value); break; default: @@ -2016,9 +2016,9 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetAllTeamsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2026,18 +2026,18 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse} message + * @param {!proto.services.impulse_svc.v1.GetAllTeamsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTeamsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.serializeBinaryToWriter + proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.serializeBinaryToWriter ); } }; @@ -2059,8 +2059,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.toObject(opt_includeInstance, this); }; @@ -2069,11 +2069,11 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.toObject = function(includeInstance, msg) { var f, obj = { teamId: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2091,23 +2091,23 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.toObject = function /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} + * @return {!proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team; - return proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetAllTeamsResponse.Team; + return proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} + * @return {!proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2139,9 +2139,9 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.deserializeBinaryFr * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2149,11 +2149,11 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.serialize /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} message + * @param {!proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTeamId(); if (f.length > 0) { @@ -2183,16 +2183,16 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.serializeBinaryToWr * optional string team_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.getTeamId = function() { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.getTeamId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} returns this + * @return {!proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} returns this */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.setTeamId = function(value) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.setTeamId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2201,16 +2201,16 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.setTeamId * optional string name = 2; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.getName = function() { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} returns this + * @return {!proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} returns this */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.setName = function(value) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2219,54 +2219,54 @@ proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.setName = * optional string description = 3; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.getDescription = function() { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} returns this + * @return {!proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} returns this */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.setDescription = function(value) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.Team.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * repeated Team teams = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.getTeamsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team, 1)); +proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.getTeamsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.impulse_svc.v1.GetAllTeamsResponse.Team, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse} returns this + * @param {!Array} value + * @return {!proto.services.impulse_svc.v1.GetAllTeamsResponse} returns this */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.setTeamsList = function(value) { +proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.setTeamsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team=} opt_value + * @param {!proto.services.impulse_svc.v1.GetAllTeamsResponse.Team=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} + * @return {!proto.services.impulse_svc.v1.GetAllTeamsResponse.Team} */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.addTeams = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.Team, opt_index); +proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.addTeams = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.impulse_svc.v1.GetAllTeamsResponse.Team, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.impulse_svc.v1.GetAllTeamsResponse} returns this + * @return {!proto.services.impulse_svc.v1.GetAllTeamsResponse} returns this */ -proto.proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.clearTeamsList = function() { +proto.services.impulse_svc.v1.GetAllTeamsResponse.prototype.clearTeamsList = function() { return this.setTeamsList([]); }; @@ -2287,8 +2287,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.TrackChallengeRequest.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.TrackChallengeRequest.toObject(opt_includeInstance, this); }; @@ -2297,11 +2297,11 @@ proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.TrackChallengeRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.TrackChallengeRequest.toObject = function(includeInstance, msg) { var f, obj = { challengeId: jspb.Message.getFieldWithDefault(msg, 1, ""), userId: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2320,23 +2320,23 @@ proto.proto.services.impulse_svc.v1.TrackChallengeRequest.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} + * @return {!proto.services.impulse_svc.v1.TrackChallengeRequest} */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.TrackChallengeRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.TrackChallengeRequest; - return proto.proto.services.impulse_svc.v1.TrackChallengeRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.TrackChallengeRequest; + return proto.services.impulse_svc.v1.TrackChallengeRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.TrackChallengeRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} + * @return {!proto.services.impulse_svc.v1.TrackChallengeRequest} */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.TrackChallengeRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2372,9 +2372,9 @@ proto.proto.services.impulse_svc.v1.TrackChallengeRequest.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.TrackChallengeRequest.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.TrackChallengeRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2382,11 +2382,11 @@ proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} message + * @param {!proto.services.impulse_svc.v1.TrackChallengeRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.TrackChallengeRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getChallengeId(); if (f.length > 0) { @@ -2423,16 +2423,16 @@ proto.proto.services.impulse_svc.v1.TrackChallengeRequest.serializeBinaryToWrite * optional string challenge_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.getChallengeId = function() { +proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.getChallengeId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.TrackChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.setChallengeId = function(value) { +proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.setChallengeId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2441,16 +2441,16 @@ proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.setChallenge * optional string user_id = 2; * @return {string} */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.getUserId = function() { +proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.TrackChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.setUserId = function(value) { +proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2459,16 +2459,16 @@ proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.setUserId = * optional uint64 score = 3; * @return {number} */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.getScore = function() { +proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.getScore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.TrackChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.setScore = function(value) { +proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.setScore = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; @@ -2477,16 +2477,16 @@ proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.setScore = f * optional string done_at = 4; * @return {string} */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.getDoneAt = function() { +proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.getDoneAt = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.TrackChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.TrackChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.setDoneAt = function(value) { +proto.services.impulse_svc.v1.TrackChallengeRequest.prototype.setDoneAt = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -2507,8 +2507,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.TrackChallengeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.TrackChallengeResponse.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.TrackChallengeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.TrackChallengeResponse.toObject(opt_includeInstance, this); }; @@ -2517,11 +2517,11 @@ proto.proto.services.impulse_svc.v1.TrackChallengeResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.TrackChallengeResponse} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.TrackChallengeResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.TrackChallengeResponse.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.TrackChallengeResponse.toObject = function(includeInstance, msg) { var f, obj = { challengeId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2537,23 +2537,23 @@ proto.proto.services.impulse_svc.v1.TrackChallengeResponse.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.TrackChallengeResponse} + * @return {!proto.services.impulse_svc.v1.TrackChallengeResponse} */ -proto.proto.services.impulse_svc.v1.TrackChallengeResponse.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.TrackChallengeResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.TrackChallengeResponse; - return proto.proto.services.impulse_svc.v1.TrackChallengeResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.TrackChallengeResponse; + return proto.services.impulse_svc.v1.TrackChallengeResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.TrackChallengeResponse} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.TrackChallengeResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.TrackChallengeResponse} + * @return {!proto.services.impulse_svc.v1.TrackChallengeResponse} */ -proto.proto.services.impulse_svc.v1.TrackChallengeResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.TrackChallengeResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2577,9 +2577,9 @@ proto.proto.services.impulse_svc.v1.TrackChallengeResponse.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.TrackChallengeResponse.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.TrackChallengeResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.TrackChallengeResponse.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.TrackChallengeResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2587,11 +2587,11 @@ proto.proto.services.impulse_svc.v1.TrackChallengeResponse.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.TrackChallengeResponse} message + * @param {!proto.services.impulse_svc.v1.TrackChallengeResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.TrackChallengeResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.TrackChallengeResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getChallengeId(); if (f.length > 0) { @@ -2607,16 +2607,16 @@ proto.proto.services.impulse_svc.v1.TrackChallengeResponse.serializeBinaryToWrit * optional string challenge_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.TrackChallengeResponse.prototype.getChallengeId = function() { +proto.services.impulse_svc.v1.TrackChallengeResponse.prototype.getChallengeId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.TrackChallengeResponse} returns this + * @return {!proto.services.impulse_svc.v1.TrackChallengeResponse} returns this */ -proto.proto.services.impulse_svc.v1.TrackChallengeResponse.prototype.setChallengeId = function(value) { +proto.services.impulse_svc.v1.TrackChallengeResponse.prototype.setChallengeId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2637,8 +2637,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetActiveChallengesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetActiveChallengesRequest.toObject(opt_includeInstance, this); }; @@ -2647,11 +2647,11 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.prototype.toObjec * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetActiveChallengesRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2667,23 +2667,23 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.toObject = functi /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest} + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesRequest} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetActiveChallengesRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest; - return proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetActiveChallengesRequest; + return proto.services.impulse_svc.v1.GetActiveChallengesRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest} + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesRequest} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetActiveChallengesRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2703,9 +2703,9 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.deserializeBinary * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetActiveChallengesRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetActiveChallengesRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2713,11 +2713,11 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.prototype.seriali /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest} message + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetActiveChallengesRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2728,7 +2728,7 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesRequest.serializeBinaryTo * @private {!Array} * @const */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.repeatedFields_ = [1]; +proto.services.impulse_svc.v1.GetActiveChallengesResponse.repeatedFields_ = [1]; @@ -2745,8 +2745,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetActiveChallengesResponse.toObject(opt_includeInstance, this); }; @@ -2755,14 +2755,14 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.toObject = function(includeInstance, msg) { var f, obj = { challengesList: jspb.Message.toObjectList(msg.getChallengesList(), - proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.toObject, includeInstance) + proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.toObject, includeInstance) }; if (includeInstance) { @@ -2776,23 +2776,23 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse} + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse; - return proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetActiveChallengesResponse; + return proto.services.impulse_svc.v1.GetActiveChallengesResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse} + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2800,8 +2800,8 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.deserializeBinar var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge; - reader.readMessage(value,proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.deserializeBinaryFromReader); + var value = new proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge; + reader.readMessage(value,proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.deserializeBinaryFromReader); msg.addChallenges(value); break; default: @@ -2817,9 +2817,9 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetActiveChallengesResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2827,18 +2827,18 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse} message + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getChallengesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.serializeBinaryToWriter + proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.serializeBinaryToWriter ); } }; @@ -2860,8 +2860,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.toObject(opt_includeInstance, this); }; @@ -2870,11 +2870,11 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.protot * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.toObject = function(includeInstance, msg) { var f, obj = { challengeId: jspb.Message.getFieldWithDefault(msg, 1, ""), title: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2899,23 +2899,23 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.toObje /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge; - return proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge; + return proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2943,11 +2943,11 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.deseri msg.setEndAt(value); break; case 6: - var value = /** @type {!proto.proto.services.impulse_svc.v1.ChallengeCategory} */ (reader.readEnum()); + var value = /** @type {!proto.services.impulse_svc.v1.ChallengeCategory} */ (reader.readEnum()); msg.setCategory(value); break; case 7: - var value = /** @type {!proto.proto.services.impulse_svc.v1.ChallengeType} */ (reader.readEnum()); + var value = /** @type {!proto.services.impulse_svc.v1.ChallengeType} */ (reader.readEnum()); msg.setType(value); break; case 8: @@ -2975,9 +2975,9 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.deseri * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2985,11 +2985,11 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.protot /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} message + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getChallengeId(); if (f.length > 0) { @@ -3068,16 +3068,16 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.serial * optional string challenge_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getChallengeId = function() { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getChallengeId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setChallengeId = function(value) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setChallengeId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3086,16 +3086,16 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.protot * optional string title = 2; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getTitle = function() { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getTitle = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setTitle = function(value) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setTitle = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3104,16 +3104,16 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.protot * optional string description = 3; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getDescription = function() { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setDescription = function(value) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -3122,16 +3122,16 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.protot * optional string start_at = 4; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getStartAt = function() { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getStartAt = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setStartAt = function(value) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setStartAt = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -3140,52 +3140,52 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.protot * optional string end_at = 5; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getEndAt = function() { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getEndAt = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setEndAt = function(value) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setEndAt = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; /** * optional ChallengeCategory category = 6; - * @return {!proto.proto.services.impulse_svc.v1.ChallengeCategory} + * @return {!proto.services.impulse_svc.v1.ChallengeCategory} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getCategory = function() { - return /** @type {!proto.proto.services.impulse_svc.v1.ChallengeCategory} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getCategory = function() { + return /** @type {!proto.services.impulse_svc.v1.ChallengeCategory} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** - * @param {!proto.proto.services.impulse_svc.v1.ChallengeCategory} value - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this + * @param {!proto.services.impulse_svc.v1.ChallengeCategory} value + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setCategory = function(value) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setCategory = function(value) { return jspb.Message.setProto3EnumField(this, 6, value); }; /** * optional ChallengeType type = 7; - * @return {!proto.proto.services.impulse_svc.v1.ChallengeType} + * @return {!proto.services.impulse_svc.v1.ChallengeType} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getType = function() { - return /** @type {!proto.proto.services.impulse_svc.v1.ChallengeType} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getType = function() { + return /** @type {!proto.services.impulse_svc.v1.ChallengeType} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** - * @param {!proto.proto.services.impulse_svc.v1.ChallengeType} value - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this + * @param {!proto.services.impulse_svc.v1.ChallengeType} value + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setType = function(value) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setType = function(value) { return jspb.Message.setProto3EnumField(this, 7, value); }; @@ -3194,16 +3194,16 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.protot * optional uint64 threshold = 8; * @return {number} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getThreshold = function() { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getThreshold = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setThreshold = function(value) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setThreshold = function(value) { return jspb.Message.setProto3IntField(this, 8, value); }; @@ -3212,16 +3212,16 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.protot * optional uint64 points = 9; * @return {number} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getPoints = function() { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getPoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setPoints = function(value) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setPoints = function(value) { return jspb.Message.setProto3IntField(this, 9, value); }; @@ -3230,54 +3230,54 @@ proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.protot * optional string unit = 10; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getUnit = function() { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.getUnit = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setUnit = function(value) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge.prototype.setUnit = function(value) { return jspb.Message.setProto3StringField(this, 10, value); }; /** * repeated Challenge challenges = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.getChallengesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge, 1)); +proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.getChallengesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse} returns this + * @param {!Array} value + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.setChallengesList = function(value) { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.setChallengesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge=} opt_value + * @param {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge} */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.addChallenges = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge, opt_index); +proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.addChallenges = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.impulse_svc.v1.GetActiveChallengesResponse.Challenge, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse} returns this + * @return {!proto.services.impulse_svc.v1.GetActiveChallengesResponse} returns this */ -proto.proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.clearChallengesList = function() { +proto.services.impulse_svc.v1.GetActiveChallengesResponse.prototype.clearChallengesList = function() { return this.setChallengesList([]); }; @@ -3298,8 +3298,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.UpdateChallengeRequest.toObject(opt_includeInstance, this); }; @@ -3308,11 +3308,11 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.UpdateChallengeRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.toObject = function(includeInstance, msg) { var f, obj = { challengeId: jspb.Message.getFieldWithDefault(msg, 1, ""), title: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -3336,23 +3336,23 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.UpdateChallengeRequest; - return proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.UpdateChallengeRequest; + return proto.services.impulse_svc.v1.UpdateChallengeRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.UpdateChallengeRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3380,7 +3380,7 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.deserializeBinaryFrom msg.setEndAt(value); break; case 6: - var value = /** @type {!proto.proto.services.impulse_svc.v1.ChallengeCategory} */ (reader.readEnum()); + var value = /** @type {!proto.services.impulse_svc.v1.ChallengeCategory} */ (reader.readEnum()); msg.setCategory(value); break; case 7: @@ -3408,9 +3408,9 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.UpdateChallengeRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3418,11 +3418,11 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} message + * @param {!proto.services.impulse_svc.v1.UpdateChallengeRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getChallengeId(); if (f.length > 0) { @@ -3459,7 +3459,7 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.serializeBinaryToWrit f ); } - f = /** @type {!proto.proto.services.impulse_svc.v1.ChallengeCategory} */ (jspb.Message.getField(message, 6)); + f = /** @type {!proto.services.impulse_svc.v1.ChallengeCategory} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeEnum( 6, @@ -3494,16 +3494,16 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.serializeBinaryToWrit * optional string challenge_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getChallengeId = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getChallengeId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setChallengeId = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setChallengeId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3512,25 +3512,25 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setChalleng * optional string title = 2; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getTitle = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getTitle = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setTitle = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setTitle = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearTitle = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearTitle = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -3539,7 +3539,7 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearTitle * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasTitle = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasTitle = function() { return jspb.Message.getField(this, 2) != null; }; @@ -3548,25 +3548,25 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasTitle = * optional string description = 3; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getDescription = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setDescription = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setDescription = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearDescription = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearDescription = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -3575,7 +3575,7 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearDescri * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasDescription = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasDescription = function() { return jspb.Message.getField(this, 3) != null; }; @@ -3584,25 +3584,25 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasDescript * optional string start_at = 4; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getStartAt = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getStartAt = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setStartAt = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setStartAt = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearStartAt = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearStartAt = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -3611,7 +3611,7 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearStartA * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasStartAt = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasStartAt = function() { return jspb.Message.getField(this, 4) != null; }; @@ -3620,25 +3620,25 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasStartAt * optional string end_at = 5; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getEndAt = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getEndAt = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setEndAt = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setEndAt = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearEndAt = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearEndAt = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -3647,34 +3647,34 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearEndAt * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasEndAt = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasEndAt = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional ChallengeCategory category = 6; - * @return {!proto.proto.services.impulse_svc.v1.ChallengeCategory} + * @return {!proto.services.impulse_svc.v1.ChallengeCategory} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getCategory = function() { - return /** @type {!proto.proto.services.impulse_svc.v1.ChallengeCategory} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getCategory = function() { + return /** @type {!proto.services.impulse_svc.v1.ChallengeCategory} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** - * @param {!proto.proto.services.impulse_svc.v1.ChallengeCategory} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @param {!proto.services.impulse_svc.v1.ChallengeCategory} value + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setCategory = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setCategory = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearCategory = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearCategory = function() { return jspb.Message.setField(this, 6, undefined); }; @@ -3683,7 +3683,7 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearCatego * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasCategory = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasCategory = function() { return jspb.Message.getField(this, 6) != null; }; @@ -3692,25 +3692,25 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasCategory * optional uint64 threshold = 7; * @return {number} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getThreshold = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getThreshold = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setThreshold = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setThreshold = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearThreshold = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearThreshold = function() { return jspb.Message.setField(this, 7, undefined); }; @@ -3719,7 +3719,7 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearThresh * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasThreshold = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasThreshold = function() { return jspb.Message.getField(this, 7) != null; }; @@ -3728,25 +3728,25 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasThreshol * optional uint64 points = 8; * @return {number} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getPoints = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getPoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setPoints = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setPoints = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearPoints = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearPoints = function() { return jspb.Message.setField(this, 8, undefined); }; @@ -3755,7 +3755,7 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearPoints * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasPoints = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasPoints = function() { return jspb.Message.getField(this, 8) != null; }; @@ -3764,25 +3764,25 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasPoints = * optional string unit = 9; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getUnit = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.getUnit = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setUnit = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.setUnit = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeRequest} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearUnit = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearUnit = function() { return jspb.Message.setField(this, 9, undefined); }; @@ -3791,7 +3791,7 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.clearUnit = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasUnit = function() { +proto.services.impulse_svc.v1.UpdateChallengeRequest.prototype.hasUnit = function() { return jspb.Message.getField(this, 9) != null; }; @@ -3812,8 +3812,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.UpdateChallengeResponse.toObject(opt_includeInstance, this); }; @@ -3822,11 +3822,11 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.UpdateChallengeResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.toObject = function(includeInstance, msg) { var f, obj = { challengeId: jspb.Message.getFieldWithDefault(msg, 1, ""), title: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -3851,23 +3851,23 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.UpdateChallengeResponse; - return proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.UpdateChallengeResponse; + return proto.services.impulse_svc.v1.UpdateChallengeResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.UpdateChallengeResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3895,11 +3895,11 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.deserializeBinaryFro msg.setEndAt(value); break; case 6: - var value = /** @type {!proto.proto.services.impulse_svc.v1.ChallengeCategory} */ (reader.readEnum()); + var value = /** @type {!proto.services.impulse_svc.v1.ChallengeCategory} */ (reader.readEnum()); msg.setCategory(value); break; case 7: - var value = /** @type {!proto.proto.services.impulse_svc.v1.ChallengeType} */ (reader.readEnum()); + var value = /** @type {!proto.services.impulse_svc.v1.ChallengeType} */ (reader.readEnum()); msg.setType(value); break; case 8: @@ -3927,9 +3927,9 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.UpdateChallengeResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3937,11 +3937,11 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} message + * @param {!proto.services.impulse_svc.v1.UpdateChallengeResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getChallengeId(); if (f.length > 0) { @@ -4020,16 +4020,16 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.serializeBinaryToWri * optional string challenge_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getChallengeId = function() { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getChallengeId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setChallengeId = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setChallengeId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4038,16 +4038,16 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setChallen * optional string title = 2; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getTitle = function() { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getTitle = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setTitle = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setTitle = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4056,16 +4056,16 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setTitle = * optional string description = 3; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getDescription = function() { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setDescription = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -4074,16 +4074,16 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setDescrip * optional string start_at = 4; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getStartAt = function() { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getStartAt = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setStartAt = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setStartAt = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -4092,52 +4092,52 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setStartAt * optional string end_at = 5; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getEndAt = function() { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getEndAt = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setEndAt = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setEndAt = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; /** * optional ChallengeCategory category = 6; - * @return {!proto.proto.services.impulse_svc.v1.ChallengeCategory} + * @return {!proto.services.impulse_svc.v1.ChallengeCategory} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getCategory = function() { - return /** @type {!proto.proto.services.impulse_svc.v1.ChallengeCategory} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getCategory = function() { + return /** @type {!proto.services.impulse_svc.v1.ChallengeCategory} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** - * @param {!proto.proto.services.impulse_svc.v1.ChallengeCategory} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this + * @param {!proto.services.impulse_svc.v1.ChallengeCategory} value + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setCategory = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setCategory = function(value) { return jspb.Message.setProto3EnumField(this, 6, value); }; /** * optional ChallengeType type = 7; - * @return {!proto.proto.services.impulse_svc.v1.ChallengeType} + * @return {!proto.services.impulse_svc.v1.ChallengeType} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getType = function() { - return /** @type {!proto.proto.services.impulse_svc.v1.ChallengeType} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getType = function() { + return /** @type {!proto.services.impulse_svc.v1.ChallengeType} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** - * @param {!proto.proto.services.impulse_svc.v1.ChallengeType} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this + * @param {!proto.services.impulse_svc.v1.ChallengeType} value + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setType = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setType = function(value) { return jspb.Message.setProto3EnumField(this, 7, value); }; @@ -4146,16 +4146,16 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setType = * optional uint64 threshold = 8; * @return {number} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getThreshold = function() { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getThreshold = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setThreshold = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setThreshold = function(value) { return jspb.Message.setProto3IntField(this, 8, value); }; @@ -4164,16 +4164,16 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setThresho * optional uint64 points = 9; * @return {number} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getPoints = function() { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getPoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setPoints = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setPoints = function(value) { return jspb.Message.setProto3IntField(this, 9, value); }; @@ -4182,16 +4182,16 @@ proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setPoints * optional string unit = 10; * @return {string} */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getUnit = function() { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.getUnit = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this + * @return {!proto.services.impulse_svc.v1.UpdateChallengeResponse} returns this */ -proto.proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setUnit = function(value) { +proto.services.impulse_svc.v1.UpdateChallengeResponse.prototype.setUnit = function(value) { return jspb.Message.setProto3StringField(this, 10, value); }; @@ -4212,8 +4212,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetScoreRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetScoreRequest.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetScoreRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetScoreRequest.toObject(opt_includeInstance, this); }; @@ -4222,11 +4222,11 @@ proto.proto.services.impulse_svc.v1.GetScoreRequest.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetScoreRequest} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetScoreRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetScoreRequest.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetScoreRequest.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -4242,23 +4242,23 @@ proto.proto.services.impulse_svc.v1.GetScoreRequest.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetScoreRequest} + * @return {!proto.services.impulse_svc.v1.GetScoreRequest} */ -proto.proto.services.impulse_svc.v1.GetScoreRequest.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetScoreRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetScoreRequest; - return proto.proto.services.impulse_svc.v1.GetScoreRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetScoreRequest; + return proto.services.impulse_svc.v1.GetScoreRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetScoreRequest} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetScoreRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetScoreRequest} + * @return {!proto.services.impulse_svc.v1.GetScoreRequest} */ -proto.proto.services.impulse_svc.v1.GetScoreRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetScoreRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4282,9 +4282,9 @@ proto.proto.services.impulse_svc.v1.GetScoreRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetScoreRequest.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetScoreRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetScoreRequest.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetScoreRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4292,11 +4292,11 @@ proto.proto.services.impulse_svc.v1.GetScoreRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetScoreRequest} message + * @param {!proto.services.impulse_svc.v1.GetScoreRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetScoreRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetScoreRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -4312,16 +4312,16 @@ proto.proto.services.impulse_svc.v1.GetScoreRequest.serializeBinaryToWriter = fu * optional string user_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetScoreRequest.prototype.getUserId = function() { +proto.services.impulse_svc.v1.GetScoreRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetScoreRequest} returns this + * @return {!proto.services.impulse_svc.v1.GetScoreRequest} returns this */ -proto.proto.services.impulse_svc.v1.GetScoreRequest.prototype.setUserId = function(value) { +proto.services.impulse_svc.v1.GetScoreRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4342,8 +4342,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetScoreResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetScoreResponse.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetScoreResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetScoreResponse.toObject(opt_includeInstance, this); }; @@ -4352,11 +4352,11 @@ proto.proto.services.impulse_svc.v1.GetScoreResponse.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetScoreResponse} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetScoreResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetScoreResponse.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetScoreResponse.toObject = function(includeInstance, msg) { var f, obj = { score: jspb.Message.getFieldWithDefault(msg, 1, 0) }; @@ -4372,23 +4372,23 @@ proto.proto.services.impulse_svc.v1.GetScoreResponse.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetScoreResponse} + * @return {!proto.services.impulse_svc.v1.GetScoreResponse} */ -proto.proto.services.impulse_svc.v1.GetScoreResponse.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetScoreResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetScoreResponse; - return proto.proto.services.impulse_svc.v1.GetScoreResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetScoreResponse; + return proto.services.impulse_svc.v1.GetScoreResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetScoreResponse} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetScoreResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetScoreResponse} + * @return {!proto.services.impulse_svc.v1.GetScoreResponse} */ -proto.proto.services.impulse_svc.v1.GetScoreResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetScoreResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4412,9 +4412,9 @@ proto.proto.services.impulse_svc.v1.GetScoreResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetScoreResponse.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetScoreResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetScoreResponse.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetScoreResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4422,11 +4422,11 @@ proto.proto.services.impulse_svc.v1.GetScoreResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetScoreResponse} message + * @param {!proto.services.impulse_svc.v1.GetScoreResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetScoreResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetScoreResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getScore(); if (f !== 0) { @@ -4442,16 +4442,16 @@ proto.proto.services.impulse_svc.v1.GetScoreResponse.serializeBinaryToWriter = f * optional uint64 score = 1; * @return {number} */ -proto.proto.services.impulse_svc.v1.GetScoreResponse.prototype.getScore = function() { +proto.services.impulse_svc.v1.GetScoreResponse.prototype.getScore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.GetScoreResponse} returns this + * @return {!proto.services.impulse_svc.v1.GetScoreResponse} returns this */ -proto.proto.services.impulse_svc.v1.GetScoreResponse.prototype.setScore = function(value) { +proto.services.impulse_svc.v1.GetScoreResponse.prototype.setScore = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -4472,8 +4472,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetRewardsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetRewardsRequest.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetRewardsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetRewardsRequest.toObject(opt_includeInstance, this); }; @@ -4482,11 +4482,11 @@ proto.proto.services.impulse_svc.v1.GetRewardsRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsRequest} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetRewardsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetRewardsRequest.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetRewardsRequest.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -4502,23 +4502,23 @@ proto.proto.services.impulse_svc.v1.GetRewardsRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsRequest} + * @return {!proto.services.impulse_svc.v1.GetRewardsRequest} */ -proto.proto.services.impulse_svc.v1.GetRewardsRequest.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetRewardsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetRewardsRequest; - return proto.proto.services.impulse_svc.v1.GetRewardsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetRewardsRequest; + return proto.services.impulse_svc.v1.GetRewardsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsRequest} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetRewardsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsRequest} + * @return {!proto.services.impulse_svc.v1.GetRewardsRequest} */ -proto.proto.services.impulse_svc.v1.GetRewardsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetRewardsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4542,9 +4542,9 @@ proto.proto.services.impulse_svc.v1.GetRewardsRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetRewardsRequest.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetRewardsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetRewardsRequest.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetRewardsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4552,11 +4552,11 @@ proto.proto.services.impulse_svc.v1.GetRewardsRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsRequest} message + * @param {!proto.services.impulse_svc.v1.GetRewardsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetRewardsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetRewardsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -4572,16 +4572,16 @@ proto.proto.services.impulse_svc.v1.GetRewardsRequest.serializeBinaryToWriter = * optional string user_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetRewardsRequest.prototype.getUserId = function() { +proto.services.impulse_svc.v1.GetRewardsRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsRequest} returns this + * @return {!proto.services.impulse_svc.v1.GetRewardsRequest} returns this */ -proto.proto.services.impulse_svc.v1.GetRewardsRequest.prototype.setUserId = function(value) { +proto.services.impulse_svc.v1.GetRewardsRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4592,7 +4592,7 @@ proto.proto.services.impulse_svc.v1.GetRewardsRequest.prototype.setUserId = func * @private {!Array} * @const */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.repeatedFields_ = [1]; +proto.services.impulse_svc.v1.GetRewardsResponse.repeatedFields_ = [1]; @@ -4609,8 +4609,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetRewardsResponse.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetRewardsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetRewardsResponse.toObject(opt_includeInstance, this); }; @@ -4619,14 +4619,14 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsResponse} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetRewardsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetRewardsResponse.toObject = function(includeInstance, msg) { var f, obj = { rewardsList: jspb.Message.toObjectList(msg.getRewardsList(), - proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.toObject, includeInstance) + proto.services.impulse_svc.v1.GetRewardsResponse.Reward.toObject, includeInstance) }; if (includeInstance) { @@ -4640,23 +4640,23 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsResponse} + * @return {!proto.services.impulse_svc.v1.GetRewardsResponse} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetRewardsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetRewardsResponse; - return proto.proto.services.impulse_svc.v1.GetRewardsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetRewardsResponse; + return proto.services.impulse_svc.v1.GetRewardsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsResponse} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetRewardsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsResponse} + * @return {!proto.services.impulse_svc.v1.GetRewardsResponse} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetRewardsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4664,8 +4664,8 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.deserializeBinaryFromRead var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward; - reader.readMessage(value,proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.deserializeBinaryFromReader); + var value = new proto.services.impulse_svc.v1.GetRewardsResponse.Reward; + reader.readMessage(value,proto.services.impulse_svc.v1.GetRewardsResponse.Reward.deserializeBinaryFromReader); msg.addRewards(value); break; default: @@ -4681,9 +4681,9 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetRewardsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetRewardsResponse.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetRewardsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4691,18 +4691,18 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsResponse} message + * @param {!proto.services.impulse_svc.v1.GetRewardsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetRewardsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRewardsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.serializeBinaryToWriter + proto.services.impulse_svc.v1.GetRewardsResponse.Reward.serializeBinaryToWriter ); } }; @@ -4724,8 +4724,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetRewardsResponse.Reward.toObject(opt_includeInstance, this); }; @@ -4734,11 +4734,11 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetRewardsResponse.Reward} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.toObject = function(includeInstance, msg) { var f, obj = { rewardId: jspb.Message.getFieldWithDefault(msg, 1, ""), title: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -4757,23 +4757,23 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.toObject = functio /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward} + * @return {!proto.services.impulse_svc.v1.GetRewardsResponse.Reward} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward; - return proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetRewardsResponse.Reward; + return proto.services.impulse_svc.v1.GetRewardsResponse.Reward.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetRewardsResponse.Reward} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward} + * @return {!proto.services.impulse_svc.v1.GetRewardsResponse.Reward} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4809,9 +4809,9 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.deserializeBinaryF * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetRewardsResponse.Reward.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4819,11 +4819,11 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.serializ /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward} message + * @param {!proto.services.impulse_svc.v1.GetRewardsResponse.Reward} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRewardId(); if (f.length > 0) { @@ -4860,16 +4860,16 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.serializeBinaryToW * optional string reward_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.getRewardId = function() { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.getRewardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward} returns this + * @return {!proto.services.impulse_svc.v1.GetRewardsResponse.Reward} returns this */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.setRewardId = function(value) { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.setRewardId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4878,16 +4878,16 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.setRewar * optional string title = 2; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.getTitle = function() { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.getTitle = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward} returns this + * @return {!proto.services.impulse_svc.v1.GetRewardsResponse.Reward} returns this */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.setTitle = function(value) { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.setTitle = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4896,16 +4896,16 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.setTitle * optional string description = 3; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.getDescription = function() { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward} returns this + * @return {!proto.services.impulse_svc.v1.GetRewardsResponse.Reward} returns this */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.setDescription = function(value) { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -4914,54 +4914,54 @@ proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.setDescr * optional uint64 points = 5; * @return {number} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.getPoints = function() { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.getPoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward} returns this + * @return {!proto.services.impulse_svc.v1.GetRewardsResponse.Reward} returns this */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.setPoints = function(value) { +proto.services.impulse_svc.v1.GetRewardsResponse.Reward.prototype.setPoints = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; /** * repeated Reward rewards = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.prototype.getRewardsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward, 1)); +proto.services.impulse_svc.v1.GetRewardsResponse.prototype.getRewardsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.impulse_svc.v1.GetRewardsResponse.Reward, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsResponse} returns this + * @param {!Array} value + * @return {!proto.services.impulse_svc.v1.GetRewardsResponse} returns this */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.prototype.setRewardsList = function(value) { +proto.services.impulse_svc.v1.GetRewardsResponse.prototype.setRewardsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward=} opt_value + * @param {!proto.services.impulse_svc.v1.GetRewardsResponse.Reward=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward} + * @return {!proto.services.impulse_svc.v1.GetRewardsResponse.Reward} */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.prototype.addRewards = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.impulse_svc.v1.GetRewardsResponse.Reward, opt_index); +proto.services.impulse_svc.v1.GetRewardsResponse.prototype.addRewards = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.impulse_svc.v1.GetRewardsResponse.Reward, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.impulse_svc.v1.GetRewardsResponse} returns this + * @return {!proto.services.impulse_svc.v1.GetRewardsResponse} returns this */ -proto.proto.services.impulse_svc.v1.GetRewardsResponse.prototype.clearRewardsList = function() { +proto.services.impulse_svc.v1.GetRewardsResponse.prototype.clearRewardsList = function() { return this.setRewardsList([]); }; @@ -4982,8 +4982,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetAllRewardsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetAllRewardsRequest.toObject(opt_includeInstance, this); }; @@ -4992,11 +4992,11 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsRequest} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetAllRewardsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetAllRewardsRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -5012,23 +5012,23 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsRequest} + * @return {!proto.services.impulse_svc.v1.GetAllRewardsRequest} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetAllRewardsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetAllRewardsRequest; - return proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetAllRewardsRequest; + return proto.services.impulse_svc.v1.GetAllRewardsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsRequest} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetAllRewardsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsRequest} + * @return {!proto.services.impulse_svc.v1.GetAllRewardsRequest} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetAllRewardsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5048,9 +5048,9 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetAllRewardsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetAllRewardsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5058,11 +5058,11 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsRequest} message + * @param {!proto.services.impulse_svc.v1.GetAllRewardsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetAllRewardsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -5073,7 +5073,7 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsRequest.serializeBinaryToWriter * @private {!Array} * @const */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.repeatedFields_ = [1]; +proto.services.impulse_svc.v1.GetAllRewardsResponse.repeatedFields_ = [1]; @@ -5090,8 +5090,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetAllRewardsResponse.toObject(opt_includeInstance, this); }; @@ -5100,14 +5100,14 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetAllRewardsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.toObject = function(includeInstance, msg) { var f, obj = { rewardsList: jspb.Message.toObjectList(msg.getRewardsList(), - proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.toObject, includeInstance) + proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.toObject, includeInstance) }; if (includeInstance) { @@ -5121,23 +5121,23 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse} + * @return {!proto.services.impulse_svc.v1.GetAllRewardsResponse} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetAllRewardsResponse; - return proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetAllRewardsResponse; + return proto.services.impulse_svc.v1.GetAllRewardsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetAllRewardsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse} + * @return {!proto.services.impulse_svc.v1.GetAllRewardsResponse} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5145,8 +5145,8 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.deserializeBinaryFromR var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward; - reader.readMessage(value,proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.deserializeBinaryFromReader); + var value = new proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward; + reader.readMessage(value,proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.deserializeBinaryFromReader); msg.addRewards(value); break; default: @@ -5162,9 +5162,9 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetAllRewardsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5172,18 +5172,18 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse} message + * @param {!proto.services.impulse_svc.v1.GetAllRewardsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRewardsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.serializeBinaryToWriter + proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.serializeBinaryToWriter ); } }; @@ -5205,8 +5205,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.toObject(opt_includeInstance, this); }; @@ -5215,11 +5215,11 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.toObj * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.toObject = function(includeInstance, msg) { var f, obj = { rewardId: jspb.Message.getFieldWithDefault(msg, 1, ""), title: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -5238,23 +5238,23 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.toObject = func /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} + * @return {!proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward; - return proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward; + return proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} + * @return {!proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5290,9 +5290,9 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.deserializeBina * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5300,11 +5300,11 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.seria /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} message + * @param {!proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRewardId(); if (f.length > 0) { @@ -5341,16 +5341,16 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.serializeBinary * optional string reward_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.getRewardId = function() { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.getRewardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} returns this + * @return {!proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} returns this */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.setRewardId = function(value) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.setRewardId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5359,16 +5359,16 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.setRe * optional string title = 2; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.getTitle = function() { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.getTitle = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} returns this + * @return {!proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} returns this */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.setTitle = function(value) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.setTitle = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -5377,16 +5377,16 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.setTi * optional string description = 3; * @return {string} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.getDescription = function() { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} returns this + * @return {!proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} returns this */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.setDescription = function(value) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -5395,54 +5395,54 @@ proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.setDe * optional uint64 points = 5; * @return {number} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.getPoints = function() { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.getPoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} returns this + * @return {!proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} returns this */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.setPoints = function(value) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward.prototype.setPoints = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; /** * repeated Reward rewards = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.getRewardsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward, 1)); +proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.getRewardsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse} returns this + * @param {!Array} value + * @return {!proto.services.impulse_svc.v1.GetAllRewardsResponse} returns this */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.setRewardsList = function(value) { +proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.setRewardsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward=} opt_value + * @param {!proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} + * @return {!proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward} */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.addRewards = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward, opt_index); +proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.addRewards = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.impulse_svc.v1.GetAllRewardsResponse.Reward, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.impulse_svc.v1.GetAllRewardsResponse} returns this + * @return {!proto.services.impulse_svc.v1.GetAllRewardsResponse} returns this */ -proto.proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.clearRewardsList = function() { +proto.services.impulse_svc.v1.GetAllRewardsResponse.prototype.clearRewardsList = function() { return this.setRewardsList([]); }; @@ -5463,8 +5463,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.StatsForTeamByUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.StatsForTeamByUserRequest.toObject(opt_includeInstance, this); }; @@ -5473,11 +5473,11 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.StatsForTeamByUserRequest.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -5493,23 +5493,23 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.toObject = functio /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest} + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserRequest} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.StatsForTeamByUserRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest; - return proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.StatsForTeamByUserRequest; + return proto.services.impulse_svc.v1.StatsForTeamByUserRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest} + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserRequest} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.StatsForTeamByUserRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5533,9 +5533,9 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.deserializeBinaryF * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.StatsForTeamByUserRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.StatsForTeamByUserRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5543,11 +5543,11 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.prototype.serializ /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest} message + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.StatsForTeamByUserRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -5563,16 +5563,16 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.serializeBinaryToW * optional string user_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.prototype.getUserId = function() { +proto.services.impulse_svc.v1.StatsForTeamByUserRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest} returns this + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserRequest} returns this */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.prototype.setUserId = function(value) { +proto.services.impulse_svc.v1.StatsForTeamByUserRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5583,7 +5583,7 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserRequest.prototype.setUserI * @private {!Array} * @const */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.repeatedFields_ = [3]; +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.repeatedFields_ = [3]; @@ -5600,8 +5600,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.StatsForTeamByUserResponse.toObject(opt_includeInstance, this); }; @@ -5610,16 +5610,16 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.toObjec * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.toObject = function(includeInstance, msg) { var f, obj = { teamId: jspb.Message.getFieldWithDefault(msg, 1, ""), score: jspb.Message.getFieldWithDefault(msg, 2, 0), genderCountList: jspb.Message.toObjectList(msg.getGenderCountList(), - proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.toObject, includeInstance), + proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.toObject, includeInstance), averageAge: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), userCount: jspb.Message.getFieldWithDefault(msg, 5, 0) }; @@ -5635,23 +5635,23 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.toObject = functi /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse} + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse; - return proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.StatsForTeamByUserResponse; + return proto.services.impulse_svc.v1.StatsForTeamByUserResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse} + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5667,8 +5667,8 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.deserializeBinary msg.setScore(value); break; case 3: - var value = new proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount; - reader.readMessage(value,proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.deserializeBinaryFromReader); + var value = new proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount; + reader.readMessage(value,proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.deserializeBinaryFromReader); msg.addGenderCount(value); break; case 4: @@ -5692,9 +5692,9 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.deserializeBinary * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.StatsForTeamByUserResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5702,11 +5702,11 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.seriali /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse} message + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTeamId(); if (f.length > 0) { @@ -5727,7 +5727,7 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.serializeBinaryTo writer.writeRepeatedMessage( 3, f, - proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.serializeBinaryToWriter + proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.serializeBinaryToWriter ); } f = message.getAverageAge(); @@ -5763,8 +5763,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.toObject(opt_includeInstance, this); }; @@ -5773,11 +5773,11 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.proto * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.toObject = function(includeInstance, msg) { var f, obj = { gender: jspb.Message.getFieldWithDefault(msg, 1, 0), count: jspb.Message.getFieldWithDefault(msg, 2, 0) @@ -5794,23 +5794,23 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.toObj /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount; - return proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount; + return proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5818,7 +5818,7 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.deser var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!proto.proto.services.impulse_svc.v1.Gender} */ (reader.readEnum()); + var value = /** @type {!proto.services.impulse_svc.v1.Gender} */ (reader.readEnum()); msg.setGender(value); break; case 2: @@ -5838,9 +5838,9 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.deser * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5848,11 +5848,11 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.proto /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} message + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getGender(); if (f !== 0.0) { @@ -5873,18 +5873,18 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.seria /** * optional Gender gender = 1; - * @return {!proto.proto.services.impulse_svc.v1.Gender} + * @return {!proto.services.impulse_svc.v1.Gender} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.getGender = function() { - return /** @type {!proto.proto.services.impulse_svc.v1.Gender} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.getGender = function() { + return /** @type {!proto.services.impulse_svc.v1.Gender} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {!proto.proto.services.impulse_svc.v1.Gender} value - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} returns this + * @param {!proto.services.impulse_svc.v1.Gender} value + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} returns this */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.setGender = function(value) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.setGender = function(value) { return jspb.Message.setProto3EnumField(this, 1, value); }; @@ -5893,16 +5893,16 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.proto * optional uint32 count = 2; * @return {number} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.getCount = function() { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.getCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} returns this + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} returns this */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.setCount = function(value) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.prototype.setCount = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -5911,16 +5911,16 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount.proto * optional string team_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.getTeamId = function() { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.getTeamId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setTeamId = function(value) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setTeamId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5929,54 +5929,54 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setTeam * optional uint64 score = 2; * @return {number} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.getScore = function() { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.getScore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setScore = function(value) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setScore = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; /** * repeated GenderCount gender_count = 3; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.getGenderCountList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount, 3)); +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.getGenderCountList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount, 3)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this + * @param {!Array} value + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setGenderCountList = function(value) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setGenderCountList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount=} opt_value + * @param {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.addGenderCount = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount, opt_index); +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.addGenderCount = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCount, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.clearGenderCountList = function() { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.clearGenderCountList = function() { return this.setGenderCountList([]); }; @@ -5985,16 +5985,16 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.clearGe * optional float average_age = 4; * @return {number} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.getAverageAge = function() { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.getAverageAge = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setAverageAge = function(value) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setAverageAge = function(value) { return jspb.Message.setProto3FloatField(this, 4, value); }; @@ -6003,16 +6003,16 @@ proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setAver * optional uint64 user_count = 5; * @return {number} */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.getUserCount = function() { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.getUserCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this + * @return {!proto.services.impulse_svc.v1.StatsForTeamByUserResponse} returns this */ -proto.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setUserCount = function(value) { +proto.services.impulse_svc.v1.StatsForTeamByUserResponse.prototype.setUserCount = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; @@ -6033,8 +6033,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.VerificationRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.VerificationRequest.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.VerificationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.VerificationRequest.toObject(opt_includeInstance, this); }; @@ -6043,11 +6043,11 @@ proto.proto.services.impulse_svc.v1.VerificationRequest.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.VerificationRequest} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.VerificationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.VerificationRequest.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.VerificationRequest.toObject = function(includeInstance, msg) { var f, obj = { challengeId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -6063,23 +6063,23 @@ proto.proto.services.impulse_svc.v1.VerificationRequest.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.VerificationRequest} + * @return {!proto.services.impulse_svc.v1.VerificationRequest} */ -proto.proto.services.impulse_svc.v1.VerificationRequest.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.VerificationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.VerificationRequest; - return proto.proto.services.impulse_svc.v1.VerificationRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.VerificationRequest; + return proto.services.impulse_svc.v1.VerificationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.VerificationRequest} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.VerificationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.VerificationRequest} + * @return {!proto.services.impulse_svc.v1.VerificationRequest} */ -proto.proto.services.impulse_svc.v1.VerificationRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.VerificationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6103,9 +6103,9 @@ proto.proto.services.impulse_svc.v1.VerificationRequest.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.VerificationRequest.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.VerificationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.VerificationRequest.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.VerificationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6113,11 +6113,11 @@ proto.proto.services.impulse_svc.v1.VerificationRequest.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.VerificationRequest} message + * @param {!proto.services.impulse_svc.v1.VerificationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.VerificationRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.VerificationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getChallengeId(); if (f.length > 0) { @@ -6133,16 +6133,16 @@ proto.proto.services.impulse_svc.v1.VerificationRequest.serializeBinaryToWriter * optional string challenge_id = 1; * @return {string} */ -proto.proto.services.impulse_svc.v1.VerificationRequest.prototype.getChallengeId = function() { +proto.services.impulse_svc.v1.VerificationRequest.prototype.getChallengeId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.VerificationRequest} returns this + * @return {!proto.services.impulse_svc.v1.VerificationRequest} returns this */ -proto.proto.services.impulse_svc.v1.VerificationRequest.prototype.setChallengeId = function(value) { +proto.services.impulse_svc.v1.VerificationRequest.prototype.setChallengeId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -6153,7 +6153,7 @@ proto.proto.services.impulse_svc.v1.VerificationRequest.prototype.setChallengeId * @private {!Array} * @const */ -proto.proto.services.impulse_svc.v1.VerificationResponse.repeatedFields_ = [1,2]; +proto.services.impulse_svc.v1.VerificationResponse.repeatedFields_ = [1,2]; @@ -6170,8 +6170,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.VerificationResponse.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.VerificationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.VerificationResponse.toObject(opt_includeInstance, this); }; @@ -6180,16 +6180,16 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.VerificationResponse} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.VerificationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.VerificationResponse.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.VerificationResponse.toObject = function(includeInstance, msg) { var f, obj = { stringVerificationsList: jspb.Message.toObjectList(msg.getStringVerificationsList(), - proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.toObject, includeInstance), + proto.services.impulse_svc.v1.VerificationResponse.StringVerification.toObject, includeInstance), integerVerificationsList: jspb.Message.toObjectList(msg.getIntegerVerificationsList(), - proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.toObject, includeInstance) + proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.toObject, includeInstance) }; if (includeInstance) { @@ -6203,23 +6203,23 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse} + * @return {!proto.services.impulse_svc.v1.VerificationResponse} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.VerificationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.VerificationResponse; - return proto.proto.services.impulse_svc.v1.VerificationResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.VerificationResponse; + return proto.services.impulse_svc.v1.VerificationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.VerificationResponse} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.VerificationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse} + * @return {!proto.services.impulse_svc.v1.VerificationResponse} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.VerificationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6227,13 +6227,13 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.deserializeBinaryFromRe var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification; - reader.readMessage(value,proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.deserializeBinaryFromReader); + var value = new proto.services.impulse_svc.v1.VerificationResponse.StringVerification; + reader.readMessage(value,proto.services.impulse_svc.v1.VerificationResponse.StringVerification.deserializeBinaryFromReader); msg.addStringVerifications(value); break; case 2: - var value = new proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification; - reader.readMessage(value,proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.deserializeBinaryFromReader); + var value = new proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification; + reader.readMessage(value,proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.deserializeBinaryFromReader); msg.addIntegerVerifications(value); break; default: @@ -6249,9 +6249,9 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.VerificationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.VerificationResponse.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.VerificationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6259,18 +6259,18 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.VerificationResponse} message + * @param {!proto.services.impulse_svc.v1.VerificationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.VerificationResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.VerificationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getStringVerificationsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.serializeBinaryToWriter + proto.services.impulse_svc.v1.VerificationResponse.StringVerification.serializeBinaryToWriter ); } f = message.getIntegerVerificationsList(); @@ -6278,7 +6278,7 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.serializeBinaryToWriter writer.writeRepeatedMessage( 2, f, - proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.serializeBinaryToWriter + proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.serializeBinaryToWriter ); } }; @@ -6300,8 +6300,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.VerificationResponse.StringVerification.toObject(opt_includeInstance, this); }; @@ -6310,11 +6310,11 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prot * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.VerificationResponse.StringVerification} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.toObject = function(includeInstance, msg) { var f, obj = { order: jspb.Message.getFieldWithDefault(msg, 1, 0), type: jspb.Message.getFieldWithDefault(msg, 2, 0), @@ -6332,23 +6332,23 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.toOb /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification} + * @return {!proto.services.impulse_svc.v1.VerificationResponse.StringVerification} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification; - return proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.VerificationResponse.StringVerification; + return proto.services.impulse_svc.v1.VerificationResponse.StringVerification.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.VerificationResponse.StringVerification} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification} + * @return {!proto.services.impulse_svc.v1.VerificationResponse.StringVerification} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6360,7 +6360,7 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.dese msg.setOrder(value); break; case 2: - var value = /** @type {!proto.proto.services.impulse_svc.v1.StringVerificationType} */ (reader.readEnum()); + var value = /** @type {!proto.services.impulse_svc.v1.StringVerificationType} */ (reader.readEnum()); msg.setType(value); break; case 3: @@ -6380,9 +6380,9 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.dese * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.VerificationResponse.StringVerification.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6390,11 +6390,11 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prot /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification} message + * @param {!proto.services.impulse_svc.v1.VerificationResponse.StringVerification} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getOrder(); if (f !== 0) { @@ -6424,34 +6424,34 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.seri * optional uint32 order = 1; * @return {number} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.getOrder = function() { +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.getOrder = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification} returns this + * @return {!proto.services.impulse_svc.v1.VerificationResponse.StringVerification} returns this */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.setOrder = function(value) { +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.setOrder = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** * optional StringVerificationType type = 2; - * @return {!proto.proto.services.impulse_svc.v1.StringVerificationType} + * @return {!proto.services.impulse_svc.v1.StringVerificationType} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.getType = function() { - return /** @type {!proto.proto.services.impulse_svc.v1.StringVerificationType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.getType = function() { + return /** @type {!proto.services.impulse_svc.v1.StringVerificationType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {!proto.proto.services.impulse_svc.v1.StringVerificationType} value - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification} returns this + * @param {!proto.services.impulse_svc.v1.StringVerificationType} value + * @return {!proto.services.impulse_svc.v1.VerificationResponse.StringVerification} returns this */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.setType = function(value) { +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.setType = function(value) { return jspb.Message.setProto3EnumField(this, 2, value); }; @@ -6460,16 +6460,16 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prot * optional string value = 3; * @return {string} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.getValue = function() { +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.getValue = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification} returns this + * @return {!proto.services.impulse_svc.v1.VerificationResponse.StringVerification} returns this */ -proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.setValue = function(value) { +proto.services.impulse_svc.v1.VerificationResponse.StringVerification.prototype.setValue = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -6490,8 +6490,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.toObject(opt_includeInstance, this); +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.toObject = function(opt_includeInstance) { + return proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.toObject(opt_includeInstance, this); }; @@ -6500,11 +6500,11 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.pro * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} msg The msg instance to transform. + * @param {!proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.toObject = function(includeInstance, msg) { +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.toObject = function(includeInstance, msg) { var f, obj = { order: jspb.Message.getFieldWithDefault(msg, 1, 0), type: jspb.Message.getFieldWithDefault(msg, 2, 0), @@ -6522,23 +6522,23 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.toO /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} + * @return {!proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.deserializeBinary = function(bytes) { +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification; - return proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification; + return proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} msg The message object to deserialize into. + * @param {!proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} + * @return {!proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.deserializeBinaryFromReader = function(msg, reader) { +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6550,7 +6550,7 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.des msg.setOrder(value); break; case 2: - var value = /** @type {!proto.proto.services.impulse_svc.v1.IntegerVerificationType} */ (reader.readEnum()); + var value = /** @type {!proto.services.impulse_svc.v1.IntegerVerificationType} */ (reader.readEnum()); msg.setType(value); break; case 3: @@ -6570,9 +6570,9 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.des * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.serializeBinary = function() { +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.serializeBinaryToWriter(this, writer); + proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6580,11 +6580,11 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.pro /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} message + * @param {!proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.serializeBinaryToWriter = function(message, writer) { +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getOrder(); if (f !== 0) { @@ -6614,34 +6614,34 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.ser * optional uint32 order = 1; * @return {number} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.getOrder = function() { +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.getOrder = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} returns this + * @return {!proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} returns this */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.setOrder = function(value) { +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.setOrder = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** * optional IntegerVerificationType type = 2; - * @return {!proto.proto.services.impulse_svc.v1.IntegerVerificationType} + * @return {!proto.services.impulse_svc.v1.IntegerVerificationType} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.getType = function() { - return /** @type {!proto.proto.services.impulse_svc.v1.IntegerVerificationType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.getType = function() { + return /** @type {!proto.services.impulse_svc.v1.IntegerVerificationType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {!proto.proto.services.impulse_svc.v1.IntegerVerificationType} value - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} returns this + * @param {!proto.services.impulse_svc.v1.IntegerVerificationType} value + * @return {!proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} returns this */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.setType = function(value) { +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.setType = function(value) { return jspb.Message.setProto3EnumField(this, 2, value); }; @@ -6650,92 +6650,92 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.pro * optional uint64 value = 3; * @return {number} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.getValue = function() { +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.getValue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} returns this + * @return {!proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} returns this */ -proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.setValue = function(value) { +proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification.prototype.setValue = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; /** * repeated StringVerification string_verifications = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.getStringVerificationsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification, 1)); +proto.services.impulse_svc.v1.VerificationResponse.prototype.getStringVerificationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.impulse_svc.v1.VerificationResponse.StringVerification, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse} returns this + * @param {!Array} value + * @return {!proto.services.impulse_svc.v1.VerificationResponse} returns this */ -proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.setStringVerificationsList = function(value) { +proto.services.impulse_svc.v1.VerificationResponse.prototype.setStringVerificationsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification=} opt_value + * @param {!proto.services.impulse_svc.v1.VerificationResponse.StringVerification=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification} + * @return {!proto.services.impulse_svc.v1.VerificationResponse.StringVerification} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.addStringVerifications = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.impulse_svc.v1.VerificationResponse.StringVerification, opt_index); +proto.services.impulse_svc.v1.VerificationResponse.prototype.addStringVerifications = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.impulse_svc.v1.VerificationResponse.StringVerification, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse} returns this + * @return {!proto.services.impulse_svc.v1.VerificationResponse} returns this */ -proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.clearStringVerificationsList = function() { +proto.services.impulse_svc.v1.VerificationResponse.prototype.clearStringVerificationsList = function() { return this.setStringVerificationsList([]); }; /** * repeated IntegerVerification integer_verifications = 2; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.getIntegerVerificationsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification, 2)); +proto.services.impulse_svc.v1.VerificationResponse.prototype.getIntegerVerificationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification, 2)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse} returns this + * @param {!Array} value + * @return {!proto.services.impulse_svc.v1.VerificationResponse} returns this */ -proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.setIntegerVerificationsList = function(value) { +proto.services.impulse_svc.v1.VerificationResponse.prototype.setIntegerVerificationsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** - * @param {!proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification=} opt_value + * @param {!proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} + * @return {!proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification} */ -proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.addIntegerVerifications = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification, opt_index); +proto.services.impulse_svc.v1.VerificationResponse.prototype.addIntegerVerifications = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.services.impulse_svc.v1.VerificationResponse.IntegerVerification, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.impulse_svc.v1.VerificationResponse} returns this + * @return {!proto.services.impulse_svc.v1.VerificationResponse} returns this */ -proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.clearIntegerVerificationsList = function() { +proto.services.impulse_svc.v1.VerificationResponse.prototype.clearIntegerVerificationsList = function() { return this.setIntegerVerificationsList([]); }; @@ -6743,7 +6743,7 @@ proto.proto.services.impulse_svc.v1.VerificationResponse.prototype.clearIntegerV /** * @enum {number} */ -proto.proto.services.impulse_svc.v1.ChallengeType = { +proto.services.impulse_svc.v1.ChallengeType = { CHALLENGE_TYPE_UNSPECIFIED: 0, CHALLENGE_TYPE_DAILY: 1, CHALLENGE_TYPE_QUEST: 2 @@ -6752,7 +6752,7 @@ proto.proto.services.impulse_svc.v1.ChallengeType = { /** * @enum {number} */ -proto.proto.services.impulse_svc.v1.ChallengeCategory = { +proto.services.impulse_svc.v1.ChallengeCategory = { CHALLENGE_CATEGORY_UNSPECIFIED: 0, CHALLENGE_CATEGORY_FOOD: 1, CHALLENGE_CATEGORY_FITNESS: 2 @@ -6761,7 +6761,7 @@ proto.proto.services.impulse_svc.v1.ChallengeCategory = { /** * @enum {number} */ -proto.proto.services.impulse_svc.v1.Gender = { +proto.services.impulse_svc.v1.Gender = { GENDER_UNSPECIFIED: 0, GENDER_MALE: 1, GENDER_FEMALE: 2, @@ -6771,7 +6771,7 @@ proto.proto.services.impulse_svc.v1.Gender = { /** * @enum {number} */ -proto.proto.services.impulse_svc.v1.StringVerificationType = { +proto.services.impulse_svc.v1.StringVerificationType = { STRING_VERIFICATION_TYPE_UNSPECIFIED: 0, STRING_VERIFICATION_TYPE_QR: 1 }; @@ -6779,10 +6779,10 @@ proto.proto.services.impulse_svc.v1.StringVerificationType = { /** * @enum {number} */ -proto.proto.services.impulse_svc.v1.IntegerVerificationType = { +proto.services.impulse_svc.v1.IntegerVerificationType = { INTEGER_VERIFICATION_TYPE_UNSPECIFIED: 0, INTEGER_VERIFICATION_TYPE_TIMER: 1, INTEGER_VERIFICATION_TYPE_NUMBER: 2 }; -goog.object.extend(exports, proto.proto.services.impulse_svc.v1); +goog.object.extend(exports, proto.services.impulse_svc.v1); diff --git a/gen/ts/proto/services/ory_svc/v1/ory_svc_pb.d.ts b/gen/ts/services/ory_svc/v1/ory_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/ory_svc/v1/ory_svc_pb.d.ts rename to gen/ts/services/ory_svc/v1/ory_svc_pb.d.ts diff --git a/gen/ts/proto/services/ory_svc/v1/ory_svc_pb.js b/gen/ts/services/ory_svc/v1/ory_svc_pb.js similarity index 60% rename from gen/ts/proto/services/ory_svc/v1/ory_svc_pb.js rename to gen/ts/services/ory_svc/v1/ory_svc_pb.js index abd1882aa..c719fb1d7 100644 --- a/gen/ts/proto/services/ory_svc/v1/ory_svc_pb.js +++ b/gen/ts/services/ory_svc/v1/ory_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/ory_svc/v1/ory_svc.proto +// source: services/ory_svc/v1/ory_svc.proto /** * @fileoverview * @enhanceable @@ -21,8 +21,8 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest', null, global); -goog.exportSymbol('proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload', null, global); +goog.exportSymbol('proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest', null, global); +goog.exportSymbol('proto.services.ory_svc.v1.AfterSettingsWebhookPayload', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -33,16 +33,16 @@ goog.exportSymbol('proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload', * @extends {jspb.Message} * @constructor */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest = function(opt_data) { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest, jspb.Message); +goog.inherits(proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.displayName = 'proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest'; + proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.displayName = 'proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest'; } /** * Generated by JsPbCodeGenerator. @@ -54,16 +54,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload = function(opt_data) { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload, jspb.Message); +goog.inherits(proto.services.ory_svc.v1.AfterSettingsWebhookPayload, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.displayName = 'proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload'; + proto.services.ory_svc.v1.AfterSettingsWebhookPayload.displayName = 'proto.services.ory_svc.v1.AfterSettingsWebhookPayload'; } @@ -81,8 +81,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.toObject(opt_includeInstance, this); +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.toObject(opt_includeInstance, this); }; @@ -91,11 +91,11 @@ proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} msg The msg instance to transform. + * @param {!proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.toObject = function(includeInstance, msg) { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -114,23 +114,23 @@ proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.toObject /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} + * @return {!proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.deserializeBinary = function(bytes) { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest; - return proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest; + return proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} msg The message object to deserialize into. + * @param {!proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} + * @return {!proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -166,9 +166,9 @@ proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.deseriali * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.serializeBinary = function() { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.serializeBinaryToWriter(this, writer); + proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -176,11 +176,11 @@ proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} message + * @param {!proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -217,16 +217,16 @@ proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.serialize * optional string user_id = 1; * @return {string} */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.getUserId = function() { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} returns this + * @return {!proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} returns this */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.setUserId = function(value) { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -235,16 +235,16 @@ proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype * optional string email = 2; * @return {string} */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.getEmail = function() { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} returns this + * @return {!proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} returns this */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.setEmail = function(value) { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.setEmail = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -253,16 +253,16 @@ proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype * optional string nickname = 3; * @return {string} */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.getNickname = function() { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.getNickname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} returns this + * @return {!proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} returns this */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.setNickname = function(value) { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.setNickname = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -271,16 +271,16 @@ proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype * optional string name = 4; * @return {string} */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.getName = function() { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} returns this + * @return {!proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest} returns this */ -proto.proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.setName = function(value) { +proto.services.ory_svc.v1.AfterRegistrationWebhookPayloadRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -301,8 +301,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.toObject(opt_includeInstance, this); +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.toObject = function(opt_includeInstance) { + return proto.services.ory_svc.v1.AfterSettingsWebhookPayload.toObject(opt_includeInstance, this); }; @@ -311,11 +311,11 @@ proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload} msg The msg instance to transform. + * @param {!proto.services.ory_svc.v1.AfterSettingsWebhookPayload} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.toObject = function(includeInstance, msg) { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -334,23 +334,23 @@ proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload} + * @return {!proto.services.ory_svc.v1.AfterSettingsWebhookPayload} */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.deserializeBinary = function(bytes) { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload; - return proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.ory_svc.v1.AfterSettingsWebhookPayload; + return proto.services.ory_svc.v1.AfterSettingsWebhookPayload.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload} msg The message object to deserialize into. + * @param {!proto.services.ory_svc.v1.AfterSettingsWebhookPayload} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload} + * @return {!proto.services.ory_svc.v1.AfterSettingsWebhookPayload} */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.deserializeBinaryFromReader = function(msg, reader) { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -386,9 +386,9 @@ proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.serializeBinary = function() { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.serializeBinaryToWriter(this, writer); + proto.services.ory_svc.v1.AfterSettingsWebhookPayload.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -396,11 +396,11 @@ proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload} message + * @param {!proto.services.ory_svc.v1.AfterSettingsWebhookPayload} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.serializeBinaryToWriter = function(message, writer) { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -437,16 +437,16 @@ proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.serializeBinaryToWri * optional string user_id = 1; * @return {string} */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.getUserId = function() { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload} returns this + * @return {!proto.services.ory_svc.v1.AfterSettingsWebhookPayload} returns this */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.setUserId = function(value) { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -455,16 +455,16 @@ proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.setUserId * optional string email = 2; * @return {string} */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.getEmail = function() { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload} returns this + * @return {!proto.services.ory_svc.v1.AfterSettingsWebhookPayload} returns this */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.setEmail = function(value) { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.setEmail = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -473,16 +473,16 @@ proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.setEmail = * optional string nickname = 3; * @return {string} */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.getNickname = function() { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.getNickname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload} returns this + * @return {!proto.services.ory_svc.v1.AfterSettingsWebhookPayload} returns this */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.setNickname = function(value) { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.setNickname = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -491,18 +491,18 @@ proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.setNicknam * optional string name = 4; * @return {string} */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.getName = function() { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload} returns this + * @return {!proto.services.ory_svc.v1.AfterSettingsWebhookPayload} returns this */ -proto.proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.setName = function(value) { +proto.services.ory_svc.v1.AfterSettingsWebhookPayload.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; -goog.object.extend(exports, proto.proto.services.ory_svc.v1); +goog.object.extend(exports, proto.services.ory_svc.v1); diff --git a/gen/ts/services/property_svc/v1/property_set_svc_grpc_web_pb.d.ts b/gen/ts/services/property_svc/v1/property_set_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..e3b2a4c48 --- /dev/null +++ b/gen/ts/services/property_svc/v1/property_set_svc_grpc_web_pb.d.ts @@ -0,0 +1,43 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_property_svc_v1_property_set_svc_pb from '../../../services/property_svc/v1/property_set_svc_pb'; // proto import: "services/property_svc/v1/property_set_svc.proto" + + +export class PropertySetServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createPropertySet( + request: services_property_svc_v1_property_set_svc_pb.CreatePropertySetRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_property_svc_v1_property_set_svc_pb.CreatePropertySetResponse) => void + ): grpcWeb.ClientReadableStream; + + getPropertySet( + request: services_property_svc_v1_property_set_svc_pb.GetPropertySetRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_property_svc_v1_property_set_svc_pb.GetPropertySetResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class PropertySetServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createPropertySet( + request: services_property_svc_v1_property_set_svc_pb.CreatePropertySetRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getPropertySet( + request: services_property_svc_v1_property_set_svc_pb.GetPropertySetRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/proto/services/property_svc/v1/property_set_svc_grpc_web_pb.js b/gen/ts/services/property_svc/v1/property_set_svc_grpc_web_pb.js similarity index 51% rename from gen/ts/proto/services/property_svc/v1/property_set_svc_grpc_web_pb.js rename to gen/ts/services/property_svc/v1/property_set_svc_grpc_web_pb.js index f02e47214..40e530c0d 100644 --- a/gen/ts/proto/services/property_svc/v1/property_set_svc_grpc_web_pb.js +++ b/gen/ts/services/property_svc/v1/property_set_svc_grpc_web_pb.js @@ -1,5 +1,5 @@ /** - * @fileoverview gRPC-Web generated client stub for proto.services.property_svc.v1 + * @fileoverview gRPC-Web generated client stub for services.property_svc.v1 * @enhanceable * @public */ @@ -8,7 +8,7 @@ // versions: // protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 -// source: proto/services/property_svc/v1/property_set_svc.proto +// source: services/property_svc/v1/property_set_svc.proto /* eslint-disable */ @@ -20,10 +20,9 @@ const grpc = {}; grpc.web = require('grpc-web'); const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.property_svc = {}; -proto.proto.services.property_svc.v1 = require('./property_set_svc_pb.js'); +proto.services = {}; +proto.services.property_svc = {}; +proto.services.property_svc.v1 = require('./property_set_svc_pb.js'); /** * @param {string} hostname @@ -33,7 +32,7 @@ proto.proto.services.property_svc.v1 = require('./property_set_svc_pb.js'); * @struct * @final */ -proto.proto.services.property_svc.v1.PropertySetServiceClient = +proto.services.property_svc.v1.PropertySetServiceClient = function(hostname, credentials, options) { if (!options) options = {}; options.format = 'text'; @@ -59,7 +58,7 @@ proto.proto.services.property_svc.v1.PropertySetServiceClient = * @struct * @final */ -proto.proto.services.property_svc.v1.PropertySetServicePromiseClient = +proto.services.property_svc.v1.PropertySetServicePromiseClient = function(hostname, credentials, options) { if (!options) options = {}; options.format = 'text'; @@ -80,39 +79,39 @@ proto.proto.services.property_svc.v1.PropertySetServicePromiseClient = /** * @const * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.property_svc.v1.CreatePropertySetRequest, - * !proto.proto.services.property_svc.v1.CreatePropertySetResponse>} + * !proto.services.property_svc.v1.CreatePropertySetRequest, + * !proto.services.property_svc.v1.CreatePropertySetResponse>} */ const methodDescriptor_PropertySetService_CreatePropertySet = new grpc.web.MethodDescriptor( - '/proto.services.property_svc.v1.PropertySetService/CreatePropertySet', + '/services.property_svc.v1.PropertySetService/CreatePropertySet', grpc.web.MethodType.UNARY, - proto.proto.services.property_svc.v1.CreatePropertySetRequest, - proto.proto.services.property_svc.v1.CreatePropertySetResponse, + proto.services.property_svc.v1.CreatePropertySetRequest, + proto.services.property_svc.v1.CreatePropertySetResponse, /** - * @param {!proto.proto.services.property_svc.v1.CreatePropertySetRequest} request + * @param {!proto.services.property_svc.v1.CreatePropertySetRequest} request * @return {!Uint8Array} */ function(request) { return request.serializeBinary(); }, - proto.proto.services.property_svc.v1.CreatePropertySetResponse.deserializeBinary + proto.services.property_svc.v1.CreatePropertySetResponse.deserializeBinary ); /** - * @param {!proto.proto.services.property_svc.v1.CreatePropertySetRequest} request The + * @param {!proto.services.property_svc.v1.CreatePropertySetRequest} request The * request proto * @param {?Object} metadata User defined * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.property_svc.v1.CreatePropertySetResponse)} + * @param {function(?grpc.web.RpcError, ?proto.services.property_svc.v1.CreatePropertySetResponse)} * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} + * @return {!grpc.web.ClientReadableStream|undefined} * The XHR Node Readable Stream */ -proto.proto.services.property_svc.v1.PropertySetServiceClient.prototype.createPropertySet = +proto.services.property_svc.v1.PropertySetServiceClient.prototype.createPropertySet = function(request, metadata, callback) { return this.client_.rpcCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertySetService/CreatePropertySet', + '/services.property_svc.v1.PropertySetService/CreatePropertySet', request, metadata || {}, methodDescriptor_PropertySetService_CreatePropertySet, @@ -121,17 +120,17 @@ proto.proto.services.property_svc.v1.PropertySetServiceClient.prototype.createPr /** - * @param {!proto.proto.services.property_svc.v1.CreatePropertySetRequest} request The + * @param {!proto.services.property_svc.v1.CreatePropertySetRequest} request The * request proto * @param {?Object=} metadata User defined * call metadata - * @return {!Promise} + * @return {!Promise} * Promise that resolves to the response */ -proto.proto.services.property_svc.v1.PropertySetServicePromiseClient.prototype.createPropertySet = +proto.services.property_svc.v1.PropertySetServicePromiseClient.prototype.createPropertySet = function(request, metadata) { return this.client_.unaryCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertySetService/CreatePropertySet', + '/services.property_svc.v1.PropertySetService/CreatePropertySet', request, metadata || {}, methodDescriptor_PropertySetService_CreatePropertySet); @@ -141,39 +140,39 @@ proto.proto.services.property_svc.v1.PropertySetServicePromiseClient.prototype.c /** * @const * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.property_svc.v1.GetPropertySetRequest, - * !proto.proto.services.property_svc.v1.GetPropertySetResponse>} + * !proto.services.property_svc.v1.GetPropertySetRequest, + * !proto.services.property_svc.v1.GetPropertySetResponse>} */ const methodDescriptor_PropertySetService_GetPropertySet = new grpc.web.MethodDescriptor( - '/proto.services.property_svc.v1.PropertySetService/GetPropertySet', + '/services.property_svc.v1.PropertySetService/GetPropertySet', grpc.web.MethodType.UNARY, - proto.proto.services.property_svc.v1.GetPropertySetRequest, - proto.proto.services.property_svc.v1.GetPropertySetResponse, + proto.services.property_svc.v1.GetPropertySetRequest, + proto.services.property_svc.v1.GetPropertySetResponse, /** - * @param {!proto.proto.services.property_svc.v1.GetPropertySetRequest} request + * @param {!proto.services.property_svc.v1.GetPropertySetRequest} request * @return {!Uint8Array} */ function(request) { return request.serializeBinary(); }, - proto.proto.services.property_svc.v1.GetPropertySetResponse.deserializeBinary + proto.services.property_svc.v1.GetPropertySetResponse.deserializeBinary ); /** - * @param {!proto.proto.services.property_svc.v1.GetPropertySetRequest} request The + * @param {!proto.services.property_svc.v1.GetPropertySetRequest} request The * request proto * @param {?Object} metadata User defined * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.property_svc.v1.GetPropertySetResponse)} + * @param {function(?grpc.web.RpcError, ?proto.services.property_svc.v1.GetPropertySetResponse)} * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} + * @return {!grpc.web.ClientReadableStream|undefined} * The XHR Node Readable Stream */ -proto.proto.services.property_svc.v1.PropertySetServiceClient.prototype.getPropertySet = +proto.services.property_svc.v1.PropertySetServiceClient.prototype.getPropertySet = function(request, metadata, callback) { return this.client_.rpcCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertySetService/GetPropertySet', + '/services.property_svc.v1.PropertySetService/GetPropertySet', request, metadata || {}, methodDescriptor_PropertySetService_GetPropertySet, @@ -182,22 +181,22 @@ proto.proto.services.property_svc.v1.PropertySetServiceClient.prototype.getPrope /** - * @param {!proto.proto.services.property_svc.v1.GetPropertySetRequest} request The + * @param {!proto.services.property_svc.v1.GetPropertySetRequest} request The * request proto * @param {?Object=} metadata User defined * call metadata - * @return {!Promise} + * @return {!Promise} * Promise that resolves to the response */ -proto.proto.services.property_svc.v1.PropertySetServicePromiseClient.prototype.getPropertySet = +proto.services.property_svc.v1.PropertySetServicePromiseClient.prototype.getPropertySet = function(request, metadata) { return this.client_.unaryCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertySetService/GetPropertySet', + '/services.property_svc.v1.PropertySetService/GetPropertySet', request, metadata || {}, methodDescriptor_PropertySetService_GetPropertySet); }; -module.exports = proto.proto.services.property_svc.v1; +module.exports = proto.services.property_svc.v1; diff --git a/gen/ts/proto/services/property_svc/v1/property_set_svc_pb.d.ts b/gen/ts/services/property_svc/v1/property_set_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/property_svc/v1/property_set_svc_pb.d.ts rename to gen/ts/services/property_svc/v1/property_set_svc_pb.d.ts diff --git a/gen/ts/proto/services/property_svc/v1/property_set_svc_pb.js b/gen/ts/services/property_svc/v1/property_set_svc_pb.js similarity index 59% rename from gen/ts/proto/services/property_svc/v1/property_set_svc_pb.js rename to gen/ts/services/property_svc/v1/property_set_svc_pb.js index d5e1ce42b..fcae0b3ce 100644 --- a/gen/ts/proto/services/property_svc/v1/property_set_svc_pb.js +++ b/gen/ts/services/property_svc/v1/property_set_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/property_svc/v1/property_set_svc.proto +// source: services/property_svc/v1/property_set_svc.proto /** * @fileoverview * @enhanceable @@ -21,10 +21,10 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.property_svc.v1.CreatePropertySetRequest', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.CreatePropertySetResponse', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertySetRequest', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertySetResponse', null, global); +goog.exportSymbol('proto.services.property_svc.v1.CreatePropertySetRequest', null, global); +goog.exportSymbol('proto.services.property_svc.v1.CreatePropertySetResponse', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertySetRequest', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertySetResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -35,16 +35,16 @@ goog.exportSymbol('proto.proto.services.property_svc.v1.GetPropertySetResponse', * @extends {jspb.Message} * @constructor */ -proto.proto.services.property_svc.v1.CreatePropertySetRequest = function(opt_data) { +proto.services.property_svc.v1.CreatePropertySetRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.property_svc.v1.CreatePropertySetRequest, jspb.Message); +goog.inherits(proto.services.property_svc.v1.CreatePropertySetRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.property_svc.v1.CreatePropertySetRequest.displayName = 'proto.proto.services.property_svc.v1.CreatePropertySetRequest'; + proto.services.property_svc.v1.CreatePropertySetRequest.displayName = 'proto.services.property_svc.v1.CreatePropertySetRequest'; } /** * Generated by JsPbCodeGenerator. @@ -56,16 +56,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.property_svc.v1.CreatePropertySetResponse = function(opt_data) { +proto.services.property_svc.v1.CreatePropertySetResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.property_svc.v1.CreatePropertySetResponse, jspb.Message); +goog.inherits(proto.services.property_svc.v1.CreatePropertySetResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.property_svc.v1.CreatePropertySetResponse.displayName = 'proto.proto.services.property_svc.v1.CreatePropertySetResponse'; + proto.services.property_svc.v1.CreatePropertySetResponse.displayName = 'proto.services.property_svc.v1.CreatePropertySetResponse'; } /** * Generated by JsPbCodeGenerator. @@ -77,16 +77,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.property_svc.v1.GetPropertySetRequest = function(opt_data) { +proto.services.property_svc.v1.GetPropertySetRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertySetRequest, jspb.Message); +goog.inherits(proto.services.property_svc.v1.GetPropertySetRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.property_svc.v1.GetPropertySetRequest.displayName = 'proto.proto.services.property_svc.v1.GetPropertySetRequest'; + proto.services.property_svc.v1.GetPropertySetRequest.displayName = 'proto.services.property_svc.v1.GetPropertySetRequest'; } /** * Generated by JsPbCodeGenerator. @@ -98,16 +98,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.property_svc.v1.GetPropertySetResponse = function(opt_data) { +proto.services.property_svc.v1.GetPropertySetResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.property_svc.v1.GetPropertySetResponse, jspb.Message); +goog.inherits(proto.services.property_svc.v1.GetPropertySetResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.property_svc.v1.GetPropertySetResponse.displayName = 'proto.proto.services.property_svc.v1.GetPropertySetResponse'; + proto.services.property_svc.v1.GetPropertySetResponse.displayName = 'proto.services.property_svc.v1.GetPropertySetResponse'; } @@ -125,8 +125,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.property_svc.v1.CreatePropertySetRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.CreatePropertySetRequest.toObject(opt_includeInstance, this); +proto.services.property_svc.v1.CreatePropertySetRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.CreatePropertySetRequest.toObject(opt_includeInstance, this); }; @@ -135,11 +135,11 @@ proto.proto.services.property_svc.v1.CreatePropertySetRequest.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.CreatePropertySetRequest} msg The msg instance to transform. + * @param {!proto.services.property_svc.v1.CreatePropertySetRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.CreatePropertySetRequest.toObject = function(includeInstance, msg) { +proto.services.property_svc.v1.CreatePropertySetRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -155,23 +155,23 @@ proto.proto.services.property_svc.v1.CreatePropertySetRequest.toObject = functio /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.CreatePropertySetRequest} + * @return {!proto.services.property_svc.v1.CreatePropertySetRequest} */ -proto.proto.services.property_svc.v1.CreatePropertySetRequest.deserializeBinary = function(bytes) { +proto.services.property_svc.v1.CreatePropertySetRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.CreatePropertySetRequest; - return proto.proto.services.property_svc.v1.CreatePropertySetRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.property_svc.v1.CreatePropertySetRequest; + return proto.services.property_svc.v1.CreatePropertySetRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.CreatePropertySetRequest} msg The message object to deserialize into. + * @param {!proto.services.property_svc.v1.CreatePropertySetRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.CreatePropertySetRequest} + * @return {!proto.services.property_svc.v1.CreatePropertySetRequest} */ -proto.proto.services.property_svc.v1.CreatePropertySetRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.property_svc.v1.CreatePropertySetRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -195,9 +195,9 @@ proto.proto.services.property_svc.v1.CreatePropertySetRequest.deserializeBinaryF * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.property_svc.v1.CreatePropertySetRequest.prototype.serializeBinary = function() { +proto.services.property_svc.v1.CreatePropertySetRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.CreatePropertySetRequest.serializeBinaryToWriter(this, writer); + proto.services.property_svc.v1.CreatePropertySetRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -205,11 +205,11 @@ proto.proto.services.property_svc.v1.CreatePropertySetRequest.prototype.serializ /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.CreatePropertySetRequest} message + * @param {!proto.services.property_svc.v1.CreatePropertySetRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.CreatePropertySetRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.property_svc.v1.CreatePropertySetRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -225,16 +225,16 @@ proto.proto.services.property_svc.v1.CreatePropertySetRequest.serializeBinaryToW * optional string name = 1; * @return {string} */ -proto.proto.services.property_svc.v1.CreatePropertySetRequest.prototype.getName = function() { +proto.services.property_svc.v1.CreatePropertySetRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertySetRequest} returns this + * @return {!proto.services.property_svc.v1.CreatePropertySetRequest} returns this */ -proto.proto.services.property_svc.v1.CreatePropertySetRequest.prototype.setName = function(value) { +proto.services.property_svc.v1.CreatePropertySetRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -255,8 +255,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.property_svc.v1.CreatePropertySetResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.CreatePropertySetResponse.toObject(opt_includeInstance, this); +proto.services.property_svc.v1.CreatePropertySetResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.CreatePropertySetResponse.toObject(opt_includeInstance, this); }; @@ -265,11 +265,11 @@ proto.proto.services.property_svc.v1.CreatePropertySetResponse.prototype.toObjec * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.CreatePropertySetResponse} msg The msg instance to transform. + * @param {!proto.services.property_svc.v1.CreatePropertySetResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.CreatePropertySetResponse.toObject = function(includeInstance, msg) { +proto.services.property_svc.v1.CreatePropertySetResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -285,23 +285,23 @@ proto.proto.services.property_svc.v1.CreatePropertySetResponse.toObject = functi /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.CreatePropertySetResponse} + * @return {!proto.services.property_svc.v1.CreatePropertySetResponse} */ -proto.proto.services.property_svc.v1.CreatePropertySetResponse.deserializeBinary = function(bytes) { +proto.services.property_svc.v1.CreatePropertySetResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.CreatePropertySetResponse; - return proto.proto.services.property_svc.v1.CreatePropertySetResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.property_svc.v1.CreatePropertySetResponse; + return proto.services.property_svc.v1.CreatePropertySetResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.CreatePropertySetResponse} msg The message object to deserialize into. + * @param {!proto.services.property_svc.v1.CreatePropertySetResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.CreatePropertySetResponse} + * @return {!proto.services.property_svc.v1.CreatePropertySetResponse} */ -proto.proto.services.property_svc.v1.CreatePropertySetResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.property_svc.v1.CreatePropertySetResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -325,9 +325,9 @@ proto.proto.services.property_svc.v1.CreatePropertySetResponse.deserializeBinary * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.property_svc.v1.CreatePropertySetResponse.prototype.serializeBinary = function() { +proto.services.property_svc.v1.CreatePropertySetResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.CreatePropertySetResponse.serializeBinaryToWriter(this, writer); + proto.services.property_svc.v1.CreatePropertySetResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -335,11 +335,11 @@ proto.proto.services.property_svc.v1.CreatePropertySetResponse.prototype.seriali /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.CreatePropertySetResponse} message + * @param {!proto.services.property_svc.v1.CreatePropertySetResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.CreatePropertySetResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.property_svc.v1.CreatePropertySetResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -355,16 +355,16 @@ proto.proto.services.property_svc.v1.CreatePropertySetResponse.serializeBinaryTo * optional string id = 1; * @return {string} */ -proto.proto.services.property_svc.v1.CreatePropertySetResponse.prototype.getId = function() { +proto.services.property_svc.v1.CreatePropertySetResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.property_svc.v1.CreatePropertySetResponse} returns this + * @return {!proto.services.property_svc.v1.CreatePropertySetResponse} returns this */ -proto.proto.services.property_svc.v1.CreatePropertySetResponse.prototype.setId = function(value) { +proto.services.property_svc.v1.CreatePropertySetResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -385,8 +385,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.property_svc.v1.GetPropertySetRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertySetRequest.toObject(opt_includeInstance, this); +proto.services.property_svc.v1.GetPropertySetRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertySetRequest.toObject(opt_includeInstance, this); }; @@ -395,11 +395,11 @@ proto.proto.services.property_svc.v1.GetPropertySetRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertySetRequest} msg The msg instance to transform. + * @param {!proto.services.property_svc.v1.GetPropertySetRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.GetPropertySetRequest.toObject = function(includeInstance, msg) { +proto.services.property_svc.v1.GetPropertySetRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -415,23 +415,23 @@ proto.proto.services.property_svc.v1.GetPropertySetRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertySetRequest} + * @return {!proto.services.property_svc.v1.GetPropertySetRequest} */ -proto.proto.services.property_svc.v1.GetPropertySetRequest.deserializeBinary = function(bytes) { +proto.services.property_svc.v1.GetPropertySetRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertySetRequest; - return proto.proto.services.property_svc.v1.GetPropertySetRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.property_svc.v1.GetPropertySetRequest; + return proto.services.property_svc.v1.GetPropertySetRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertySetRequest} msg The message object to deserialize into. + * @param {!proto.services.property_svc.v1.GetPropertySetRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertySetRequest} + * @return {!proto.services.property_svc.v1.GetPropertySetRequest} */ -proto.proto.services.property_svc.v1.GetPropertySetRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.property_svc.v1.GetPropertySetRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -455,9 +455,9 @@ proto.proto.services.property_svc.v1.GetPropertySetRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.property_svc.v1.GetPropertySetRequest.prototype.serializeBinary = function() { +proto.services.property_svc.v1.GetPropertySetRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertySetRequest.serializeBinaryToWriter(this, writer); + proto.services.property_svc.v1.GetPropertySetRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -465,11 +465,11 @@ proto.proto.services.property_svc.v1.GetPropertySetRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertySetRequest} message + * @param {!proto.services.property_svc.v1.GetPropertySetRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.GetPropertySetRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.property_svc.v1.GetPropertySetRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -485,16 +485,16 @@ proto.proto.services.property_svc.v1.GetPropertySetRequest.serializeBinaryToWrit * optional string id = 1; * @return {string} */ -proto.proto.services.property_svc.v1.GetPropertySetRequest.prototype.getId = function() { +proto.services.property_svc.v1.GetPropertySetRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertySetRequest} returns this + * @return {!proto.services.property_svc.v1.GetPropertySetRequest} returns this */ -proto.proto.services.property_svc.v1.GetPropertySetRequest.prototype.setId = function(value) { +proto.services.property_svc.v1.GetPropertySetRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -515,8 +515,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.property_svc.v1.GetPropertySetResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.GetPropertySetResponse.toObject(opt_includeInstance, this); +proto.services.property_svc.v1.GetPropertySetResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertySetResponse.toObject(opt_includeInstance, this); }; @@ -525,11 +525,11 @@ proto.proto.services.property_svc.v1.GetPropertySetResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.GetPropertySetResponse} msg The msg instance to transform. + * @param {!proto.services.property_svc.v1.GetPropertySetResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.GetPropertySetResponse.toObject = function(includeInstance, msg) { +proto.services.property_svc.v1.GetPropertySetResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -546,23 +546,23 @@ proto.proto.services.property_svc.v1.GetPropertySetResponse.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.GetPropertySetResponse} + * @return {!proto.services.property_svc.v1.GetPropertySetResponse} */ -proto.proto.services.property_svc.v1.GetPropertySetResponse.deserializeBinary = function(bytes) { +proto.services.property_svc.v1.GetPropertySetResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.GetPropertySetResponse; - return proto.proto.services.property_svc.v1.GetPropertySetResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.property_svc.v1.GetPropertySetResponse; + return proto.services.property_svc.v1.GetPropertySetResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.GetPropertySetResponse} msg The message object to deserialize into. + * @param {!proto.services.property_svc.v1.GetPropertySetResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.GetPropertySetResponse} + * @return {!proto.services.property_svc.v1.GetPropertySetResponse} */ -proto.proto.services.property_svc.v1.GetPropertySetResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.property_svc.v1.GetPropertySetResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -590,9 +590,9 @@ proto.proto.services.property_svc.v1.GetPropertySetResponse.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.property_svc.v1.GetPropertySetResponse.prototype.serializeBinary = function() { +proto.services.property_svc.v1.GetPropertySetResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.GetPropertySetResponse.serializeBinaryToWriter(this, writer); + proto.services.property_svc.v1.GetPropertySetResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -600,11 +600,11 @@ proto.proto.services.property_svc.v1.GetPropertySetResponse.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.GetPropertySetResponse} message + * @param {!proto.services.property_svc.v1.GetPropertySetResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.GetPropertySetResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.property_svc.v1.GetPropertySetResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -627,16 +627,16 @@ proto.proto.services.property_svc.v1.GetPropertySetResponse.serializeBinaryToWri * optional string id = 1; * @return {string} */ -proto.proto.services.property_svc.v1.GetPropertySetResponse.prototype.getId = function() { +proto.services.property_svc.v1.GetPropertySetResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertySetResponse} returns this + * @return {!proto.services.property_svc.v1.GetPropertySetResponse} returns this */ -proto.proto.services.property_svc.v1.GetPropertySetResponse.prototype.setId = function(value) { +proto.services.property_svc.v1.GetPropertySetResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -645,18 +645,18 @@ proto.proto.services.property_svc.v1.GetPropertySetResponse.prototype.setId = fu * optional string name = 2; * @return {string} */ -proto.proto.services.property_svc.v1.GetPropertySetResponse.prototype.getName = function() { +proto.services.property_svc.v1.GetPropertySetResponse.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.property_svc.v1.GetPropertySetResponse} returns this + * @return {!proto.services.property_svc.v1.GetPropertySetResponse} returns this */ -proto.proto.services.property_svc.v1.GetPropertySetResponse.prototype.setName = function(value) { +proto.services.property_svc.v1.GetPropertySetResponse.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; -goog.object.extend(exports, proto.proto.services.property_svc.v1); +goog.object.extend(exports, proto.services.property_svc.v1); diff --git a/gen/ts/services/property_svc/v1/property_svc_grpc_web_pb.d.ts b/gen/ts/services/property_svc/v1/property_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..438c6ecca --- /dev/null +++ b/gen/ts/services/property_svc/v1/property_svc_grpc_web_pb.d.ts @@ -0,0 +1,67 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_property_svc_v1_property_svc_pb from '../../../services/property_svc/v1/property_svc_pb'; // proto import: "services/property_svc/v1/property_svc.proto" + + +export class PropertyServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createProperty( + request: services_property_svc_v1_property_svc_pb.CreatePropertyRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_property_svc_v1_property_svc_pb.CreatePropertyResponse) => void + ): grpcWeb.ClientReadableStream; + + getProperty( + request: services_property_svc_v1_property_svc_pb.GetPropertyRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_property_svc_v1_property_svc_pb.GetPropertyResponse) => void + ): grpcWeb.ClientReadableStream; + + updateProperty( + request: services_property_svc_v1_property_svc_pb.UpdatePropertyRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_property_svc_v1_property_svc_pb.UpdatePropertyResponse) => void + ): grpcWeb.ClientReadableStream; + + getPropertiesBySubjectType( + request: services_property_svc_v1_property_svc_pb.GetPropertiesBySubjectTypeRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_property_svc_v1_property_svc_pb.GetPropertiesBySubjectTypeResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class PropertyServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createProperty( + request: services_property_svc_v1_property_svc_pb.CreatePropertyRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getProperty( + request: services_property_svc_v1_property_svc_pb.GetPropertyRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateProperty( + request: services_property_svc_v1_property_svc_pb.UpdatePropertyRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getPropertiesBySubjectType( + request: services_property_svc_v1_property_svc_pb.GetPropertiesBySubjectTypeRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/services/property_svc/v1/property_svc_grpc_web_pb.js b/gen/ts/services/property_svc/v1/property_svc_grpc_web_pb.js new file mode 100644 index 000000000..63a3984f3 --- /dev/null +++ b/gen/ts/services/property_svc/v1/property_svc_grpc_web_pb.js @@ -0,0 +1,326 @@ +/** + * @fileoverview gRPC-Web generated client stub for services.property_svc.v1 + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.5.0 +// protoc v0.0.0 +// source: services/property_svc/v1/property_svc.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + + +var services_property_svc_v1_types_pb = require('../../../services/property_svc/v1/types_pb.js') +const proto = {}; +proto.services = {}; +proto.services.property_svc = {}; +proto.services.property_svc.v1 = require('./property_svc_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.property_svc.v1.PropertyServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.property_svc.v1.PropertyServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.property_svc.v1.CreatePropertyRequest, + * !proto.services.property_svc.v1.CreatePropertyResponse>} + */ +const methodDescriptor_PropertyService_CreateProperty = new grpc.web.MethodDescriptor( + '/services.property_svc.v1.PropertyService/CreateProperty', + grpc.web.MethodType.UNARY, + proto.services.property_svc.v1.CreatePropertyRequest, + proto.services.property_svc.v1.CreatePropertyResponse, + /** + * @param {!proto.services.property_svc.v1.CreatePropertyRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.property_svc.v1.CreatePropertyResponse.deserializeBinary +); + + +/** + * @param {!proto.services.property_svc.v1.CreatePropertyRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.property_svc.v1.CreatePropertyResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.property_svc.v1.PropertyServiceClient.prototype.createProperty = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.property_svc.v1.PropertyService/CreateProperty', + request, + metadata || {}, + methodDescriptor_PropertyService_CreateProperty, + callback); +}; + + +/** + * @param {!proto.services.property_svc.v1.CreatePropertyRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.property_svc.v1.PropertyServicePromiseClient.prototype.createProperty = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.property_svc.v1.PropertyService/CreateProperty', + request, + metadata || {}, + methodDescriptor_PropertyService_CreateProperty); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.property_svc.v1.GetPropertyRequest, + * !proto.services.property_svc.v1.GetPropertyResponse>} + */ +const methodDescriptor_PropertyService_GetProperty = new grpc.web.MethodDescriptor( + '/services.property_svc.v1.PropertyService/GetProperty', + grpc.web.MethodType.UNARY, + proto.services.property_svc.v1.GetPropertyRequest, + proto.services.property_svc.v1.GetPropertyResponse, + /** + * @param {!proto.services.property_svc.v1.GetPropertyRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.property_svc.v1.GetPropertyResponse.deserializeBinary +); + + +/** + * @param {!proto.services.property_svc.v1.GetPropertyRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.property_svc.v1.GetPropertyResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.property_svc.v1.PropertyServiceClient.prototype.getProperty = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.property_svc.v1.PropertyService/GetProperty', + request, + metadata || {}, + methodDescriptor_PropertyService_GetProperty, + callback); +}; + + +/** + * @param {!proto.services.property_svc.v1.GetPropertyRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.property_svc.v1.PropertyServicePromiseClient.prototype.getProperty = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.property_svc.v1.PropertyService/GetProperty', + request, + metadata || {}, + methodDescriptor_PropertyService_GetProperty); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.property_svc.v1.UpdatePropertyRequest, + * !proto.services.property_svc.v1.UpdatePropertyResponse>} + */ +const methodDescriptor_PropertyService_UpdateProperty = new grpc.web.MethodDescriptor( + '/services.property_svc.v1.PropertyService/UpdateProperty', + grpc.web.MethodType.UNARY, + proto.services.property_svc.v1.UpdatePropertyRequest, + proto.services.property_svc.v1.UpdatePropertyResponse, + /** + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.property_svc.v1.UpdatePropertyResponse.deserializeBinary +); + + +/** + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.property_svc.v1.UpdatePropertyResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.property_svc.v1.PropertyServiceClient.prototype.updateProperty = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.property_svc.v1.PropertyService/UpdateProperty', + request, + metadata || {}, + methodDescriptor_PropertyService_UpdateProperty, + callback); +}; + + +/** + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.property_svc.v1.PropertyServicePromiseClient.prototype.updateProperty = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.property_svc.v1.PropertyService/UpdateProperty', + request, + metadata || {}, + methodDescriptor_PropertyService_UpdateProperty); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest, + * !proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse>} + */ +const methodDescriptor_PropertyService_GetPropertiesBySubjectType = new grpc.web.MethodDescriptor( + '/services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', + grpc.web.MethodType.UNARY, + proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest, + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse, + /** + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.deserializeBinary +); + + +/** + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.property_svc.v1.PropertyServiceClient.prototype.getPropertiesBySubjectType = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', + request, + metadata || {}, + methodDescriptor_PropertyService_GetPropertiesBySubjectType, + callback); +}; + + +/** + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.property_svc.v1.PropertyServicePromiseClient.prototype.getPropertiesBySubjectType = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', + request, + metadata || {}, + methodDescriptor_PropertyService_GetPropertiesBySubjectType); +}; + + +module.exports = proto.services.property_svc.v1; + diff --git a/gen/ts/proto/services/property_svc/v1/property_svc_pb.d.ts b/gen/ts/services/property_svc/v1/property_svc_pb.d.ts similarity index 91% rename from gen/ts/proto/services/property_svc/v1/property_svc_pb.d.ts rename to gen/ts/services/property_svc/v1/property_svc_pb.d.ts index 23d98bf95..ad570babc 100644 --- a/gen/ts/proto/services/property_svc/v1/property_svc_pb.d.ts +++ b/gen/ts/services/property_svc/v1/property_svc_pb.d.ts @@ -1,14 +1,14 @@ import * as jspb from 'google-protobuf' -import * as proto_services_property_svc_v1_types_pb from '../../../../proto/services/property_svc/v1/types_pb'; // proto import: "proto/services/property_svc/v1/types.proto" +import * as services_property_svc_v1_types_pb from '../../../services/property_svc/v1/types_pb'; // proto import: "services/property_svc/v1/types.proto" export class CreatePropertyRequest extends jspb.Message { - getSubjectType(): proto_services_property_svc_v1_types_pb.SubjectType; - setSubjectType(value: proto_services_property_svc_v1_types_pb.SubjectType): CreatePropertyRequest; + getSubjectType(): services_property_svc_v1_types_pb.SubjectType; + setSubjectType(value: services_property_svc_v1_types_pb.SubjectType): CreatePropertyRequest; - getFieldType(): proto_services_property_svc_v1_types_pb.FieldType; - setFieldType(value: proto_services_property_svc_v1_types_pb.FieldType): CreatePropertyRequest; + getFieldType(): services_property_svc_v1_types_pb.FieldType; + setFieldType(value: services_property_svc_v1_types_pb.FieldType): CreatePropertyRequest; getName(): string; setName(value: string): CreatePropertyRequest; @@ -40,8 +40,8 @@ export class CreatePropertyRequest extends jspb.Message { export namespace CreatePropertyRequest { export type AsObject = { - subjectType: proto_services_property_svc_v1_types_pb.SubjectType, - fieldType: proto_services_property_svc_v1_types_pb.FieldType, + subjectType: services_property_svc_v1_types_pb.SubjectType, + fieldType: services_property_svc_v1_types_pb.FieldType, name: string, description?: string, setId?: string, @@ -197,11 +197,11 @@ export class GetPropertyResponse extends jspb.Message { getId(): string; setId(value: string): GetPropertyResponse; - getSubjectType(): proto_services_property_svc_v1_types_pb.SubjectType; - setSubjectType(value: proto_services_property_svc_v1_types_pb.SubjectType): GetPropertyResponse; + getSubjectType(): services_property_svc_v1_types_pb.SubjectType; + setSubjectType(value: services_property_svc_v1_types_pb.SubjectType): GetPropertyResponse; - getFieldType(): proto_services_property_svc_v1_types_pb.FieldType; - setFieldType(value: proto_services_property_svc_v1_types_pb.FieldType): GetPropertyResponse; + getFieldType(): services_property_svc_v1_types_pb.FieldType; + setFieldType(value: services_property_svc_v1_types_pb.FieldType): GetPropertyResponse; getName(): string; setName(value: string): GetPropertyResponse; @@ -242,8 +242,8 @@ export class GetPropertyResponse extends jspb.Message { export namespace GetPropertyResponse { export type AsObject = { id: string, - subjectType: proto_services_property_svc_v1_types_pb.SubjectType, - fieldType: proto_services_property_svc_v1_types_pb.FieldType, + subjectType: services_property_svc_v1_types_pb.SubjectType, + fieldType: services_property_svc_v1_types_pb.FieldType, name: string, description?: string, isArchived: boolean, @@ -347,8 +347,8 @@ export class UpdatePropertyRequest extends jspb.Message { getId(): string; setId(value: string): UpdatePropertyRequest; - getSubjectType(): proto_services_property_svc_v1_types_pb.SubjectType; - setSubjectType(value: proto_services_property_svc_v1_types_pb.SubjectType): UpdatePropertyRequest; + getSubjectType(): services_property_svc_v1_types_pb.SubjectType; + setSubjectType(value: services_property_svc_v1_types_pb.SubjectType): UpdatePropertyRequest; hasSubjectType(): boolean; clearSubjectType(): UpdatePropertyRequest; @@ -390,7 +390,7 @@ export class UpdatePropertyRequest extends jspb.Message { export namespace UpdatePropertyRequest { export type AsObject = { id: string, - subjectType?: proto_services_property_svc_v1_types_pb.SubjectType, + subjectType?: services_property_svc_v1_types_pb.SubjectType, name?: string, description?: string, isArchived?: boolean, @@ -534,8 +534,8 @@ export namespace UpdatePropertyResponse { } export class GetPropertiesBySubjectTypeRequest extends jspb.Message { - getSubjectType(): proto_services_property_svc_v1_types_pb.SubjectType; - setSubjectType(value: proto_services_property_svc_v1_types_pb.SubjectType): GetPropertiesBySubjectTypeRequest; + getSubjectType(): services_property_svc_v1_types_pb.SubjectType; + setSubjectType(value: services_property_svc_v1_types_pb.SubjectType): GetPropertiesBySubjectTypeRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetPropertiesBySubjectTypeRequest.AsObject; @@ -547,7 +547,7 @@ export class GetPropertiesBySubjectTypeRequest extends jspb.Message { export namespace GetPropertiesBySubjectTypeRequest { export type AsObject = { - subjectType: proto_services_property_svc_v1_types_pb.SubjectType, + subjectType: services_property_svc_v1_types_pb.SubjectType, } } @@ -574,11 +574,11 @@ export namespace GetPropertiesBySubjectTypeResponse { getId(): string; setId(value: string): Property; - getSubjectType(): proto_services_property_svc_v1_types_pb.SubjectType; - setSubjectType(value: proto_services_property_svc_v1_types_pb.SubjectType): Property; + getSubjectType(): services_property_svc_v1_types_pb.SubjectType; + setSubjectType(value: services_property_svc_v1_types_pb.SubjectType): Property; - getFieldType(): proto_services_property_svc_v1_types_pb.FieldType; - setFieldType(value: proto_services_property_svc_v1_types_pb.FieldType): Property; + getFieldType(): services_property_svc_v1_types_pb.FieldType; + setFieldType(value: services_property_svc_v1_types_pb.FieldType): Property; getName(): string; setName(value: string): Property; @@ -614,8 +614,8 @@ export namespace GetPropertiesBySubjectTypeResponse { export namespace Property { export type AsObject = { id: string, - subjectType: proto_services_property_svc_v1_types_pb.SubjectType, - fieldType: proto_services_property_svc_v1_types_pb.FieldType, + subjectType: services_property_svc_v1_types_pb.SubjectType, + fieldType: services_property_svc_v1_types_pb.FieldType, name: string, description?: string, isArchived: boolean, diff --git a/gen/ts/services/property_svc/v1/property_svc_pb.js b/gen/ts/services/property_svc/v1/property_svc_pb.js new file mode 100644 index 000000000..cb72ba075 --- /dev/null +++ b/gen/ts/services/property_svc/v1/property_svc_pb.js @@ -0,0 +1,4809 @@ +// source: services/property_svc/v1/property_svc.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = + (typeof globalThis !== 'undefined' && globalThis) || + (typeof window !== 'undefined' && window) || + (typeof global !== 'undefined' && global) || + (typeof self !== 'undefined' && self) || + (function () { return this; }).call(null) || + Function('return this')(); + +var services_property_svc_v1_types_pb = require('../../../services/property_svc/v1/types_pb.js'); +goog.object.extend(proto, services_property_svc_v1_types_pb); +goog.exportSymbol('proto.services.property_svc.v1.CreatePropertyRequest', null, global); +goog.exportSymbol('proto.services.property_svc.v1.CreatePropertyRequest.FieldTypeDataCase', null, global); +goog.exportSymbol('proto.services.property_svc.v1.CreatePropertyRequest.SelectData', null, global); +goog.exportSymbol('proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption', null, global); +goog.exportSymbol('proto.services.property_svc.v1.CreatePropertyResponse', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.FieldTypeDataCase', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertyRequest', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertyRequest.ViewSource', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertyRequest.ViewSource.ValueCase', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertyResponse', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertyResponse.FieldTypeDataCase', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertyResponse.SelectData', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption', null, global); +goog.exportSymbol('proto.services.property_svc.v1.UpdatePropertyRequest', null, global); +goog.exportSymbol('proto.services.property_svc.v1.UpdatePropertyRequest.FieldTypeDataCase', null, global); +goog.exportSymbol('proto.services.property_svc.v1.UpdatePropertyRequest.SelectData', null, global); +goog.exportSymbol('proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption', null, global); +goog.exportSymbol('proto.services.property_svc.v1.UpdatePropertyResponse', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.CreatePropertyRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.services.property_svc.v1.CreatePropertyRequest.oneofGroups_); +}; +goog.inherits(proto.services.property_svc.v1.CreatePropertyRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.CreatePropertyRequest.displayName = 'proto.services.property_svc.v1.CreatePropertyRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.property_svc.v1.CreatePropertyRequest.SelectData.repeatedFields_, null); +}; +goog.inherits(proto.services.property_svc.v1.CreatePropertyRequest.SelectData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.CreatePropertyRequest.SelectData.displayName = 'proto.services.property_svc.v1.CreatePropertyRequest.SelectData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.displayName = 'proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.CreatePropertyResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.services.property_svc.v1.CreatePropertyResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.CreatePropertyResponse.displayName = 'proto.services.property_svc.v1.CreatePropertyResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetPropertyRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.services.property_svc.v1.GetPropertyRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetPropertyRequest.displayName = 'proto.services.property_svc.v1.GetPropertyRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_); +}; +goog.inherits(proto.services.property_svc.v1.GetPropertyRequest.ViewSource, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetPropertyRequest.ViewSource.displayName = 'proto.services.property_svc.v1.GetPropertyRequest.ViewSource'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetPropertyResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.services.property_svc.v1.GetPropertyResponse.oneofGroups_); +}; +goog.inherits(proto.services.property_svc.v1.GetPropertyResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetPropertyResponse.displayName = 'proto.services.property_svc.v1.GetPropertyResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.property_svc.v1.GetPropertyResponse.SelectData.repeatedFields_, null); +}; +goog.inherits(proto.services.property_svc.v1.GetPropertyResponse.SelectData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetPropertyResponse.SelectData.displayName = 'proto.services.property_svc.v1.GetPropertyResponse.SelectData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.displayName = 'proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.UpdatePropertyRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.services.property_svc.v1.UpdatePropertyRequest.oneofGroups_); +}; +goog.inherits(proto.services.property_svc.v1.UpdatePropertyRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.UpdatePropertyRequest.displayName = 'proto.services.property_svc.v1.UpdatePropertyRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.repeatedFields_, null); +}; +goog.inherits(proto.services.property_svc.v1.UpdatePropertyRequest.SelectData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.displayName = 'proto.services.property_svc.v1.UpdatePropertyRequest.SelectData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.displayName = 'proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.UpdatePropertyResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.services.property_svc.v1.UpdatePropertyResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.UpdatePropertyResponse.displayName = 'proto.services.property_svc.v1.UpdatePropertyResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.displayName = 'proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.repeatedFields_, null); +}; +goog.inherits(proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.displayName = 'proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.oneofGroups_); +}; +goog.inherits(proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.displayName = 'proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.repeatedFields_, null); +}; +goog.inherits(proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.displayName = 'proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.displayName = 'proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption'; +} + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.services.property_svc.v1.CreatePropertyRequest.oneofGroups_ = [[9]]; + +/** + * @enum {number} + */ +proto.services.property_svc.v1.CreatePropertyRequest.FieldTypeDataCase = { + FIELD_TYPE_DATA_NOT_SET: 0, + SELECT_DATA: 9 +}; + +/** + * @return {proto.services.property_svc.v1.CreatePropertyRequest.FieldTypeDataCase} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.getFieldTypeDataCase = function() { + return /** @type {proto.services.property_svc.v1.CreatePropertyRequest.FieldTypeDataCase} */(jspb.Message.computeOneofCase(this, proto.services.property_svc.v1.CreatePropertyRequest.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.CreatePropertyRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.CreatePropertyRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.CreatePropertyRequest.toObject = function(includeInstance, msg) { + var f, obj = { + subjectType: jspb.Message.getFieldWithDefault(msg, 2, 0), + fieldType: jspb.Message.getFieldWithDefault(msg, 3, 0), + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + description: jspb.Message.getFieldWithDefault(msg, 5, ""), + setId: jspb.Message.getFieldWithDefault(msg, 6, ""), + selectData: (f = msg.getSelectData()) && proto.services.property_svc.v1.CreatePropertyRequest.SelectData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest} + */ +proto.services.property_svc.v1.CreatePropertyRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.CreatePropertyRequest; + return proto.services.property_svc.v1.CreatePropertyRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.CreatePropertyRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest} + */ +proto.services.property_svc.v1.CreatePropertyRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {!proto.services.property_svc.v1.SubjectType} */ (reader.readEnum()); + msg.setSubjectType(value); + break; + case 3: + var value = /** @type {!proto.services.property_svc.v1.FieldType} */ (reader.readEnum()); + msg.setFieldType(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setSetId(value); + break; + case 9: + var value = new proto.services.property_svc.v1.CreatePropertyRequest.SelectData; + reader.readMessage(value,proto.services.property_svc.v1.CreatePropertyRequest.SelectData.deserializeBinaryFromReader); + msg.setSelectData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.CreatePropertyRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.CreatePropertyRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.CreatePropertyRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSubjectType(); + if (f !== 0.0) { + writer.writeEnum( + 2, + f + ); + } + f = message.getFieldType(); + if (f !== 0.0) { + writer.writeEnum( + 3, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = message.getSelectData(); + if (f != null) { + writer.writeMessage( + 9, + f, + proto.services.property_svc.v1.CreatePropertyRequest.SelectData.serializeBinaryToWriter + ); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.CreatePropertyRequest.SelectData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.toObject = function(includeInstance, msg) { + var f, obj = { + allowFreetext: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + optionsList: jspb.Message.toObjectList(msg.getOptionsList(), + proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.CreatePropertyRequest.SelectData; + return proto.services.property_svc.v1.CreatePropertyRequest.SelectData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllowFreetext(value); + break; + case 2: + var value = new proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption; + reader.readMessage(value,proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader); + msg.addOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.CreatePropertyRequest.SelectData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } + f = message.getOptionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption; + return proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.setDescription = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.clearDescription = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption.prototype.hasDescription = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool allow_freetext = 1; + * @return {boolean} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.getAllowFreetext = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.setAllowFreetext = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.clearAllowFreetext = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.hasAllowFreetext = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated SelectOption options = 2; + * @return {!Array} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.getOptionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData} returns this +*/ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.setOptionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption=} opt_value + * @param {number=} opt_index + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption} + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.addOptions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest.SelectData} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.SelectData.prototype.clearOptionsList = function() { + return this.setOptionsList([]); +}; + + +/** + * optional SubjectType subject_type = 2; + * @return {!proto.services.property_svc.v1.SubjectType} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.getSubjectType = function() { + return /** @type {!proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {!proto.services.property_svc.v1.SubjectType} value + * @return {!proto.services.property_svc.v1.CreatePropertyRequest} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.setSubjectType = function(value) { + return jspb.Message.setProto3EnumField(this, 2, value); +}; + + +/** + * optional FieldType field_type = 3; + * @return {!proto.services.property_svc.v1.FieldType} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.getFieldType = function() { + return /** @type {!proto.services.property_svc.v1.FieldType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {!proto.services.property_svc.v1.FieldType} value + * @return {!proto.services.property_svc.v1.CreatePropertyRequest} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.setFieldType = function(value) { + return jspb.Message.setProto3EnumField(this, 3, value); +}; + + +/** + * optional string name = 4; + * @return {string} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.CreatePropertyRequest} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string description = 5; + * @return {string} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.CreatePropertyRequest} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.setDescription = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.clearDescription = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.hasDescription = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string set_id = 6; + * @return {string} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.getSetId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.CreatePropertyRequest} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.setSetId = function(value) { + return jspb.Message.setField(this, 6, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.clearSetId = function() { + return jspb.Message.setField(this, 6, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.hasSetId = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional SelectData select_data = 9; + * @return {?proto.services.property_svc.v1.CreatePropertyRequest.SelectData} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.getSelectData = function() { + return /** @type{?proto.services.property_svc.v1.CreatePropertyRequest.SelectData} */ ( + jspb.Message.getWrapperField(this, proto.services.property_svc.v1.CreatePropertyRequest.SelectData, 9)); +}; + + +/** + * @param {?proto.services.property_svc.v1.CreatePropertyRequest.SelectData|undefined} value + * @return {!proto.services.property_svc.v1.CreatePropertyRequest} returns this +*/ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.setSelectData = function(value) { + return jspb.Message.setOneofWrapperField(this, 9, proto.services.property_svc.v1.CreatePropertyRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.services.property_svc.v1.CreatePropertyRequest} returns this + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.clearSelectData = function() { + return this.setSelectData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.CreatePropertyRequest.prototype.hasSelectData = function() { + return jspb.Message.getField(this, 9) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.CreatePropertyResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.CreatePropertyResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.CreatePropertyResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.CreatePropertyResponse.toObject = function(includeInstance, msg) { + var f, obj = { + propertyId: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.CreatePropertyResponse} + */ +proto.services.property_svc.v1.CreatePropertyResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.CreatePropertyResponse; + return proto.services.property_svc.v1.CreatePropertyResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.CreatePropertyResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.CreatePropertyResponse} + */ +proto.services.property_svc.v1.CreatePropertyResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setPropertyId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.CreatePropertyResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.CreatePropertyResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.CreatePropertyResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.CreatePropertyResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPropertyId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string property_id = 1; + * @return {string} + */ +proto.services.property_svc.v1.CreatePropertyResponse.prototype.getPropertyId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.CreatePropertyResponse} returns this + */ +proto.services.property_svc.v1.CreatePropertyResponse.prototype.setPropertyId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetPropertyRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertyRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetPropertyRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertyRequest.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetPropertyRequest} + */ +proto.services.property_svc.v1.GetPropertyRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetPropertyRequest; + return proto.services.property_svc.v1.GetPropertyRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetPropertyRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetPropertyRequest} + */ +proto.services.property_svc.v1.GetPropertyRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetPropertyRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetPropertyRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetPropertyRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertyRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.ValueCase = { + VALUE_NOT_SET: 0, + GLOBAL: 1, + WARD_ID: 2 +}; + +/** + * @return {proto.services.property_svc.v1.GetPropertyRequest.ViewSource.ValueCase} + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.getValueCase = function() { + return /** @type {proto.services.property_svc.v1.GetPropertyRequest.ViewSource.ValueCase} */(jspb.Message.computeOneofCase(this, proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertyRequest.ViewSource.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetPropertyRequest.ViewSource} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.toObject = function(includeInstance, msg) { + var f, obj = { + global: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + wardId: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetPropertyRequest.ViewSource} + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetPropertyRequest.ViewSource; + return proto.services.property_svc.v1.GetPropertyRequest.ViewSource.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetPropertyRequest.ViewSource} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetPropertyRequest.ViewSource} + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setGlobal(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setWardId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetPropertyRequest.ViewSource.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetPropertyRequest.ViewSource} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional bool global = 1; + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.getGlobal = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.GetPropertyRequest.ViewSource} returns this + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.setGlobal = function(value) { + return jspb.Message.setOneofField(this, 1, proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertyRequest.ViewSource} returns this + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.clearGlobal = function() { + return jspb.Message.setOneofField(this, 1, proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.hasGlobal = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string ward_id = 2; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.getWardId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertyRequest.ViewSource} returns this + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.setWardId = function(value) { + return jspb.Message.setOneofField(this, 2, proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertyRequest.ViewSource} returns this + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.clearWardId = function() { + return jspb.Message.setOneofField(this, 2, proto.services.property_svc.v1.GetPropertyRequest.ViewSource.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyRequest.ViewSource.prototype.hasWardId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string id = 1; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertyRequest.prototype.getId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertyRequest} returns this + */ +proto.services.property_svc.v1.GetPropertyRequest.prototype.setId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.services.property_svc.v1.GetPropertyResponse.oneofGroups_ = [[10]]; + +/** + * @enum {number} + */ +proto.services.property_svc.v1.GetPropertyResponse.FieldTypeDataCase = { + FIELD_TYPE_DATA_NOT_SET: 0, + SELECT_DATA: 10 +}; + +/** + * @return {proto.services.property_svc.v1.GetPropertyResponse.FieldTypeDataCase} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.getFieldTypeDataCase = function() { + return /** @type {proto.services.property_svc.v1.GetPropertyResponse.FieldTypeDataCase} */(jspb.Message.computeOneofCase(this, proto.services.property_svc.v1.GetPropertyResponse.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertyResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetPropertyResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertyResponse.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + subjectType: jspb.Message.getFieldWithDefault(msg, 2, 0), + fieldType: jspb.Message.getFieldWithDefault(msg, 3, 0), + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + description: jspb.Message.getFieldWithDefault(msg, 5, ""), + isArchived: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + setId: jspb.Message.getFieldWithDefault(msg, 8, ""), + selectData: (f = msg.getSelectData()) && proto.services.property_svc.v1.GetPropertyResponse.SelectData.toObject(includeInstance, f), + alwaysIncludeForViewSource: jspb.Message.getBooleanFieldWithDefault(msg, 11, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetPropertyResponse} + */ +proto.services.property_svc.v1.GetPropertyResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetPropertyResponse; + return proto.services.property_svc.v1.GetPropertyResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetPropertyResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetPropertyResponse} + */ +proto.services.property_svc.v1.GetPropertyResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {!proto.services.property_svc.v1.SubjectType} */ (reader.readEnum()); + msg.setSubjectType(value); + break; + case 3: + var value = /** @type {!proto.services.property_svc.v1.FieldType} */ (reader.readEnum()); + msg.setFieldType(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsArchived(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setSetId(value); + break; + case 10: + var value = new proto.services.property_svc.v1.GetPropertyResponse.SelectData; + reader.readMessage(value,proto.services.property_svc.v1.GetPropertyResponse.SelectData.deserializeBinaryFromReader); + msg.setSelectData(value); + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAlwaysIncludeForViewSource(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetPropertyResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetPropertyResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertyResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSubjectType(); + if (f !== 0.0) { + writer.writeEnum( + 2, + f + ); + } + f = message.getFieldType(); + if (f !== 0.0) { + writer.writeEnum( + 3, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = message.getIsArchived(); + if (f) { + writer.writeBool( + 6, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeString( + 8, + f + ); + } + f = message.getSelectData(); + if (f != null) { + writer.writeMessage( + 10, + f, + proto.services.property_svc.v1.GetPropertyResponse.SelectData.serializeBinaryToWriter + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 11)); + if (f != null) { + writer.writeBool( + 11, + f + ); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertyResponse.SelectData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetPropertyResponse.SelectData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.toObject = function(includeInstance, msg) { + var f, obj = { + allowFreetext: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + optionsList: jspb.Message.toObjectList(msg.getOptionsList(), + proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetPropertyResponse.SelectData; + return proto.services.property_svc.v1.GetPropertyResponse.SelectData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetPropertyResponse.SelectData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllowFreetext(value); + break; + case 2: + var value = new proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption; + reader.readMessage(value,proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.deserializeBinaryFromReader); + msg.addOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetPropertyResponse.SelectData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetPropertyResponse.SelectData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } + f = message.getOptionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + isCustom: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption; + return proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsCustom(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = message.getIsCustom(); + if (f) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional string id = 1; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.getId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.setId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.setDescription = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.clearDescription = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.hasDescription = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool is_custom = 4; + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.getIsCustom = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption.prototype.setIsCustom = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); +}; + + +/** + * optional bool allow_freetext = 1; + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.getAllowFreetext = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.setAllowFreetext = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.clearAllowFreetext = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.hasAllowFreetext = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated SelectOption options = 2; + * @return {!Array} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.getOptionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData} returns this +*/ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.setOptionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption=} opt_value + * @param {number=} opt_index + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption} + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.addOptions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.services.property_svc.v1.GetPropertyResponse.SelectData} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.SelectData.prototype.clearOptionsList = function() { + return this.setOptionsList([]); +}; + + +/** + * optional string id = 1; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.getId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.setId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional SubjectType subject_type = 2; + * @return {!proto.services.property_svc.v1.SubjectType} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.getSubjectType = function() { + return /** @type {!proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {!proto.services.property_svc.v1.SubjectType} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.setSubjectType = function(value) { + return jspb.Message.setProto3EnumField(this, 2, value); +}; + + +/** + * optional FieldType field_type = 3; + * @return {!proto.services.property_svc.v1.FieldType} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.getFieldType = function() { + return /** @type {!proto.services.property_svc.v1.FieldType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {!proto.services.property_svc.v1.FieldType} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.setFieldType = function(value) { + return jspb.Message.setProto3EnumField(this, 3, value); +}; + + +/** + * optional string name = 4; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string description = 5; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.setDescription = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.clearDescription = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.hasDescription = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool is_archived = 6; + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.getIsArchived = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.setIsArchived = function(value) { + return jspb.Message.setProto3BooleanField(this, 6, value); +}; + + +/** + * optional string set_id = 8; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.getSetId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.setSetId = function(value) { + return jspb.Message.setField(this, 8, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.clearSetId = function() { + return jspb.Message.setField(this, 8, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.hasSetId = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional SelectData select_data = 10; + * @return {?proto.services.property_svc.v1.GetPropertyResponse.SelectData} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.getSelectData = function() { + return /** @type{?proto.services.property_svc.v1.GetPropertyResponse.SelectData} */ ( + jspb.Message.getWrapperField(this, proto.services.property_svc.v1.GetPropertyResponse.SelectData, 10)); +}; + + +/** + * @param {?proto.services.property_svc.v1.GetPropertyResponse.SelectData|undefined} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this +*/ +proto.services.property_svc.v1.GetPropertyResponse.prototype.setSelectData = function(value) { + return jspb.Message.setOneofWrapperField(this, 10, proto.services.property_svc.v1.GetPropertyResponse.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.clearSelectData = function() { + return this.setSelectData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.hasSelectData = function() { + return jspb.Message.getField(this, 10) != null; +}; + + +/** + * optional bool always_include_for_view_source = 11; + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.getAlwaysIncludeForViewSource = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.setAlwaysIncludeForViewSource = function(value) { + return jspb.Message.setField(this, 11, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertyResponse} returns this + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.clearAlwaysIncludeForViewSource = function() { + return jspb.Message.setField(this, 11, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertyResponse.prototype.hasAlwaysIncludeForViewSource = function() { + return jspb.Message.getField(this, 11) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.services.property_svc.v1.UpdatePropertyRequest.oneofGroups_ = [[10]]; + +/** + * @enum {number} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.FieldTypeDataCase = { + FIELD_TYPE_DATA_NOT_SET: 0, + SELECT_DATA: 10 +}; + +/** + * @return {proto.services.property_svc.v1.UpdatePropertyRequest.FieldTypeDataCase} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getFieldTypeDataCase = function() { + return /** @type {proto.services.property_svc.v1.UpdatePropertyRequest.FieldTypeDataCase} */(jspb.Message.computeOneofCase(this, proto.services.property_svc.v1.UpdatePropertyRequest.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.UpdatePropertyRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.UpdatePropertyRequest.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + subjectType: jspb.Message.getFieldWithDefault(msg, 2, 0), + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + description: jspb.Message.getFieldWithDefault(msg, 5, ""), + isArchived: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + setId: jspb.Message.getFieldWithDefault(msg, 8, ""), + selectData: (f = msg.getSelectData()) && proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.UpdatePropertyRequest; + return proto.services.property_svc.v1.UpdatePropertyRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {!proto.services.property_svc.v1.SubjectType} */ (reader.readEnum()); + msg.setSubjectType(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsArchived(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setSetId(value); + break; + case 10: + var value = new proto.services.property_svc.v1.UpdatePropertyRequest.SelectData; + reader.readMessage(value,proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.deserializeBinaryFromReader); + msg.setSelectData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.UpdatePropertyRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.UpdatePropertyRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {!proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeEnum( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeBool( + 6, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeString( + 8, + f + ); + } + f = message.getSelectData(); + if (f != null) { + writer.writeMessage( + 10, + f, + proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.serializeBinaryToWriter + ); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.repeatedFields_ = [2,3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.toObject = function(includeInstance, msg) { + var f, obj = { + allowFreetext: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + removeOptionsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + upsertOptionsList: jspb.Message.toObjectList(msg.getUpsertOptionsList(), + proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.UpdatePropertyRequest.SelectData; + return proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllowFreetext(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.addRemoveOptions(value); + break; + case 3: + var value = new proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption; + reader.readMessage(value,proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader); + msg.addUpsertOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } + f = message.getRemoveOptionsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 2, + f + ); + } + f = message.getUpsertOptionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + isCustom: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption; + return proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsCustom(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional string id = 1; + * @return {string} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.getId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.setId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.setName = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.clearName = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.hasName = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.setDescription = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.clearDescription = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.hasDescription = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool is_custom = 4; + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.getIsCustom = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.setIsCustom = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.clearIsCustom = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption.prototype.hasIsCustom = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional bool allow_freetext = 1; + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.getAllowFreetext = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.setAllowFreetext = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.clearAllowFreetext = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.hasAllowFreetext = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated string remove_options = 2; + * @return {!Array} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.getRemoveOptionsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.setRemoveOptionsList = function(value) { + return jspb.Message.setField(this, 2, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.addRemoveOptions = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 2, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.clearRemoveOptionsList = function() { + return this.setRemoveOptionsList([]); +}; + + +/** + * repeated SelectOption upsert_options = 3; + * @return {!Array} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.getUpsertOptionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this +*/ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.setUpsertOptionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption=} opt_value + * @param {number=} opt_index + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.addUpsertOptions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.prototype.clearUpsertOptionsList = function() { + return this.setUpsertOptionsList([]); +}; + + +/** + * optional string id = 1; + * @return {string} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional SubjectType subject_type = 2; + * @return {!proto.services.property_svc.v1.SubjectType} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getSubjectType = function() { + return /** @type {!proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {!proto.services.property_svc.v1.SubjectType} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setSubjectType = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearSubjectType = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasSubjectType = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string name = 4; + * @return {string} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setName = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearName = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasName = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string description = 5; + * @return {string} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setDescription = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearDescription = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasDescription = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool is_archived = 6; + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getIsArchived = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setIsArchived = function(value) { + return jspb.Message.setField(this, 6, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearIsArchived = function() { + return jspb.Message.setField(this, 6, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasIsArchived = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional string set_id = 8; + * @return {string} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getSetId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setSetId = function(value) { + return jspb.Message.setField(this, 8, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearSetId = function() { + return jspb.Message.setField(this, 8, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasSetId = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional SelectData select_data = 10; + * @return {?proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.getSelectData = function() { + return /** @type{?proto.services.property_svc.v1.UpdatePropertyRequest.SelectData} */ ( + jspb.Message.getWrapperField(this, proto.services.property_svc.v1.UpdatePropertyRequest.SelectData, 10)); +}; + + +/** + * @param {?proto.services.property_svc.v1.UpdatePropertyRequest.SelectData|undefined} value + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this +*/ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.setSelectData = function(value) { + return jspb.Message.setOneofWrapperField(this, 10, proto.services.property_svc.v1.UpdatePropertyRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.services.property_svc.v1.UpdatePropertyRequest} returns this + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.clearSelectData = function() { + return this.setSelectData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.UpdatePropertyRequest.prototype.hasSelectData = function() { + return jspb.Message.getField(this, 10) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.UpdatePropertyResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.UpdatePropertyResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.UpdatePropertyResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.UpdatePropertyResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.UpdatePropertyResponse} + */ +proto.services.property_svc.v1.UpdatePropertyResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.UpdatePropertyResponse; + return proto.services.property_svc.v1.UpdatePropertyResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.UpdatePropertyResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.UpdatePropertyResponse} + */ +proto.services.property_svc.v1.UpdatePropertyResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.UpdatePropertyResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.UpdatePropertyResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.UpdatePropertyResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.UpdatePropertyResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.toObject = function(includeInstance, msg) { + var f, obj = { + subjectType: jspb.Message.getFieldWithDefault(msg, 1, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest; + return proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.services.property_svc.v1.SubjectType} */ (reader.readEnum()); + msg.setSubjectType(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSubjectType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } +}; + + +/** + * optional SubjectType subject_type = 1; + * @return {!proto.services.property_svc.v1.SubjectType} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.prototype.getSubjectType = function() { + return /** @type {!proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.services.property_svc.v1.SubjectType} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest.prototype.setSubjectType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.toObject = function(includeInstance, msg) { + var f, obj = { + propertiesList: jspb.Message.toObjectList(msg.getPropertiesList(), + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse; + return proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property; + reader.readMessage(value,proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.deserializeBinaryFromReader); + msg.addProperties(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPropertiesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.serializeBinaryToWriter + ); + } +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.oneofGroups_ = [[10]]; + +/** + * @enum {number} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.FieldTypeDataCase = { + FIELD_TYPE_DATA_NOT_SET: 0, + SELECT_DATA: 10 +}; + +/** + * @return {proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.FieldTypeDataCase} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getFieldTypeDataCase = function() { + return /** @type {proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.FieldTypeDataCase} */(jspb.Message.computeOneofCase(this, proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + subjectType: jspb.Message.getFieldWithDefault(msg, 2, 0), + fieldType: jspb.Message.getFieldWithDefault(msg, 3, 0), + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + description: jspb.Message.getFieldWithDefault(msg, 5, ""), + isArchived: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + setId: jspb.Message.getFieldWithDefault(msg, 8, ""), + selectData: (f = msg.getSelectData()) && proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property; + return proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {!proto.services.property_svc.v1.SubjectType} */ (reader.readEnum()); + msg.setSubjectType(value); + break; + case 3: + var value = /** @type {!proto.services.property_svc.v1.FieldType} */ (reader.readEnum()); + msg.setFieldType(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsArchived(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setSetId(value); + break; + case 10: + var value = new proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData; + reader.readMessage(value,proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.deserializeBinaryFromReader); + msg.setSelectData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSubjectType(); + if (f !== 0.0) { + writer.writeEnum( + 2, + f + ); + } + f = message.getFieldType(); + if (f !== 0.0) { + writer.writeEnum( + 3, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = message.getIsArchived(); + if (f) { + writer.writeBool( + 6, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeString( + 8, + f + ); + } + f = message.getSelectData(); + if (f != null) { + writer.writeMessage( + 10, + f, + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.serializeBinaryToWriter + ); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.toObject = function(includeInstance, msg) { + var f, obj = { + allowFreetext: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + optionsList: jspb.Message.toObjectList(msg.getOptionsList(), + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData; + return proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllowFreetext(value); + break; + case 2: + var value = new proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption; + reader.readMessage(value,proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.deserializeBinaryFromReader); + msg.addOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } + f = message.getOptionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + isCustom: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption; + return proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsCustom(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = message.getIsCustom(); + if (f) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional string id = 1; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.getId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.setId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.setDescription = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.clearDescription = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.hasDescription = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool is_custom = 4; + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.getIsCustom = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption.prototype.setIsCustom = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); +}; + + +/** + * optional bool allow_freetext = 1; + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.getAllowFreetext = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.setAllowFreetext = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.clearAllowFreetext = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.hasAllowFreetext = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated SelectOption options = 2; + * @return {!Array} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.getOptionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} returns this +*/ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.setOptionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption=} opt_value + * @param {number=} opt_index + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.addOptions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.prototype.clearOptionsList = function() { + return this.setOptionsList([]); +}; + + +/** + * optional string id = 1; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional SubjectType subject_type = 2; + * @return {!proto.services.property_svc.v1.SubjectType} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getSubjectType = function() { + return /** @type {!proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {!proto.services.property_svc.v1.SubjectType} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setSubjectType = function(value) { + return jspb.Message.setProto3EnumField(this, 2, value); +}; + + +/** + * optional FieldType field_type = 3; + * @return {!proto.services.property_svc.v1.FieldType} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getFieldType = function() { + return /** @type {!proto.services.property_svc.v1.FieldType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {!proto.services.property_svc.v1.FieldType} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setFieldType = function(value) { + return jspb.Message.setProto3EnumField(this, 3, value); +}; + + +/** + * optional string name = 4; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string description = 5; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setDescription = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.clearDescription = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.hasDescription = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool is_archived = 6; + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getIsArchived = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setIsArchived = function(value) { + return jspb.Message.setProto3BooleanField(this, 6, value); +}; + + +/** + * optional string set_id = 8; + * @return {string} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getSetId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setSetId = function(value) { + return jspb.Message.setField(this, 8, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.clearSetId = function() { + return jspb.Message.setField(this, 8, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.hasSetId = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional SelectData select_data = 10; + * @return {?proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.getSelectData = function() { + return /** @type{?proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData} */ ( + jspb.Message.getWrapperField(this, proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData, 10)); +}; + + +/** + * @param {?proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData|undefined} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this +*/ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.setSelectData = function(value) { + return jspb.Message.setOneofWrapperField(this, 10, proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.clearSelectData = function() { + return this.setSelectData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.prototype.hasSelectData = function() { + return jspb.Message.getField(this, 10) != null; +}; + + +/** + * repeated Property properties = 1; + * @return {!Array} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.getPropertiesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} returns this +*/ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.setPropertiesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property=} opt_value + * @param {number=} opt_index + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property} + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.addProperties = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse} returns this + */ +proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.prototype.clearPropertiesList = function() { + return this.setPropertiesList([]); +}; + + +goog.object.extend(exports, proto.services.property_svc.v1); diff --git a/gen/ts/services/property_svc/v1/property_value_svc_grpc_web_pb.d.ts b/gen/ts/services/property_svc/v1/property_value_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..6f080639f --- /dev/null +++ b/gen/ts/services/property_svc/v1/property_value_svc_grpc_web_pb.d.ts @@ -0,0 +1,43 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_property_svc_v1_property_value_svc_pb from '../../../services/property_svc/v1/property_value_svc_pb'; // proto import: "services/property_svc/v1/property_value_svc.proto" + + +export class PropertyValueServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + attachPropertyValue( + request: services_property_svc_v1_property_value_svc_pb.AttachPropertyValueRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_property_svc_v1_property_value_svc_pb.AttachPropertyValueResponse) => void + ): grpcWeb.ClientReadableStream; + + getAttachedPropertyValues( + request: services_property_svc_v1_property_value_svc_pb.GetAttachedPropertyValuesRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_property_svc_v1_property_value_svc_pb.GetAttachedPropertyValuesResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class PropertyValueServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + attachPropertyValue( + request: services_property_svc_v1_property_value_svc_pb.AttachPropertyValueRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getAttachedPropertyValues( + request: services_property_svc_v1_property_value_svc_pb.GetAttachedPropertyValuesRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/proto/services/property_svc/v1/property_value_svc_grpc_web_pb.js b/gen/ts/services/property_svc/v1/property_value_svc_grpc_web_pb.js similarity index 50% rename from gen/ts/proto/services/property_svc/v1/property_value_svc_grpc_web_pb.js rename to gen/ts/services/property_svc/v1/property_value_svc_grpc_web_pb.js index f84f6d9d9..377bebcf6 100644 --- a/gen/ts/proto/services/property_svc/v1/property_value_svc_grpc_web_pb.js +++ b/gen/ts/services/property_svc/v1/property_value_svc_grpc_web_pb.js @@ -1,5 +1,5 @@ /** - * @fileoverview gRPC-Web generated client stub for proto.services.property_svc.v1 + * @fileoverview gRPC-Web generated client stub for services.property_svc.v1 * @enhanceable * @public */ @@ -8,7 +8,7 @@ // versions: // protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 -// source: proto/services/property_svc/v1/property_value_svc.proto +// source: services/property_svc/v1/property_value_svc.proto /* eslint-disable */ @@ -20,14 +20,13 @@ const grpc = {}; grpc.web = require('grpc-web'); -var proto_services_property_svc_v1_types_pb = require('../../../../proto/services/property_svc/v1/types_pb.js') +var services_property_svc_v1_types_pb = require('../../../services/property_svc/v1/types_pb.js') var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js') const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.property_svc = {}; -proto.proto.services.property_svc.v1 = require('./property_value_svc_pb.js'); +proto.services = {}; +proto.services.property_svc = {}; +proto.services.property_svc.v1 = require('./property_value_svc_pb.js'); /** * @param {string} hostname @@ -37,7 +36,7 @@ proto.proto.services.property_svc.v1 = require('./property_value_svc_pb.js'); * @struct * @final */ -proto.proto.services.property_svc.v1.PropertyValueServiceClient = +proto.services.property_svc.v1.PropertyValueServiceClient = function(hostname, credentials, options) { if (!options) options = {}; options.format = 'text'; @@ -63,7 +62,7 @@ proto.proto.services.property_svc.v1.PropertyValueServiceClient = * @struct * @final */ -proto.proto.services.property_svc.v1.PropertyValueServicePromiseClient = +proto.services.property_svc.v1.PropertyValueServicePromiseClient = function(hostname, credentials, options) { if (!options) options = {}; options.format = 'text'; @@ -84,39 +83,39 @@ proto.proto.services.property_svc.v1.PropertyValueServicePromiseClient = /** * @const * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.property_svc.v1.AttachPropertyValueRequest, - * !proto.proto.services.property_svc.v1.AttachPropertyValueResponse>} + * !proto.services.property_svc.v1.AttachPropertyValueRequest, + * !proto.services.property_svc.v1.AttachPropertyValueResponse>} */ const methodDescriptor_PropertyValueService_AttachPropertyValue = new grpc.web.MethodDescriptor( - '/proto.services.property_svc.v1.PropertyValueService/AttachPropertyValue', + '/services.property_svc.v1.PropertyValueService/AttachPropertyValue', grpc.web.MethodType.UNARY, - proto.proto.services.property_svc.v1.AttachPropertyValueRequest, - proto.proto.services.property_svc.v1.AttachPropertyValueResponse, + proto.services.property_svc.v1.AttachPropertyValueRequest, + proto.services.property_svc.v1.AttachPropertyValueResponse, /** - * @param {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} request + * @param {!proto.services.property_svc.v1.AttachPropertyValueRequest} request * @return {!Uint8Array} */ function(request) { return request.serializeBinary(); }, - proto.proto.services.property_svc.v1.AttachPropertyValueResponse.deserializeBinary + proto.services.property_svc.v1.AttachPropertyValueResponse.deserializeBinary ); /** - * @param {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} request The + * @param {!proto.services.property_svc.v1.AttachPropertyValueRequest} request The * request proto * @param {?Object} metadata User defined * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.property_svc.v1.AttachPropertyValueResponse)} + * @param {function(?grpc.web.RpcError, ?proto.services.property_svc.v1.AttachPropertyValueResponse)} * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} + * @return {!grpc.web.ClientReadableStream|undefined} * The XHR Node Readable Stream */ -proto.proto.services.property_svc.v1.PropertyValueServiceClient.prototype.attachPropertyValue = +proto.services.property_svc.v1.PropertyValueServiceClient.prototype.attachPropertyValue = function(request, metadata, callback) { return this.client_.rpcCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyValueService/AttachPropertyValue', + '/services.property_svc.v1.PropertyValueService/AttachPropertyValue', request, metadata || {}, methodDescriptor_PropertyValueService_AttachPropertyValue, @@ -125,17 +124,17 @@ proto.proto.services.property_svc.v1.PropertyValueServiceClient.prototype.attach /** - * @param {!proto.proto.services.property_svc.v1.AttachPropertyValueRequest} request The + * @param {!proto.services.property_svc.v1.AttachPropertyValueRequest} request The * request proto * @param {?Object=} metadata User defined * call metadata - * @return {!Promise} + * @return {!Promise} * Promise that resolves to the response */ -proto.proto.services.property_svc.v1.PropertyValueServicePromiseClient.prototype.attachPropertyValue = +proto.services.property_svc.v1.PropertyValueServicePromiseClient.prototype.attachPropertyValue = function(request, metadata) { return this.client_.unaryCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyValueService/AttachPropertyValue', + '/services.property_svc.v1.PropertyValueService/AttachPropertyValue', request, metadata || {}, methodDescriptor_PropertyValueService_AttachPropertyValue); @@ -145,39 +144,39 @@ proto.proto.services.property_svc.v1.PropertyValueServicePromiseClient.prototype /** * @const * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest, - * !proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse>} + * !proto.services.property_svc.v1.GetAttachedPropertyValuesRequest, + * !proto.services.property_svc.v1.GetAttachedPropertyValuesResponse>} */ const methodDescriptor_PropertyValueService_GetAttachedPropertyValues = new grpc.web.MethodDescriptor( - '/proto.services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', + '/services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', grpc.web.MethodType.UNARY, - proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest, - proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse, + proto.services.property_svc.v1.GetAttachedPropertyValuesRequest, + proto.services.property_svc.v1.GetAttachedPropertyValuesResponse, /** - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} request + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} request * @return {!Uint8Array} */ function(request) { return request.serializeBinary(); }, - proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.deserializeBinary + proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.deserializeBinary ); /** - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} request The + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} request The * request proto * @param {?Object} metadata User defined * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse)} + * @param {function(?grpc.web.RpcError, ?proto.services.property_svc.v1.GetAttachedPropertyValuesResponse)} * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} + * @return {!grpc.web.ClientReadableStream|undefined} * The XHR Node Readable Stream */ -proto.proto.services.property_svc.v1.PropertyValueServiceClient.prototype.getAttachedPropertyValues = +proto.services.property_svc.v1.PropertyValueServiceClient.prototype.getAttachedPropertyValues = function(request, metadata, callback) { return this.client_.rpcCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', + '/services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', request, metadata || {}, methodDescriptor_PropertyValueService_GetAttachedPropertyValues, @@ -186,22 +185,22 @@ proto.proto.services.property_svc.v1.PropertyValueServiceClient.prototype.getAtt /** - * @param {!proto.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} request The + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} request The * request proto * @param {?Object=} metadata User defined * call metadata - * @return {!Promise} + * @return {!Promise} * Promise that resolves to the response */ -proto.proto.services.property_svc.v1.PropertyValueServicePromiseClient.prototype.getAttachedPropertyValues = +proto.services.property_svc.v1.PropertyValueServicePromiseClient.prototype.getAttachedPropertyValues = function(request, metadata) { return this.client_.unaryCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', + '/services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', request, metadata || {}, methodDescriptor_PropertyValueService_GetAttachedPropertyValues); }; -module.exports = proto.proto.services.property_svc.v1; +module.exports = proto.services.property_svc.v1; diff --git a/gen/ts/proto/services/property_svc/v1/property_value_svc_pb.d.ts b/gen/ts/services/property_svc/v1/property_value_svc_pb.d.ts similarity index 90% rename from gen/ts/proto/services/property_svc/v1/property_value_svc_pb.d.ts rename to gen/ts/services/property_svc/v1/property_value_svc_pb.d.ts index 24887552e..c1db90b20 100644 --- a/gen/ts/proto/services/property_svc/v1/property_value_svc_pb.d.ts +++ b/gen/ts/services/property_svc/v1/property_value_svc_pb.d.ts @@ -1,6 +1,6 @@ import * as jspb from 'google-protobuf' -import * as proto_services_property_svc_v1_types_pb from '../../../../proto/services/property_svc/v1/types_pb'; // proto import: "proto/services/property_svc/v1/types.proto" +import * as services_property_svc_v1_types_pb from '../../../services/property_svc/v1/types_pb'; // proto import: "services/property_svc/v1/types.proto" import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto" @@ -20,8 +20,8 @@ export class AttachPropertyValueRequest extends jspb.Message { getBoolValue(): boolean; setBoolValue(value: boolean): AttachPropertyValueRequest; - getDateValue(): proto_services_property_svc_v1_types_pb.Date | undefined; - setDateValue(value?: proto_services_property_svc_v1_types_pb.Date): AttachPropertyValueRequest; + getDateValue(): services_property_svc_v1_types_pb.Date | undefined; + setDateValue(value?: services_property_svc_v1_types_pb.Date): AttachPropertyValueRequest; hasDateValue(): boolean; clearDateValue(): AttachPropertyValueRequest; @@ -50,7 +50,7 @@ export namespace AttachPropertyValueRequest { textValue: string, numberValue: number, boolValue: boolean, - dateValue?: proto_services_property_svc_v1_types_pb.Date.AsObject, + dateValue?: services_property_svc_v1_types_pb.Date.AsObject, dateTimeValue?: google_protobuf_timestamp_pb.Timestamp.AsObject, selectValue: string, } @@ -170,8 +170,8 @@ export namespace GetAttachedPropertyValuesResponse { getPropertyId(): string; setPropertyId(value: string): Value; - getFieldType(): proto_services_property_svc_v1_types_pb.FieldType; - setFieldType(value: proto_services_property_svc_v1_types_pb.FieldType): Value; + getFieldType(): services_property_svc_v1_types_pb.FieldType; + setFieldType(value: services_property_svc_v1_types_pb.FieldType): Value; getName(): string; setName(value: string): Value; @@ -193,8 +193,8 @@ export namespace GetAttachedPropertyValuesResponse { getBoolValue(): boolean; setBoolValue(value: boolean): Value; - getDateValue(): proto_services_property_svc_v1_types_pb.Date | undefined; - setDateValue(value?: proto_services_property_svc_v1_types_pb.Date): Value; + getDateValue(): services_property_svc_v1_types_pb.Date | undefined; + setDateValue(value?: services_property_svc_v1_types_pb.Date): Value; hasDateValue(): boolean; clearDateValue(): Value; @@ -219,14 +219,14 @@ export namespace GetAttachedPropertyValuesResponse { export namespace Value { export type AsObject = { propertyId: string, - fieldType: proto_services_property_svc_v1_types_pb.FieldType, + fieldType: services_property_svc_v1_types_pb.FieldType, name: string, description?: string, isArchived: boolean, textValue: string, numberValue: number, boolValue: boolean, - dateValue?: proto_services_property_svc_v1_types_pb.Date.AsObject, + dateValue?: services_property_svc_v1_types_pb.Date.AsObject, dateTimeValue?: google_protobuf_timestamp_pb.Timestamp.AsObject, selectValue: string, } diff --git a/gen/ts/services/property_svc/v1/property_value_svc_pb.js b/gen/ts/services/property_svc/v1/property_value_svc_pb.js new file mode 100644 index 000000000..c983da182 --- /dev/null +++ b/gen/ts/services/property_svc/v1/property_value_svc_pb.js @@ -0,0 +1,1901 @@ +// source: services/property_svc/v1/property_value_svc.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = + (typeof globalThis !== 'undefined' && globalThis) || + (typeof window !== 'undefined' && window) || + (typeof global !== 'undefined' && global) || + (typeof self !== 'undefined' && self) || + (function () { return this; }).call(null) || + Function('return this')(); + +var services_property_svc_v1_types_pb = require('../../../services/property_svc/v1/types_pb.js'); +goog.object.extend(proto, services_property_svc_v1_types_pb); +var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); +goog.object.extend(proto, google_protobuf_timestamp_pb); +goog.exportSymbol('proto.services.property_svc.v1.AttachPropertyValueRequest', null, global); +goog.exportSymbol('proto.services.property_svc.v1.AttachPropertyValueRequest.ValueCase', null, global); +goog.exportSymbol('proto.services.property_svc.v1.AttachPropertyValueResponse', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetAttachedPropertyValuesRequest', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.MatcherCase', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetAttachedPropertyValuesResponse', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value', null, global); +goog.exportSymbol('proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.ValueCase', null, global); +goog.exportSymbol('proto.services.property_svc.v1.TaskPropertyMatcher', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.AttachPropertyValueRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_); +}; +goog.inherits(proto.services.property_svc.v1.AttachPropertyValueRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.AttachPropertyValueRequest.displayName = 'proto.services.property_svc.v1.AttachPropertyValueRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.AttachPropertyValueResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.services.property_svc.v1.AttachPropertyValueResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.AttachPropertyValueResponse.displayName = 'proto.services.property_svc.v1.AttachPropertyValueResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.TaskPropertyMatcher = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.services.property_svc.v1.TaskPropertyMatcher, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.TaskPropertyMatcher.displayName = 'proto.services.property_svc.v1.TaskPropertyMatcher'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.oneofGroups_); +}; +goog.inherits(proto.services.property_svc.v1.GetAttachedPropertyValuesRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.displayName = 'proto.services.property_svc.v1.GetAttachedPropertyValuesRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.repeatedFields_, null); +}; +goog.inherits(proto.services.property_svc.v1.GetAttachedPropertyValuesResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.displayName = 'proto.services.property_svc.v1.GetAttachedPropertyValuesResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_); +}; +goog.inherits(proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.displayName = 'proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value'; +} + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_ = [[3,4,5,6,7,8]]; + +/** + * @enum {number} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.ValueCase = { + VALUE_NOT_SET: 0, + TEXT_VALUE: 3, + NUMBER_VALUE: 4, + BOOL_VALUE: 5, + DATE_VALUE: 6, + DATE_TIME_VALUE: 7, + SELECT_VALUE: 8 +}; + +/** + * @return {proto.services.property_svc.v1.AttachPropertyValueRequest.ValueCase} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getValueCase = function() { + return /** @type {proto.services.property_svc.v1.AttachPropertyValueRequest.ValueCase} */(jspb.Message.computeOneofCase(this, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.AttachPropertyValueRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.AttachPropertyValueRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.toObject = function(includeInstance, msg) { + var f, obj = { + subjectId: jspb.Message.getFieldWithDefault(msg, 1, ""), + propertyId: jspb.Message.getFieldWithDefault(msg, 2, ""), + textValue: jspb.Message.getFieldWithDefault(msg, 3, ""), + numberValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), + boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + dateValue: (f = msg.getDateValue()) && services_property_svc_v1_types_pb.Date.toObject(includeInstance, f), + dateTimeValue: (f = msg.getDateTimeValue()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + selectValue: jspb.Message.getFieldWithDefault(msg, 8, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.AttachPropertyValueRequest; + return proto.services.property_svc.v1.AttachPropertyValueRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.AttachPropertyValueRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSubjectId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPropertyId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTextValue(value); + break; + case 4: + var value = /** @type {number} */ (reader.readDouble()); + msg.setNumberValue(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setBoolValue(value); + break; + case 6: + var value = new services_property_svc_v1_types_pb.Date; + reader.readMessage(value,services_property_svc_v1_types_pb.Date.deserializeBinaryFromReader); + msg.setDateValue(value); + break; + case 7: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setDateTimeValue(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setSelectValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.AttachPropertyValueRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.AttachPropertyValueRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSubjectId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPropertyId(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeDouble( + 4, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeBool( + 5, + f + ); + } + f = message.getDateValue(); + if (f != null) { + writer.writeMessage( + 6, + f, + services_property_svc_v1_types_pb.Date.serializeBinaryToWriter + ); + } + f = message.getDateTimeValue(); + if (f != null) { + writer.writeMessage( + 7, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeString( + 8, + f + ); + } +}; + + +/** + * optional string subject_id = 1; + * @return {string} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getSubjectId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setSubjectId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string property_id = 2; + * @return {string} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getPropertyId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setPropertyId = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string text_value = 3; + * @return {string} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getTextValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setTextValue = function(value) { + return jspb.Message.setOneofField(this, 3, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearTextValue = function() { + return jspb.Message.setOneofField(this, 3, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasTextValue = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional double number_value = 4; + * @return {number} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getNumberValue = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setNumberValue = function(value) { + return jspb.Message.setOneofField(this, 4, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearNumberValue = function() { + return jspb.Message.setOneofField(this, 4, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasNumberValue = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional bool bool_value = 5; + * @return {boolean} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getBoolValue = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setBoolValue = function(value) { + return jspb.Message.setOneofField(this, 5, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearBoolValue = function() { + return jspb.Message.setOneofField(this, 5, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasBoolValue = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional Date date_value = 6; + * @return {?proto.services.property_svc.v1.Date} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getDateValue = function() { + return /** @type{?proto.services.property_svc.v1.Date} */ ( + jspb.Message.getWrapperField(this, services_property_svc_v1_types_pb.Date, 6)); +}; + + +/** + * @param {?proto.services.property_svc.v1.Date|undefined} value + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this +*/ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setDateValue = function(value) { + return jspb.Message.setOneofWrapperField(this, 6, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearDateValue = function() { + return this.setDateValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasDateValue = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional google.protobuf.Timestamp date_time_value = 7; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getDateTimeValue = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this +*/ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setDateTimeValue = function(value) { + return jspb.Message.setOneofWrapperField(this, 7, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearDateTimeValue = function() { + return this.setDateTimeValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasDateTimeValue = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional string select_value = 8; + * @return {string} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.getSelectValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.setSelectValue = function(value) { + return jspb.Message.setOneofField(this, 8, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.AttachPropertyValueRequest} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.clearSelectValue = function() { + return jspb.Message.setOneofField(this, 8, proto.services.property_svc.v1.AttachPropertyValueRequest.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.AttachPropertyValueRequest.prototype.hasSelectValue = function() { + return jspb.Message.getField(this, 8) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.AttachPropertyValueResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.AttachPropertyValueResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.AttachPropertyValueResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.AttachPropertyValueResponse.toObject = function(includeInstance, msg) { + var f, obj = { + propertyValueId: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.AttachPropertyValueResponse} + */ +proto.services.property_svc.v1.AttachPropertyValueResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.AttachPropertyValueResponse; + return proto.services.property_svc.v1.AttachPropertyValueResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.AttachPropertyValueResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.AttachPropertyValueResponse} + */ +proto.services.property_svc.v1.AttachPropertyValueResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setPropertyValueId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.AttachPropertyValueResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.AttachPropertyValueResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.AttachPropertyValueResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.AttachPropertyValueResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPropertyValueId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string property_value_id = 1; + * @return {string} + */ +proto.services.property_svc.v1.AttachPropertyValueResponse.prototype.getPropertyValueId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.AttachPropertyValueResponse} returns this + */ +proto.services.property_svc.v1.AttachPropertyValueResponse.prototype.setPropertyValueId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.TaskPropertyMatcher.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.TaskPropertyMatcher.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.TaskPropertyMatcher} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.TaskPropertyMatcher.toObject = function(includeInstance, msg) { + var f, obj = { + wardId: jspb.Message.getFieldWithDefault(msg, 1, ""), + taskId: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.TaskPropertyMatcher} + */ +proto.services.property_svc.v1.TaskPropertyMatcher.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.TaskPropertyMatcher; + return proto.services.property_svc.v1.TaskPropertyMatcher.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.TaskPropertyMatcher} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.TaskPropertyMatcher} + */ +proto.services.property_svc.v1.TaskPropertyMatcher.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setWardId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setTaskId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.TaskPropertyMatcher.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.TaskPropertyMatcher.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.TaskPropertyMatcher} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.TaskPropertyMatcher.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string ward_id = 1; + * @return {string} + */ +proto.services.property_svc.v1.TaskPropertyMatcher.prototype.getWardId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.TaskPropertyMatcher} returns this + */ +proto.services.property_svc.v1.TaskPropertyMatcher.prototype.setWardId = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.TaskPropertyMatcher} returns this + */ +proto.services.property_svc.v1.TaskPropertyMatcher.prototype.clearWardId = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.TaskPropertyMatcher.prototype.hasWardId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string task_id = 2; + * @return {string} + */ +proto.services.property_svc.v1.TaskPropertyMatcher.prototype.getTaskId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.TaskPropertyMatcher} returns this + */ +proto.services.property_svc.v1.TaskPropertyMatcher.prototype.setTaskId = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.TaskPropertyMatcher} returns this + */ +proto.services.property_svc.v1.TaskPropertyMatcher.prototype.clearTaskId = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.TaskPropertyMatcher.prototype.hasTaskId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.oneofGroups_ = [[1]]; + +/** + * @enum {number} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.MatcherCase = { + MATCHER_NOT_SET: 0, + TASK_MATCHER: 1 +}; + +/** + * @return {proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.MatcherCase} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.getMatcherCase = function() { + return /** @type {proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.MatcherCase} */(jspb.Message.computeOneofCase(this, proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.toObject = function(includeInstance, msg) { + var f, obj = { + taskMatcher: (f = msg.getTaskMatcher()) && proto.services.property_svc.v1.TaskPropertyMatcher.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetAttachedPropertyValuesRequest; + return proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.services.property_svc.v1.TaskPropertyMatcher; + reader.readMessage(value,proto.services.property_svc.v1.TaskPropertyMatcher.deserializeBinaryFromReader); + msg.setTaskMatcher(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTaskMatcher(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.services.property_svc.v1.TaskPropertyMatcher.serializeBinaryToWriter + ); + } +}; + + +/** + * optional TaskPropertyMatcher task_matcher = 1; + * @return {?proto.services.property_svc.v1.TaskPropertyMatcher} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.getTaskMatcher = function() { + return /** @type{?proto.services.property_svc.v1.TaskPropertyMatcher} */ ( + jspb.Message.getWrapperField(this, proto.services.property_svc.v1.TaskPropertyMatcher, 1)); +}; + + +/** + * @param {?proto.services.property_svc.v1.TaskPropertyMatcher|undefined} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} returns this +*/ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.setTaskMatcher = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesRequest} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.clearTaskMatcher = function() { + return this.setTaskMatcher(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesRequest.prototype.hasTaskMatcher = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.toObject = function(includeInstance, msg) { + var f, obj = { + valuesList: jspb.Message.toObjectList(msg.getValuesList(), + proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetAttachedPropertyValuesResponse; + return proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value; + reader.readMessage(value,proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.deserializeBinaryFromReader); + msg.addValues(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValuesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.serializeBinaryToWriter + ); + } +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_ = [[6,7,8,9,10,11]]; + +/** + * @enum {number} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.ValueCase = { + VALUE_NOT_SET: 0, + TEXT_VALUE: 6, + NUMBER_VALUE: 7, + BOOL_VALUE: 8, + DATE_VALUE: 9, + DATE_TIME_VALUE: 10, + SELECT_VALUE: 11 +}; + +/** + * @return {proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.ValueCase} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getValueCase = function() { + return /** @type {proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.ValueCase} */(jspb.Message.computeOneofCase(this, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.toObject = function(includeInstance, msg) { + var f, obj = { + propertyId: jspb.Message.getFieldWithDefault(msg, 1, ""), + fieldType: jspb.Message.getFieldWithDefault(msg, 2, 0), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + description: jspb.Message.getFieldWithDefault(msg, 4, ""), + isArchived: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + textValue: jspb.Message.getFieldWithDefault(msg, 6, ""), + numberValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0), + boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + dateValue: (f = msg.getDateValue()) && services_property_svc_v1_types_pb.Date.toObject(includeInstance, f), + dateTimeValue: (f = msg.getDateTimeValue()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + selectValue: jspb.Message.getFieldWithDefault(msg, 11, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value; + return proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setPropertyId(value); + break; + case 2: + var value = /** @type {!proto.services.property_svc.v1.FieldType} */ (reader.readEnum()); + msg.setFieldType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsArchived(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setTextValue(value); + break; + case 7: + var value = /** @type {number} */ (reader.readDouble()); + msg.setNumberValue(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setBoolValue(value); + break; + case 9: + var value = new services_property_svc_v1_types_pb.Date; + reader.readMessage(value,services_property_svc_v1_types_pb.Date.deserializeBinaryFromReader); + msg.setDateValue(value); + break; + case 10: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setDateTimeValue(value); + break; + case 11: + var value = /** @type {string} */ (reader.readString()); + msg.setSelectValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPropertyId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getFieldType(); + if (f !== 0.0) { + writer.writeEnum( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = message.getIsArchived(); + if (f) { + writer.writeBool( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeDouble( + 7, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeBool( + 8, + f + ); + } + f = message.getDateValue(); + if (f != null) { + writer.writeMessage( + 9, + f, + services_property_svc_v1_types_pb.Date.serializeBinaryToWriter + ); + } + f = message.getDateTimeValue(); + if (f != null) { + writer.writeMessage( + 10, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 11)); + if (f != null) { + writer.writeString( + 11, + f + ); + } +}; + + +/** + * optional string property_id = 1; + * @return {string} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getPropertyId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setPropertyId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional FieldType field_type = 2; + * @return {!proto.services.property_svc.v1.FieldType} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getFieldType = function() { + return /** @type {!proto.services.property_svc.v1.FieldType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {!proto.services.property_svc.v1.FieldType} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setFieldType = function(value) { + return jspb.Message.setProto3EnumField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string description = 4; + * @return {string} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setDescription = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearDescription = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasDescription = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional bool is_archived = 5; + * @return {boolean} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getIsArchived = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setIsArchived = function(value) { + return jspb.Message.setProto3BooleanField(this, 5, value); +}; + + +/** + * optional string text_value = 6; + * @return {string} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getTextValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setTextValue = function(value) { + return jspb.Message.setOneofField(this, 6, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearTextValue = function() { + return jspb.Message.setOneofField(this, 6, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasTextValue = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional double number_value = 7; + * @return {number} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getNumberValue = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setNumberValue = function(value) { + return jspb.Message.setOneofField(this, 7, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearNumberValue = function() { + return jspb.Message.setOneofField(this, 7, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasNumberValue = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional bool bool_value = 8; + * @return {boolean} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getBoolValue = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setBoolValue = function(value) { + return jspb.Message.setOneofField(this, 8, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearBoolValue = function() { + return jspb.Message.setOneofField(this, 8, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasBoolValue = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional Date date_value = 9; + * @return {?proto.services.property_svc.v1.Date} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getDateValue = function() { + return /** @type{?proto.services.property_svc.v1.Date} */ ( + jspb.Message.getWrapperField(this, services_property_svc_v1_types_pb.Date, 9)); +}; + + +/** + * @param {?proto.services.property_svc.v1.Date|undefined} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this +*/ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setDateValue = function(value) { + return jspb.Message.setOneofWrapperField(this, 9, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearDateValue = function() { + return this.setDateValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasDateValue = function() { + return jspb.Message.getField(this, 9) != null; +}; + + +/** + * optional google.protobuf.Timestamp date_time_value = 10; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getDateTimeValue = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this +*/ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setDateTimeValue = function(value) { + return jspb.Message.setOneofWrapperField(this, 10, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearDateTimeValue = function() { + return this.setDateTimeValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasDateTimeValue = function() { + return jspb.Message.getField(this, 10) != null; +}; + + +/** + * optional string select_value = 11; + * @return {string} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.getSelectValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); +}; + + +/** + * @param {string} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.setSelectValue = function(value) { + return jspb.Message.setOneofField(this, 11, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.clearSelectValue = function() { + return jspb.Message.setOneofField(this, 11, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value.prototype.hasSelectValue = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * repeated Value values = 1; + * @return {!Array} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.getValuesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} returns this +*/ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.setValuesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value=} opt_value + * @param {number=} opt_index + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value} + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.addValues = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.Value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.services.property_svc.v1.GetAttachedPropertyValuesResponse} returns this + */ +proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.prototype.clearValuesList = function() { + return this.setValuesList([]); +}; + + +goog.object.extend(exports, proto.services.property_svc.v1); diff --git a/gen/ts/services/property_svc/v1/property_views_svc_grpc_web_pb.d.ts b/gen/ts/services/property_svc/v1/property_views_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..5e2ae7fa9 --- /dev/null +++ b/gen/ts/services/property_svc/v1/property_views_svc_grpc_web_pb.d.ts @@ -0,0 +1,31 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_property_svc_v1_property_views_svc_pb from '../../../services/property_svc/v1/property_views_svc_pb'; // proto import: "services/property_svc/v1/property_views_svc.proto" + + +export class PropertyViewsServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + updatePropertyViewRule( + request: services_property_svc_v1_property_views_svc_pb.UpdatePropertyViewRuleRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_property_svc_v1_property_views_svc_pb.UpdatePropertyViewRuleResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class PropertyViewsServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + updatePropertyViewRule( + request: services_property_svc_v1_property_views_svc_pb.UpdatePropertyViewRuleRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/proto/services/property_svc/v1/property_views_svc_grpc_web_pb.js b/gen/ts/services/property_svc/v1/property_views_svc_grpc_web_pb.js similarity index 52% rename from gen/ts/proto/services/property_svc/v1/property_views_svc_grpc_web_pb.js rename to gen/ts/services/property_svc/v1/property_views_svc_grpc_web_pb.js index 3cba2402b..f9df86efc 100644 --- a/gen/ts/proto/services/property_svc/v1/property_views_svc_grpc_web_pb.js +++ b/gen/ts/services/property_svc/v1/property_views_svc_grpc_web_pb.js @@ -1,5 +1,5 @@ /** - * @fileoverview gRPC-Web generated client stub for proto.services.property_svc.v1 + * @fileoverview gRPC-Web generated client stub for services.property_svc.v1 * @enhanceable * @public */ @@ -8,7 +8,7 @@ // versions: // protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 -// source: proto/services/property_svc/v1/property_views_svc.proto +// source: services/property_svc/v1/property_views_svc.proto /* eslint-disable */ @@ -20,12 +20,11 @@ const grpc = {}; grpc.web = require('grpc-web'); -var proto_services_property_svc_v1_property_value_svc_pb = require('../../../../proto/services/property_svc/v1/property_value_svc_pb.js') +var services_property_svc_v1_property_value_svc_pb = require('../../../services/property_svc/v1/property_value_svc_pb.js') const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.property_svc = {}; -proto.proto.services.property_svc.v1 = require('./property_views_svc_pb.js'); +proto.services = {}; +proto.services.property_svc = {}; +proto.services.property_svc.v1 = require('./property_views_svc_pb.js'); /** * @param {string} hostname @@ -35,7 +34,7 @@ proto.proto.services.property_svc.v1 = require('./property_views_svc_pb.js'); * @struct * @final */ -proto.proto.services.property_svc.v1.PropertyViewsServiceClient = +proto.services.property_svc.v1.PropertyViewsServiceClient = function(hostname, credentials, options) { if (!options) options = {}; options.format = 'text'; @@ -61,7 +60,7 @@ proto.proto.services.property_svc.v1.PropertyViewsServiceClient = * @struct * @final */ -proto.proto.services.property_svc.v1.PropertyViewsServicePromiseClient = +proto.services.property_svc.v1.PropertyViewsServicePromiseClient = function(hostname, credentials, options) { if (!options) options = {}; options.format = 'text'; @@ -82,39 +81,39 @@ proto.proto.services.property_svc.v1.PropertyViewsServicePromiseClient = /** * @const * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest, - * !proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse>} + * !proto.services.property_svc.v1.UpdatePropertyViewRuleRequest, + * !proto.services.property_svc.v1.UpdatePropertyViewRuleResponse>} */ const methodDescriptor_PropertyViewsService_UpdatePropertyViewRule = new grpc.web.MethodDescriptor( - '/proto.services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', + '/services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', grpc.web.MethodType.UNARY, - proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest, - proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse, + proto.services.property_svc.v1.UpdatePropertyViewRuleRequest, + proto.services.property_svc.v1.UpdatePropertyViewRuleResponse, /** - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} request + * @param {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} request * @return {!Uint8Array} */ function(request) { return request.serializeBinary(); }, - proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.deserializeBinary + proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.deserializeBinary ); /** - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} request The + * @param {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} request The * request proto * @param {?Object} metadata User defined * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse)} + * @param {function(?grpc.web.RpcError, ?proto.services.property_svc.v1.UpdatePropertyViewRuleResponse)} * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} + * @return {!grpc.web.ClientReadableStream|undefined} * The XHR Node Readable Stream */ -proto.proto.services.property_svc.v1.PropertyViewsServiceClient.prototype.updatePropertyViewRule = +proto.services.property_svc.v1.PropertyViewsServiceClient.prototype.updatePropertyViewRule = function(request, metadata, callback) { return this.client_.rpcCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', + '/services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', request, metadata || {}, methodDescriptor_PropertyViewsService_UpdatePropertyViewRule, @@ -123,22 +122,22 @@ proto.proto.services.property_svc.v1.PropertyViewsServiceClient.prototype.update /** - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} request The + * @param {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} request The * request proto * @param {?Object=} metadata User defined * call metadata - * @return {!Promise} + * @return {!Promise} * Promise that resolves to the response */ -proto.proto.services.property_svc.v1.PropertyViewsServicePromiseClient.prototype.updatePropertyViewRule = +proto.services.property_svc.v1.PropertyViewsServicePromiseClient.prototype.updatePropertyViewRule = function(request, metadata) { return this.client_.unaryCall(this.hostname_ + - '/proto.services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', + '/services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', request, metadata || {}, methodDescriptor_PropertyViewsService_UpdatePropertyViewRule); }; -module.exports = proto.proto.services.property_svc.v1; +module.exports = proto.services.property_svc.v1; diff --git a/gen/ts/proto/services/property_svc/v1/property_views_svc_pb.d.ts b/gen/ts/services/property_svc/v1/property_views_svc_pb.d.ts similarity index 87% rename from gen/ts/proto/services/property_svc/v1/property_views_svc_pb.d.ts rename to gen/ts/services/property_svc/v1/property_views_svc_pb.d.ts index a253389db..a6a45cd3f 100644 --- a/gen/ts/proto/services/property_svc/v1/property_views_svc_pb.d.ts +++ b/gen/ts/services/property_svc/v1/property_views_svc_pb.d.ts @@ -1,6 +1,6 @@ import * as jspb from 'google-protobuf' -import * as proto_services_property_svc_v1_property_value_svc_pb from '../../../../proto/services/property_svc/v1/property_value_svc_pb'; // proto import: "proto/services/property_svc/v1/property_value_svc.proto" +import * as services_property_svc_v1_property_value_svc_pb from '../../../services/property_svc/v1/property_value_svc_pb'; // proto import: "services/property_svc/v1/property_value_svc.proto" export class FilterUpdate extends jspb.Message { @@ -47,8 +47,8 @@ export class UpdatePropertyViewRuleRequest extends jspb.Message { hasFilterUpdate(): boolean; clearFilterUpdate(): UpdatePropertyViewRuleRequest; - getTaskMatcher(): proto_services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher | undefined; - setTaskMatcher(value?: proto_services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher): UpdatePropertyViewRuleRequest; + getTaskMatcher(): services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher | undefined; + setTaskMatcher(value?: services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher): UpdatePropertyViewRuleRequest; hasTaskMatcher(): boolean; clearTaskMatcher(): UpdatePropertyViewRuleRequest; @@ -65,7 +65,7 @@ export class UpdatePropertyViewRuleRequest extends jspb.Message { export namespace UpdatePropertyViewRuleRequest { export type AsObject = { filterUpdate?: FilterUpdate.AsObject, - taskMatcher?: proto_services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher.AsObject, + taskMatcher?: services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher.AsObject, } export enum MatcherCase { diff --git a/gen/ts/proto/services/property_svc/v1/property_views_svc_pb.js b/gen/ts/services/property_svc/v1/property_views_svc_pb.js similarity index 51% rename from gen/ts/proto/services/property_svc/v1/property_views_svc_pb.js rename to gen/ts/services/property_svc/v1/property_views_svc_pb.js index cac4792cf..f9b301093 100644 --- a/gen/ts/proto/services/property_svc/v1/property_views_svc_pb.js +++ b/gen/ts/services/property_svc/v1/property_views_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/property_svc/v1/property_views_svc.proto +// source: services/property_svc/v1/property_views_svc.proto /** * @fileoverview * @enhanceable @@ -21,12 +21,12 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -var proto_services_property_svc_v1_property_value_svc_pb = require('../../../../proto/services/property_svc/v1/property_value_svc_pb.js'); -goog.object.extend(proto, proto_services_property_svc_v1_property_value_svc_pb); -goog.exportSymbol('proto.proto.services.property_svc.v1.FilterUpdate', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.MatcherCase', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse', null, global); +var services_property_svc_v1_property_value_svc_pb = require('../../../services/property_svc/v1/property_value_svc_pb.js'); +goog.object.extend(proto, services_property_svc_v1_property_value_svc_pb); +goog.exportSymbol('proto.services.property_svc.v1.FilterUpdate', null, global); +goog.exportSymbol('proto.services.property_svc.v1.UpdatePropertyViewRuleRequest', null, global); +goog.exportSymbol('proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.MatcherCase', null, global); +goog.exportSymbol('proto.services.property_svc.v1.UpdatePropertyViewRuleResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -37,16 +37,16 @@ goog.exportSymbol('proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRe * @extends {jspb.Message} * @constructor */ -proto.proto.services.property_svc.v1.FilterUpdate = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.property_svc.v1.FilterUpdate.repeatedFields_, null); +proto.services.property_svc.v1.FilterUpdate = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.property_svc.v1.FilterUpdate.repeatedFields_, null); }; -goog.inherits(proto.proto.services.property_svc.v1.FilterUpdate, jspb.Message); +goog.inherits(proto.services.property_svc.v1.FilterUpdate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.property_svc.v1.FilterUpdate.displayName = 'proto.proto.services.property_svc.v1.FilterUpdate'; + proto.services.property_svc.v1.FilterUpdate.displayName = 'proto.services.property_svc.v1.FilterUpdate'; } /** * Generated by JsPbCodeGenerator. @@ -58,16 +58,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.oneofGroups_); +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.oneofGroups_); }; -goog.inherits(proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest, jspb.Message); +goog.inherits(proto.services.property_svc.v1.UpdatePropertyViewRuleRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.displayName = 'proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest'; + proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.displayName = 'proto.services.property_svc.v1.UpdatePropertyViewRuleRequest'; } /** * Generated by JsPbCodeGenerator. @@ -79,16 +79,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse = function(opt_data) { +proto.services.property_svc.v1.UpdatePropertyViewRuleResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse, jspb.Message); +goog.inherits(proto.services.property_svc.v1.UpdatePropertyViewRuleResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.displayName = 'proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse'; + proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.displayName = 'proto.services.property_svc.v1.UpdatePropertyViewRuleResponse'; } /** @@ -96,7 +96,7 @@ if (goog.DEBUG && !COMPILED) { * @private {!Array} * @const */ -proto.proto.services.property_svc.v1.FilterUpdate.repeatedFields_ = [1,2,3,4]; +proto.services.property_svc.v1.FilterUpdate.repeatedFields_ = [1,2,3,4]; @@ -113,8 +113,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.FilterUpdate.toObject(opt_includeInstance, this); +proto.services.property_svc.v1.FilterUpdate.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.FilterUpdate.toObject(opt_includeInstance, this); }; @@ -123,11 +123,11 @@ proto.proto.services.property_svc.v1.FilterUpdate.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.FilterUpdate} msg The msg instance to transform. + * @param {!proto.services.property_svc.v1.FilterUpdate} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.FilterUpdate.toObject = function(includeInstance, msg) { +proto.services.property_svc.v1.FilterUpdate.toObject = function(includeInstance, msg) { var f, obj = { appendToAlwaysIncludeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, removeFromAlwaysIncludeList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, @@ -146,23 +146,23 @@ proto.proto.services.property_svc.v1.FilterUpdate.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} + * @return {!proto.services.property_svc.v1.FilterUpdate} */ -proto.proto.services.property_svc.v1.FilterUpdate.deserializeBinary = function(bytes) { +proto.services.property_svc.v1.FilterUpdate.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.FilterUpdate; - return proto.proto.services.property_svc.v1.FilterUpdate.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.property_svc.v1.FilterUpdate; + return proto.services.property_svc.v1.FilterUpdate.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.FilterUpdate} msg The message object to deserialize into. + * @param {!proto.services.property_svc.v1.FilterUpdate} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} + * @return {!proto.services.property_svc.v1.FilterUpdate} */ -proto.proto.services.property_svc.v1.FilterUpdate.deserializeBinaryFromReader = function(msg, reader) { +proto.services.property_svc.v1.FilterUpdate.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -198,9 +198,9 @@ proto.proto.services.property_svc.v1.FilterUpdate.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.serializeBinary = function() { +proto.services.property_svc.v1.FilterUpdate.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.FilterUpdate.serializeBinaryToWriter(this, writer); + proto.services.property_svc.v1.FilterUpdate.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -208,11 +208,11 @@ proto.proto.services.property_svc.v1.FilterUpdate.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.FilterUpdate} message + * @param {!proto.services.property_svc.v1.FilterUpdate} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.FilterUpdate.serializeBinaryToWriter = function(message, writer) { +proto.services.property_svc.v1.FilterUpdate.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAppendToAlwaysIncludeList(); if (f.length > 0) { @@ -249,16 +249,16 @@ proto.proto.services.property_svc.v1.FilterUpdate.serializeBinaryToWriter = func * repeated string append_to_always_include = 1; * @return {!Array} */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.getAppendToAlwaysIncludeList = function() { +proto.services.property_svc.v1.FilterUpdate.prototype.getAppendToAlwaysIncludeList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.setAppendToAlwaysIncludeList = function(value) { +proto.services.property_svc.v1.FilterUpdate.prototype.setAppendToAlwaysIncludeList = function(value) { return jspb.Message.setField(this, 1, value || []); }; @@ -266,18 +266,18 @@ proto.proto.services.property_svc.v1.FilterUpdate.prototype.setAppendToAlwaysInc /** * @param {string} value * @param {number=} opt_index - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.addAppendToAlwaysInclude = function(value, opt_index) { +proto.services.property_svc.v1.FilterUpdate.prototype.addAppendToAlwaysInclude = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.clearAppendToAlwaysIncludeList = function() { +proto.services.property_svc.v1.FilterUpdate.prototype.clearAppendToAlwaysIncludeList = function() { return this.setAppendToAlwaysIncludeList([]); }; @@ -286,16 +286,16 @@ proto.proto.services.property_svc.v1.FilterUpdate.prototype.clearAppendToAlwaysI * repeated string remove_from_always_include = 2; * @return {!Array} */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.getRemoveFromAlwaysIncludeList = function() { +proto.services.property_svc.v1.FilterUpdate.prototype.getRemoveFromAlwaysIncludeList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.setRemoveFromAlwaysIncludeList = function(value) { +proto.services.property_svc.v1.FilterUpdate.prototype.setRemoveFromAlwaysIncludeList = function(value) { return jspb.Message.setField(this, 2, value || []); }; @@ -303,18 +303,18 @@ proto.proto.services.property_svc.v1.FilterUpdate.prototype.setRemoveFromAlwaysI /** * @param {string} value * @param {number=} opt_index - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.addRemoveFromAlwaysInclude = function(value, opt_index) { +proto.services.property_svc.v1.FilterUpdate.prototype.addRemoveFromAlwaysInclude = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.clearRemoveFromAlwaysIncludeList = function() { +proto.services.property_svc.v1.FilterUpdate.prototype.clearRemoveFromAlwaysIncludeList = function() { return this.setRemoveFromAlwaysIncludeList([]); }; @@ -323,16 +323,16 @@ proto.proto.services.property_svc.v1.FilterUpdate.prototype.clearRemoveFromAlway * repeated string append_to_dont_always_include = 3; * @return {!Array} */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.getAppendToDontAlwaysIncludeList = function() { +proto.services.property_svc.v1.FilterUpdate.prototype.getAppendToDontAlwaysIncludeList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.setAppendToDontAlwaysIncludeList = function(value) { +proto.services.property_svc.v1.FilterUpdate.prototype.setAppendToDontAlwaysIncludeList = function(value) { return jspb.Message.setField(this, 3, value || []); }; @@ -340,18 +340,18 @@ proto.proto.services.property_svc.v1.FilterUpdate.prototype.setAppendToDontAlway /** * @param {string} value * @param {number=} opt_index - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.addAppendToDontAlwaysInclude = function(value, opt_index) { +proto.services.property_svc.v1.FilterUpdate.prototype.addAppendToDontAlwaysInclude = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.clearAppendToDontAlwaysIncludeList = function() { +proto.services.property_svc.v1.FilterUpdate.prototype.clearAppendToDontAlwaysIncludeList = function() { return this.setAppendToDontAlwaysIncludeList([]); }; @@ -360,16 +360,16 @@ proto.proto.services.property_svc.v1.FilterUpdate.prototype.clearAppendToDontAlw * repeated string remove_from_dont_always_include = 4; * @return {!Array} */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.getRemoveFromDontAlwaysIncludeList = function() { +proto.services.property_svc.v1.FilterUpdate.prototype.getRemoveFromDontAlwaysIncludeList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); }; /** * @param {!Array} value - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.setRemoveFromDontAlwaysIncludeList = function(value) { +proto.services.property_svc.v1.FilterUpdate.prototype.setRemoveFromDontAlwaysIncludeList = function(value) { return jspb.Message.setField(this, 4, value || []); }; @@ -377,18 +377,18 @@ proto.proto.services.property_svc.v1.FilterUpdate.prototype.setRemoveFromDontAlw /** * @param {string} value * @param {number=} opt_index - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.addRemoveFromDontAlwaysInclude = function(value, opt_index) { +proto.services.property_svc.v1.FilterUpdate.prototype.addRemoveFromDontAlwaysInclude = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 4, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.property_svc.v1.FilterUpdate} returns this + * @return {!proto.services.property_svc.v1.FilterUpdate} returns this */ -proto.proto.services.property_svc.v1.FilterUpdate.prototype.clearRemoveFromDontAlwaysIncludeList = function() { +proto.services.property_svc.v1.FilterUpdate.prototype.clearRemoveFromDontAlwaysIncludeList = function() { return this.setRemoveFromDontAlwaysIncludeList([]); }; @@ -402,21 +402,21 @@ proto.proto.services.property_svc.v1.FilterUpdate.prototype.clearRemoveFromDontA * @private {!Array>} * @const */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.oneofGroups_ = [[2]]; +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.oneofGroups_ = [[2]]; /** * @enum {number} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.MatcherCase = { +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.MatcherCase = { MATCHER_NOT_SET: 0, TASK_MATCHER: 2 }; /** - * @return {proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.MatcherCase} + * @return {proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.MatcherCase} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.getMatcherCase = function() { - return /** @type {proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.MatcherCase} */(jspb.Message.computeOneofCase(this, proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.oneofGroups_[0])); +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.getMatcherCase = function() { + return /** @type {proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.MatcherCase} */(jspb.Message.computeOneofCase(this, proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.oneofGroups_[0])); }; @@ -434,8 +434,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.toObject(opt_includeInstance, this); +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.toObject(opt_includeInstance, this); }; @@ -444,14 +444,14 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.toO * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} msg The msg instance to transform. + * @param {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.toObject = function(includeInstance, msg) { +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.toObject = function(includeInstance, msg) { var f, obj = { - filterUpdate: (f = msg.getFilterUpdate()) && proto.proto.services.property_svc.v1.FilterUpdate.toObject(includeInstance, f), - taskMatcher: (f = msg.getTaskMatcher()) && proto_services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher.toObject(includeInstance, f) + filterUpdate: (f = msg.getFilterUpdate()) && proto.services.property_svc.v1.FilterUpdate.toObject(includeInstance, f), + taskMatcher: (f = msg.getTaskMatcher()) && services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher.toObject(includeInstance, f) }; if (includeInstance) { @@ -465,23 +465,23 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.toObject = fu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} + * @return {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.deserializeBinary = function(bytes) { +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest; - return proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.property_svc.v1.UpdatePropertyViewRuleRequest; + return proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} msg The message object to deserialize into. + * @param {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} + * @return {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -489,13 +489,13 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.deserializeBi var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.property_svc.v1.FilterUpdate; - reader.readMessage(value,proto.proto.services.property_svc.v1.FilterUpdate.deserializeBinaryFromReader); + var value = new proto.services.property_svc.v1.FilterUpdate; + reader.readMessage(value,proto.services.property_svc.v1.FilterUpdate.deserializeBinaryFromReader); msg.setFilterUpdate(value); break; case 2: - var value = new proto_services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher; - reader.readMessage(value,proto_services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher.deserializeBinaryFromReader); + var value = new services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher; + reader.readMessage(value,services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher.deserializeBinaryFromReader); msg.setTaskMatcher(value); break; default: @@ -511,9 +511,9 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.deserializeBi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.serializeBinary = function() { +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.serializeBinaryToWriter(this, writer); + proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -521,18 +521,18 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.ser /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} message + * @param {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getFilterUpdate(); if (f != null) { writer.writeMessage( 1, f, - proto.proto.services.property_svc.v1.FilterUpdate.serializeBinaryToWriter + proto.services.property_svc.v1.FilterUpdate.serializeBinaryToWriter ); } f = message.getTaskMatcher(); @@ -540,7 +540,7 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.serializeBina writer.writeMessage( 2, f, - proto_services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher.serializeBinaryToWriter + services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher.serializeBinaryToWriter ); } }; @@ -548,28 +548,28 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.serializeBina /** * optional FilterUpdate filter_update = 1; - * @return {?proto.proto.services.property_svc.v1.FilterUpdate} + * @return {?proto.services.property_svc.v1.FilterUpdate} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.getFilterUpdate = function() { - return /** @type{?proto.proto.services.property_svc.v1.FilterUpdate} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.property_svc.v1.FilterUpdate, 1)); +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.getFilterUpdate = function() { + return /** @type{?proto.services.property_svc.v1.FilterUpdate} */ ( + jspb.Message.getWrapperField(this, proto.services.property_svc.v1.FilterUpdate, 1)); }; /** - * @param {?proto.proto.services.property_svc.v1.FilterUpdate|undefined} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} returns this + * @param {?proto.services.property_svc.v1.FilterUpdate|undefined} value + * @return {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} returns this */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.setFilterUpdate = function(value) { +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.setFilterUpdate = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} returns this + * @return {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} returns this */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.clearFilterUpdate = function() { +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.clearFilterUpdate = function() { return this.setFilterUpdate(undefined); }; @@ -578,35 +578,35 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.cle * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.hasFilterUpdate = function() { +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.hasFilterUpdate = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional TaskPropertyMatcher task_matcher = 2; - * @return {?proto.proto.services.property_svc.v1.TaskPropertyMatcher} + * @return {?proto.services.property_svc.v1.TaskPropertyMatcher} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.getTaskMatcher = function() { - return /** @type{?proto.proto.services.property_svc.v1.TaskPropertyMatcher} */ ( - jspb.Message.getWrapperField(this, proto_services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher, 2)); +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.getTaskMatcher = function() { + return /** @type{?proto.services.property_svc.v1.TaskPropertyMatcher} */ ( + jspb.Message.getWrapperField(this, services_property_svc_v1_property_value_svc_pb.TaskPropertyMatcher, 2)); }; /** - * @param {?proto.proto.services.property_svc.v1.TaskPropertyMatcher|undefined} value - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} returns this + * @param {?proto.services.property_svc.v1.TaskPropertyMatcher|undefined} value + * @return {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} returns this */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.setTaskMatcher = function(value) { - return jspb.Message.setOneofWrapperField(this, 2, proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.oneofGroups_[0], value); +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.setTaskMatcher = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.oneofGroups_[0], value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} returns this + * @return {!proto.services.property_svc.v1.UpdatePropertyViewRuleRequest} returns this */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.clearTaskMatcher = function() { +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.clearTaskMatcher = function() { return this.setTaskMatcher(undefined); }; @@ -615,7 +615,7 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.cle * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.hasTaskMatcher = function() { +proto.services.property_svc.v1.UpdatePropertyViewRuleRequest.prototype.hasTaskMatcher = function() { return jspb.Message.getField(this, 2) != null; }; @@ -636,8 +636,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.toObject(opt_includeInstance, this); +proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.toObject(opt_includeInstance, this); }; @@ -646,11 +646,11 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.prototype.to * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse} msg The msg instance to transform. + * @param {!proto.services.property_svc.v1.UpdatePropertyViewRuleResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.toObject = function(includeInstance, msg) { +proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -666,23 +666,23 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.toObject = f /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse} + * @return {!proto.services.property_svc.v1.UpdatePropertyViewRuleResponse} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.deserializeBinary = function(bytes) { +proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse; - return proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.property_svc.v1.UpdatePropertyViewRuleResponse; + return proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse} msg The message object to deserialize into. + * @param {!proto.services.property_svc.v1.UpdatePropertyViewRuleResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse} + * @return {!proto.services.property_svc.v1.UpdatePropertyViewRuleResponse} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -702,9 +702,9 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.deserializeB * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.prototype.serializeBinary = function() { +proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.serializeBinaryToWriter(this, writer); + proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -712,13 +712,13 @@ proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.prototype.se /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse} message + * @param {!proto.services.property_svc.v1.UpdatePropertyViewRuleResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.property_svc.v1.UpdatePropertyViewRuleResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; -goog.object.extend(exports, proto.proto.services.property_svc.v1); +goog.object.extend(exports, proto.services.property_svc.v1); diff --git a/gen/ts/proto/services/property_svc/v1/types_pb.d.ts b/gen/ts/services/property_svc/v1/types_pb.d.ts similarity index 100% rename from gen/ts/proto/services/property_svc/v1/types_pb.d.ts rename to gen/ts/services/property_svc/v1/types_pb.d.ts diff --git a/gen/ts/proto/services/property_svc/v1/types_pb.js b/gen/ts/services/property_svc/v1/types_pb.js similarity index 66% rename from gen/ts/proto/services/property_svc/v1/types_pb.js rename to gen/ts/services/property_svc/v1/types_pb.js index edbbfbcce..b6ee3d90e 100644 --- a/gen/ts/proto/services/property_svc/v1/types_pb.js +++ b/gen/ts/services/property_svc/v1/types_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/property_svc/v1/types.proto +// source: services/property_svc/v1/types.proto /** * @fileoverview * @enhanceable @@ -21,9 +21,9 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.property_svc.v1.Date', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.FieldType', null, global); -goog.exportSymbol('proto.proto.services.property_svc.v1.SubjectType', null, global); +goog.exportSymbol('proto.services.property_svc.v1.Date', null, global); +goog.exportSymbol('proto.services.property_svc.v1.FieldType', null, global); +goog.exportSymbol('proto.services.property_svc.v1.SubjectType', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -34,16 +34,16 @@ goog.exportSymbol('proto.proto.services.property_svc.v1.SubjectType', null, glob * @extends {jspb.Message} * @constructor */ -proto.proto.services.property_svc.v1.Date = function(opt_data) { +proto.services.property_svc.v1.Date = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.property_svc.v1.Date, jspb.Message); +goog.inherits(proto.services.property_svc.v1.Date, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.property_svc.v1.Date.displayName = 'proto.proto.services.property_svc.v1.Date'; + proto.services.property_svc.v1.Date.displayName = 'proto.services.property_svc.v1.Date'; } @@ -61,8 +61,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.property_svc.v1.Date.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.property_svc.v1.Date.toObject(opt_includeInstance, this); +proto.services.property_svc.v1.Date.prototype.toObject = function(opt_includeInstance) { + return proto.services.property_svc.v1.Date.toObject(opt_includeInstance, this); }; @@ -71,11 +71,11 @@ proto.proto.services.property_svc.v1.Date.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.property_svc.v1.Date} msg The msg instance to transform. + * @param {!proto.services.property_svc.v1.Date} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.Date.toObject = function(includeInstance, msg) { +proto.services.property_svc.v1.Date.toObject = function(includeInstance, msg) { var f, obj = { day: jspb.Message.getFieldWithDefault(msg, 1, 0), month: jspb.Message.getFieldWithDefault(msg, 2, 0), @@ -93,23 +93,23 @@ proto.proto.services.property_svc.v1.Date.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.property_svc.v1.Date} + * @return {!proto.services.property_svc.v1.Date} */ -proto.proto.services.property_svc.v1.Date.deserializeBinary = function(bytes) { +proto.services.property_svc.v1.Date.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.property_svc.v1.Date; - return proto.proto.services.property_svc.v1.Date.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.property_svc.v1.Date; + return proto.services.property_svc.v1.Date.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.property_svc.v1.Date} msg The message object to deserialize into. + * @param {!proto.services.property_svc.v1.Date} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.property_svc.v1.Date} + * @return {!proto.services.property_svc.v1.Date} */ -proto.proto.services.property_svc.v1.Date.deserializeBinaryFromReader = function(msg, reader) { +proto.services.property_svc.v1.Date.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -141,9 +141,9 @@ proto.proto.services.property_svc.v1.Date.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.property_svc.v1.Date.prototype.serializeBinary = function() { +proto.services.property_svc.v1.Date.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.property_svc.v1.Date.serializeBinaryToWriter(this, writer); + proto.services.property_svc.v1.Date.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -151,11 +151,11 @@ proto.proto.services.property_svc.v1.Date.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.property_svc.v1.Date} message + * @param {!proto.services.property_svc.v1.Date} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.property_svc.v1.Date.serializeBinaryToWriter = function(message, writer) { +proto.services.property_svc.v1.Date.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDay(); if (f !== 0) { @@ -185,16 +185,16 @@ proto.proto.services.property_svc.v1.Date.serializeBinaryToWriter = function(mes * optional int32 day = 1; * @return {number} */ -proto.proto.services.property_svc.v1.Date.prototype.getDay = function() { +proto.services.property_svc.v1.Date.prototype.getDay = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.property_svc.v1.Date} returns this + * @return {!proto.services.property_svc.v1.Date} returns this */ -proto.proto.services.property_svc.v1.Date.prototype.setDay = function(value) { +proto.services.property_svc.v1.Date.prototype.setDay = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -203,16 +203,16 @@ proto.proto.services.property_svc.v1.Date.prototype.setDay = function(value) { * optional int32 month = 2; * @return {number} */ -proto.proto.services.property_svc.v1.Date.prototype.getMonth = function() { +proto.services.property_svc.v1.Date.prototype.getMonth = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.property_svc.v1.Date} returns this + * @return {!proto.services.property_svc.v1.Date} returns this */ -proto.proto.services.property_svc.v1.Date.prototype.setMonth = function(value) { +proto.services.property_svc.v1.Date.prototype.setMonth = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -221,16 +221,16 @@ proto.proto.services.property_svc.v1.Date.prototype.setMonth = function(value) { * optional int32 year = 3; * @return {number} */ -proto.proto.services.property_svc.v1.Date.prototype.getYear = function() { +proto.services.property_svc.v1.Date.prototype.getYear = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.property_svc.v1.Date} returns this + * @return {!proto.services.property_svc.v1.Date} returns this */ -proto.proto.services.property_svc.v1.Date.prototype.setYear = function(value) { +proto.services.property_svc.v1.Date.prototype.setYear = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; @@ -238,7 +238,7 @@ proto.proto.services.property_svc.v1.Date.prototype.setYear = function(value) { /** * @enum {number} */ -proto.proto.services.property_svc.v1.SubjectType = { +proto.services.property_svc.v1.SubjectType = { SUBJECT_TYPE_UNSPECIFIED: 0, SUBJECT_TYPE_PATIENT: 1, SUBJECT_TYPE_TASK: 2 @@ -247,7 +247,7 @@ proto.proto.services.property_svc.v1.SubjectType = { /** * @enum {number} */ -proto.proto.services.property_svc.v1.FieldType = { +proto.services.property_svc.v1.FieldType = { FIELD_TYPE_UNSPECIFIED: 0, FIELD_TYPE_TEXT: 1, FIELD_TYPE_NUMBER: 2, @@ -257,4 +257,4 @@ proto.proto.services.property_svc.v1.FieldType = { FIELD_TYPE_SELECT: 6 }; -goog.object.extend(exports, proto.proto.services.property_svc.v1); +goog.object.extend(exports, proto.services.property_svc.v1); diff --git a/gen/ts/services/task_svc/v1/bed_svc_grpc_web_pb.d.ts b/gen/ts/services/task_svc/v1/bed_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..456ba67b9 --- /dev/null +++ b/gen/ts/services/task_svc/v1/bed_svc_grpc_web_pb.d.ts @@ -0,0 +1,115 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_task_svc_v1_bed_svc_pb from '../../../services/task_svc/v1/bed_svc_pb'; // proto import: "services/task_svc/v1/bed_svc.proto" + + +export class BedServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createBed( + request: services_task_svc_v1_bed_svc_pb.CreateBedRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_bed_svc_pb.CreateBedResponse) => void + ): grpcWeb.ClientReadableStream; + + bulkCreateBeds( + request: services_task_svc_v1_bed_svc_pb.BulkCreateBedsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_bed_svc_pb.BulkCreateBedsResponse) => void + ): grpcWeb.ClientReadableStream; + + getBed( + request: services_task_svc_v1_bed_svc_pb.GetBedRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_bed_svc_pb.GetBedResponse) => void + ): grpcWeb.ClientReadableStream; + + getBedByPatient( + request: services_task_svc_v1_bed_svc_pb.GetBedByPatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_bed_svc_pb.GetBedByPatientResponse) => void + ): grpcWeb.ClientReadableStream; + + getBeds( + request: services_task_svc_v1_bed_svc_pb.GetBedsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_bed_svc_pb.GetBedsResponse) => void + ): grpcWeb.ClientReadableStream; + + getBedsByRoom( + request: services_task_svc_v1_bed_svc_pb.GetBedsByRoomRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_bed_svc_pb.GetBedsByRoomResponse) => void + ): grpcWeb.ClientReadableStream; + + updateBed( + request: services_task_svc_v1_bed_svc_pb.UpdateBedRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_bed_svc_pb.UpdateBedResponse) => void + ): grpcWeb.ClientReadableStream; + + deleteBed( + request: services_task_svc_v1_bed_svc_pb.DeleteBedRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_bed_svc_pb.DeleteBedResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class BedServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createBed( + request: services_task_svc_v1_bed_svc_pb.CreateBedRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + bulkCreateBeds( + request: services_task_svc_v1_bed_svc_pb.BulkCreateBedsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getBed( + request: services_task_svc_v1_bed_svc_pb.GetBedRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getBedByPatient( + request: services_task_svc_v1_bed_svc_pb.GetBedByPatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getBeds( + request: services_task_svc_v1_bed_svc_pb.GetBedsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getBedsByRoom( + request: services_task_svc_v1_bed_svc_pb.GetBedsByRoomRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateBed( + request: services_task_svc_v1_bed_svc_pb.UpdateBedRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + deleteBed( + request: services_task_svc_v1_bed_svc_pb.DeleteBedRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/services/task_svc/v1/bed_svc_grpc_web_pb.js b/gen/ts/services/task_svc/v1/bed_svc_grpc_web_pb.js new file mode 100644 index 000000000..e1f7f56ac --- /dev/null +++ b/gen/ts/services/task_svc/v1/bed_svc_grpc_web_pb.js @@ -0,0 +1,568 @@ +/** + * @fileoverview gRPC-Web generated client stub for services.task_svc.v1 + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.5.0 +// protoc v0.0.0 +// source: services/task_svc/v1/bed_svc.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + +const proto = {}; +proto.services = {}; +proto.services.task_svc = {}; +proto.services.task_svc.v1 = require('./bed_svc_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.BedServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.BedServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.CreateBedRequest, + * !proto.services.task_svc.v1.CreateBedResponse>} + */ +const methodDescriptor_BedService_CreateBed = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.BedService/CreateBed', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.CreateBedRequest, + proto.services.task_svc.v1.CreateBedResponse, + /** + * @param {!proto.services.task_svc.v1.CreateBedRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.CreateBedResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.CreateBedRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.CreateBedResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.BedServiceClient.prototype.createBed = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.BedService/CreateBed', + request, + metadata || {}, + methodDescriptor_BedService_CreateBed, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.CreateBedRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.BedServicePromiseClient.prototype.createBed = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.BedService/CreateBed', + request, + metadata || {}, + methodDescriptor_BedService_CreateBed); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.BulkCreateBedsRequest, + * !proto.services.task_svc.v1.BulkCreateBedsResponse>} + */ +const methodDescriptor_BedService_BulkCreateBeds = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.BedService/BulkCreateBeds', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.BulkCreateBedsRequest, + proto.services.task_svc.v1.BulkCreateBedsResponse, + /** + * @param {!proto.services.task_svc.v1.BulkCreateBedsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.BulkCreateBedsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.BulkCreateBedsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.BulkCreateBedsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.BedServiceClient.prototype.bulkCreateBeds = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.BedService/BulkCreateBeds', + request, + metadata || {}, + methodDescriptor_BedService_BulkCreateBeds, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.BulkCreateBedsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.BedServicePromiseClient.prototype.bulkCreateBeds = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.BedService/BulkCreateBeds', + request, + metadata || {}, + methodDescriptor_BedService_BulkCreateBeds); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetBedRequest, + * !proto.services.task_svc.v1.GetBedResponse>} + */ +const methodDescriptor_BedService_GetBed = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.BedService/GetBed', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetBedRequest, + proto.services.task_svc.v1.GetBedResponse, + /** + * @param {!proto.services.task_svc.v1.GetBedRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetBedResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetBedRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetBedResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.BedServiceClient.prototype.getBed = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.BedService/GetBed', + request, + metadata || {}, + methodDescriptor_BedService_GetBed, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetBedRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.BedServicePromiseClient.prototype.getBed = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.BedService/GetBed', + request, + metadata || {}, + methodDescriptor_BedService_GetBed); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetBedByPatientRequest, + * !proto.services.task_svc.v1.GetBedByPatientResponse>} + */ +const methodDescriptor_BedService_GetBedByPatient = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.BedService/GetBedByPatient', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetBedByPatientRequest, + proto.services.task_svc.v1.GetBedByPatientResponse, + /** + * @param {!proto.services.task_svc.v1.GetBedByPatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetBedByPatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetBedByPatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetBedByPatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.BedServiceClient.prototype.getBedByPatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.BedService/GetBedByPatient', + request, + metadata || {}, + methodDescriptor_BedService_GetBedByPatient, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetBedByPatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.BedServicePromiseClient.prototype.getBedByPatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.BedService/GetBedByPatient', + request, + metadata || {}, + methodDescriptor_BedService_GetBedByPatient); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetBedsRequest, + * !proto.services.task_svc.v1.GetBedsResponse>} + */ +const methodDescriptor_BedService_GetBeds = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.BedService/GetBeds', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetBedsRequest, + proto.services.task_svc.v1.GetBedsResponse, + /** + * @param {!proto.services.task_svc.v1.GetBedsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetBedsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetBedsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetBedsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.BedServiceClient.prototype.getBeds = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.BedService/GetBeds', + request, + metadata || {}, + methodDescriptor_BedService_GetBeds, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetBedsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.BedServicePromiseClient.prototype.getBeds = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.BedService/GetBeds', + request, + metadata || {}, + methodDescriptor_BedService_GetBeds); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetBedsByRoomRequest, + * !proto.services.task_svc.v1.GetBedsByRoomResponse>} + */ +const methodDescriptor_BedService_GetBedsByRoom = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.BedService/GetBedsByRoom', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetBedsByRoomRequest, + proto.services.task_svc.v1.GetBedsByRoomResponse, + /** + * @param {!proto.services.task_svc.v1.GetBedsByRoomRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetBedsByRoomResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetBedsByRoomRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetBedsByRoomResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.BedServiceClient.prototype.getBedsByRoom = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.BedService/GetBedsByRoom', + request, + metadata || {}, + methodDescriptor_BedService_GetBedsByRoom, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetBedsByRoomRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.BedServicePromiseClient.prototype.getBedsByRoom = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.BedService/GetBedsByRoom', + request, + metadata || {}, + methodDescriptor_BedService_GetBedsByRoom); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.UpdateBedRequest, + * !proto.services.task_svc.v1.UpdateBedResponse>} + */ +const methodDescriptor_BedService_UpdateBed = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.BedService/UpdateBed', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.UpdateBedRequest, + proto.services.task_svc.v1.UpdateBedResponse, + /** + * @param {!proto.services.task_svc.v1.UpdateBedRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.UpdateBedResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.UpdateBedRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.UpdateBedResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.BedServiceClient.prototype.updateBed = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.BedService/UpdateBed', + request, + metadata || {}, + methodDescriptor_BedService_UpdateBed, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.UpdateBedRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.BedServicePromiseClient.prototype.updateBed = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.BedService/UpdateBed', + request, + metadata || {}, + methodDescriptor_BedService_UpdateBed); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.DeleteBedRequest, + * !proto.services.task_svc.v1.DeleteBedResponse>} + */ +const methodDescriptor_BedService_DeleteBed = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.BedService/DeleteBed', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.DeleteBedRequest, + proto.services.task_svc.v1.DeleteBedResponse, + /** + * @param {!proto.services.task_svc.v1.DeleteBedRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.DeleteBedResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.DeleteBedRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.DeleteBedResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.BedServiceClient.prototype.deleteBed = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.BedService/DeleteBed', + request, + metadata || {}, + methodDescriptor_BedService_DeleteBed, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.DeleteBedRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.BedServicePromiseClient.prototype.deleteBed = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.BedService/DeleteBed', + request, + metadata || {}, + methodDescriptor_BedService_DeleteBed); +}; + + +module.exports = proto.services.task_svc.v1; + diff --git a/gen/ts/proto/services/task_svc/v1/bed_svc_pb.d.ts b/gen/ts/services/task_svc/v1/bed_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/task_svc/v1/bed_svc_pb.d.ts rename to gen/ts/services/task_svc/v1/bed_svc_pb.d.ts diff --git a/gen/ts/proto/services/task_svc/v1/bed_svc_pb.js b/gen/ts/services/task_svc/v1/bed_svc_pb.js similarity index 61% rename from gen/ts/proto/services/task_svc/v1/bed_svc_pb.js rename to gen/ts/services/task_svc/v1/bed_svc_pb.js index 258479a1a..9523c12c3 100644 --- a/gen/ts/proto/services/task_svc/v1/bed_svc_pb.js +++ b/gen/ts/services/task_svc/v1/bed_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/task_svc/v1/bed_svc.proto +// source: services/task_svc/v1/bed_svc.proto /** * @fileoverview * @enhanceable @@ -21,27 +21,27 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.task_svc.v1.BulkCreateBedsRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.BulkCreateBedsResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateBedRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateBedResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteBedRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteBedResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedByPatientRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedByPatientResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedsByRoomRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedsByRoomResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedsRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedsResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetBedsResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateBedRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateBedResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.BulkCreateBedsRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.BulkCreateBedsResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.BulkCreateBedsResponse.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateBedRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateBedResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteBedRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteBedResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedByPatientRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedByPatientResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedByPatientResponse.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedByPatientResponse.Room', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedsByRoomRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedsByRoomResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedsByRoomResponse.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedsRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedsResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetBedsResponse.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateBedRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateBedResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -52,16 +52,16 @@ goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateBedResponse', null, gl * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateBedRequest = function(opt_data) { +proto.services.task_svc.v1.CreateBedRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateBedRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateBedRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateBedRequest.displayName = 'proto.proto.services.task_svc.v1.CreateBedRequest'; + proto.services.task_svc.v1.CreateBedRequest.displayName = 'proto.services.task_svc.v1.CreateBedRequest'; } /** * Generated by JsPbCodeGenerator. @@ -73,16 +73,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateBedResponse = function(opt_data) { +proto.services.task_svc.v1.CreateBedResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateBedResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateBedResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateBedResponse.displayName = 'proto.proto.services.task_svc.v1.CreateBedResponse'; + proto.services.task_svc.v1.CreateBedResponse.displayName = 'proto.services.task_svc.v1.CreateBedResponse'; } /** * Generated by JsPbCodeGenerator. @@ -94,16 +94,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.BulkCreateBedsRequest = function(opt_data) { +proto.services.task_svc.v1.BulkCreateBedsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.BulkCreateBedsRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.BulkCreateBedsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.BulkCreateBedsRequest.displayName = 'proto.proto.services.task_svc.v1.BulkCreateBedsRequest'; + proto.services.task_svc.v1.BulkCreateBedsRequest.displayName = 'proto.services.task_svc.v1.BulkCreateBedsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -115,16 +115,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.BulkCreateBedsResponse.repeatedFields_, null); +proto.services.task_svc.v1.BulkCreateBedsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.BulkCreateBedsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.BulkCreateBedsResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.BulkCreateBedsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.BulkCreateBedsResponse.displayName = 'proto.proto.services.task_svc.v1.BulkCreateBedsResponse'; + proto.services.task_svc.v1.BulkCreateBedsResponse.displayName = 'proto.services.task_svc.v1.BulkCreateBedsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -136,16 +136,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed = function(opt_data) { +proto.services.task_svc.v1.BulkCreateBedsResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.BulkCreateBedsResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.displayName = 'proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed'; + proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.displayName = 'proto.services.task_svc.v1.BulkCreateBedsResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -157,16 +157,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedRequest = function(opt_data) { +proto.services.task_svc.v1.GetBedRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedRequest.displayName = 'proto.proto.services.task_svc.v1.GetBedRequest'; + proto.services.task_svc.v1.GetBedRequest.displayName = 'proto.services.task_svc.v1.GetBedRequest'; } /** * Generated by JsPbCodeGenerator. @@ -178,16 +178,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedResponse = function(opt_data) { +proto.services.task_svc.v1.GetBedResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedResponse.displayName = 'proto.proto.services.task_svc.v1.GetBedResponse'; + proto.services.task_svc.v1.GetBedResponse.displayName = 'proto.services.task_svc.v1.GetBedResponse'; } /** * Generated by JsPbCodeGenerator. @@ -199,16 +199,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedByPatientRequest = function(opt_data) { +proto.services.task_svc.v1.GetBedByPatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedByPatientRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedByPatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedByPatientRequest.displayName = 'proto.proto.services.task_svc.v1.GetBedByPatientRequest'; + proto.services.task_svc.v1.GetBedByPatientRequest.displayName = 'proto.services.task_svc.v1.GetBedByPatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -220,16 +220,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse = function(opt_data) { +proto.services.task_svc.v1.GetBedByPatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedByPatientResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedByPatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedByPatientResponse.displayName = 'proto.proto.services.task_svc.v1.GetBedByPatientResponse'; + proto.services.task_svc.v1.GetBedByPatientResponse.displayName = 'proto.services.task_svc.v1.GetBedByPatientResponse'; } /** * Generated by JsPbCodeGenerator. @@ -241,16 +241,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room = function(opt_data) { +proto.services.task_svc.v1.GetBedByPatientResponse.Room = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedByPatientResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.displayName = 'proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room'; + proto.services.task_svc.v1.GetBedByPatientResponse.Room.displayName = 'proto.services.task_svc.v1.GetBedByPatientResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -262,16 +262,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed = function(opt_data) { +proto.services.task_svc.v1.GetBedByPatientResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedByPatientResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.displayName = 'proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed'; + proto.services.task_svc.v1.GetBedByPatientResponse.Bed.displayName = 'proto.services.task_svc.v1.GetBedByPatientResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -283,16 +283,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedsRequest = function(opt_data) { +proto.services.task_svc.v1.GetBedsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedsRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedsRequest.displayName = 'proto.proto.services.task_svc.v1.GetBedsRequest'; + proto.services.task_svc.v1.GetBedsRequest.displayName = 'proto.services.task_svc.v1.GetBedsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -304,16 +304,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetBedsResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetBedsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetBedsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedsResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedsResponse.displayName = 'proto.proto.services.task_svc.v1.GetBedsResponse'; + proto.services.task_svc.v1.GetBedsResponse.displayName = 'proto.services.task_svc.v1.GetBedsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -325,16 +325,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed = function(opt_data) { +proto.services.task_svc.v1.GetBedsResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedsResponse.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedsResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedsResponse.Bed.displayName = 'proto.proto.services.task_svc.v1.GetBedsResponse.Bed'; + proto.services.task_svc.v1.GetBedsResponse.Bed.displayName = 'proto.services.task_svc.v1.GetBedsResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -346,16 +346,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedsByRoomRequest = function(opt_data) { +proto.services.task_svc.v1.GetBedsByRoomRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedsByRoomRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedsByRoomRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedsByRoomRequest.displayName = 'proto.proto.services.task_svc.v1.GetBedsByRoomRequest'; + proto.services.task_svc.v1.GetBedsByRoomRequest.displayName = 'proto.services.task_svc.v1.GetBedsByRoomRequest'; } /** * Generated by JsPbCodeGenerator. @@ -367,16 +367,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetBedsByRoomResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetBedsByRoomResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetBedsByRoomResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedsByRoomResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedsByRoomResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedsByRoomResponse.displayName = 'proto.proto.services.task_svc.v1.GetBedsByRoomResponse'; + proto.services.task_svc.v1.GetBedsByRoomResponse.displayName = 'proto.services.task_svc.v1.GetBedsByRoomResponse'; } /** * Generated by JsPbCodeGenerator. @@ -388,16 +388,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed = function(opt_data) { +proto.services.task_svc.v1.GetBedsByRoomResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetBedsByRoomResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.displayName = 'proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed'; + proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.displayName = 'proto.services.task_svc.v1.GetBedsByRoomResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -409,16 +409,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateBedRequest = function(opt_data) { +proto.services.task_svc.v1.UpdateBedRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateBedRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateBedRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateBedRequest.displayName = 'proto.proto.services.task_svc.v1.UpdateBedRequest'; + proto.services.task_svc.v1.UpdateBedRequest.displayName = 'proto.services.task_svc.v1.UpdateBedRequest'; } /** * Generated by JsPbCodeGenerator. @@ -430,16 +430,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateBedResponse = function(opt_data) { +proto.services.task_svc.v1.UpdateBedResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateBedResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateBedResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateBedResponse.displayName = 'proto.proto.services.task_svc.v1.UpdateBedResponse'; + proto.services.task_svc.v1.UpdateBedResponse.displayName = 'proto.services.task_svc.v1.UpdateBedResponse'; } /** * Generated by JsPbCodeGenerator. @@ -451,16 +451,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteBedRequest = function(opt_data) { +proto.services.task_svc.v1.DeleteBedRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteBedRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteBedRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteBedRequest.displayName = 'proto.proto.services.task_svc.v1.DeleteBedRequest'; + proto.services.task_svc.v1.DeleteBedRequest.displayName = 'proto.services.task_svc.v1.DeleteBedRequest'; } /** * Generated by JsPbCodeGenerator. @@ -472,16 +472,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteBedResponse = function(opt_data) { +proto.services.task_svc.v1.DeleteBedResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteBedResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteBedResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteBedResponse.displayName = 'proto.proto.services.task_svc.v1.DeleteBedResponse'; + proto.services.task_svc.v1.DeleteBedResponse.displayName = 'proto.services.task_svc.v1.DeleteBedResponse'; } @@ -499,8 +499,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateBedRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateBedRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateBedRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateBedRequest.toObject(opt_includeInstance, this); }; @@ -509,11 +509,11 @@ proto.proto.services.task_svc.v1.CreateBedRequest.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateBedRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateBedRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateBedRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateBedRequest.toObject = function(includeInstance, msg) { var f, obj = { roomId: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -530,23 +530,23 @@ proto.proto.services.task_svc.v1.CreateBedRequest.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateBedRequest} + * @return {!proto.services.task_svc.v1.CreateBedRequest} */ -proto.proto.services.task_svc.v1.CreateBedRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateBedRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateBedRequest; - return proto.proto.services.task_svc.v1.CreateBedRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateBedRequest; + return proto.services.task_svc.v1.CreateBedRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateBedRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateBedRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateBedRequest} + * @return {!proto.services.task_svc.v1.CreateBedRequest} */ -proto.proto.services.task_svc.v1.CreateBedRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateBedRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -574,9 +574,9 @@ proto.proto.services.task_svc.v1.CreateBedRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateBedRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateBedRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateBedRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateBedRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -584,11 +584,11 @@ proto.proto.services.task_svc.v1.CreateBedRequest.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateBedRequest} message + * @param {!proto.services.task_svc.v1.CreateBedRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateBedRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateBedRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRoomId(); if (f.length > 0) { @@ -611,16 +611,16 @@ proto.proto.services.task_svc.v1.CreateBedRequest.serializeBinaryToWriter = func * optional string room_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateBedRequest.prototype.getRoomId = function() { +proto.services.task_svc.v1.CreateBedRequest.prototype.getRoomId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateBedRequest} returns this + * @return {!proto.services.task_svc.v1.CreateBedRequest} returns this */ -proto.proto.services.task_svc.v1.CreateBedRequest.prototype.setRoomId = function(value) { +proto.services.task_svc.v1.CreateBedRequest.prototype.setRoomId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -629,16 +629,16 @@ proto.proto.services.task_svc.v1.CreateBedRequest.prototype.setRoomId = function * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.CreateBedRequest.prototype.getName = function() { +proto.services.task_svc.v1.CreateBedRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateBedRequest} returns this + * @return {!proto.services.task_svc.v1.CreateBedRequest} returns this */ -proto.proto.services.task_svc.v1.CreateBedRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.CreateBedRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -659,8 +659,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateBedResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateBedResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateBedResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateBedResponse.toObject(opt_includeInstance, this); }; @@ -669,11 +669,11 @@ proto.proto.services.task_svc.v1.CreateBedResponse.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateBedResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateBedResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateBedResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateBedResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -689,23 +689,23 @@ proto.proto.services.task_svc.v1.CreateBedResponse.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateBedResponse} + * @return {!proto.services.task_svc.v1.CreateBedResponse} */ -proto.proto.services.task_svc.v1.CreateBedResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateBedResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateBedResponse; - return proto.proto.services.task_svc.v1.CreateBedResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateBedResponse; + return proto.services.task_svc.v1.CreateBedResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateBedResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateBedResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateBedResponse} + * @return {!proto.services.task_svc.v1.CreateBedResponse} */ -proto.proto.services.task_svc.v1.CreateBedResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateBedResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -729,9 +729,9 @@ proto.proto.services.task_svc.v1.CreateBedResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateBedResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateBedResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateBedResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateBedResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -739,11 +739,11 @@ proto.proto.services.task_svc.v1.CreateBedResponse.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateBedResponse} message + * @param {!proto.services.task_svc.v1.CreateBedResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateBedResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateBedResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -759,16 +759,16 @@ proto.proto.services.task_svc.v1.CreateBedResponse.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateBedResponse.prototype.getId = function() { +proto.services.task_svc.v1.CreateBedResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateBedResponse} returns this + * @return {!proto.services.task_svc.v1.CreateBedResponse} returns this */ -proto.proto.services.task_svc.v1.CreateBedResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.CreateBedResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -789,8 +789,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.BulkCreateBedsRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.BulkCreateBedsRequest.toObject(opt_includeInstance, this); }; @@ -799,11 +799,11 @@ proto.proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.BulkCreateBedsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.BulkCreateBedsRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.BulkCreateBedsRequest.toObject = function(includeInstance, msg) { var f, obj = { roomId: jspb.Message.getFieldWithDefault(msg, 1, ""), amountOfBeds: jspb.Message.getFieldWithDefault(msg, 2, 0) @@ -820,23 +820,23 @@ proto.proto.services.task_svc.v1.BulkCreateBedsRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsRequest} + * @return {!proto.services.task_svc.v1.BulkCreateBedsRequest} */ -proto.proto.services.task_svc.v1.BulkCreateBedsRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.BulkCreateBedsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.BulkCreateBedsRequest; - return proto.proto.services.task_svc.v1.BulkCreateBedsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.BulkCreateBedsRequest; + return proto.services.task_svc.v1.BulkCreateBedsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.BulkCreateBedsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsRequest} + * @return {!proto.services.task_svc.v1.BulkCreateBedsRequest} */ -proto.proto.services.task_svc.v1.BulkCreateBedsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.BulkCreateBedsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -864,9 +864,9 @@ proto.proto.services.task_svc.v1.BulkCreateBedsRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.BulkCreateBedsRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.BulkCreateBedsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -874,11 +874,11 @@ proto.proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsRequest} message + * @param {!proto.services.task_svc.v1.BulkCreateBedsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.BulkCreateBedsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.BulkCreateBedsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRoomId(); if (f.length > 0) { @@ -901,16 +901,16 @@ proto.proto.services.task_svc.v1.BulkCreateBedsRequest.serializeBinaryToWriter = * optional string room_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.getRoomId = function() { +proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.getRoomId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsRequest} returns this + * @return {!proto.services.task_svc.v1.BulkCreateBedsRequest} returns this */ -proto.proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.setRoomId = function(value) { +proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.setRoomId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -919,16 +919,16 @@ proto.proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.setRoomId = fun * optional uint32 amount_of_beds = 2; * @return {number} */ -proto.proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.getAmountOfBeds = function() { +proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.getAmountOfBeds = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsRequest} returns this + * @return {!proto.services.task_svc.v1.BulkCreateBedsRequest} returns this */ -proto.proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.setAmountOfBeds = function(value) { +proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.setAmountOfBeds = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -939,7 +939,7 @@ proto.proto.services.task_svc.v1.BulkCreateBedsRequest.prototype.setAmountOfBeds * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.BulkCreateBedsResponse.repeatedFields_ = [1]; @@ -956,8 +956,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.BulkCreateBedsResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.BulkCreateBedsResponse.toObject(opt_includeInstance, this); }; @@ -966,14 +966,14 @@ proto.proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.BulkCreateBedsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.BulkCreateBedsResponse.toObject = function(includeInstance, msg) { var f, obj = { bedsList: jspb.Message.toObjectList(msg.getBedsList(), - proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.toObject, includeInstance) + proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.toObject, includeInstance) }; if (includeInstance) { @@ -987,23 +987,23 @@ proto.proto.services.task_svc.v1.BulkCreateBedsResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse} + * @return {!proto.services.task_svc.v1.BulkCreateBedsResponse} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.BulkCreateBedsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.BulkCreateBedsResponse; - return proto.proto.services.task_svc.v1.BulkCreateBedsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.BulkCreateBedsResponse; + return proto.services.task_svc.v1.BulkCreateBedsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.BulkCreateBedsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse} + * @return {!proto.services.task_svc.v1.BulkCreateBedsResponse} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.BulkCreateBedsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1011,8 +1011,8 @@ proto.proto.services.task_svc.v1.BulkCreateBedsResponse.deserializeBinaryFromRea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.BulkCreateBedsResponse.Bed; + reader.readMessage(value,proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.deserializeBinaryFromReader); msg.addBeds(value); break; default: @@ -1028,9 +1028,9 @@ proto.proto.services.task_svc.v1.BulkCreateBedsResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.BulkCreateBedsResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.BulkCreateBedsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1038,18 +1038,18 @@ proto.proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse} message + * @param {!proto.services.task_svc.v1.BulkCreateBedsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.BulkCreateBedsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBedsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.serializeBinaryToWriter ); } }; @@ -1071,8 +1071,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.toObject(opt_includeInstance, this); }; @@ -1081,11 +1081,11 @@ proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -1102,23 +1102,23 @@ proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} + * @return {!proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed; - return proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.BulkCreateBedsResponse.Bed; + return proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} + * @return {!proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1146,9 +1146,9 @@ proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1156,11 +1156,11 @@ proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} message + * @param {!proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1183,16 +1183,16 @@ proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.serializeBinaryToWri * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.getId = function() { +proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1201,54 +1201,54 @@ proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.setId = fu * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.getName = function() { +proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.BulkCreateBedsResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated Bed beds = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.getBedsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed, 1)); +proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.getBedsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.BulkCreateBedsResponse.Bed, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.BulkCreateBedsResponse} returns this */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.setBedsList = function(value) { +proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.setBedsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed=} opt_value + * @param {!proto.services.task_svc.v1.BulkCreateBedsResponse.Bed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} + * @return {!proto.services.task_svc.v1.BulkCreateBedsResponse.Bed} */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.addBeds = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.BulkCreateBedsResponse.Bed, opt_index); +proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.addBeds = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.BulkCreateBedsResponse.Bed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.BulkCreateBedsResponse} returns this + * @return {!proto.services.task_svc.v1.BulkCreateBedsResponse} returns this */ -proto.proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.clearBedsList = function() { +proto.services.task_svc.v1.BulkCreateBedsResponse.prototype.clearBedsList = function() { return this.setBedsList([]); }; @@ -1269,8 +1269,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedRequest.toObject(opt_includeInstance, this); }; @@ -1279,11 +1279,11 @@ proto.proto.services.task_svc.v1.GetBedRequest.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1299,23 +1299,23 @@ proto.proto.services.task_svc.v1.GetBedRequest.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedRequest} + * @return {!proto.services.task_svc.v1.GetBedRequest} */ -proto.proto.services.task_svc.v1.GetBedRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedRequest; - return proto.proto.services.task_svc.v1.GetBedRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedRequest; + return proto.services.task_svc.v1.GetBedRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedRequest} + * @return {!proto.services.task_svc.v1.GetBedRequest} */ -proto.proto.services.task_svc.v1.GetBedRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1339,9 +1339,9 @@ proto.proto.services.task_svc.v1.GetBedRequest.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1349,11 +1349,11 @@ proto.proto.services.task_svc.v1.GetBedRequest.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedRequest} message + * @param {!proto.services.task_svc.v1.GetBedRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1369,16 +1369,16 @@ proto.proto.services.task_svc.v1.GetBedRequest.serializeBinaryToWriter = functio * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedRequest.prototype.getId = function() { +proto.services.task_svc.v1.GetBedRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedRequest} returns this + * @return {!proto.services.task_svc.v1.GetBedRequest} returns this */ -proto.proto.services.task_svc.v1.GetBedRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.GetBedRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1399,8 +1399,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedResponse.toObject(opt_includeInstance, this); }; @@ -1409,11 +1409,11 @@ proto.proto.services.task_svc.v1.GetBedResponse.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), roomId: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1431,23 +1431,23 @@ proto.proto.services.task_svc.v1.GetBedResponse.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedResponse} + * @return {!proto.services.task_svc.v1.GetBedResponse} */ -proto.proto.services.task_svc.v1.GetBedResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedResponse; - return proto.proto.services.task_svc.v1.GetBedResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedResponse; + return proto.services.task_svc.v1.GetBedResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedResponse} + * @return {!proto.services.task_svc.v1.GetBedResponse} */ -proto.proto.services.task_svc.v1.GetBedResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1479,9 +1479,9 @@ proto.proto.services.task_svc.v1.GetBedResponse.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1489,11 +1489,11 @@ proto.proto.services.task_svc.v1.GetBedResponse.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedResponse} message + * @param {!proto.services.task_svc.v1.GetBedResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1523,16 +1523,16 @@ proto.proto.services.task_svc.v1.GetBedResponse.serializeBinaryToWriter = functi * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedResponse.prototype.getId = function() { +proto.services.task_svc.v1.GetBedResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedResponse} returns this + * @return {!proto.services.task_svc.v1.GetBedResponse} returns this */ -proto.proto.services.task_svc.v1.GetBedResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.GetBedResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1541,16 +1541,16 @@ proto.proto.services.task_svc.v1.GetBedResponse.prototype.setId = function(value * optional string room_id = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedResponse.prototype.getRoomId = function() { +proto.services.task_svc.v1.GetBedResponse.prototype.getRoomId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedResponse} returns this + * @return {!proto.services.task_svc.v1.GetBedResponse} returns this */ -proto.proto.services.task_svc.v1.GetBedResponse.prototype.setRoomId = function(value) { +proto.services.task_svc.v1.GetBedResponse.prototype.setRoomId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1559,16 +1559,16 @@ proto.proto.services.task_svc.v1.GetBedResponse.prototype.setRoomId = function(v * optional string name = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedResponse.prototype.getName = function() { +proto.services.task_svc.v1.GetBedResponse.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedResponse} returns this + * @return {!proto.services.task_svc.v1.GetBedResponse} returns this */ -proto.proto.services.task_svc.v1.GetBedResponse.prototype.setName = function(value) { +proto.services.task_svc.v1.GetBedResponse.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1589,8 +1589,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedByPatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedByPatientRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedByPatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedByPatientRequest.toObject(opt_includeInstance, this); }; @@ -1599,11 +1599,11 @@ proto.proto.services.task_svc.v1.GetBedByPatientRequest.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedByPatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedByPatientRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedByPatientRequest.toObject = function(includeInstance, msg) { var f, obj = { patientId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1619,23 +1619,23 @@ proto.proto.services.task_svc.v1.GetBedByPatientRequest.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientRequest} + * @return {!proto.services.task_svc.v1.GetBedByPatientRequest} */ -proto.proto.services.task_svc.v1.GetBedByPatientRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedByPatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedByPatientRequest; - return proto.proto.services.task_svc.v1.GetBedByPatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedByPatientRequest; + return proto.services.task_svc.v1.GetBedByPatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedByPatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientRequest} + * @return {!proto.services.task_svc.v1.GetBedByPatientRequest} */ -proto.proto.services.task_svc.v1.GetBedByPatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedByPatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1659,9 +1659,9 @@ proto.proto.services.task_svc.v1.GetBedByPatientRequest.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedByPatientRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedByPatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedByPatientRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedByPatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1669,11 +1669,11 @@ proto.proto.services.task_svc.v1.GetBedByPatientRequest.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientRequest} message + * @param {!proto.services.task_svc.v1.GetBedByPatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedByPatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedByPatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPatientId(); if (f.length > 0) { @@ -1689,16 +1689,16 @@ proto.proto.services.task_svc.v1.GetBedByPatientRequest.serializeBinaryToWriter * optional string patient_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedByPatientRequest.prototype.getPatientId = function() { +proto.services.task_svc.v1.GetBedByPatientRequest.prototype.getPatientId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientRequest} returns this + * @return {!proto.services.task_svc.v1.GetBedByPatientRequest} returns this */ -proto.proto.services.task_svc.v1.GetBedByPatientRequest.prototype.setPatientId = function(value) { +proto.services.task_svc.v1.GetBedByPatientRequest.prototype.setPatientId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1719,8 +1719,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedByPatientResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedByPatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedByPatientResponse.toObject(opt_includeInstance, this); }; @@ -1729,14 +1729,14 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedByPatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedByPatientResponse.toObject = function(includeInstance, msg) { var f, obj = { - room: (f = msg.getRoom()) && proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.toObject(includeInstance, f), - bed: (f = msg.getBed()) && proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.toObject(includeInstance, f) + room: (f = msg.getRoom()) && proto.services.task_svc.v1.GetBedByPatientResponse.Room.toObject(includeInstance, f), + bed: (f = msg.getBed()) && proto.services.task_svc.v1.GetBedByPatientResponse.Bed.toObject(includeInstance, f) }; if (includeInstance) { @@ -1750,23 +1750,23 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse} + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedByPatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedByPatientResponse; - return proto.proto.services.task_svc.v1.GetBedByPatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedByPatientResponse; + return proto.services.task_svc.v1.GetBedByPatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedByPatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse} + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedByPatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1774,13 +1774,13 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.deserializeBinaryFromRe var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetBedByPatientResponse.Room; + reader.readMessage(value,proto.services.task_svc.v1.GetBedByPatientResponse.Room.deserializeBinaryFromReader); msg.setRoom(value); break; case 2: - var value = new proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetBedByPatientResponse.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetBedByPatientResponse.Bed.deserializeBinaryFromReader); msg.setBed(value); break; default: @@ -1796,9 +1796,9 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedByPatientResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedByPatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1806,18 +1806,18 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientResponse} message + * @param {!proto.services.task_svc.v1.GetBedByPatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedByPatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRoom(); if (f != null) { writer.writeMessage( 1, f, - proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.serializeBinaryToWriter + proto.services.task_svc.v1.GetBedByPatientResponse.Room.serializeBinaryToWriter ); } f = message.getBed(); @@ -1825,7 +1825,7 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.serializeBinaryToWriter writer.writeMessage( 2, f, - proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetBedByPatientResponse.Bed.serializeBinaryToWriter ); } }; @@ -1847,8 +1847,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedByPatientResponse.Room.toObject(opt_includeInstance, this); }; @@ -1857,11 +1857,11 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedByPatientResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedByPatientResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1879,23 +1879,23 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.toObject = functio /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room} + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse.Room} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedByPatientResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room; - return proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedByPatientResponse.Room; + return proto.services.task_svc.v1.GetBedByPatientResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedByPatientResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room} + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse.Room} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedByPatientResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1927,9 +1927,9 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.deserializeBinaryF * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedByPatientResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1937,11 +1937,11 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.serializ /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room} message + * @param {!proto.services.task_svc.v1.GetBedByPatientResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedByPatientResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1971,16 +1971,16 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.serializeBinaryToW * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.getId = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.setId = function(value) { +proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1989,16 +1989,16 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.setId = * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.getName = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.setName = function(value) { +proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2007,16 +2007,16 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.setName * optional string ward_id = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.getWardId = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetBedByPatientResponse.Room.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -2037,8 +2037,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedByPatientResponse.Bed.toObject(opt_includeInstance, this); }; @@ -2047,11 +2047,11 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedByPatientResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedByPatientResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2068,23 +2068,23 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.toObject = function /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed} + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse.Bed} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedByPatientResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed; - return proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedByPatientResponse.Bed; + return proto.services.task_svc.v1.GetBedByPatientResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedByPatientResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed} + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse.Bed} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedByPatientResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2112,9 +2112,9 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.deserializeBinaryFr * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedByPatientResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2122,11 +2122,11 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.serialize /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed} message + * @param {!proto.services.task_svc.v1.GetBedByPatientResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedByPatientResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2149,16 +2149,16 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.serializeBinaryToWr * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2167,44 +2167,44 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.setId = f * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetBedByPatientResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional Room room = 1; - * @return {?proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room} + * @return {?proto.services.task_svc.v1.GetBedByPatientResponse.Room} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.getRoom = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room, 1)); +proto.services.task_svc.v1.GetBedByPatientResponse.prototype.getRoom = function() { + return /** @type{?proto.services.task_svc.v1.GetBedByPatientResponse.Room} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetBedByPatientResponse.Room, 1)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetBedByPatientResponse.Room|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse} returns this + * @param {?proto.services.task_svc.v1.GetBedByPatientResponse.Room|undefined} value + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.setRoom = function(value) { +proto.services.task_svc.v1.GetBedByPatientResponse.prototype.setRoom = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.clearRoom = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.prototype.clearRoom = function() { return this.setRoom(undefined); }; @@ -2213,35 +2213,35 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.clearRoom = f * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.hasRoom = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.prototype.hasRoom = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Bed bed = 2; - * @return {?proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed} + * @return {?proto.services.task_svc.v1.GetBedByPatientResponse.Bed} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.getBed = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed, 2)); +proto.services.task_svc.v1.GetBedByPatientResponse.prototype.getBed = function() { + return /** @type{?proto.services.task_svc.v1.GetBedByPatientResponse.Bed} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetBedByPatientResponse.Bed, 2)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetBedByPatientResponse.Bed|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse} returns this + * @param {?proto.services.task_svc.v1.GetBedByPatientResponse.Bed|undefined} value + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.setBed = function(value) { +proto.services.task_svc.v1.GetBedByPatientResponse.prototype.setBed = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetBedByPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetBedByPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.clearBed = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.prototype.clearBed = function() { return this.setBed(undefined); }; @@ -2250,7 +2250,7 @@ proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.clearBed = fu * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetBedByPatientResponse.prototype.hasBed = function() { +proto.services.task_svc.v1.GetBedByPatientResponse.prototype.hasBed = function() { return jspb.Message.getField(this, 2) != null; }; @@ -2271,8 +2271,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedsRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedsRequest.toObject(opt_includeInstance, this); }; @@ -2281,11 +2281,11 @@ proto.proto.services.task_svc.v1.GetBedsRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedsRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedsRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2301,23 +2301,23 @@ proto.proto.services.task_svc.v1.GetBedsRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedsRequest} + * @return {!proto.services.task_svc.v1.GetBedsRequest} */ -proto.proto.services.task_svc.v1.GetBedsRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedsRequest; - return proto.proto.services.task_svc.v1.GetBedsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedsRequest; + return proto.services.task_svc.v1.GetBedsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedsRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedsRequest} + * @return {!proto.services.task_svc.v1.GetBedsRequest} */ -proto.proto.services.task_svc.v1.GetBedsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2337,9 +2337,9 @@ proto.proto.services.task_svc.v1.GetBedsRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedsRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedsRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2347,11 +2347,11 @@ proto.proto.services.task_svc.v1.GetBedsRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedsRequest} message + * @param {!proto.services.task_svc.v1.GetBedsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2362,7 +2362,7 @@ proto.proto.services.task_svc.v1.GetBedsRequest.serializeBinaryToWriter = functi * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetBedsResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetBedsResponse.repeatedFields_ = [1]; @@ -2379,8 +2379,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedsResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedsResponse.toObject(opt_includeInstance, this); }; @@ -2389,14 +2389,14 @@ proto.proto.services.task_svc.v1.GetBedsResponse.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedsResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedsResponse.toObject = function(includeInstance, msg) { var f, obj = { bedsList: jspb.Message.toObjectList(msg.getBedsList(), - proto.proto.services.task_svc.v1.GetBedsResponse.Bed.toObject, includeInstance) + proto.services.task_svc.v1.GetBedsResponse.Bed.toObject, includeInstance) }; if (includeInstance) { @@ -2410,23 +2410,23 @@ proto.proto.services.task_svc.v1.GetBedsResponse.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedsResponse} + * @return {!proto.services.task_svc.v1.GetBedsResponse} */ -proto.proto.services.task_svc.v1.GetBedsResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedsResponse; - return proto.proto.services.task_svc.v1.GetBedsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedsResponse; + return proto.services.task_svc.v1.GetBedsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedsResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedsResponse} + * @return {!proto.services.task_svc.v1.GetBedsResponse} */ -proto.proto.services.task_svc.v1.GetBedsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2434,8 +2434,8 @@ proto.proto.services.task_svc.v1.GetBedsResponse.deserializeBinaryFromReader = f var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetBedsResponse.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetBedsResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetBedsResponse.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetBedsResponse.Bed.deserializeBinaryFromReader); msg.addBeds(value); break; default: @@ -2451,9 +2451,9 @@ proto.proto.services.task_svc.v1.GetBedsResponse.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedsResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedsResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2461,18 +2461,18 @@ proto.proto.services.task_svc.v1.GetBedsResponse.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedsResponse} message + * @param {!proto.services.task_svc.v1.GetBedsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBedsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetBedsResponse.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetBedsResponse.Bed.serializeBinaryToWriter ); } }; @@ -2494,8 +2494,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedsResponse.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedsResponse.Bed.toObject(opt_includeInstance, this); }; @@ -2504,11 +2504,11 @@ proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedsResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedsResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedsResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), roomId: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2526,23 +2526,23 @@ proto.proto.services.task_svc.v1.GetBedsResponse.Bed.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedsResponse.Bed} + * @return {!proto.services.task_svc.v1.GetBedsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedsResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedsResponse.Bed; - return proto.proto.services.task_svc.v1.GetBedsResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedsResponse.Bed; + return proto.services.task_svc.v1.GetBedsResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedsResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedsResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedsResponse.Bed} + * @return {!proto.services.task_svc.v1.GetBedsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2574,9 +2574,9 @@ proto.proto.services.task_svc.v1.GetBedsResponse.Bed.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedsResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedsResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2584,11 +2584,11 @@ proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedsResponse.Bed} message + * @param {!proto.services.task_svc.v1.GetBedsResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedsResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2618,16 +2618,16 @@ proto.proto.services.task_svc.v1.GetBedsResponse.Bed.serializeBinaryToWriter = f * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedsResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetBedsResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2636,16 +2636,16 @@ proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.setId = function( * optional string room_id = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.getRoomId = function() { +proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.getRoomId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedsResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetBedsResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.setRoomId = function(value) { +proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.setRoomId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2654,54 +2654,54 @@ proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.setRoomId = funct * optional string name = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedsResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetBedsResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetBedsResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * repeated Bed beds = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetBedsResponse.prototype.getBedsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetBedsResponse.Bed, 1)); +proto.services.task_svc.v1.GetBedsResponse.prototype.getBedsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetBedsResponse.Bed, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetBedsResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetBedsResponse} returns this */ -proto.proto.services.task_svc.v1.GetBedsResponse.prototype.setBedsList = function(value) { +proto.services.task_svc.v1.GetBedsResponse.prototype.setBedsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetBedsResponse.Bed=} opt_value + * @param {!proto.services.task_svc.v1.GetBedsResponse.Bed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetBedsResponse.Bed} + * @return {!proto.services.task_svc.v1.GetBedsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetBedsResponse.prototype.addBeds = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetBedsResponse.Bed, opt_index); +proto.services.task_svc.v1.GetBedsResponse.prototype.addBeds = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetBedsResponse.Bed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetBedsResponse} returns this + * @return {!proto.services.task_svc.v1.GetBedsResponse} returns this */ -proto.proto.services.task_svc.v1.GetBedsResponse.prototype.clearBedsList = function() { +proto.services.task_svc.v1.GetBedsResponse.prototype.clearBedsList = function() { return this.setBedsList([]); }; @@ -2722,8 +2722,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedsByRoomRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedsByRoomRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedsByRoomRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedsByRoomRequest.toObject(opt_includeInstance, this); }; @@ -2732,11 +2732,11 @@ proto.proto.services.task_svc.v1.GetBedsByRoomRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedsByRoomRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsByRoomRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedsByRoomRequest.toObject = function(includeInstance, msg) { var f, obj = { roomId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2752,23 +2752,23 @@ proto.proto.services.task_svc.v1.GetBedsByRoomRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomRequest} + * @return {!proto.services.task_svc.v1.GetBedsByRoomRequest} */ -proto.proto.services.task_svc.v1.GetBedsByRoomRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedsByRoomRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedsByRoomRequest; - return proto.proto.services.task_svc.v1.GetBedsByRoomRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedsByRoomRequest; + return proto.services.task_svc.v1.GetBedsByRoomRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedsByRoomRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomRequest} + * @return {!proto.services.task_svc.v1.GetBedsByRoomRequest} */ -proto.proto.services.task_svc.v1.GetBedsByRoomRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedsByRoomRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2792,9 +2792,9 @@ proto.proto.services.task_svc.v1.GetBedsByRoomRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedsByRoomRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedsByRoomRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedsByRoomRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedsByRoomRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2802,11 +2802,11 @@ proto.proto.services.task_svc.v1.GetBedsByRoomRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomRequest} message + * @param {!proto.services.task_svc.v1.GetBedsByRoomRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsByRoomRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedsByRoomRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRoomId(); if (f.length > 0) { @@ -2822,16 +2822,16 @@ proto.proto.services.task_svc.v1.GetBedsByRoomRequest.serializeBinaryToWriter = * optional string room_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedsByRoomRequest.prototype.getRoomId = function() { +proto.services.task_svc.v1.GetBedsByRoomRequest.prototype.getRoomId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomRequest} returns this + * @return {!proto.services.task_svc.v1.GetBedsByRoomRequest} returns this */ -proto.proto.services.task_svc.v1.GetBedsByRoomRequest.prototype.setRoomId = function(value) { +proto.services.task_svc.v1.GetBedsByRoomRequest.prototype.setRoomId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2842,7 +2842,7 @@ proto.proto.services.task_svc.v1.GetBedsByRoomRequest.prototype.setRoomId = func * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetBedsByRoomResponse.repeatedFields_ = [1]; @@ -2859,8 +2859,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedsByRoomResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedsByRoomResponse.toObject(opt_includeInstance, this); }; @@ -2869,14 +2869,14 @@ proto.proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedsByRoomResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedsByRoomResponse.toObject = function(includeInstance, msg) { var f, obj = { bedsList: jspb.Message.toObjectList(msg.getBedsList(), - proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.toObject, includeInstance) + proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.toObject, includeInstance) }; if (includeInstance) { @@ -2890,23 +2890,23 @@ proto.proto.services.task_svc.v1.GetBedsByRoomResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse} + * @return {!proto.services.task_svc.v1.GetBedsByRoomResponse} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedsByRoomResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedsByRoomResponse; - return proto.proto.services.task_svc.v1.GetBedsByRoomResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedsByRoomResponse; + return proto.services.task_svc.v1.GetBedsByRoomResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedsByRoomResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse} + * @return {!proto.services.task_svc.v1.GetBedsByRoomResponse} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedsByRoomResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2914,8 +2914,8 @@ proto.proto.services.task_svc.v1.GetBedsByRoomResponse.deserializeBinaryFromRead var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetBedsByRoomResponse.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.deserializeBinaryFromReader); msg.addBeds(value); break; default: @@ -2931,9 +2931,9 @@ proto.proto.services.task_svc.v1.GetBedsByRoomResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedsByRoomResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedsByRoomResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2941,18 +2941,18 @@ proto.proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse} message + * @param {!proto.services.task_svc.v1.GetBedsByRoomResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedsByRoomResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBedsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.serializeBinaryToWriter ); } }; @@ -2974,8 +2974,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.toObject(opt_includeInstance, this); }; @@ -2984,11 +2984,11 @@ proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -3005,23 +3005,23 @@ proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} + * @return {!proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed; - return proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetBedsByRoomResponse.Bed; + return proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} + * @return {!proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3049,9 +3049,9 @@ proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3059,11 +3059,11 @@ proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} message + * @param {!proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3086,16 +3086,16 @@ proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.serializeBinaryToWrit * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3104,54 +3104,54 @@ proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.setId = fun * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetBedsByRoomResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated Bed beds = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.getBedsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed, 1)); +proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.getBedsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetBedsByRoomResponse.Bed, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetBedsByRoomResponse} returns this */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.setBedsList = function(value) { +proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.setBedsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed=} opt_value + * @param {!proto.services.task_svc.v1.GetBedsByRoomResponse.Bed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} + * @return {!proto.services.task_svc.v1.GetBedsByRoomResponse.Bed} */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.addBeds = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetBedsByRoomResponse.Bed, opt_index); +proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.addBeds = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetBedsByRoomResponse.Bed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetBedsByRoomResponse} returns this + * @return {!proto.services.task_svc.v1.GetBedsByRoomResponse} returns this */ -proto.proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.clearBedsList = function() { +proto.services.task_svc.v1.GetBedsByRoomResponse.prototype.clearBedsList = function() { return this.setBedsList([]); }; @@ -3172,8 +3172,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateBedRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateBedRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateBedRequest.toObject(opt_includeInstance, this); }; @@ -3182,11 +3182,11 @@ proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateBedRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateBedRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateBedRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateBedRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), roomId: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -3204,23 +3204,23 @@ proto.proto.services.task_svc.v1.UpdateBedRequest.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateBedRequest} + * @return {!proto.services.task_svc.v1.UpdateBedRequest} */ -proto.proto.services.task_svc.v1.UpdateBedRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateBedRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateBedRequest; - return proto.proto.services.task_svc.v1.UpdateBedRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateBedRequest; + return proto.services.task_svc.v1.UpdateBedRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateBedRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateBedRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateBedRequest} + * @return {!proto.services.task_svc.v1.UpdateBedRequest} */ -proto.proto.services.task_svc.v1.UpdateBedRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateBedRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3252,9 +3252,9 @@ proto.proto.services.task_svc.v1.UpdateBedRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateBedRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateBedRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateBedRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3262,11 +3262,11 @@ proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateBedRequest} message + * @param {!proto.services.task_svc.v1.UpdateBedRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateBedRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateBedRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3296,16 +3296,16 @@ proto.proto.services.task_svc.v1.UpdateBedRequest.serializeBinaryToWriter = func * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.getId = function() { +proto.services.task_svc.v1.UpdateBedRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateBedRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateBedRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.UpdateBedRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3314,25 +3314,25 @@ proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.setId = function(val * optional string room_id = 2; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.getRoomId = function() { +proto.services.task_svc.v1.UpdateBedRequest.prototype.getRoomId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateBedRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateBedRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.setRoomId = function(value) { +proto.services.task_svc.v1.UpdateBedRequest.prototype.setRoomId = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateBedRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateBedRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.clearRoomId = function() { +proto.services.task_svc.v1.UpdateBedRequest.prototype.clearRoomId = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -3341,7 +3341,7 @@ proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.clearRoomId = functi * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.hasRoomId = function() { +proto.services.task_svc.v1.UpdateBedRequest.prototype.hasRoomId = function() { return jspb.Message.getField(this, 2) != null; }; @@ -3350,25 +3350,25 @@ proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.hasRoomId = function * optional string name = 3; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.getName = function() { +proto.services.task_svc.v1.UpdateBedRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateBedRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateBedRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.UpdateBedRequest.prototype.setName = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateBedRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateBedRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.clearName = function() { +proto.services.task_svc.v1.UpdateBedRequest.prototype.clearName = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -3377,7 +3377,7 @@ proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.clearName = function * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateBedRequest.prototype.hasName = function() { +proto.services.task_svc.v1.UpdateBedRequest.prototype.hasName = function() { return jspb.Message.getField(this, 3) != null; }; @@ -3398,8 +3398,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateBedResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateBedResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateBedResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateBedResponse.toObject(opt_includeInstance, this); }; @@ -3408,11 +3408,11 @@ proto.proto.services.task_svc.v1.UpdateBedResponse.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateBedResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateBedResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateBedResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateBedResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3428,23 +3428,23 @@ proto.proto.services.task_svc.v1.UpdateBedResponse.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateBedResponse} + * @return {!proto.services.task_svc.v1.UpdateBedResponse} */ -proto.proto.services.task_svc.v1.UpdateBedResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateBedResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateBedResponse; - return proto.proto.services.task_svc.v1.UpdateBedResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateBedResponse; + return proto.services.task_svc.v1.UpdateBedResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateBedResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateBedResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateBedResponse} + * @return {!proto.services.task_svc.v1.UpdateBedResponse} */ -proto.proto.services.task_svc.v1.UpdateBedResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateBedResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3464,9 +3464,9 @@ proto.proto.services.task_svc.v1.UpdateBedResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateBedResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateBedResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateBedResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateBedResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3474,11 +3474,11 @@ proto.proto.services.task_svc.v1.UpdateBedResponse.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateBedResponse} message + * @param {!proto.services.task_svc.v1.UpdateBedResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateBedResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateBedResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -3499,8 +3499,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteBedRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteBedRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteBedRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteBedRequest.toObject(opt_includeInstance, this); }; @@ -3509,11 +3509,11 @@ proto.proto.services.task_svc.v1.DeleteBedRequest.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteBedRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteBedRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteBedRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteBedRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -3529,23 +3529,23 @@ proto.proto.services.task_svc.v1.DeleteBedRequest.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteBedRequest} + * @return {!proto.services.task_svc.v1.DeleteBedRequest} */ -proto.proto.services.task_svc.v1.DeleteBedRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteBedRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteBedRequest; - return proto.proto.services.task_svc.v1.DeleteBedRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteBedRequest; + return proto.services.task_svc.v1.DeleteBedRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteBedRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteBedRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteBedRequest} + * @return {!proto.services.task_svc.v1.DeleteBedRequest} */ -proto.proto.services.task_svc.v1.DeleteBedRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteBedRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3569,9 +3569,9 @@ proto.proto.services.task_svc.v1.DeleteBedRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteBedRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteBedRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteBedRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteBedRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3579,11 +3579,11 @@ proto.proto.services.task_svc.v1.DeleteBedRequest.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteBedRequest} message + * @param {!proto.services.task_svc.v1.DeleteBedRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteBedRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteBedRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3599,16 +3599,16 @@ proto.proto.services.task_svc.v1.DeleteBedRequest.serializeBinaryToWriter = func * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.DeleteBedRequest.prototype.getId = function() { +proto.services.task_svc.v1.DeleteBedRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.DeleteBedRequest} returns this + * @return {!proto.services.task_svc.v1.DeleteBedRequest} returns this */ -proto.proto.services.task_svc.v1.DeleteBedRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.DeleteBedRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3629,8 +3629,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteBedResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteBedResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteBedResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteBedResponse.toObject(opt_includeInstance, this); }; @@ -3639,11 +3639,11 @@ proto.proto.services.task_svc.v1.DeleteBedResponse.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteBedResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteBedResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteBedResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteBedResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3659,23 +3659,23 @@ proto.proto.services.task_svc.v1.DeleteBedResponse.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteBedResponse} + * @return {!proto.services.task_svc.v1.DeleteBedResponse} */ -proto.proto.services.task_svc.v1.DeleteBedResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteBedResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteBedResponse; - return proto.proto.services.task_svc.v1.DeleteBedResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteBedResponse; + return proto.services.task_svc.v1.DeleteBedResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteBedResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteBedResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteBedResponse} + * @return {!proto.services.task_svc.v1.DeleteBedResponse} */ -proto.proto.services.task_svc.v1.DeleteBedResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteBedResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3695,9 +3695,9 @@ proto.proto.services.task_svc.v1.DeleteBedResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteBedResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteBedResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteBedResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteBedResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3705,13 +3705,13 @@ proto.proto.services.task_svc.v1.DeleteBedResponse.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteBedResponse} message + * @param {!proto.services.task_svc.v1.DeleteBedResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteBedResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteBedResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; -goog.object.extend(exports, proto.proto.services.task_svc.v1); +goog.object.extend(exports, proto.services.task_svc.v1); diff --git a/gen/ts/services/task_svc/v1/patient_svc_grpc_web_pb.d.ts b/gen/ts/services/task_svc/v1/patient_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..e3856248f --- /dev/null +++ b/gen/ts/services/task_svc/v1/patient_svc_grpc_web_pb.d.ts @@ -0,0 +1,187 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_task_svc_v1_patient_svc_pb from '../../../services/task_svc/v1/patient_svc_pb'; // proto import: "services/task_svc/v1/patient_svc.proto" + + +export class PatientServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createPatient( + request: services_task_svc_v1_patient_svc_pb.CreatePatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.CreatePatientResponse) => void + ): grpcWeb.ClientReadableStream; + + getPatient( + request: services_task_svc_v1_patient_svc_pb.GetPatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.GetPatientResponse) => void + ): grpcWeb.ClientReadableStream; + + getPatientByBed( + request: services_task_svc_v1_patient_svc_pb.GetPatientByBedRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.GetPatientByBedResponse) => void + ): grpcWeb.ClientReadableStream; + + getPatientsByWard( + request: services_task_svc_v1_patient_svc_pb.GetPatientsByWardRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.GetPatientsByWardResponse) => void + ): grpcWeb.ClientReadableStream; + + getPatientAssignmentByWard( + request: services_task_svc_v1_patient_svc_pb.GetPatientAssignmentByWardRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.GetPatientAssignmentByWardResponse) => void + ): grpcWeb.ClientReadableStream; + + getRecentPatients( + request: services_task_svc_v1_patient_svc_pb.GetRecentPatientsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.GetRecentPatientsResponse) => void + ): grpcWeb.ClientReadableStream; + + updatePatient( + request: services_task_svc_v1_patient_svc_pb.UpdatePatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.UpdatePatientResponse) => void + ): grpcWeb.ClientReadableStream; + + assignBed( + request: services_task_svc_v1_patient_svc_pb.AssignBedRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.AssignBedResponse) => void + ): grpcWeb.ClientReadableStream; + + unassignBed( + request: services_task_svc_v1_patient_svc_pb.UnassignBedRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.UnassignBedResponse) => void + ): grpcWeb.ClientReadableStream; + + dischargePatient( + request: services_task_svc_v1_patient_svc_pb.DischargePatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.DischargePatientResponse) => void + ): grpcWeb.ClientReadableStream; + + getPatientDetails( + request: services_task_svc_v1_patient_svc_pb.GetPatientDetailsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.GetPatientDetailsResponse) => void + ): grpcWeb.ClientReadableStream; + + getPatientList( + request: services_task_svc_v1_patient_svc_pb.GetPatientListRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.GetPatientListResponse) => void + ): grpcWeb.ClientReadableStream; + + deletePatient( + request: services_task_svc_v1_patient_svc_pb.DeletePatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.DeletePatientResponse) => void + ): grpcWeb.ClientReadableStream; + + readmitPatient( + request: services_task_svc_v1_patient_svc_pb.ReadmitPatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_patient_svc_pb.ReadmitPatientResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class PatientServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createPatient( + request: services_task_svc_v1_patient_svc_pb.CreatePatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getPatient( + request: services_task_svc_v1_patient_svc_pb.GetPatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getPatientByBed( + request: services_task_svc_v1_patient_svc_pb.GetPatientByBedRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getPatientsByWard( + request: services_task_svc_v1_patient_svc_pb.GetPatientsByWardRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getPatientAssignmentByWard( + request: services_task_svc_v1_patient_svc_pb.GetPatientAssignmentByWardRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getRecentPatients( + request: services_task_svc_v1_patient_svc_pb.GetRecentPatientsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updatePatient( + request: services_task_svc_v1_patient_svc_pb.UpdatePatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + assignBed( + request: services_task_svc_v1_patient_svc_pb.AssignBedRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + unassignBed( + request: services_task_svc_v1_patient_svc_pb.UnassignBedRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + dischargePatient( + request: services_task_svc_v1_patient_svc_pb.DischargePatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getPatientDetails( + request: services_task_svc_v1_patient_svc_pb.GetPatientDetailsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getPatientList( + request: services_task_svc_v1_patient_svc_pb.GetPatientListRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + deletePatient( + request: services_task_svc_v1_patient_svc_pb.DeletePatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + readmitPatient( + request: services_task_svc_v1_patient_svc_pb.ReadmitPatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/services/task_svc/v1/patient_svc_grpc_web_pb.js b/gen/ts/services/task_svc/v1/patient_svc_grpc_web_pb.js new file mode 100644 index 000000000..c539aef27 --- /dev/null +++ b/gen/ts/services/task_svc/v1/patient_svc_grpc_web_pb.js @@ -0,0 +1,934 @@ +/** + * @fileoverview gRPC-Web generated client stub for services.task_svc.v1 + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.5.0 +// protoc v0.0.0 +// source: services/task_svc/v1/patient_svc.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + +const proto = {}; +proto.services = {}; +proto.services.task_svc = {}; +proto.services.task_svc.v1 = require('./patient_svc_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.PatientServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.PatientServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.CreatePatientRequest, + * !proto.services.task_svc.v1.CreatePatientResponse>} + */ +const methodDescriptor_PatientService_CreatePatient = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/CreatePatient', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.CreatePatientRequest, + proto.services.task_svc.v1.CreatePatientResponse, + /** + * @param {!proto.services.task_svc.v1.CreatePatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.CreatePatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.CreatePatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.CreatePatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.createPatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/CreatePatient', + request, + metadata || {}, + methodDescriptor_PatientService_CreatePatient, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.CreatePatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.createPatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/CreatePatient', + request, + metadata || {}, + methodDescriptor_PatientService_CreatePatient); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetPatientRequest, + * !proto.services.task_svc.v1.GetPatientResponse>} + */ +const methodDescriptor_PatientService_GetPatient = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/GetPatient', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetPatientRequest, + proto.services.task_svc.v1.GetPatientResponse, + /** + * @param {!proto.services.task_svc.v1.GetPatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetPatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetPatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetPatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.getPatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatient', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatient, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetPatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatient', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatient); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetPatientByBedRequest, + * !proto.services.task_svc.v1.GetPatientByBedResponse>} + */ +const methodDescriptor_PatientService_GetPatientByBed = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/GetPatientByBed', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetPatientByBedRequest, + proto.services.task_svc.v1.GetPatientByBedResponse, + /** + * @param {!proto.services.task_svc.v1.GetPatientByBedRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetPatientByBedResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetPatientByBedRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetPatientByBedResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.getPatientByBed = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatientByBed', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatientByBed, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetPatientByBedRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatientByBed = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatientByBed', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatientByBed); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetPatientsByWardRequest, + * !proto.services.task_svc.v1.GetPatientsByWardResponse>} + */ +const methodDescriptor_PatientService_GetPatientsByWard = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/GetPatientsByWard', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetPatientsByWardRequest, + proto.services.task_svc.v1.GetPatientsByWardResponse, + /** + * @param {!proto.services.task_svc.v1.GetPatientsByWardRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetPatientsByWardResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetPatientsByWardRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetPatientsByWardResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.getPatientsByWard = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatientsByWard', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatientsByWard, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetPatientsByWardRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatientsByWard = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatientsByWard', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatientsByWard); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetPatientAssignmentByWardRequest, + * !proto.services.task_svc.v1.GetPatientAssignmentByWardResponse>} + */ +const methodDescriptor_PatientService_GetPatientAssignmentByWard = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/GetPatientAssignmentByWard', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetPatientAssignmentByWardRequest, + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse, + /** + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetPatientAssignmentByWardResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.getPatientAssignmentByWard = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatientAssignmentByWard', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatientAssignmentByWard, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatientAssignmentByWard = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatientAssignmentByWard', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatientAssignmentByWard); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetRecentPatientsRequest, + * !proto.services.task_svc.v1.GetRecentPatientsResponse>} + */ +const methodDescriptor_PatientService_GetRecentPatients = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/GetRecentPatients', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetRecentPatientsRequest, + proto.services.task_svc.v1.GetRecentPatientsResponse, + /** + * @param {!proto.services.task_svc.v1.GetRecentPatientsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetRecentPatientsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetRecentPatientsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetRecentPatientsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.getRecentPatients = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetRecentPatients', + request, + metadata || {}, + methodDescriptor_PatientService_GetRecentPatients, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetRecentPatientsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getRecentPatients = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetRecentPatients', + request, + metadata || {}, + methodDescriptor_PatientService_GetRecentPatients); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.UpdatePatientRequest, + * !proto.services.task_svc.v1.UpdatePatientResponse>} + */ +const methodDescriptor_PatientService_UpdatePatient = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/UpdatePatient', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.UpdatePatientRequest, + proto.services.task_svc.v1.UpdatePatientResponse, + /** + * @param {!proto.services.task_svc.v1.UpdatePatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.UpdatePatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.UpdatePatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.UpdatePatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.updatePatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/UpdatePatient', + request, + metadata || {}, + methodDescriptor_PatientService_UpdatePatient, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.UpdatePatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.updatePatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/UpdatePatient', + request, + metadata || {}, + methodDescriptor_PatientService_UpdatePatient); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.AssignBedRequest, + * !proto.services.task_svc.v1.AssignBedResponse>} + */ +const methodDescriptor_PatientService_AssignBed = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/AssignBed', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.AssignBedRequest, + proto.services.task_svc.v1.AssignBedResponse, + /** + * @param {!proto.services.task_svc.v1.AssignBedRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.AssignBedResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.AssignBedRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.AssignBedResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.assignBed = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/AssignBed', + request, + metadata || {}, + methodDescriptor_PatientService_AssignBed, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.AssignBedRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.assignBed = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/AssignBed', + request, + metadata || {}, + methodDescriptor_PatientService_AssignBed); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.UnassignBedRequest, + * !proto.services.task_svc.v1.UnassignBedResponse>} + */ +const methodDescriptor_PatientService_UnassignBed = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/UnassignBed', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.UnassignBedRequest, + proto.services.task_svc.v1.UnassignBedResponse, + /** + * @param {!proto.services.task_svc.v1.UnassignBedRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.UnassignBedResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.UnassignBedRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.UnassignBedResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.unassignBed = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/UnassignBed', + request, + metadata || {}, + methodDescriptor_PatientService_UnassignBed, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.UnassignBedRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.unassignBed = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/UnassignBed', + request, + metadata || {}, + methodDescriptor_PatientService_UnassignBed); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.DischargePatientRequest, + * !proto.services.task_svc.v1.DischargePatientResponse>} + */ +const methodDescriptor_PatientService_DischargePatient = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/DischargePatient', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.DischargePatientRequest, + proto.services.task_svc.v1.DischargePatientResponse, + /** + * @param {!proto.services.task_svc.v1.DischargePatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.DischargePatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.DischargePatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.DischargePatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.dischargePatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/DischargePatient', + request, + metadata || {}, + methodDescriptor_PatientService_DischargePatient, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.DischargePatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.dischargePatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/DischargePatient', + request, + metadata || {}, + methodDescriptor_PatientService_DischargePatient); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetPatientDetailsRequest, + * !proto.services.task_svc.v1.GetPatientDetailsResponse>} + */ +const methodDescriptor_PatientService_GetPatientDetails = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/GetPatientDetails', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetPatientDetailsRequest, + proto.services.task_svc.v1.GetPatientDetailsResponse, + /** + * @param {!proto.services.task_svc.v1.GetPatientDetailsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetPatientDetailsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetPatientDetailsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetPatientDetailsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.getPatientDetails = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatientDetails', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatientDetails, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetPatientDetailsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatientDetails = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatientDetails', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatientDetails); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetPatientListRequest, + * !proto.services.task_svc.v1.GetPatientListResponse>} + */ +const methodDescriptor_PatientService_GetPatientList = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/GetPatientList', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetPatientListRequest, + proto.services.task_svc.v1.GetPatientListResponse, + /** + * @param {!proto.services.task_svc.v1.GetPatientListRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetPatientListResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetPatientListRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetPatientListResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.getPatientList = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatientList', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatientList, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetPatientListRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.getPatientList = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/GetPatientList', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatientList); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.DeletePatientRequest, + * !proto.services.task_svc.v1.DeletePatientResponse>} + */ +const methodDescriptor_PatientService_DeletePatient = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/DeletePatient', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.DeletePatientRequest, + proto.services.task_svc.v1.DeletePatientResponse, + /** + * @param {!proto.services.task_svc.v1.DeletePatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.DeletePatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.DeletePatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.DeletePatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.deletePatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/DeletePatient', + request, + metadata || {}, + methodDescriptor_PatientService_DeletePatient, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.DeletePatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.deletePatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/DeletePatient', + request, + metadata || {}, + methodDescriptor_PatientService_DeletePatient); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.ReadmitPatientRequest, + * !proto.services.task_svc.v1.ReadmitPatientResponse>} + */ +const methodDescriptor_PatientService_ReadmitPatient = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.PatientService/ReadmitPatient', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.ReadmitPatientRequest, + proto.services.task_svc.v1.ReadmitPatientResponse, + /** + * @param {!proto.services.task_svc.v1.ReadmitPatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.ReadmitPatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.ReadmitPatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.ReadmitPatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.PatientServiceClient.prototype.readmitPatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.PatientService/ReadmitPatient', + request, + metadata || {}, + methodDescriptor_PatientService_ReadmitPatient, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.ReadmitPatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.PatientServicePromiseClient.prototype.readmitPatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.PatientService/ReadmitPatient', + request, + metadata || {}, + methodDescriptor_PatientService_ReadmitPatient); +}; + + +module.exports = proto.services.task_svc.v1; + diff --git a/gen/ts/proto/services/task_svc/v1/patient_svc_pb.d.ts b/gen/ts/services/task_svc/v1/patient_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/task_svc/v1/patient_svc_pb.d.ts rename to gen/ts/services/task_svc/v1/patient_svc_pb.d.ts diff --git a/gen/ts/proto/services/task_svc/v1/patient_svc_pb.js b/gen/ts/services/task_svc/v1/patient_svc_pb.js similarity index 56% rename from gen/ts/proto/services/task_svc/v1/patient_svc_pb.js rename to gen/ts/services/task_svc/v1/patient_svc_pb.js index a76a105b7..b108ba2fb 100644 --- a/gen/ts/proto/services/task_svc/v1/patient_svc_pb.js +++ b/gen/ts/services/task_svc/v1/patient_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/task_svc/v1/patient_svc.proto +// source: services/task_svc/v1/patient_svc.proto /** * @fileoverview * @enhanceable @@ -21,55 +21,55 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.task_svc.v1.AssignBedRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.AssignBedResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreatePatientRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreatePatientResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeletePatientRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeletePatientResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DischargePatientRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DischargePatientResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientByBedRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientByBedResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientDetailsRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientDetailsResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientListRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientListResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientListResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientListResponse.Patient', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientListResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientListResponse.Task', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientListResponse.TaskStatus', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientsByWardRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientsByWardResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRecentPatientsRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRecentPatientsResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.ReadmitPatientRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.ReadmitPatientResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UnassignBedRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UnassignBedResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdatePatientRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdatePatientResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.AssignBedRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.AssignBedResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreatePatientRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreatePatientResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeletePatientRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeletePatientResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DischargePatientRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DischargePatientResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientAssignmentByWardRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientAssignmentByWardResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientByBedRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientByBedResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientDetailsRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientDetailsResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientDetailsResponse.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientDetailsResponse.Room', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientDetailsResponse.Task', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientListRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientListResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientListResponse.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientListResponse.Patient', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientListResponse.Room', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientListResponse.Task', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientListResponse.TaskStatus', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientResponse.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientResponse.Room', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientsByWardRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientsByWardResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetPatientsByWardResponse.Patient', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRecentPatientsRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRecentPatientsResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRecentPatientsResponse.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRecentPatientsResponse.Room', null, global); +goog.exportSymbol('proto.services.task_svc.v1.ReadmitPatientRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.ReadmitPatientResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UnassignBedRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UnassignBedResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdatePatientRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdatePatientResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -80,16 +80,16 @@ goog.exportSymbol('proto.proto.services.task_svc.v1.UpdatePatientResponse', null * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreatePatientRequest = function(opt_data) { +proto.services.task_svc.v1.CreatePatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreatePatientRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreatePatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreatePatientRequest.displayName = 'proto.proto.services.task_svc.v1.CreatePatientRequest'; + proto.services.task_svc.v1.CreatePatientRequest.displayName = 'proto.services.task_svc.v1.CreatePatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -101,16 +101,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreatePatientResponse = function(opt_data) { +proto.services.task_svc.v1.CreatePatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreatePatientResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreatePatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreatePatientResponse.displayName = 'proto.proto.services.task_svc.v1.CreatePatientResponse'; + proto.services.task_svc.v1.CreatePatientResponse.displayName = 'proto.services.task_svc.v1.CreatePatientResponse'; } /** * Generated by JsPbCodeGenerator. @@ -122,16 +122,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientRequest = function(opt_data) { +proto.services.task_svc.v1.GetPatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientRequest.displayName = 'proto.proto.services.task_svc.v1.GetPatientRequest'; + proto.services.task_svc.v1.GetPatientRequest.displayName = 'proto.services.task_svc.v1.GetPatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -143,16 +143,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientResponse = function(opt_data) { +proto.services.task_svc.v1.GetPatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientResponse.displayName = 'proto.proto.services.task_svc.v1.GetPatientResponse'; + proto.services.task_svc.v1.GetPatientResponse.displayName = 'proto.services.task_svc.v1.GetPatientResponse'; } /** * Generated by JsPbCodeGenerator. @@ -164,16 +164,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room = function(opt_data) { +proto.services.task_svc.v1.GetPatientResponse.Room = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientResponse.Room, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientResponse.Room.displayName = 'proto.proto.services.task_svc.v1.GetPatientResponse.Room'; + proto.services.task_svc.v1.GetPatientResponse.Room.displayName = 'proto.services.task_svc.v1.GetPatientResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -185,16 +185,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientResponse.Bed = function(opt_data) { +proto.services.task_svc.v1.GetPatientResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientResponse.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientResponse.Bed.displayName = 'proto.proto.services.task_svc.v1.GetPatientResponse.Bed'; + proto.services.task_svc.v1.GetPatientResponse.Bed.displayName = 'proto.services.task_svc.v1.GetPatientResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -206,16 +206,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeletePatientRequest = function(opt_data) { +proto.services.task_svc.v1.DeletePatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeletePatientRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeletePatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeletePatientRequest.displayName = 'proto.proto.services.task_svc.v1.DeletePatientRequest'; + proto.services.task_svc.v1.DeletePatientRequest.displayName = 'proto.services.task_svc.v1.DeletePatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -227,16 +227,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeletePatientResponse = function(opt_data) { +proto.services.task_svc.v1.DeletePatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeletePatientResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeletePatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeletePatientResponse.displayName = 'proto.proto.services.task_svc.v1.DeletePatientResponse'; + proto.services.task_svc.v1.DeletePatientResponse.displayName = 'proto.services.task_svc.v1.DeletePatientResponse'; } /** * Generated by JsPbCodeGenerator. @@ -248,16 +248,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientByBedRequest = function(opt_data) { +proto.services.task_svc.v1.GetPatientByBedRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientByBedRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientByBedRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientByBedRequest.displayName = 'proto.proto.services.task_svc.v1.GetPatientByBedRequest'; + proto.services.task_svc.v1.GetPatientByBedRequest.displayName = 'proto.services.task_svc.v1.GetPatientByBedRequest'; } /** * Generated by JsPbCodeGenerator. @@ -269,16 +269,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse = function(opt_data) { +proto.services.task_svc.v1.GetPatientByBedResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientByBedResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientByBedResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientByBedResponse.displayName = 'proto.proto.services.task_svc.v1.GetPatientByBedResponse'; + proto.services.task_svc.v1.GetPatientByBedResponse.displayName = 'proto.services.task_svc.v1.GetPatientByBedResponse'; } /** * Generated by JsPbCodeGenerator. @@ -290,16 +290,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientsByWardRequest = function(opt_data) { +proto.services.task_svc.v1.GetPatientsByWardRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientsByWardRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientsByWardRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientsByWardRequest.displayName = 'proto.proto.services.task_svc.v1.GetPatientsByWardRequest'; + proto.services.task_svc.v1.GetPatientsByWardRequest.displayName = 'proto.services.task_svc.v1.GetPatientsByWardRequest'; } /** * Generated by JsPbCodeGenerator. @@ -311,16 +311,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetPatientsByWardResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetPatientsByWardResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetPatientsByWardResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientsByWardResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientsByWardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientsByWardResponse.displayName = 'proto.proto.services.task_svc.v1.GetPatientsByWardResponse'; + proto.services.task_svc.v1.GetPatientsByWardResponse.displayName = 'proto.services.task_svc.v1.GetPatientsByWardResponse'; } /** * Generated by JsPbCodeGenerator. @@ -332,16 +332,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient = function(opt_data) { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientsByWardResponse.Patient, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.displayName = 'proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient'; + proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.displayName = 'proto.services.task_svc.v1.GetPatientsByWardResponse.Patient'; } /** * Generated by JsPbCodeGenerator. @@ -353,16 +353,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest = function(opt_data) { +proto.services.task_svc.v1.GetPatientAssignmentByWardRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientAssignmentByWardRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.displayName = 'proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest'; + proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.displayName = 'proto.services.task_svc.v1.GetPatientAssignmentByWardRequest'; } /** * Generated by JsPbCodeGenerator. @@ -374,16 +374,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientAssignmentByWardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.displayName = 'proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse'; + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.displayName = 'proto.services.task_svc.v1.GetPatientAssignmentByWardResponse'; } /** * Generated by JsPbCodeGenerator. @@ -395,16 +395,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.repeatedFields_, null); +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.displayName = 'proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room'; + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.displayName = 'proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -416,16 +416,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed = function(opt_data) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.displayName = 'proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed'; + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.displayName = 'proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -437,16 +437,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient = function(opt_data) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.displayName = 'proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient'; + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.displayName = 'proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient'; } /** * Generated by JsPbCodeGenerator. @@ -458,16 +458,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRecentPatientsRequest = function(opt_data) { +proto.services.task_svc.v1.GetRecentPatientsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRecentPatientsRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRecentPatientsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRecentPatientsRequest.displayName = 'proto.proto.services.task_svc.v1.GetRecentPatientsRequest'; + proto.services.task_svc.v1.GetRecentPatientsRequest.displayName = 'proto.services.task_svc.v1.GetRecentPatientsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -479,16 +479,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetRecentPatientsResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetRecentPatientsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetRecentPatientsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRecentPatientsResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRecentPatientsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.displayName = 'proto.proto.services.task_svc.v1.GetRecentPatientsResponse'; + proto.services.task_svc.v1.GetRecentPatientsResponse.displayName = 'proto.services.task_svc.v1.GetRecentPatientsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -500,16 +500,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed = function(opt_data) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRecentPatientsResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.displayName = 'proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed'; + proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.displayName = 'proto.services.task_svc.v1.GetRecentPatientsResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -521,16 +521,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room = function(opt_data) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRecentPatientsResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.displayName = 'proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room'; + proto.services.task_svc.v1.GetRecentPatientsResponse.Room.displayName = 'proto.services.task_svc.v1.GetRecentPatientsResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -542,16 +542,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed = function(opt_data) { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.displayName = 'proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed'; + proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.displayName = 'proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed'; } /** * Generated by JsPbCodeGenerator. @@ -563,16 +563,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdatePatientRequest = function(opt_data) { +proto.services.task_svc.v1.UpdatePatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdatePatientRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdatePatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdatePatientRequest.displayName = 'proto.proto.services.task_svc.v1.UpdatePatientRequest'; + proto.services.task_svc.v1.UpdatePatientRequest.displayName = 'proto.services.task_svc.v1.UpdatePatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -584,16 +584,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdatePatientResponse = function(opt_data) { +proto.services.task_svc.v1.UpdatePatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdatePatientResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdatePatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdatePatientResponse.displayName = 'proto.proto.services.task_svc.v1.UpdatePatientResponse'; + proto.services.task_svc.v1.UpdatePatientResponse.displayName = 'proto.services.task_svc.v1.UpdatePatientResponse'; } /** * Generated by JsPbCodeGenerator. @@ -605,16 +605,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.AssignBedRequest = function(opt_data) { +proto.services.task_svc.v1.AssignBedRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.AssignBedRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.AssignBedRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.AssignBedRequest.displayName = 'proto.proto.services.task_svc.v1.AssignBedRequest'; + proto.services.task_svc.v1.AssignBedRequest.displayName = 'proto.services.task_svc.v1.AssignBedRequest'; } /** * Generated by JsPbCodeGenerator. @@ -626,16 +626,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.AssignBedResponse = function(opt_data) { +proto.services.task_svc.v1.AssignBedResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.AssignBedResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.AssignBedResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.AssignBedResponse.displayName = 'proto.proto.services.task_svc.v1.AssignBedResponse'; + proto.services.task_svc.v1.AssignBedResponse.displayName = 'proto.services.task_svc.v1.AssignBedResponse'; } /** * Generated by JsPbCodeGenerator. @@ -647,16 +647,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UnassignBedRequest = function(opt_data) { +proto.services.task_svc.v1.UnassignBedRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UnassignBedRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UnassignBedRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UnassignBedRequest.displayName = 'proto.proto.services.task_svc.v1.UnassignBedRequest'; + proto.services.task_svc.v1.UnassignBedRequest.displayName = 'proto.services.task_svc.v1.UnassignBedRequest'; } /** * Generated by JsPbCodeGenerator. @@ -668,16 +668,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UnassignBedResponse = function(opt_data) { +proto.services.task_svc.v1.UnassignBedResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UnassignBedResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UnassignBedResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UnassignBedResponse.displayName = 'proto.proto.services.task_svc.v1.UnassignBedResponse'; + proto.services.task_svc.v1.UnassignBedResponse.displayName = 'proto.services.task_svc.v1.UnassignBedResponse'; } /** * Generated by JsPbCodeGenerator. @@ -689,16 +689,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DischargePatientRequest = function(opt_data) { +proto.services.task_svc.v1.DischargePatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DischargePatientRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DischargePatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DischargePatientRequest.displayName = 'proto.proto.services.task_svc.v1.DischargePatientRequest'; + proto.services.task_svc.v1.DischargePatientRequest.displayName = 'proto.services.task_svc.v1.DischargePatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -710,16 +710,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DischargePatientResponse = function(opt_data) { +proto.services.task_svc.v1.DischargePatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DischargePatientResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DischargePatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DischargePatientResponse.displayName = 'proto.proto.services.task_svc.v1.DischargePatientResponse'; + proto.services.task_svc.v1.DischargePatientResponse.displayName = 'proto.services.task_svc.v1.DischargePatientResponse'; } /** * Generated by JsPbCodeGenerator. @@ -731,16 +731,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientDetailsRequest = function(opt_data) { +proto.services.task_svc.v1.GetPatientDetailsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientDetailsRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientDetailsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientDetailsRequest.displayName = 'proto.proto.services.task_svc.v1.GetPatientDetailsRequest'; + proto.services.task_svc.v1.GetPatientDetailsRequest.displayName = 'proto.services.task_svc.v1.GetPatientDetailsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -752,16 +752,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetPatientDetailsResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetPatientDetailsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetPatientDetailsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientDetailsResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientDetailsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.displayName = 'proto.proto.services.task_svc.v1.GetPatientDetailsResponse'; + proto.services.task_svc.v1.GetPatientDetailsResponse.displayName = 'proto.services.task_svc.v1.GetPatientDetailsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -773,16 +773,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room = function(opt_data) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientDetailsResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.displayName = 'proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room'; + proto.services.task_svc.v1.GetPatientDetailsResponse.Room.displayName = 'proto.services.task_svc.v1.GetPatientDetailsResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -794,16 +794,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed = function(opt_data) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientDetailsResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.displayName = 'proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed'; + proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.displayName = 'proto.services.task_svc.v1.GetPatientDetailsResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -815,16 +815,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.repeatedFields_, null); +proto.services.task_svc.v1.GetPatientDetailsResponse.Task = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetPatientDetailsResponse.Task.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientDetailsResponse.Task, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.displayName = 'proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task'; + proto.services.task_svc.v1.GetPatientDetailsResponse.Task.displayName = 'proto.services.task_svc.v1.GetPatientDetailsResponse.Task'; } /** * Generated by JsPbCodeGenerator. @@ -836,16 +836,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask = function(opt_data) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.displayName = 'proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask'; + proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.displayName = 'proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask'; } /** * Generated by JsPbCodeGenerator. @@ -857,16 +857,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientListRequest = function(opt_data) { +proto.services.task_svc.v1.GetPatientListRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientListRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientListRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientListRequest.displayName = 'proto.proto.services.task_svc.v1.GetPatientListRequest'; + proto.services.task_svc.v1.GetPatientListRequest.displayName = 'proto.services.task_svc.v1.GetPatientListRequest'; } /** * Generated by JsPbCodeGenerator. @@ -878,16 +878,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientListResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetPatientListResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetPatientListResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetPatientListResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientListResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientListResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientListResponse.displayName = 'proto.proto.services.task_svc.v1.GetPatientListResponse'; + proto.services.task_svc.v1.GetPatientListResponse.displayName = 'proto.services.task_svc.v1.GetPatientListResponse'; } /** * Generated by JsPbCodeGenerator. @@ -899,16 +899,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.repeatedFields_, null); +proto.services.task_svc.v1.GetPatientListResponse.Patient = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetPatientListResponse.Patient.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientListResponse.Patient, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientListResponse.Patient, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.displayName = 'proto.proto.services.task_svc.v1.GetPatientListResponse.Patient'; + proto.services.task_svc.v1.GetPatientListResponse.Patient.displayName = 'proto.services.task_svc.v1.GetPatientListResponse.Patient'; } /** * Generated by JsPbCodeGenerator. @@ -920,16 +920,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Bed = function(opt_data) { +proto.services.task_svc.v1.GetPatientListResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientListResponse.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientListResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.displayName = 'proto.proto.services.task_svc.v1.GetPatientListResponse.Bed'; + proto.services.task_svc.v1.GetPatientListResponse.Bed.displayName = 'proto.services.task_svc.v1.GetPatientListResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -941,16 +941,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room = function(opt_data) { +proto.services.task_svc.v1.GetPatientListResponse.Room = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientListResponse.Room, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientListResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientListResponse.Room.displayName = 'proto.proto.services.task_svc.v1.GetPatientListResponse.Room'; + proto.services.task_svc.v1.GetPatientListResponse.Room.displayName = 'proto.services.task_svc.v1.GetPatientListResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -962,16 +962,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.repeatedFields_, null); +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.displayName = 'proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed'; + proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.displayName = 'proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed'; } /** * Generated by JsPbCodeGenerator. @@ -983,16 +983,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetPatientListResponse.Task.repeatedFields_, null); +proto.services.task_svc.v1.GetPatientListResponse.Task = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetPatientListResponse.Task.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientListResponse.Task, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientListResponse.Task, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientListResponse.Task.displayName = 'proto.proto.services.task_svc.v1.GetPatientListResponse.Task'; + proto.services.task_svc.v1.GetPatientListResponse.Task.displayName = 'proto.services.task_svc.v1.GetPatientListResponse.Task'; } /** * Generated by JsPbCodeGenerator. @@ -1004,16 +1004,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask = function(opt_data) { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.displayName = 'proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask'; + proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.displayName = 'proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask'; } /** * Generated by JsPbCodeGenerator. @@ -1025,16 +1025,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.ReadmitPatientRequest = function(opt_data) { +proto.services.task_svc.v1.ReadmitPatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.ReadmitPatientRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.ReadmitPatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.ReadmitPatientRequest.displayName = 'proto.proto.services.task_svc.v1.ReadmitPatientRequest'; + proto.services.task_svc.v1.ReadmitPatientRequest.displayName = 'proto.services.task_svc.v1.ReadmitPatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1046,16 +1046,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.ReadmitPatientResponse = function(opt_data) { +proto.services.task_svc.v1.ReadmitPatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.ReadmitPatientResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.ReadmitPatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.ReadmitPatientResponse.displayName = 'proto.proto.services.task_svc.v1.ReadmitPatientResponse'; + proto.services.task_svc.v1.ReadmitPatientResponse.displayName = 'proto.services.task_svc.v1.ReadmitPatientResponse'; } @@ -1073,8 +1073,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreatePatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreatePatientRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreatePatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreatePatientRequest.toObject(opt_includeInstance, this); }; @@ -1083,11 +1083,11 @@ proto.proto.services.task_svc.v1.CreatePatientRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreatePatientRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreatePatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreatePatientRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreatePatientRequest.toObject = function(includeInstance, msg) { var f, obj = { humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 1, ""), notes: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -1104,23 +1104,23 @@ proto.proto.services.task_svc.v1.CreatePatientRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreatePatientRequest} + * @return {!proto.services.task_svc.v1.CreatePatientRequest} */ -proto.proto.services.task_svc.v1.CreatePatientRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreatePatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreatePatientRequest; - return proto.proto.services.task_svc.v1.CreatePatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreatePatientRequest; + return proto.services.task_svc.v1.CreatePatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreatePatientRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreatePatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreatePatientRequest} + * @return {!proto.services.task_svc.v1.CreatePatientRequest} */ -proto.proto.services.task_svc.v1.CreatePatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreatePatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1148,9 +1148,9 @@ proto.proto.services.task_svc.v1.CreatePatientRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreatePatientRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreatePatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreatePatientRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreatePatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1158,11 +1158,11 @@ proto.proto.services.task_svc.v1.CreatePatientRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreatePatientRequest} message + * @param {!proto.services.task_svc.v1.CreatePatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreatePatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreatePatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHumanReadableIdentifier(); if (f.length > 0) { @@ -1185,16 +1185,16 @@ proto.proto.services.task_svc.v1.CreatePatientRequest.serializeBinaryToWriter = * optional string human_readable_identifier = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreatePatientRequest.prototype.getHumanReadableIdentifier = function() { +proto.services.task_svc.v1.CreatePatientRequest.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreatePatientRequest} returns this + * @return {!proto.services.task_svc.v1.CreatePatientRequest} returns this */ -proto.proto.services.task_svc.v1.CreatePatientRequest.prototype.setHumanReadableIdentifier = function(value) { +proto.services.task_svc.v1.CreatePatientRequest.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1203,16 +1203,16 @@ proto.proto.services.task_svc.v1.CreatePatientRequest.prototype.setHumanReadable * optional string notes = 2; * @return {string} */ -proto.proto.services.task_svc.v1.CreatePatientRequest.prototype.getNotes = function() { +proto.services.task_svc.v1.CreatePatientRequest.prototype.getNotes = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreatePatientRequest} returns this + * @return {!proto.services.task_svc.v1.CreatePatientRequest} returns this */ -proto.proto.services.task_svc.v1.CreatePatientRequest.prototype.setNotes = function(value) { +proto.services.task_svc.v1.CreatePatientRequest.prototype.setNotes = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1233,8 +1233,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreatePatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreatePatientResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreatePatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreatePatientResponse.toObject(opt_includeInstance, this); }; @@ -1243,11 +1243,11 @@ proto.proto.services.task_svc.v1.CreatePatientResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreatePatientResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreatePatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreatePatientResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreatePatientResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1263,23 +1263,23 @@ proto.proto.services.task_svc.v1.CreatePatientResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreatePatientResponse} + * @return {!proto.services.task_svc.v1.CreatePatientResponse} */ -proto.proto.services.task_svc.v1.CreatePatientResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreatePatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreatePatientResponse; - return proto.proto.services.task_svc.v1.CreatePatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreatePatientResponse; + return proto.services.task_svc.v1.CreatePatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreatePatientResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreatePatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreatePatientResponse} + * @return {!proto.services.task_svc.v1.CreatePatientResponse} */ -proto.proto.services.task_svc.v1.CreatePatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreatePatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1303,9 +1303,9 @@ proto.proto.services.task_svc.v1.CreatePatientResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreatePatientResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreatePatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreatePatientResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreatePatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1313,11 +1313,11 @@ proto.proto.services.task_svc.v1.CreatePatientResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreatePatientResponse} message + * @param {!proto.services.task_svc.v1.CreatePatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreatePatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreatePatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1333,16 +1333,16 @@ proto.proto.services.task_svc.v1.CreatePatientResponse.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreatePatientResponse.prototype.getId = function() { +proto.services.task_svc.v1.CreatePatientResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreatePatientResponse} returns this + * @return {!proto.services.task_svc.v1.CreatePatientResponse} returns this */ -proto.proto.services.task_svc.v1.CreatePatientResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.CreatePatientResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1363,8 +1363,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientRequest.toObject(opt_includeInstance, this); }; @@ -1373,11 +1373,11 @@ proto.proto.services.task_svc.v1.GetPatientRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1393,23 +1393,23 @@ proto.proto.services.task_svc.v1.GetPatientRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientRequest} + * @return {!proto.services.task_svc.v1.GetPatientRequest} */ -proto.proto.services.task_svc.v1.GetPatientRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientRequest; - return proto.proto.services.task_svc.v1.GetPatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientRequest; + return proto.services.task_svc.v1.GetPatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientRequest} + * @return {!proto.services.task_svc.v1.GetPatientRequest} */ -proto.proto.services.task_svc.v1.GetPatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1433,9 +1433,9 @@ proto.proto.services.task_svc.v1.GetPatientRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1443,11 +1443,11 @@ proto.proto.services.task_svc.v1.GetPatientRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientRequest} message + * @param {!proto.services.task_svc.v1.GetPatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1463,16 +1463,16 @@ proto.proto.services.task_svc.v1.GetPatientRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientRequest.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientRequest} returns this + * @return {!proto.services.task_svc.v1.GetPatientRequest} returns this */ -proto.proto.services.task_svc.v1.GetPatientRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1493,8 +1493,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientResponse.toObject(opt_includeInstance, this); }; @@ -1503,19 +1503,19 @@ proto.proto.services.task_svc.v1.GetPatientResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), notes: jspb.Message.getFieldWithDefault(msg, 3, ""), bedId: jspb.Message.getFieldWithDefault(msg, 4, ""), wardId: jspb.Message.getFieldWithDefault(msg, 5, ""), - room: (f = msg.getRoom()) && proto.proto.services.task_svc.v1.GetPatientResponse.Room.toObject(includeInstance, f), - bed: (f = msg.getBed()) && proto.proto.services.task_svc.v1.GetPatientResponse.Bed.toObject(includeInstance, f) + room: (f = msg.getRoom()) && proto.services.task_svc.v1.GetPatientResponse.Room.toObject(includeInstance, f), + bed: (f = msg.getBed()) && proto.services.task_svc.v1.GetPatientResponse.Bed.toObject(includeInstance, f) }; if (includeInstance) { @@ -1529,23 +1529,23 @@ proto.proto.services.task_svc.v1.GetPatientResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} + * @return {!proto.services.task_svc.v1.GetPatientResponse} */ -proto.proto.services.task_svc.v1.GetPatientResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientResponse; - return proto.proto.services.task_svc.v1.GetPatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientResponse; + return proto.services.task_svc.v1.GetPatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} + * @return {!proto.services.task_svc.v1.GetPatientResponse} */ -proto.proto.services.task_svc.v1.GetPatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1573,13 +1573,13 @@ proto.proto.services.task_svc.v1.GetPatientResponse.deserializeBinaryFromReader msg.setWardId(value); break; case 7: - var value = new proto.proto.services.task_svc.v1.GetPatientResponse.Room; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientResponse.Room; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader); msg.setRoom(value); break; case 8: - var value = new proto.proto.services.task_svc.v1.GetPatientResponse.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientResponse.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader); msg.setBed(value); break; default: @@ -1595,9 +1595,9 @@ proto.proto.services.task_svc.v1.GetPatientResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1605,11 +1605,11 @@ proto.proto.services.task_svc.v1.GetPatientResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientResponse} message + * @param {!proto.services.task_svc.v1.GetPatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1651,7 +1651,7 @@ proto.proto.services.task_svc.v1.GetPatientResponse.serializeBinaryToWriter = fu writer.writeMessage( 7, f, - proto.proto.services.task_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter ); } f = message.getBed(); @@ -1659,7 +1659,7 @@ proto.proto.services.task_svc.v1.GetPatientResponse.serializeBinaryToWriter = fu writer.writeMessage( 8, f, - proto.proto.services.task_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter ); } }; @@ -1681,8 +1681,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientResponse.Room.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientResponse.Room.toObject(opt_includeInstance, this); }; @@ -1691,11 +1691,11 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientResponse.Room} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1713,23 +1713,23 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Room.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse.Room} + * @return {!proto.services.task_svc.v1.GetPatientResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientResponse.Room; - return proto.proto.services.task_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientResponse.Room; + return proto.services.task_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse.Room} + * @return {!proto.services.task_svc.v1.GetPatientResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1761,9 +1761,9 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Room.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1771,11 +1771,11 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientResponse.Room} message + * @param {!proto.services.task_svc.v1.GetPatientResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1805,16 +1805,16 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1823,16 +1823,16 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.setId = funct * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1841,16 +1841,16 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.setName = fun * optional string ward_id = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.getWardId = function() { +proto.services.task_svc.v1.GetPatientResponse.Room.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.Room.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetPatientResponse.Room.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1871,8 +1871,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientResponse.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientResponse.Bed.toObject(opt_includeInstance, this); }; @@ -1881,11 +1881,11 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -1902,23 +1902,23 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Bed.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse.Bed} + * @return {!proto.services.task_svc.v1.GetPatientResponse.Bed} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientResponse.Bed; - return proto.proto.services.task_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientResponse.Bed; + return proto.services.task_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse.Bed} + * @return {!proto.services.task_svc.v1.GetPatientResponse.Bed} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1946,9 +1946,9 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1956,11 +1956,11 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientResponse.Bed} message + * @param {!proto.services.task_svc.v1.GetPatientResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1983,16 +1983,16 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2001,16 +2001,16 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.setId = functi * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2019,16 +2019,16 @@ proto.proto.services.task_svc.v1.GetPatientResponse.Bed.prototype.setName = func * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2037,16 +2037,16 @@ proto.proto.services.task_svc.v1.GetPatientResponse.prototype.setId = function(v * optional string human_readable_identifier = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.getHumanReadableIdentifier = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.setHumanReadableIdentifier = function(value) { +proto.services.task_svc.v1.GetPatientResponse.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2055,16 +2055,16 @@ proto.proto.services.task_svc.v1.GetPatientResponse.prototype.setHumanReadableId * optional string notes = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.getNotes = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.getNotes = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.setNotes = function(value) { +proto.services.task_svc.v1.GetPatientResponse.prototype.setNotes = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -2073,25 +2073,25 @@ proto.proto.services.task_svc.v1.GetPatientResponse.prototype.setNotes = functio * optional string bed_id = 4; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.getBedId = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.getBedId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.setBedId = function(value) { +proto.services.task_svc.v1.GetPatientResponse.prototype.setBedId = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.clearBedId = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.clearBedId = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -2100,7 +2100,7 @@ proto.proto.services.task_svc.v1.GetPatientResponse.prototype.clearBedId = funct * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.hasBedId = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.hasBedId = function() { return jspb.Message.getField(this, 4) != null; }; @@ -2109,25 +2109,25 @@ proto.proto.services.task_svc.v1.GetPatientResponse.prototype.hasBedId = functio * optional string ward_id = 5; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.getWardId = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetPatientResponse.prototype.setWardId = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.clearWardId = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.clearWardId = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -2136,35 +2136,35 @@ proto.proto.services.task_svc.v1.GetPatientResponse.prototype.clearWardId = func * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.hasWardId = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.hasWardId = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional Room room = 7; - * @return {?proto.proto.services.task_svc.v1.GetPatientResponse.Room} + * @return {?proto.services.task_svc.v1.GetPatientResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.getRoom = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetPatientResponse.Room} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetPatientResponse.Room, 7)); +proto.services.task_svc.v1.GetPatientResponse.prototype.getRoom = function() { + return /** @type{?proto.services.task_svc.v1.GetPatientResponse.Room} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetPatientResponse.Room, 7)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetPatientResponse.Room|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} returns this + * @param {?proto.services.task_svc.v1.GetPatientResponse.Room|undefined} value + * @return {!proto.services.task_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.setRoom = function(value) { +proto.services.task_svc.v1.GetPatientResponse.prototype.setRoom = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.clearRoom = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.clearRoom = function() { return this.setRoom(undefined); }; @@ -2173,35 +2173,35 @@ proto.proto.services.task_svc.v1.GetPatientResponse.prototype.clearRoom = functi * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.hasRoom = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.hasRoom = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional Bed bed = 8; - * @return {?proto.proto.services.task_svc.v1.GetPatientResponse.Bed} + * @return {?proto.services.task_svc.v1.GetPatientResponse.Bed} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.getBed = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetPatientResponse.Bed} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetPatientResponse.Bed, 8)); +proto.services.task_svc.v1.GetPatientResponse.prototype.getBed = function() { + return /** @type{?proto.services.task_svc.v1.GetPatientResponse.Bed} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetPatientResponse.Bed, 8)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetPatientResponse.Bed|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} returns this + * @param {?proto.services.task_svc.v1.GetPatientResponse.Bed|undefined} value + * @return {!proto.services.task_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.setBed = function(value) { +proto.services.task_svc.v1.GetPatientResponse.prototype.setBed = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.clearBed = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.clearBed = function() { return this.setBed(undefined); }; @@ -2210,7 +2210,7 @@ proto.proto.services.task_svc.v1.GetPatientResponse.prototype.clearBed = functio * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientResponse.prototype.hasBed = function() { +proto.services.task_svc.v1.GetPatientResponse.prototype.hasBed = function() { return jspb.Message.getField(this, 8) != null; }; @@ -2231,8 +2231,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeletePatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeletePatientRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeletePatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeletePatientRequest.toObject(opt_includeInstance, this); }; @@ -2241,11 +2241,11 @@ proto.proto.services.task_svc.v1.DeletePatientRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeletePatientRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeletePatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeletePatientRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeletePatientRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2261,23 +2261,23 @@ proto.proto.services.task_svc.v1.DeletePatientRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeletePatientRequest} + * @return {!proto.services.task_svc.v1.DeletePatientRequest} */ -proto.proto.services.task_svc.v1.DeletePatientRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeletePatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeletePatientRequest; - return proto.proto.services.task_svc.v1.DeletePatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeletePatientRequest; + return proto.services.task_svc.v1.DeletePatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeletePatientRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeletePatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeletePatientRequest} + * @return {!proto.services.task_svc.v1.DeletePatientRequest} */ -proto.proto.services.task_svc.v1.DeletePatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeletePatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2301,9 +2301,9 @@ proto.proto.services.task_svc.v1.DeletePatientRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeletePatientRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeletePatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeletePatientRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeletePatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2311,11 +2311,11 @@ proto.proto.services.task_svc.v1.DeletePatientRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeletePatientRequest} message + * @param {!proto.services.task_svc.v1.DeletePatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeletePatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeletePatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2331,16 +2331,16 @@ proto.proto.services.task_svc.v1.DeletePatientRequest.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.DeletePatientRequest.prototype.getId = function() { +proto.services.task_svc.v1.DeletePatientRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.DeletePatientRequest} returns this + * @return {!proto.services.task_svc.v1.DeletePatientRequest} returns this */ -proto.proto.services.task_svc.v1.DeletePatientRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.DeletePatientRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2361,8 +2361,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeletePatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeletePatientResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeletePatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeletePatientResponse.toObject(opt_includeInstance, this); }; @@ -2371,11 +2371,11 @@ proto.proto.services.task_svc.v1.DeletePatientResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeletePatientResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeletePatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeletePatientResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeletePatientResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2391,23 +2391,23 @@ proto.proto.services.task_svc.v1.DeletePatientResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeletePatientResponse} + * @return {!proto.services.task_svc.v1.DeletePatientResponse} */ -proto.proto.services.task_svc.v1.DeletePatientResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeletePatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeletePatientResponse; - return proto.proto.services.task_svc.v1.DeletePatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeletePatientResponse; + return proto.services.task_svc.v1.DeletePatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeletePatientResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeletePatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeletePatientResponse} + * @return {!proto.services.task_svc.v1.DeletePatientResponse} */ -proto.proto.services.task_svc.v1.DeletePatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeletePatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2427,9 +2427,9 @@ proto.proto.services.task_svc.v1.DeletePatientResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeletePatientResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeletePatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeletePatientResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeletePatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2437,11 +2437,11 @@ proto.proto.services.task_svc.v1.DeletePatientResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeletePatientResponse} message + * @param {!proto.services.task_svc.v1.DeletePatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeletePatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeletePatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2462,8 +2462,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientByBedRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientByBedRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientByBedRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientByBedRequest.toObject(opt_includeInstance, this); }; @@ -2472,11 +2472,11 @@ proto.proto.services.task_svc.v1.GetPatientByBedRequest.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientByBedRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientByBedRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientByBedRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientByBedRequest.toObject = function(includeInstance, msg) { var f, obj = { bedId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2492,23 +2492,23 @@ proto.proto.services.task_svc.v1.GetPatientByBedRequest.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientByBedRequest} + * @return {!proto.services.task_svc.v1.GetPatientByBedRequest} */ -proto.proto.services.task_svc.v1.GetPatientByBedRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientByBedRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientByBedRequest; - return proto.proto.services.task_svc.v1.GetPatientByBedRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientByBedRequest; + return proto.services.task_svc.v1.GetPatientByBedRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientByBedRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientByBedRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientByBedRequest} + * @return {!proto.services.task_svc.v1.GetPatientByBedRequest} */ -proto.proto.services.task_svc.v1.GetPatientByBedRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientByBedRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2532,9 +2532,9 @@ proto.proto.services.task_svc.v1.GetPatientByBedRequest.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientByBedRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientByBedRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientByBedRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientByBedRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2542,11 +2542,11 @@ proto.proto.services.task_svc.v1.GetPatientByBedRequest.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientByBedRequest} message + * @param {!proto.services.task_svc.v1.GetPatientByBedRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientByBedRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientByBedRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBedId(); if (f.length > 0) { @@ -2562,16 +2562,16 @@ proto.proto.services.task_svc.v1.GetPatientByBedRequest.serializeBinaryToWriter * optional string bed_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientByBedRequest.prototype.getBedId = function() { +proto.services.task_svc.v1.GetPatientByBedRequest.prototype.getBedId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientByBedRequest} returns this + * @return {!proto.services.task_svc.v1.GetPatientByBedRequest} returns this */ -proto.proto.services.task_svc.v1.GetPatientByBedRequest.prototype.setBedId = function(value) { +proto.services.task_svc.v1.GetPatientByBedRequest.prototype.setBedId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2592,8 +2592,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientByBedResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientByBedResponse.toObject(opt_includeInstance, this); }; @@ -2602,11 +2602,11 @@ proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientByBedResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientByBedResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientByBedResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2625,23 +2625,23 @@ proto.proto.services.task_svc.v1.GetPatientByBedResponse.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientByBedResponse} + * @return {!proto.services.task_svc.v1.GetPatientByBedResponse} */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientByBedResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientByBedResponse; - return proto.proto.services.task_svc.v1.GetPatientByBedResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientByBedResponse; + return proto.services.task_svc.v1.GetPatientByBedResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientByBedResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientByBedResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientByBedResponse} + * @return {!proto.services.task_svc.v1.GetPatientByBedResponse} */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientByBedResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2677,9 +2677,9 @@ proto.proto.services.task_svc.v1.GetPatientByBedResponse.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientByBedResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientByBedResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2687,11 +2687,11 @@ proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientByBedResponse} message + * @param {!proto.services.task_svc.v1.GetPatientByBedResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientByBedResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2728,16 +2728,16 @@ proto.proto.services.task_svc.v1.GetPatientByBedResponse.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientByBedResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientByBedResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2746,16 +2746,16 @@ proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.setId = funct * optional string human_readable_identifier = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.getHumanReadableIdentifier = function() { +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientByBedResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientByBedResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.setHumanReadableIdentifier = function(value) { +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2764,16 +2764,16 @@ proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.setHumanReada * optional string notes = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.getNotes = function() { +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.getNotes = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientByBedResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientByBedResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.setNotes = function(value) { +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.setNotes = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -2782,25 +2782,25 @@ proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.setNotes = fu * optional string bed_id = 4; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.getBedId = function() { +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.getBedId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientByBedResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientByBedResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.setBedId = function(value) { +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.setBedId = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientByBedResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientByBedResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.clearBedId = function() { +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.clearBedId = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -2809,7 +2809,7 @@ proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.clearBedId = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientByBedResponse.prototype.hasBedId = function() { +proto.services.task_svc.v1.GetPatientByBedResponse.prototype.hasBedId = function() { return jspb.Message.getField(this, 4) != null; }; @@ -2830,8 +2830,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientsByWardRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientsByWardRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientsByWardRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientsByWardRequest.toObject(opt_includeInstance, this); }; @@ -2840,11 +2840,11 @@ proto.proto.services.task_svc.v1.GetPatientsByWardRequest.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientsByWardRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientsByWardRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientsByWardRequest.toObject = function(includeInstance, msg) { var f, obj = { wardId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2860,23 +2860,23 @@ proto.proto.services.task_svc.v1.GetPatientsByWardRequest.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardRequest} + * @return {!proto.services.task_svc.v1.GetPatientsByWardRequest} */ -proto.proto.services.task_svc.v1.GetPatientsByWardRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientsByWardRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientsByWardRequest; - return proto.proto.services.task_svc.v1.GetPatientsByWardRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientsByWardRequest; + return proto.services.task_svc.v1.GetPatientsByWardRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientsByWardRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardRequest} + * @return {!proto.services.task_svc.v1.GetPatientsByWardRequest} */ -proto.proto.services.task_svc.v1.GetPatientsByWardRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientsByWardRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2900,9 +2900,9 @@ proto.proto.services.task_svc.v1.GetPatientsByWardRequest.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientsByWardRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientsByWardRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientsByWardRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientsByWardRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2910,11 +2910,11 @@ proto.proto.services.task_svc.v1.GetPatientsByWardRequest.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardRequest} message + * @param {!proto.services.task_svc.v1.GetPatientsByWardRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientsByWardRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientsByWardRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWardId(); if (f.length > 0) { @@ -2930,16 +2930,16 @@ proto.proto.services.task_svc.v1.GetPatientsByWardRequest.serializeBinaryToWrite * optional string ward_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientsByWardRequest.prototype.getWardId = function() { +proto.services.task_svc.v1.GetPatientsByWardRequest.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardRequest} returns this + * @return {!proto.services.task_svc.v1.GetPatientsByWardRequest} returns this */ -proto.proto.services.task_svc.v1.GetPatientsByWardRequest.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetPatientsByWardRequest.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2950,7 +2950,7 @@ proto.proto.services.task_svc.v1.GetPatientsByWardRequest.prototype.setWardId = * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetPatientsByWardResponse.repeatedFields_ = [1]; @@ -2967,8 +2967,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientsByWardResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientsByWardResponse.toObject(opt_includeInstance, this); }; @@ -2977,14 +2977,14 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientsByWardResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientsByWardResponse.toObject = function(includeInstance, msg) { var f, obj = { patientsList: jspb.Message.toObjectList(msg.getPatientsList(), - proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.toObject, includeInstance) + proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.toObject, includeInstance) }; if (includeInstance) { @@ -2998,23 +2998,23 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse} + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientsByWardResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientsByWardResponse; - return proto.proto.services.task_svc.v1.GetPatientsByWardResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientsByWardResponse; + return proto.services.task_svc.v1.GetPatientsByWardResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientsByWardResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse} + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientsByWardResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3022,8 +3022,8 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.deserializeBinaryFrom var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientsByWardResponse.Patient; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.deserializeBinaryFromReader); msg.addPatients(value); break; default: @@ -3039,9 +3039,9 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientsByWardResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientsByWardResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3049,18 +3049,18 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse} message + * @param {!proto.services.task_svc.v1.GetPatientsByWardResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientsByWardResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPatientsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.serializeBinaryToWriter ); } }; @@ -3082,8 +3082,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.toObject(opt_includeInstance, this); }; @@ -3092,11 +3092,11 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.toO * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -3115,23 +3115,23 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.toObject = fu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient; - return proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientsByWardResponse.Patient; + return proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3167,9 +3167,9 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.deserializeBi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3177,11 +3177,11 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.ser /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} message + * @param {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3218,16 +3218,16 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.serializeBina * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} returns this + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3236,16 +3236,16 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.set * optional string human_readable_identifier = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.getHumanReadableIdentifier = function() { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} returns this + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.setHumanReadableIdentifier = function(value) { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3254,16 +3254,16 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.set * optional string notes = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.getNotes = function() { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.getNotes = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} returns this + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.setNotes = function(value) { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.setNotes = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -3272,25 +3272,25 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.set * optional string bed_id = 4; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.getBedId = function() { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.getBedId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} returns this + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.setBedId = function(value) { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.setBedId = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} returns this + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.clearBedId = function() { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.clearBedId = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -3299,45 +3299,45 @@ proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.cle * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.hasBedId = function() { +proto.services.task_svc.v1.GetPatientsByWardResponse.Patient.prototype.hasBedId = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated Patient patients = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.getPatientsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient, 1)); +proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.getPatientsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetPatientsByWardResponse.Patient, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.setPatientsList = function(value) { +proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.setPatientsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient=} opt_value + * @param {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse.Patient} */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.addPatients = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetPatientsByWardResponse.Patient, opt_index); +proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.addPatients = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetPatientsByWardResponse.Patient, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetPatientsByWardResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientsByWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.clearPatientsList = function() { +proto.services.task_svc.v1.GetPatientsByWardResponse.prototype.clearPatientsList = function() { return this.setPatientsList([]); }; @@ -3358,8 +3358,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.toObject(opt_includeInstance, this); }; @@ -3368,11 +3368,11 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.prototype.toO * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.toObject = function(includeInstance, msg) { var f, obj = { wardId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -3388,23 +3388,23 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.toObject = fu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest; - return proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientAssignmentByWardRequest; + return proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3428,9 +3428,9 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.deserializeBi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3438,11 +3438,11 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.prototype.ser /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} message + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWardId(); if (f.length > 0) { @@ -3458,16 +3458,16 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.serializeBina * optional string ward_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.prototype.getWardId = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} returns this + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardRequest} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3478,7 +3478,7 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest.prototype.set * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.repeatedFields_ = [1]; @@ -3495,8 +3495,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.toObject(opt_includeInstance, this); }; @@ -3505,14 +3505,14 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.to * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.toObject = function(includeInstance, msg) { var f, obj = { roomsList: jspb.Message.toObjectList(msg.getRoomsList(), - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.toObject, includeInstance) + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.toObject, includeInstance) }; if (includeInstance) { @@ -3526,23 +3526,23 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.toObject = f /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse; - return proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientAssignmentByWardResponse; + return proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3550,8 +3550,8 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.deserializeB var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.deserializeBinaryFromReader); msg.addRooms(value); break; default: @@ -3567,9 +3567,9 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.deserializeB * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3577,18 +3577,18 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.se /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} message + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRoomsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.serializeBinaryToWriter ); } }; @@ -3600,7 +3600,7 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.serializeBin * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.repeatedFields_ = [3]; +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.repeatedFields_ = [3]; @@ -3617,8 +3617,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.toObject(opt_includeInstance, this); }; @@ -3627,16 +3627,16 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototy * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), bedsList: jspb.Message.toObjectList(msg.getBedsList(), - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.toObject, includeInstance) + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.toObject, includeInstance) }; if (includeInstance) { @@ -3650,23 +3650,23 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.toObjec /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room; - return proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room; + return proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3682,8 +3682,8 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.deseria msg.setName(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.deserializeBinaryFromReader); msg.addBeds(value); break; default: @@ -3699,9 +3699,9 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.deseria * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3709,11 +3709,11 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototy /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} message + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3734,7 +3734,7 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.seriali writer.writeRepeatedMessage( 3, f, - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.serializeBinaryToWriter ); } }; @@ -3756,8 +3756,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.toObject(opt_includeInstance, this); }; @@ -3766,15 +3766,15 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.pro * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), - patient: (f = msg.getPatient()) && proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.toObject(includeInstance, f) + patient: (f = msg.getPatient()) && proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.toObject(includeInstance, f) }; if (includeInstance) { @@ -3788,23 +3788,23 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.toO /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed; - return proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed; + return proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3820,8 +3820,8 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.des msg.setName(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader); msg.setPatient(value); break; default: @@ -3837,9 +3837,9 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.des * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3847,11 +3847,11 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.pro /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} message + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3872,7 +3872,7 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.ser writer.writeMessage( 3, f, - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.serializeBinaryToWriter ); } }; @@ -3894,8 +3894,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.toObject(opt_includeInstance, this); }; @@ -3904,11 +3904,11 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Pat * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -3925,23 +3925,23 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Pat /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient; - return proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient; + return proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3969,9 +3969,9 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Pat * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3979,11 +3979,11 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Pat /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} message + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4006,16 +4006,16 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Pat * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} returns this + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4024,16 +4024,16 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Pat * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} returns this + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4042,16 +4042,16 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Pat * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} returns this + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4060,44 +4060,44 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.pro * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} returns this + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional Patient patient = 3; - * @return {?proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} + * @return {?proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.getPatient = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient, 3)); +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.getPatient = function() { + return /** @type{?proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient, 3)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} returns this + * @param {?proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.Patient|undefined} value + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.setPatient = function(value) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.setPatient = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} returns this + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.clearPatient = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.clearPatient = function() { return this.setPatient(undefined); }; @@ -4106,7 +4106,7 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.pro * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.hasPatient = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.prototype.hasPatient = function() { return jspb.Message.getField(this, 3) != null; }; @@ -4115,16 +4115,16 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.pro * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4133,92 +4133,92 @@ proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototy * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated Bed beds = 3; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.getBedsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed, 3)); +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.getBedsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed, 3)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.setBedsList = function(value) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.setBedsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed=} opt_value + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.addBeds = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed, opt_index); +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.addBeds = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.clearBedsList = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.prototype.clearBedsList = function() { return this.setBedsList([]); }; /** * repeated Room rooms = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.getRoomsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room, 1)); +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.getRoomsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.setRoomsList = function(value) { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.setRoomsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room=} opt_value + * @param {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.addRooms = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room, opt_index); +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.addRooms = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientAssignmentByWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.clearRoomsList = function() { +proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.prototype.clearRoomsList = function() { return this.setRoomsList([]); }; @@ -4239,8 +4239,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRecentPatientsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRecentPatientsRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRecentPatientsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRecentPatientsRequest.toObject(opt_includeInstance, this); }; @@ -4249,11 +4249,11 @@ proto.proto.services.task_svc.v1.GetRecentPatientsRequest.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRecentPatientsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentPatientsRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRecentPatientsRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -4269,23 +4269,23 @@ proto.proto.services.task_svc.v1.GetRecentPatientsRequest.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsRequest} + * @return {!proto.services.task_svc.v1.GetRecentPatientsRequest} */ -proto.proto.services.task_svc.v1.GetRecentPatientsRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRecentPatientsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRecentPatientsRequest; - return proto.proto.services.task_svc.v1.GetRecentPatientsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRecentPatientsRequest; + return proto.services.task_svc.v1.GetRecentPatientsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRecentPatientsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsRequest} + * @return {!proto.services.task_svc.v1.GetRecentPatientsRequest} */ -proto.proto.services.task_svc.v1.GetRecentPatientsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRecentPatientsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4305,9 +4305,9 @@ proto.proto.services.task_svc.v1.GetRecentPatientsRequest.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRecentPatientsRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRecentPatientsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRecentPatientsRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRecentPatientsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4315,11 +4315,11 @@ proto.proto.services.task_svc.v1.GetRecentPatientsRequest.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsRequest} message + * @param {!proto.services.task_svc.v1.GetRecentPatientsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentPatientsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRecentPatientsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -4330,7 +4330,7 @@ proto.proto.services.task_svc.v1.GetRecentPatientsRequest.serializeBinaryToWrite * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetRecentPatientsResponse.repeatedFields_ = [1]; @@ -4347,8 +4347,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRecentPatientsResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRecentPatientsResponse.toObject(opt_includeInstance, this); }; @@ -4357,14 +4357,14 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRecentPatientsResponse.toObject = function(includeInstance, msg) { var f, obj = { recentPatientsList: jspb.Message.toObjectList(msg.getRecentPatientsList(), - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject, includeInstance) + proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject, includeInstance) }; if (includeInstance) { @@ -4378,23 +4378,23 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse} + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRecentPatientsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRecentPatientsResponse; - return proto.proto.services.task_svc.v1.GetRecentPatientsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRecentPatientsResponse; + return proto.services.task_svc.v1.GetRecentPatientsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse} + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRecentPatientsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4402,8 +4402,8 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.deserializeBinaryFrom var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed; + reader.readMessage(value,proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader); msg.addRecentPatients(value); break; default: @@ -4419,9 +4419,9 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRecentPatientsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4429,18 +4429,18 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse} message + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRecentPatientsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRecentPatientsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter + proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter ); } }; @@ -4462,8 +4462,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.toObject(opt_includeInstance, this); }; @@ -4472,11 +4472,11 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.toObjec * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -4493,23 +4493,23 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.toObject = functi /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed; - return proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRecentPatientsResponse.Bed; + return proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4537,9 +4537,9 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinary * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4547,11 +4547,11 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.seriali /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} message + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4574,16 +4574,16 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryTo * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4592,16 +4592,16 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.setId = * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4622,8 +4622,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRecentPatientsResponse.Room.toObject(opt_includeInstance, this); }; @@ -4632,11 +4632,11 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -4654,23 +4654,23 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room} + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.Room} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room; - return proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRecentPatientsResponse.Room; + return proto.services.task_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room} + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.Room} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4702,9 +4702,9 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4712,11 +4712,11 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room} message + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4746,16 +4746,16 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryT * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.getId = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4764,16 +4764,16 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.setId * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.getName = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.setName = function(value) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4782,16 +4782,16 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.setNam * optional string ward_id = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.getWardId = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetRecentPatientsResponse.Room.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -4812,8 +4812,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject(opt_includeInstance, this); }; @@ -4822,16 +4822,16 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), - room: (f = msg.getRoom()) && proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.toObject(includeInstance, f), - bed: (f = msg.getBed()) && proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.toObject(includeInstance, f) + room: (f = msg.getRoom()) && proto.services.task_svc.v1.GetRecentPatientsResponse.Room.toObject(includeInstance, f), + bed: (f = msg.getBed()) && proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.toObject(includeInstance, f) }; if (includeInstance) { @@ -4845,23 +4845,23 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed; - return proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed; + return proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4877,13 +4877,13 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed msg.setHumanReadableIdentifier(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRecentPatientsResponse.Room; + reader.readMessage(value,proto.services.task_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader); msg.setRoom(value); break; case 4: - var value = new proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRecentPatientsResponse.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader); msg.setBed(value); break; default: @@ -4899,9 +4899,9 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4909,11 +4909,11 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} message + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4934,7 +4934,7 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed writer.writeMessage( 3, f, - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter + proto.services.task_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter ); } f = message.getBed(); @@ -4942,7 +4942,7 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed writer.writeMessage( 4, f, - proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter ); } }; @@ -4952,16 +4952,16 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getId = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4970,44 +4970,44 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed * optional string human_readable_identifier = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getHumanReadableIdentifier = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setHumanReadableIdentifier = function(value) { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional Room room = 3; - * @return {?proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room} + * @return {?proto.services.task_svc.v1.GetRecentPatientsResponse.Room} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getRoom = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room, 3)); +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getRoom = function() { + return /** @type{?proto.services.task_svc.v1.GetRecentPatientsResponse.Room} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetRecentPatientsResponse.Room, 3)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Room|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @param {?proto.services.task_svc.v1.GetRecentPatientsResponse.Room|undefined} value + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setRoom = function(value) { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setRoom = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.clearRoom = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.clearRoom = function() { return this.setRoom(undefined); }; @@ -5016,35 +5016,35 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.hasRoom = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.hasRoom = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional Bed bed = 4; - * @return {?proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} + * @return {?proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getBed = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed, 4)); +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getBed = function() { + return /** @type{?proto.services.task_svc.v1.GetRecentPatientsResponse.Bed} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetRecentPatientsResponse.Bed, 4)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetRecentPatientsResponse.Bed|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @param {?proto.services.task_svc.v1.GetRecentPatientsResponse.Bed|undefined} value + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setBed = function(value) { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setBed = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.clearBed = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.clearBed = function() { return this.setBed(undefined); }; @@ -5053,45 +5053,45 @@ proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.hasBed = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.hasBed = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated PatientWithRoomAndBed recent_patients = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.getRecentPatientsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, 1)); +proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.getRecentPatientsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.setRecentPatientsList = function(value) { +proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.setRecentPatientsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed=} opt_value + * @param {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.addRecentPatients = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, opt_index); +proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.addRecentPatients = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetRecentPatientsResponse} returns this + * @return {!proto.services.task_svc.v1.GetRecentPatientsResponse} returns this */ -proto.proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.clearRecentPatientsList = function() { +proto.services.task_svc.v1.GetRecentPatientsResponse.prototype.clearRecentPatientsList = function() { return this.setRecentPatientsList([]); }; @@ -5112,8 +5112,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdatePatientRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdatePatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdatePatientRequest.toObject(opt_includeInstance, this); }; @@ -5122,11 +5122,11 @@ proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdatePatientRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdatePatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdatePatientRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -5144,23 +5144,23 @@ proto.proto.services.task_svc.v1.UpdatePatientRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdatePatientRequest} + * @return {!proto.services.task_svc.v1.UpdatePatientRequest} */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdatePatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdatePatientRequest; - return proto.proto.services.task_svc.v1.UpdatePatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdatePatientRequest; + return proto.services.task_svc.v1.UpdatePatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdatePatientRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdatePatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdatePatientRequest} + * @return {!proto.services.task_svc.v1.UpdatePatientRequest} */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdatePatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5192,9 +5192,9 @@ proto.proto.services.task_svc.v1.UpdatePatientRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdatePatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdatePatientRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdatePatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5202,11 +5202,11 @@ proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdatePatientRequest} message + * @param {!proto.services.task_svc.v1.UpdatePatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdatePatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -5236,16 +5236,16 @@ proto.proto.services.task_svc.v1.UpdatePatientRequest.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.getId = function() { +proto.services.task_svc.v1.UpdatePatientRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdatePatientRequest} returns this + * @return {!proto.services.task_svc.v1.UpdatePatientRequest} returns this */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.UpdatePatientRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5254,25 +5254,25 @@ proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.setId = function * optional string human_readable_identifier = 2; * @return {string} */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.getHumanReadableIdentifier = function() { +proto.services.task_svc.v1.UpdatePatientRequest.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdatePatientRequest} returns this + * @return {!proto.services.task_svc.v1.UpdatePatientRequest} returns this */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.setHumanReadableIdentifier = function(value) { +proto.services.task_svc.v1.UpdatePatientRequest.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdatePatientRequest} returns this + * @return {!proto.services.task_svc.v1.UpdatePatientRequest} returns this */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.clearHumanReadableIdentifier = function() { +proto.services.task_svc.v1.UpdatePatientRequest.prototype.clearHumanReadableIdentifier = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -5281,7 +5281,7 @@ proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.clearHumanReadab * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.hasHumanReadableIdentifier = function() { +proto.services.task_svc.v1.UpdatePatientRequest.prototype.hasHumanReadableIdentifier = function() { return jspb.Message.getField(this, 2) != null; }; @@ -5290,25 +5290,25 @@ proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.hasHumanReadable * optional string notes = 3; * @return {string} */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.getNotes = function() { +proto.services.task_svc.v1.UpdatePatientRequest.prototype.getNotes = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdatePatientRequest} returns this + * @return {!proto.services.task_svc.v1.UpdatePatientRequest} returns this */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.setNotes = function(value) { +proto.services.task_svc.v1.UpdatePatientRequest.prototype.setNotes = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdatePatientRequest} returns this + * @return {!proto.services.task_svc.v1.UpdatePatientRequest} returns this */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.clearNotes = function() { +proto.services.task_svc.v1.UpdatePatientRequest.prototype.clearNotes = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -5317,7 +5317,7 @@ proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.clearNotes = fun * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdatePatientRequest.prototype.hasNotes = function() { +proto.services.task_svc.v1.UpdatePatientRequest.prototype.hasNotes = function() { return jspb.Message.getField(this, 3) != null; }; @@ -5338,8 +5338,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdatePatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdatePatientResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdatePatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdatePatientResponse.toObject(opt_includeInstance, this); }; @@ -5348,11 +5348,11 @@ proto.proto.services.task_svc.v1.UpdatePatientResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdatePatientResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdatePatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdatePatientResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdatePatientResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -5368,23 +5368,23 @@ proto.proto.services.task_svc.v1.UpdatePatientResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdatePatientResponse} + * @return {!proto.services.task_svc.v1.UpdatePatientResponse} */ -proto.proto.services.task_svc.v1.UpdatePatientResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdatePatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdatePatientResponse; - return proto.proto.services.task_svc.v1.UpdatePatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdatePatientResponse; + return proto.services.task_svc.v1.UpdatePatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdatePatientResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdatePatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdatePatientResponse} + * @return {!proto.services.task_svc.v1.UpdatePatientResponse} */ -proto.proto.services.task_svc.v1.UpdatePatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdatePatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5404,9 +5404,9 @@ proto.proto.services.task_svc.v1.UpdatePatientResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdatePatientResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdatePatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdatePatientResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdatePatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5414,11 +5414,11 @@ proto.proto.services.task_svc.v1.UpdatePatientResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdatePatientResponse} message + * @param {!proto.services.task_svc.v1.UpdatePatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdatePatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdatePatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -5439,8 +5439,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.AssignBedRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.AssignBedRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.AssignBedRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.AssignBedRequest.toObject(opt_includeInstance, this); }; @@ -5449,11 +5449,11 @@ proto.proto.services.task_svc.v1.AssignBedRequest.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.AssignBedRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.AssignBedRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AssignBedRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.AssignBedRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), bedId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -5470,23 +5470,23 @@ proto.proto.services.task_svc.v1.AssignBedRequest.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.AssignBedRequest} + * @return {!proto.services.task_svc.v1.AssignBedRequest} */ -proto.proto.services.task_svc.v1.AssignBedRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.AssignBedRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.AssignBedRequest; - return proto.proto.services.task_svc.v1.AssignBedRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.AssignBedRequest; + return proto.services.task_svc.v1.AssignBedRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.AssignBedRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.AssignBedRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.AssignBedRequest} + * @return {!proto.services.task_svc.v1.AssignBedRequest} */ -proto.proto.services.task_svc.v1.AssignBedRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.AssignBedRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5514,9 +5514,9 @@ proto.proto.services.task_svc.v1.AssignBedRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.AssignBedRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.AssignBedRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.AssignBedRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.AssignBedRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5524,11 +5524,11 @@ proto.proto.services.task_svc.v1.AssignBedRequest.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.AssignBedRequest} message + * @param {!proto.services.task_svc.v1.AssignBedRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AssignBedRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.AssignBedRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -5551,16 +5551,16 @@ proto.proto.services.task_svc.v1.AssignBedRequest.serializeBinaryToWriter = func * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.AssignBedRequest.prototype.getId = function() { +proto.services.task_svc.v1.AssignBedRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.AssignBedRequest} returns this + * @return {!proto.services.task_svc.v1.AssignBedRequest} returns this */ -proto.proto.services.task_svc.v1.AssignBedRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.AssignBedRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5569,16 +5569,16 @@ proto.proto.services.task_svc.v1.AssignBedRequest.prototype.setId = function(val * optional string bed_id = 2; * @return {string} */ -proto.proto.services.task_svc.v1.AssignBedRequest.prototype.getBedId = function() { +proto.services.task_svc.v1.AssignBedRequest.prototype.getBedId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.AssignBedRequest} returns this + * @return {!proto.services.task_svc.v1.AssignBedRequest} returns this */ -proto.proto.services.task_svc.v1.AssignBedRequest.prototype.setBedId = function(value) { +proto.services.task_svc.v1.AssignBedRequest.prototype.setBedId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -5599,8 +5599,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.AssignBedResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.AssignBedResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.AssignBedResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.AssignBedResponse.toObject(opt_includeInstance, this); }; @@ -5609,11 +5609,11 @@ proto.proto.services.task_svc.v1.AssignBedResponse.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.AssignBedResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.AssignBedResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AssignBedResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.AssignBedResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -5629,23 +5629,23 @@ proto.proto.services.task_svc.v1.AssignBedResponse.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.AssignBedResponse} + * @return {!proto.services.task_svc.v1.AssignBedResponse} */ -proto.proto.services.task_svc.v1.AssignBedResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.AssignBedResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.AssignBedResponse; - return proto.proto.services.task_svc.v1.AssignBedResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.AssignBedResponse; + return proto.services.task_svc.v1.AssignBedResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.AssignBedResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.AssignBedResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.AssignBedResponse} + * @return {!proto.services.task_svc.v1.AssignBedResponse} */ -proto.proto.services.task_svc.v1.AssignBedResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.AssignBedResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5665,9 +5665,9 @@ proto.proto.services.task_svc.v1.AssignBedResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.AssignBedResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.AssignBedResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.AssignBedResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.AssignBedResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5675,11 +5675,11 @@ proto.proto.services.task_svc.v1.AssignBedResponse.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.AssignBedResponse} message + * @param {!proto.services.task_svc.v1.AssignBedResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AssignBedResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.AssignBedResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -5700,8 +5700,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UnassignBedRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UnassignBedRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UnassignBedRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UnassignBedRequest.toObject(opt_includeInstance, this); }; @@ -5710,11 +5710,11 @@ proto.proto.services.task_svc.v1.UnassignBedRequest.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UnassignBedRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UnassignBedRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnassignBedRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UnassignBedRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -5730,23 +5730,23 @@ proto.proto.services.task_svc.v1.UnassignBedRequest.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UnassignBedRequest} + * @return {!proto.services.task_svc.v1.UnassignBedRequest} */ -proto.proto.services.task_svc.v1.UnassignBedRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UnassignBedRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UnassignBedRequest; - return proto.proto.services.task_svc.v1.UnassignBedRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UnassignBedRequest; + return proto.services.task_svc.v1.UnassignBedRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UnassignBedRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UnassignBedRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UnassignBedRequest} + * @return {!proto.services.task_svc.v1.UnassignBedRequest} */ -proto.proto.services.task_svc.v1.UnassignBedRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UnassignBedRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5770,9 +5770,9 @@ proto.proto.services.task_svc.v1.UnassignBedRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UnassignBedRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UnassignBedRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UnassignBedRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UnassignBedRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5780,11 +5780,11 @@ proto.proto.services.task_svc.v1.UnassignBedRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UnassignBedRequest} message + * @param {!proto.services.task_svc.v1.UnassignBedRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnassignBedRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UnassignBedRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -5800,16 +5800,16 @@ proto.proto.services.task_svc.v1.UnassignBedRequest.serializeBinaryToWriter = fu * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.UnassignBedRequest.prototype.getId = function() { +proto.services.task_svc.v1.UnassignBedRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UnassignBedRequest} returns this + * @return {!proto.services.task_svc.v1.UnassignBedRequest} returns this */ -proto.proto.services.task_svc.v1.UnassignBedRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.UnassignBedRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5830,8 +5830,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UnassignBedResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UnassignBedResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UnassignBedResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UnassignBedResponse.toObject(opt_includeInstance, this); }; @@ -5840,11 +5840,11 @@ proto.proto.services.task_svc.v1.UnassignBedResponse.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UnassignBedResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UnassignBedResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnassignBedResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UnassignBedResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -5860,23 +5860,23 @@ proto.proto.services.task_svc.v1.UnassignBedResponse.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UnassignBedResponse} + * @return {!proto.services.task_svc.v1.UnassignBedResponse} */ -proto.proto.services.task_svc.v1.UnassignBedResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UnassignBedResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UnassignBedResponse; - return proto.proto.services.task_svc.v1.UnassignBedResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UnassignBedResponse; + return proto.services.task_svc.v1.UnassignBedResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UnassignBedResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UnassignBedResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UnassignBedResponse} + * @return {!proto.services.task_svc.v1.UnassignBedResponse} */ -proto.proto.services.task_svc.v1.UnassignBedResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UnassignBedResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5896,9 +5896,9 @@ proto.proto.services.task_svc.v1.UnassignBedResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UnassignBedResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UnassignBedResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UnassignBedResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UnassignBedResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5906,11 +5906,11 @@ proto.proto.services.task_svc.v1.UnassignBedResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UnassignBedResponse} message + * @param {!proto.services.task_svc.v1.UnassignBedResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnassignBedResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UnassignBedResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -5931,8 +5931,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DischargePatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DischargePatientRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DischargePatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DischargePatientRequest.toObject(opt_includeInstance, this); }; @@ -5941,11 +5941,11 @@ proto.proto.services.task_svc.v1.DischargePatientRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DischargePatientRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DischargePatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DischargePatientRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DischargePatientRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -5961,23 +5961,23 @@ proto.proto.services.task_svc.v1.DischargePatientRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DischargePatientRequest} + * @return {!proto.services.task_svc.v1.DischargePatientRequest} */ -proto.proto.services.task_svc.v1.DischargePatientRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DischargePatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DischargePatientRequest; - return proto.proto.services.task_svc.v1.DischargePatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DischargePatientRequest; + return proto.services.task_svc.v1.DischargePatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DischargePatientRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DischargePatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DischargePatientRequest} + * @return {!proto.services.task_svc.v1.DischargePatientRequest} */ -proto.proto.services.task_svc.v1.DischargePatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DischargePatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6001,9 +6001,9 @@ proto.proto.services.task_svc.v1.DischargePatientRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DischargePatientRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DischargePatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DischargePatientRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DischargePatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6011,11 +6011,11 @@ proto.proto.services.task_svc.v1.DischargePatientRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DischargePatientRequest} message + * @param {!proto.services.task_svc.v1.DischargePatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DischargePatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DischargePatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -6031,16 +6031,16 @@ proto.proto.services.task_svc.v1.DischargePatientRequest.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.DischargePatientRequest.prototype.getId = function() { +proto.services.task_svc.v1.DischargePatientRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.DischargePatientRequest} returns this + * @return {!proto.services.task_svc.v1.DischargePatientRequest} returns this */ -proto.proto.services.task_svc.v1.DischargePatientRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.DischargePatientRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -6061,8 +6061,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DischargePatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DischargePatientResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DischargePatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DischargePatientResponse.toObject(opt_includeInstance, this); }; @@ -6071,11 +6071,11 @@ proto.proto.services.task_svc.v1.DischargePatientResponse.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DischargePatientResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DischargePatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DischargePatientResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DischargePatientResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -6091,23 +6091,23 @@ proto.proto.services.task_svc.v1.DischargePatientResponse.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DischargePatientResponse} + * @return {!proto.services.task_svc.v1.DischargePatientResponse} */ -proto.proto.services.task_svc.v1.DischargePatientResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DischargePatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DischargePatientResponse; - return proto.proto.services.task_svc.v1.DischargePatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DischargePatientResponse; + return proto.services.task_svc.v1.DischargePatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DischargePatientResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DischargePatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DischargePatientResponse} + * @return {!proto.services.task_svc.v1.DischargePatientResponse} */ -proto.proto.services.task_svc.v1.DischargePatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DischargePatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6127,9 +6127,9 @@ proto.proto.services.task_svc.v1.DischargePatientResponse.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DischargePatientResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DischargePatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DischargePatientResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DischargePatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6137,11 +6137,11 @@ proto.proto.services.task_svc.v1.DischargePatientResponse.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DischargePatientResponse} message + * @param {!proto.services.task_svc.v1.DischargePatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DischargePatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DischargePatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -6162,8 +6162,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientDetailsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientDetailsRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientDetailsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientDetailsRequest.toObject(opt_includeInstance, this); }; @@ -6172,11 +6172,11 @@ proto.proto.services.task_svc.v1.GetPatientDetailsRequest.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientDetailsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientDetailsRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -6192,23 +6192,23 @@ proto.proto.services.task_svc.v1.GetPatientDetailsRequest.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsRequest} + * @return {!proto.services.task_svc.v1.GetPatientDetailsRequest} */ -proto.proto.services.task_svc.v1.GetPatientDetailsRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientDetailsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientDetailsRequest; - return proto.proto.services.task_svc.v1.GetPatientDetailsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientDetailsRequest; + return proto.services.task_svc.v1.GetPatientDetailsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientDetailsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsRequest} + * @return {!proto.services.task_svc.v1.GetPatientDetailsRequest} */ -proto.proto.services.task_svc.v1.GetPatientDetailsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientDetailsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6232,9 +6232,9 @@ proto.proto.services.task_svc.v1.GetPatientDetailsRequest.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientDetailsRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientDetailsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientDetailsRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientDetailsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6242,11 +6242,11 @@ proto.proto.services.task_svc.v1.GetPatientDetailsRequest.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsRequest} message + * @param {!proto.services.task_svc.v1.GetPatientDetailsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientDetailsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -6262,16 +6262,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsRequest.serializeBinaryToWrite * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsRequest.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientDetailsRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsRequest} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsRequest} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientDetailsRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -6282,7 +6282,7 @@ proto.proto.services.task_svc.v1.GetPatientDetailsRequest.prototype.setId = func * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.repeatedFields_ = [5]; +proto.services.task_svc.v1.GetPatientDetailsResponse.repeatedFields_ = [5]; @@ -6299,8 +6299,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientDetailsResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientDetailsResponse.toObject(opt_includeInstance, this); }; @@ -6309,21 +6309,21 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientDetailsResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 3, ""), notes: jspb.Message.getFieldWithDefault(msg, 4, ""), tasksList: jspb.Message.toObjectList(msg.getTasksList(), - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.toObject, includeInstance), + proto.services.task_svc.v1.GetPatientDetailsResponse.Task.toObject, includeInstance), wardId: jspb.Message.getFieldWithDefault(msg, 6, ""), - room: (f = msg.getRoom()) && proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.toObject(includeInstance, f), - bed: (f = msg.getBed()) && proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.toObject(includeInstance, f), + room: (f = msg.getRoom()) && proto.services.task_svc.v1.GetPatientDetailsResponse.Room.toObject(includeInstance, f), + bed: (f = msg.getBed()) && proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.toObject(includeInstance, f), isDischarged: jspb.Message.getBooleanFieldWithDefault(msg, 9, false) }; @@ -6338,23 +6338,23 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientDetailsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientDetailsResponse; - return proto.proto.services.task_svc.v1.GetPatientDetailsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientDetailsResponse; + return proto.services.task_svc.v1.GetPatientDetailsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientDetailsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6378,8 +6378,8 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.deserializeBinaryFrom msg.setNotes(value); break; case 5: - var value = new proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientDetailsResponse.Task; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientDetailsResponse.Task.deserializeBinaryFromReader); msg.addTasks(value); break; case 6: @@ -6387,13 +6387,13 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.deserializeBinaryFrom msg.setWardId(value); break; case 7: - var value = new proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientDetailsResponse.Room; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientDetailsResponse.Room.deserializeBinaryFromReader); msg.setRoom(value); break; case 8: - var value = new proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientDetailsResponse.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.deserializeBinaryFromReader); msg.setBed(value); break; case 9: @@ -6413,9 +6413,9 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientDetailsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6423,11 +6423,11 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} message + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientDetailsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -6462,7 +6462,7 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.serializeBinaryToWrit writer.writeRepeatedMessage( 5, f, - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientDetailsResponse.Task.serializeBinaryToWriter ); } f = /** @type {string} */ (jspb.Message.getField(message, 6)); @@ -6477,7 +6477,7 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.serializeBinaryToWrit writer.writeMessage( 7, f, - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientDetailsResponse.Room.serializeBinaryToWriter ); } f = message.getBed(); @@ -6485,7 +6485,7 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.serializeBinaryToWrit writer.writeMessage( 8, f, - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.serializeBinaryToWriter ); } f = message.getIsDischarged(); @@ -6501,7 +6501,7 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.serializeBinaryToWrit /** * @enum {number} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus = { +proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus = { TASK_STATUS_UNSPECIFIED: 0, TASK_STATUS_TODO: 1, TASK_STATUS_IN_PROGRESS: 2, @@ -6524,8 +6524,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientDetailsResponse.Room.toObject(opt_includeInstance, this); }; @@ -6534,11 +6534,11 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -6556,23 +6556,23 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room; - return proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientDetailsResponse.Room; + return proto.services.task_svc.v1.GetPatientDetailsResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6604,9 +6604,9 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientDetailsResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6614,11 +6614,11 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room} message + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -6648,16 +6648,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.serializeBinaryT * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -6666,16 +6666,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.setId * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -6684,16 +6684,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.setNam * optional string ward_id = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.getWardId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Room.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -6714,8 +6714,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.toObject(opt_includeInstance, this); }; @@ -6724,11 +6724,11 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.toObjec * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -6745,23 +6745,23 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.toObject = functi /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed; - return proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientDetailsResponse.Bed; + return proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6789,9 +6789,9 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.deserializeBinary * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6799,11 +6799,11 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.seriali /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} message + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -6826,16 +6826,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.serializeBinaryTo * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -6844,16 +6844,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.setId = * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -6864,7 +6864,7 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed.prototype.setName * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.repeatedFields_ = [8]; +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.repeatedFields_ = [8]; @@ -6881,8 +6881,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientDetailsResponse.Task.toObject(opt_includeInstance, this); }; @@ -6891,11 +6891,11 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -6905,7 +6905,7 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.toObject = funct patientId: jspb.Message.getFieldWithDefault(msg, 6, ""), pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.toObject, includeInstance) + proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.toObject, includeInstance) }; if (includeInstance) { @@ -6919,23 +6919,23 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task; - return proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientDetailsResponse.Task; + return proto.services.task_svc.v1.GetPatientDetailsResponse.Task.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6955,7 +6955,7 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.deserializeBinar msg.setDescription(value); break; case 4: - var value = /** @type {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus} */ (reader.readEnum()); + var value = /** @type {!proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus} */ (reader.readEnum()); msg.setStatus(value); break; case 5: @@ -6971,8 +6971,8 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.deserializeBinar msg.setPublic(value); break; case 8: - var value = new proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.deserializeBinaryFromReader); msg.addSubtasks(value); break; default: @@ -6988,9 +6988,9 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientDetailsResponse.Task.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6998,11 +6998,11 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} message + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -7058,7 +7058,7 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.serializeBinaryT writer.writeRepeatedMessage( 8, f, - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.serializeBinaryToWriter ); } }; @@ -7080,8 +7080,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.toObject(opt_includeInstance, this); }; @@ -7090,11 +7090,11 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototyp * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -7112,23 +7112,23 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.toObject /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask; - return proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask; + return proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7160,9 +7160,9 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.deserial * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7170,11 +7170,11 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototyp /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} message + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -7204,16 +7204,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.serializ * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -7222,16 +7222,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototyp * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -7240,16 +7240,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototyp * optional bool done = 3; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.getDone = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.getDone = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.setDone = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototype.setDone = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -7258,16 +7258,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask.prototyp * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -7276,16 +7276,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setId * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -7294,34 +7294,34 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setNam * optional string description = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getDescription = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setDescription = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional TaskStatus status = 4; - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getStatus = function() { - return /** @type {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getStatus = function() { + return /** @type {!proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatus} value + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setStatus = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setStatus = function(value) { return jspb.Message.setProto3EnumField(this, 4, value); }; @@ -7330,25 +7330,25 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setSta * optional string assigned_user_id = 5; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getAssignedUserId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getAssignedUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setAssignedUserId = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setAssignedUserId = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.clearAssignedUserId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.clearAssignedUserId = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -7357,7 +7357,7 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.clearA * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.hasAssignedUserId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.hasAssignedUserId = function() { return jspb.Message.getField(this, 5) != null; }; @@ -7366,16 +7366,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.hasAss * optional string patient_id = 6; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getPatientId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getPatientId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setPatientId = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setPatientId = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; @@ -7384,54 +7384,54 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setPat * optional bool public = 7; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getPublic = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setPublic = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setPublic = function(value) { return jspb.Message.setProto3BooleanField(this, 7, value); }; /** * repeated SubTask subtasks = 8; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask, 8)); +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask, 8)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setSubtasksList = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 8, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask=} opt_value + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask, opt_index); +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.clearSubtasksList = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; @@ -7440,16 +7440,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.prototype.clearS * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -7458,16 +7458,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setId = fun * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -7476,16 +7476,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setName = f * optional string human_readable_identifier = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getHumanReadableIdentifier = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setHumanReadableIdentifier = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -7494,54 +7494,54 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setHumanRea * optional string notes = 4; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getNotes = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getNotes = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setNotes = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setNotes = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; /** * repeated Task tasks = 5; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getTasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task, 5)); +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getTasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetPatientDetailsResponse.Task, 5)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setTasksList = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setTasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 5, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task=} opt_value + * @param {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task} + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse.Task} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.addTasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Task, opt_index); +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.addTasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.services.task_svc.v1.GetPatientDetailsResponse.Task, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearTasksList = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearTasksList = function() { return this.setTasksList([]); }; @@ -7550,25 +7550,25 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearTasksL * optional string ward_id = 6; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getWardId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setWardId = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearWardId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearWardId = function() { return jspb.Message.setField(this, 6, undefined); }; @@ -7577,35 +7577,35 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearWardId * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.hasWardId = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.hasWardId = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional Room room = 7; - * @return {?proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room} + * @return {?proto.services.task_svc.v1.GetPatientDetailsResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getRoom = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room, 7)); +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getRoom = function() { + return /** @type{?proto.services.task_svc.v1.GetPatientDetailsResponse.Room} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetPatientDetailsResponse.Room, 7)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Room|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @param {?proto.services.task_svc.v1.GetPatientDetailsResponse.Room|undefined} value + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setRoom = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setRoom = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearRoom = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearRoom = function() { return this.setRoom(undefined); }; @@ -7614,35 +7614,35 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearRoom = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.hasRoom = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.hasRoom = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional Bed bed = 8; - * @return {?proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} + * @return {?proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getBed = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed, 8)); +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getBed = function() { + return /** @type{?proto.services.task_svc.v1.GetPatientDetailsResponse.Bed} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetPatientDetailsResponse.Bed, 8)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetPatientDetailsResponse.Bed|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @param {?proto.services.task_svc.v1.GetPatientDetailsResponse.Bed|undefined} value + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setBed = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setBed = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearBed = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearBed = function() { return this.setBed(undefined); }; @@ -7651,7 +7651,7 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.clearBed = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.hasBed = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.hasBed = function() { return jspb.Message.getField(this, 8) != null; }; @@ -7660,16 +7660,16 @@ proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.hasBed = fu * optional bool is_discharged = 9; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getIsDischarged = function() { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.getIsDischarged = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetPatientDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setIsDischarged = function(value) { +proto.services.task_svc.v1.GetPatientDetailsResponse.prototype.setIsDischarged = function(value) { return jspb.Message.setProto3BooleanField(this, 9, value); }; @@ -7690,8 +7690,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientListRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientListRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientListRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientListRequest.toObject(opt_includeInstance, this); }; @@ -7700,11 +7700,11 @@ proto.proto.services.task_svc.v1.GetPatientListRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientListRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientListRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientListRequest.toObject = function(includeInstance, msg) { var f, obj = { wardId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -7720,23 +7720,23 @@ proto.proto.services.task_svc.v1.GetPatientListRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientListRequest} + * @return {!proto.services.task_svc.v1.GetPatientListRequest} */ -proto.proto.services.task_svc.v1.GetPatientListRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientListRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientListRequest; - return proto.proto.services.task_svc.v1.GetPatientListRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientListRequest; + return proto.services.task_svc.v1.GetPatientListRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientListRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientListRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientListRequest} + * @return {!proto.services.task_svc.v1.GetPatientListRequest} */ -proto.proto.services.task_svc.v1.GetPatientListRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientListRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7760,9 +7760,9 @@ proto.proto.services.task_svc.v1.GetPatientListRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientListRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientListRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientListRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientListRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7770,11 +7770,11 @@ proto.proto.services.task_svc.v1.GetPatientListRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientListRequest} message + * @param {!proto.services.task_svc.v1.GetPatientListRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientListRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { @@ -7790,25 +7790,25 @@ proto.proto.services.task_svc.v1.GetPatientListRequest.serializeBinaryToWriter = * optional string ward_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListRequest.prototype.getWardId = function() { +proto.services.task_svc.v1.GetPatientListRequest.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListRequest} returns this + * @return {!proto.services.task_svc.v1.GetPatientListRequest} returns this */ -proto.proto.services.task_svc.v1.GetPatientListRequest.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetPatientListRequest.prototype.setWardId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientListRequest} returns this + * @return {!proto.services.task_svc.v1.GetPatientListRequest} returns this */ -proto.proto.services.task_svc.v1.GetPatientListRequest.prototype.clearWardId = function() { +proto.services.task_svc.v1.GetPatientListRequest.prototype.clearWardId = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -7817,7 +7817,7 @@ proto.proto.services.task_svc.v1.GetPatientListRequest.prototype.clearWardId = f * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientListRequest.prototype.hasWardId = function() { +proto.services.task_svc.v1.GetPatientListRequest.prototype.hasWardId = function() { return jspb.Message.getField(this, 1) != null; }; @@ -7828,7 +7828,7 @@ proto.proto.services.task_svc.v1.GetPatientListRequest.prototype.hasWardId = fun * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetPatientListResponse.repeatedFields_ = [1,2,3]; +proto.services.task_svc.v1.GetPatientListResponse.repeatedFields_ = [1,2,3]; @@ -7845,8 +7845,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientListResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientListResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientListResponse.toObject(opt_includeInstance, this); }; @@ -7855,18 +7855,18 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientListResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientListResponse.toObject = function(includeInstance, msg) { var f, obj = { activeList: jspb.Message.toObjectList(msg.getActiveList(), - proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.toObject, includeInstance), + proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.toObject, includeInstance), unassignedPatientsList: jspb.Message.toObjectList(msg.getUnassignedPatientsList(), - proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.toObject, includeInstance), + proto.services.task_svc.v1.GetPatientListResponse.Patient.toObject, includeInstance), dischargedPatientsList: jspb.Message.toObjectList(msg.getDischargedPatientsList(), - proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.toObject, includeInstance) + proto.services.task_svc.v1.GetPatientListResponse.Patient.toObject, includeInstance) }; if (includeInstance) { @@ -7880,23 +7880,23 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse} + * @return {!proto.services.task_svc.v1.GetPatientListResponse} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientListResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientListResponse; - return proto.proto.services.task_svc.v1.GetPatientListResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientListResponse; + return proto.services.task_svc.v1.GetPatientListResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientListResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse} + * @return {!proto.services.task_svc.v1.GetPatientListResponse} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientListResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7904,18 +7904,18 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.deserializeBinaryFromRea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.deserializeBinaryFromReader); msg.addActive(value); break; case 2: - var value = new proto.proto.services.task_svc.v1.GetPatientListResponse.Patient; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientListResponse.Patient; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinaryFromReader); msg.addUnassignedPatients(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetPatientListResponse.Patient; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientListResponse.Patient; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinaryFromReader); msg.addDischargedPatients(value); break; default: @@ -7931,9 +7931,9 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientListResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientListResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientListResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7941,18 +7941,18 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse} message + * @param {!proto.services.task_svc.v1.GetPatientListResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientListResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getActiveList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.serializeBinaryToWriter ); } f = message.getUnassignedPatientsList(); @@ -7960,7 +7960,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.serializeBinaryToWriter writer.writeRepeatedMessage( 2, f, - proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientListResponse.Patient.serializeBinaryToWriter ); } f = message.getDischargedPatientsList(); @@ -7968,7 +7968,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.serializeBinaryToWriter writer.writeRepeatedMessage( 3, f, - proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientListResponse.Patient.serializeBinaryToWriter ); } }; @@ -7977,7 +7977,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.serializeBinaryToWriter /** * @enum {number} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.TaskStatus = { +proto.services.task_svc.v1.GetPatientListResponse.TaskStatus = { TASK_STATUS_UNSPECIFIED: 0, TASK_STATUS_TODO: 1, TASK_STATUS_IN_PROGRESS: 2, @@ -7990,7 +7990,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.TaskStatus = { * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.repeatedFields_ = [4]; +proto.services.task_svc.v1.GetPatientListResponse.Patient.repeatedFields_ = [4]; @@ -8007,8 +8007,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientListResponse.Patient.toObject(opt_includeInstance, this); }; @@ -8017,17 +8017,17 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Patient} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientListResponse.Patient.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), notes: jspb.Message.getFieldWithDefault(msg, 3, ""), tasksList: jspb.Message.toObjectList(msg.getTasksList(), - proto.proto.services.task_svc.v1.GetPatientListResponse.Task.toObject, includeInstance) + proto.services.task_svc.v1.GetPatientListResponse.Task.toObject, includeInstance) }; if (includeInstance) { @@ -8041,23 +8041,23 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Patient} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientListResponse.Patient; - return proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientListResponse.Patient; + return proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Patient} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Patient} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8077,8 +8077,8 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinar msg.setNotes(value); break; case 4: - var value = new proto.proto.services.task_svc.v1.GetPatientListResponse.Task; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientListResponse.Task; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinaryFromReader); msg.addTasks(value); break; default: @@ -8094,9 +8094,9 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientListResponse.Patient.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8104,11 +8104,11 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} message + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Patient} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientListResponse.Patient.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -8136,7 +8136,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.serializeBinaryT writer.writeRepeatedMessage( 4, f, - proto.proto.services.task_svc.v1.GetPatientListResponse.Task.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientListResponse.Task.serializeBinaryToWriter ); } }; @@ -8146,16 +8146,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.serializeBinaryT * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -8164,16 +8164,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.setId * optional string human_readable_identifier = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.getHumanReadableIdentifier = function() { +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.setHumanReadableIdentifier = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -8182,54 +8182,54 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.setHum * optional string notes = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.getNotes = function() { +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.getNotes = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.setNotes = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.setNotes = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * repeated Task tasks = 4; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.getTasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetPatientListResponse.Task, 4)); +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.getTasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetPatientListResponse.Task, 4)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.setTasksList = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.setTasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 4, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task=} opt_value + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Task=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.addTasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.proto.services.task_svc.v1.GetPatientListResponse.Task, opt_index); +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.addTasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.services.task_svc.v1.GetPatientListResponse.Task, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.clearTasksList = function() { +proto.services.task_svc.v1.GetPatientListResponse.Patient.prototype.clearTasksList = function() { return this.setTasksList([]); }; @@ -8250,8 +8250,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientListResponse.Bed.toObject(opt_includeInstance, this); }; @@ -8260,11 +8260,11 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientListResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -8281,23 +8281,23 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Bed} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Bed} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientListResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientListResponse.Bed; - return proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientListResponse.Bed; + return proto.services.task_svc.v1.GetPatientListResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Bed} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Bed} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientListResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8325,9 +8325,9 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientListResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8335,11 +8335,11 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Bed} message + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientListResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -8362,16 +8362,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.serializeBinaryToWri * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -8380,16 +8380,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.setId = fu * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -8410,8 +8410,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientListResponse.Room.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientListResponse.Room.toObject(opt_includeInstance, this); }; @@ -8420,11 +8420,11 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Room} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientListResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -8442,23 +8442,23 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Room.toObject = function /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Room} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientListResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientListResponse.Room; - return proto.proto.services.task_svc.v1.GetPatientListResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientListResponse.Room; + return proto.services.task_svc.v1.GetPatientListResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Room} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientListResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8490,9 +8490,9 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Room.deserializeBinaryFr * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientListResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientListResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8500,11 +8500,11 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.serialize /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Room} message + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientListResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -8534,16 +8534,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Room.serializeBinaryToWr * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -8552,16 +8552,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.setId = f * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -8570,16 +8570,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.setName = * optional string ward_id = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.getWardId = function() { +proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -8590,7 +8590,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Room.prototype.setWardId * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.repeatedFields_ = [6]; +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.repeatedFields_ = [6]; @@ -8607,8 +8607,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.toObject(opt_includeInstance, this); }; @@ -8617,19 +8617,19 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.pr * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), - room: (f = msg.getRoom()) && proto.proto.services.task_svc.v1.GetPatientListResponse.Room.toObject(includeInstance, f), - bed: (f = msg.getBed()) && proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.toObject(includeInstance, f), + room: (f = msg.getRoom()) && proto.services.task_svc.v1.GetPatientListResponse.Room.toObject(includeInstance, f), + bed: (f = msg.getBed()) && proto.services.task_svc.v1.GetPatientListResponse.Bed.toObject(includeInstance, f), notes: jspb.Message.getFieldWithDefault(msg, 5, ""), tasksList: jspb.Message.toObjectList(msg.getTasksList(), - proto.proto.services.task_svc.v1.GetPatientListResponse.Task.toObject, includeInstance) + proto.services.task_svc.v1.GetPatientListResponse.Task.toObject, includeInstance) }; if (includeInstance) { @@ -8643,23 +8643,23 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.to /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed; - return proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed; + return proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8675,13 +8675,13 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.de msg.setHumanReadableIdentifier(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetPatientListResponse.Room; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientListResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientListResponse.Room; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientListResponse.Room.deserializeBinaryFromReader); msg.setRoom(value); break; case 4: - var value = new proto.proto.services.task_svc.v1.GetPatientListResponse.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientListResponse.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientListResponse.Bed.deserializeBinaryFromReader); msg.setBed(value); break; case 5: @@ -8689,8 +8689,8 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.de msg.setNotes(value); break; case 6: - var value = new proto.proto.services.task_svc.v1.GetPatientListResponse.Task; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientListResponse.Task; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinaryFromReader); msg.addTasks(value); break; default: @@ -8706,9 +8706,9 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.de * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8716,11 +8716,11 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.pr /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} message + * @param {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -8741,7 +8741,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.se writer.writeMessage( 3, f, - proto.proto.services.task_svc.v1.GetPatientListResponse.Room.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientListResponse.Room.serializeBinaryToWriter ); } f = message.getBed(); @@ -8749,7 +8749,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.se writer.writeMessage( 4, f, - proto.proto.services.task_svc.v1.GetPatientListResponse.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientListResponse.Bed.serializeBinaryToWriter ); } f = message.getNotes(); @@ -8764,7 +8764,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.se writer.writeRepeatedMessage( 6, f, - proto.proto.services.task_svc.v1.GetPatientListResponse.Task.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientListResponse.Task.serializeBinaryToWriter ); } }; @@ -8774,16 +8774,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.se * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -8792,44 +8792,44 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.pr * optional string human_readable_identifier = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getHumanReadableIdentifier = function() { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setHumanReadableIdentifier = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional Room room = 3; - * @return {?proto.proto.services.task_svc.v1.GetPatientListResponse.Room} + * @return {?proto.services.task_svc.v1.GetPatientListResponse.Room} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getRoom = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetPatientListResponse.Room} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetPatientListResponse.Room, 3)); +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getRoom = function() { + return /** @type{?proto.services.task_svc.v1.GetPatientListResponse.Room} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetPatientListResponse.Room, 3)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetPatientListResponse.Room|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this + * @param {?proto.services.task_svc.v1.GetPatientListResponse.Room|undefined} value + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setRoom = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setRoom = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.clearRoom = function() { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.clearRoom = function() { return this.setRoom(undefined); }; @@ -8838,35 +8838,35 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.pr * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.hasRoom = function() { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.hasRoom = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional Bed bed = 4; - * @return {?proto.proto.services.task_svc.v1.GetPatientListResponse.Bed} + * @return {?proto.services.task_svc.v1.GetPatientListResponse.Bed} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getBed = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetPatientListResponse.Bed} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetPatientListResponse.Bed, 4)); +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getBed = function() { + return /** @type{?proto.services.task_svc.v1.GetPatientListResponse.Bed} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetPatientListResponse.Bed, 4)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetPatientListResponse.Bed|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this + * @param {?proto.services.task_svc.v1.GetPatientListResponse.Bed|undefined} value + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setBed = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setBed = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.clearBed = function() { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.clearBed = function() { return this.setBed(undefined); }; @@ -8875,7 +8875,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.pr * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.hasBed = function() { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.hasBed = function() { return jspb.Message.getField(this, 4) != null; }; @@ -8884,54 +8884,54 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.pr * optional string notes = 5; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getNotes = function() { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getNotes = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setNotes = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setNotes = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; /** * repeated Task tasks = 6; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getTasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetPatientListResponse.Task, 6)); +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.getTasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetPatientListResponse.Task, 6)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setTasksList = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.setTasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 6, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task=} opt_value + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Task=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.addTasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.proto.services.task_svc.v1.GetPatientListResponse.Task, opt_index); +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.addTasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.services.task_svc.v1.GetPatientListResponse.Task, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.clearTasksList = function() { +proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.prototype.clearTasksList = function() { return this.setTasksList([]); }; @@ -8942,7 +8942,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed.pr * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.repeatedFields_ = [8]; +proto.services.task_svc.v1.GetPatientListResponse.Task.repeatedFields_ = [8]; @@ -8959,8 +8959,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientListResponse.Task.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientListResponse.Task.toObject(opt_includeInstance, this); }; @@ -8969,11 +8969,11 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Task} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientListResponse.Task.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -8983,7 +8983,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.toObject = function patientId: jspb.Message.getFieldWithDefault(msg, 6, ""), pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.toObject, includeInstance) + proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.toObject, includeInstance) }; if (includeInstance) { @@ -8997,23 +8997,23 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.toObject = function /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientListResponse.Task; - return proto.proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientListResponse.Task; + return proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Task} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9033,7 +9033,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinaryFr msg.setDescription(value); break; case 4: - var value = /** @type {!proto.proto.services.task_svc.v1.GetPatientListResponse.TaskStatus} */ (reader.readEnum()); + var value = /** @type {!proto.services.task_svc.v1.GetPatientListResponse.TaskStatus} */ (reader.readEnum()); msg.setStatus(value); break; case 5: @@ -9049,8 +9049,8 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinaryFr msg.setPublic(value); break; case 8: - var value = new proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask; + reader.readMessage(value,proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.deserializeBinaryFromReader); msg.addSubtasks(value); break; default: @@ -9066,9 +9066,9 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.deserializeBinaryFr * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientListResponse.Task.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientListResponse.Task.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9076,11 +9076,11 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.serialize /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} message + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Task} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientListResponse.Task.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -9136,7 +9136,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.serializeBinaryToWr writer.writeRepeatedMessage( 8, f, - proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.serializeBinaryToWriter + proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.serializeBinaryToWriter ); } }; @@ -9158,8 +9158,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.toObject(opt_includeInstance, this); }; @@ -9168,11 +9168,11 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.t * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -9190,23 +9190,23 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.toObject = /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask; - return proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask; + return proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9238,9 +9238,9 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.deserialize * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9248,11 +9248,11 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.s /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} message + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -9282,16 +9282,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.serializeBi * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -9300,16 +9300,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.s * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -9318,16 +9318,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.s * optional bool done = 3; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.getDone = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.getDone = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.setDone = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.setDone = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -9336,16 +9336,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask.prototype.s * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getId = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setId = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -9354,16 +9354,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setId = f * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getName = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setName = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -9372,34 +9372,34 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setName = * optional string description = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getDescription = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setDescription = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional TaskStatus status = 4; - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.TaskStatus} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.TaskStatus} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getStatus = function() { - return /** @type {!proto.proto.services.task_svc.v1.GetPatientListResponse.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getStatus = function() { + return /** @type {!proto.services.task_svc.v1.GetPatientListResponse.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.TaskStatus} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} returns this + * @param {!proto.services.task_svc.v1.GetPatientListResponse.TaskStatus} value + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setStatus = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setStatus = function(value) { return jspb.Message.setProto3EnumField(this, 4, value); }; @@ -9408,25 +9408,25 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setStatus * optional string assigned_user_id = 5; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getAssignedUserId = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getAssignedUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setAssignedUserId = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setAssignedUserId = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.clearAssignedUserId = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.clearAssignedUserId = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -9435,7 +9435,7 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.clearAssi * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.hasAssignedUserId = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.hasAssignedUserId = function() { return jspb.Message.getField(this, 5) != null; }; @@ -9444,16 +9444,16 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.hasAssign * optional string patient_id = 6; * @return {string} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getPatientId = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getPatientId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setPatientId = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setPatientId = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; @@ -9462,168 +9462,168 @@ proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setPatien * optional bool public = 7; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getPublic = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setPublic = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setPublic = function(value) { return jspb.Message.setProto3BooleanField(this, 7, value); }; /** * repeated SubTask subtasks = 8; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask, 8)); +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask, 8)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setSubtasksList = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 8, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask=} opt_value + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask, opt_index); +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.services.task_svc.v1.GetPatientListResponse.Task.SubTask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.clearSubtasksList = function() { +proto.services.task_svc.v1.GetPatientListResponse.Task.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; /** * repeated PatientWithRoomAndBed active = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.getActiveList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed, 1)); +proto.services.task_svc.v1.GetPatientListResponse.prototype.getActiveList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetPatientListResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.setActiveList = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.prototype.setActiveList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed=} opt_value + * @param {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.addActive = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed, opt_index); +proto.services.task_svc.v1.GetPatientListResponse.prototype.addActive = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.clearActiveList = function() { +proto.services.task_svc.v1.GetPatientListResponse.prototype.clearActiveList = function() { return this.setActiveList([]); }; /** * repeated Patient unassigned_patients = 2; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.getUnassignedPatientsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetPatientListResponse.Patient, 2)); +proto.services.task_svc.v1.GetPatientListResponse.prototype.getUnassignedPatientsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetPatientListResponse.Patient, 2)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetPatientListResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.setUnassignedPatientsList = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.prototype.setUnassignedPatientsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient=} opt_value + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Patient=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Patient} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.addUnassignedPatients = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.proto.services.task_svc.v1.GetPatientListResponse.Patient, opt_index); +proto.services.task_svc.v1.GetPatientListResponse.prototype.addUnassignedPatients = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.services.task_svc.v1.GetPatientListResponse.Patient, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.clearUnassignedPatientsList = function() { +proto.services.task_svc.v1.GetPatientListResponse.prototype.clearUnassignedPatientsList = function() { return this.setUnassignedPatientsList([]); }; /** * repeated Patient discharged_patients = 3; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.getDischargedPatientsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetPatientListResponse.Patient, 3)); +proto.services.task_svc.v1.GetPatientListResponse.prototype.getDischargedPatientsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetPatientListResponse.Patient, 3)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetPatientListResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.setDischargedPatientsList = function(value) { +proto.services.task_svc.v1.GetPatientListResponse.prototype.setDischargedPatientsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient=} opt_value + * @param {!proto.services.task_svc.v1.GetPatientListResponse.Patient=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse.Patient} + * @return {!proto.services.task_svc.v1.GetPatientListResponse.Patient} */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.addDischargedPatients = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.task_svc.v1.GetPatientListResponse.Patient, opt_index); +proto.services.task_svc.v1.GetPatientListResponse.prototype.addDischargedPatients = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.task_svc.v1.GetPatientListResponse.Patient, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetPatientListResponse} returns this + * @return {!proto.services.task_svc.v1.GetPatientListResponse} returns this */ -proto.proto.services.task_svc.v1.GetPatientListResponse.prototype.clearDischargedPatientsList = function() { +proto.services.task_svc.v1.GetPatientListResponse.prototype.clearDischargedPatientsList = function() { return this.setDischargedPatientsList([]); }; @@ -9644,8 +9644,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.ReadmitPatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.ReadmitPatientRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.ReadmitPatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.ReadmitPatientRequest.toObject(opt_includeInstance, this); }; @@ -9654,11 +9654,11 @@ proto.proto.services.task_svc.v1.ReadmitPatientRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.ReadmitPatientRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.ReadmitPatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.ReadmitPatientRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.ReadmitPatientRequest.toObject = function(includeInstance, msg) { var f, obj = { patientId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -9674,23 +9674,23 @@ proto.proto.services.task_svc.v1.ReadmitPatientRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.ReadmitPatientRequest} + * @return {!proto.services.task_svc.v1.ReadmitPatientRequest} */ -proto.proto.services.task_svc.v1.ReadmitPatientRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.ReadmitPatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.ReadmitPatientRequest; - return proto.proto.services.task_svc.v1.ReadmitPatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.ReadmitPatientRequest; + return proto.services.task_svc.v1.ReadmitPatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.ReadmitPatientRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.ReadmitPatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.ReadmitPatientRequest} + * @return {!proto.services.task_svc.v1.ReadmitPatientRequest} */ -proto.proto.services.task_svc.v1.ReadmitPatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.ReadmitPatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9714,9 +9714,9 @@ proto.proto.services.task_svc.v1.ReadmitPatientRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.ReadmitPatientRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.ReadmitPatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.ReadmitPatientRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.ReadmitPatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9724,11 +9724,11 @@ proto.proto.services.task_svc.v1.ReadmitPatientRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.ReadmitPatientRequest} message + * @param {!proto.services.task_svc.v1.ReadmitPatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.ReadmitPatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.ReadmitPatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPatientId(); if (f.length > 0) { @@ -9744,16 +9744,16 @@ proto.proto.services.task_svc.v1.ReadmitPatientRequest.serializeBinaryToWriter = * optional string patient_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.ReadmitPatientRequest.prototype.getPatientId = function() { +proto.services.task_svc.v1.ReadmitPatientRequest.prototype.getPatientId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.ReadmitPatientRequest} returns this + * @return {!proto.services.task_svc.v1.ReadmitPatientRequest} returns this */ -proto.proto.services.task_svc.v1.ReadmitPatientRequest.prototype.setPatientId = function(value) { +proto.services.task_svc.v1.ReadmitPatientRequest.prototype.setPatientId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -9774,8 +9774,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.ReadmitPatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.ReadmitPatientResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.ReadmitPatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.ReadmitPatientResponse.toObject(opt_includeInstance, this); }; @@ -9784,11 +9784,11 @@ proto.proto.services.task_svc.v1.ReadmitPatientResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.ReadmitPatientResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.ReadmitPatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.ReadmitPatientResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.ReadmitPatientResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -9804,23 +9804,23 @@ proto.proto.services.task_svc.v1.ReadmitPatientResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.ReadmitPatientResponse} + * @return {!proto.services.task_svc.v1.ReadmitPatientResponse} */ -proto.proto.services.task_svc.v1.ReadmitPatientResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.ReadmitPatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.ReadmitPatientResponse; - return proto.proto.services.task_svc.v1.ReadmitPatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.ReadmitPatientResponse; + return proto.services.task_svc.v1.ReadmitPatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.ReadmitPatientResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.ReadmitPatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.ReadmitPatientResponse} + * @return {!proto.services.task_svc.v1.ReadmitPatientResponse} */ -proto.proto.services.task_svc.v1.ReadmitPatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.ReadmitPatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9840,9 +9840,9 @@ proto.proto.services.task_svc.v1.ReadmitPatientResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.ReadmitPatientResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.ReadmitPatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.ReadmitPatientResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.ReadmitPatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9850,13 +9850,13 @@ proto.proto.services.task_svc.v1.ReadmitPatientResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.ReadmitPatientResponse} message + * @param {!proto.services.task_svc.v1.ReadmitPatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.ReadmitPatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.ReadmitPatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; -goog.object.extend(exports, proto.proto.services.task_svc.v1); +goog.object.extend(exports, proto.services.task_svc.v1); diff --git a/gen/ts/services/task_svc/v1/room_svc_grpc_web_pb.d.ts b/gen/ts/services/task_svc/v1/room_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..1b50babf2 --- /dev/null +++ b/gen/ts/services/task_svc/v1/room_svc_grpc_web_pb.d.ts @@ -0,0 +1,103 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_task_svc_v1_room_svc_pb from '../../../services/task_svc/v1/room_svc_pb'; // proto import: "services/task_svc/v1/room_svc.proto" + + +export class RoomServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createRoom( + request: services_task_svc_v1_room_svc_pb.CreateRoomRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_room_svc_pb.CreateRoomResponse) => void + ): grpcWeb.ClientReadableStream; + + getRoom( + request: services_task_svc_v1_room_svc_pb.GetRoomRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_room_svc_pb.GetRoomResponse) => void + ): grpcWeb.ClientReadableStream; + + getRooms( + request: services_task_svc_v1_room_svc_pb.GetRoomsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_room_svc_pb.GetRoomsResponse) => void + ): grpcWeb.ClientReadableStream; + + getRoomsByWard( + request: services_task_svc_v1_room_svc_pb.GetRoomsByWardRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_room_svc_pb.GetRoomsByWardResponse) => void + ): grpcWeb.ClientReadableStream; + + updateRoom( + request: services_task_svc_v1_room_svc_pb.UpdateRoomRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_room_svc_pb.UpdateRoomResponse) => void + ): grpcWeb.ClientReadableStream; + + deleteRoom( + request: services_task_svc_v1_room_svc_pb.DeleteRoomRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_room_svc_pb.DeleteRoomResponse) => void + ): grpcWeb.ClientReadableStream; + + getRoomOverviewsByWard( + request: services_task_svc_v1_room_svc_pb.GetRoomOverviewsByWardRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_room_svc_pb.GetRoomOverviewsByWardResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class RoomServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createRoom( + request: services_task_svc_v1_room_svc_pb.CreateRoomRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getRoom( + request: services_task_svc_v1_room_svc_pb.GetRoomRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getRooms( + request: services_task_svc_v1_room_svc_pb.GetRoomsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getRoomsByWard( + request: services_task_svc_v1_room_svc_pb.GetRoomsByWardRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateRoom( + request: services_task_svc_v1_room_svc_pb.UpdateRoomRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + deleteRoom( + request: services_task_svc_v1_room_svc_pb.DeleteRoomRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getRoomOverviewsByWard( + request: services_task_svc_v1_room_svc_pb.GetRoomOverviewsByWardRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/services/task_svc/v1/room_svc_grpc_web_pb.js b/gen/ts/services/task_svc/v1/room_svc_grpc_web_pb.js new file mode 100644 index 000000000..4ff62d980 --- /dev/null +++ b/gen/ts/services/task_svc/v1/room_svc_grpc_web_pb.js @@ -0,0 +1,507 @@ +/** + * @fileoverview gRPC-Web generated client stub for services.task_svc.v1 + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.5.0 +// protoc v0.0.0 +// source: services/task_svc/v1/room_svc.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + +const proto = {}; +proto.services = {}; +proto.services.task_svc = {}; +proto.services.task_svc.v1 = require('./room_svc_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.RoomServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.RoomServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.CreateRoomRequest, + * !proto.services.task_svc.v1.CreateRoomResponse>} + */ +const methodDescriptor_RoomService_CreateRoom = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.RoomService/CreateRoom', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.CreateRoomRequest, + proto.services.task_svc.v1.CreateRoomResponse, + /** + * @param {!proto.services.task_svc.v1.CreateRoomRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.CreateRoomResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.CreateRoomRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.CreateRoomResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.RoomServiceClient.prototype.createRoom = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.RoomService/CreateRoom', + request, + metadata || {}, + methodDescriptor_RoomService_CreateRoom, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.CreateRoomRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.RoomServicePromiseClient.prototype.createRoom = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.RoomService/CreateRoom', + request, + metadata || {}, + methodDescriptor_RoomService_CreateRoom); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetRoomRequest, + * !proto.services.task_svc.v1.GetRoomResponse>} + */ +const methodDescriptor_RoomService_GetRoom = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.RoomService/GetRoom', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetRoomRequest, + proto.services.task_svc.v1.GetRoomResponse, + /** + * @param {!proto.services.task_svc.v1.GetRoomRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetRoomResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetRoomRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetRoomResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.RoomServiceClient.prototype.getRoom = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.RoomService/GetRoom', + request, + metadata || {}, + methodDescriptor_RoomService_GetRoom, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetRoomRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.RoomServicePromiseClient.prototype.getRoom = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.RoomService/GetRoom', + request, + metadata || {}, + methodDescriptor_RoomService_GetRoom); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetRoomsRequest, + * !proto.services.task_svc.v1.GetRoomsResponse>} + */ +const methodDescriptor_RoomService_GetRooms = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.RoomService/GetRooms', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetRoomsRequest, + proto.services.task_svc.v1.GetRoomsResponse, + /** + * @param {!proto.services.task_svc.v1.GetRoomsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetRoomsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetRoomsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetRoomsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.RoomServiceClient.prototype.getRooms = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.RoomService/GetRooms', + request, + metadata || {}, + methodDescriptor_RoomService_GetRooms, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetRoomsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.RoomServicePromiseClient.prototype.getRooms = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.RoomService/GetRooms', + request, + metadata || {}, + methodDescriptor_RoomService_GetRooms); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetRoomsByWardRequest, + * !proto.services.task_svc.v1.GetRoomsByWardResponse>} + */ +const methodDescriptor_RoomService_GetRoomsByWard = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.RoomService/GetRoomsByWard', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetRoomsByWardRequest, + proto.services.task_svc.v1.GetRoomsByWardResponse, + /** + * @param {!proto.services.task_svc.v1.GetRoomsByWardRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetRoomsByWardResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetRoomsByWardRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetRoomsByWardResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.RoomServiceClient.prototype.getRoomsByWard = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.RoomService/GetRoomsByWard', + request, + metadata || {}, + methodDescriptor_RoomService_GetRoomsByWard, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetRoomsByWardRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.RoomServicePromiseClient.prototype.getRoomsByWard = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.RoomService/GetRoomsByWard', + request, + metadata || {}, + methodDescriptor_RoomService_GetRoomsByWard); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.UpdateRoomRequest, + * !proto.services.task_svc.v1.UpdateRoomResponse>} + */ +const methodDescriptor_RoomService_UpdateRoom = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.RoomService/UpdateRoom', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.UpdateRoomRequest, + proto.services.task_svc.v1.UpdateRoomResponse, + /** + * @param {!proto.services.task_svc.v1.UpdateRoomRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.UpdateRoomResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.UpdateRoomRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.UpdateRoomResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.RoomServiceClient.prototype.updateRoom = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.RoomService/UpdateRoom', + request, + metadata || {}, + methodDescriptor_RoomService_UpdateRoom, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.UpdateRoomRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.RoomServicePromiseClient.prototype.updateRoom = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.RoomService/UpdateRoom', + request, + metadata || {}, + methodDescriptor_RoomService_UpdateRoom); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.DeleteRoomRequest, + * !proto.services.task_svc.v1.DeleteRoomResponse>} + */ +const methodDescriptor_RoomService_DeleteRoom = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.RoomService/DeleteRoom', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.DeleteRoomRequest, + proto.services.task_svc.v1.DeleteRoomResponse, + /** + * @param {!proto.services.task_svc.v1.DeleteRoomRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.DeleteRoomResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.DeleteRoomRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.DeleteRoomResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.RoomServiceClient.prototype.deleteRoom = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.RoomService/DeleteRoom', + request, + metadata || {}, + methodDescriptor_RoomService_DeleteRoom, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.DeleteRoomRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.RoomServicePromiseClient.prototype.deleteRoom = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.RoomService/DeleteRoom', + request, + metadata || {}, + methodDescriptor_RoomService_DeleteRoom); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetRoomOverviewsByWardRequest, + * !proto.services.task_svc.v1.GetRoomOverviewsByWardResponse>} + */ +const methodDescriptor_RoomService_GetRoomOverviewsByWard = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.RoomService/GetRoomOverviewsByWard', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetRoomOverviewsByWardRequest, + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse, + /** + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetRoomOverviewsByWardResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.RoomServiceClient.prototype.getRoomOverviewsByWard = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.RoomService/GetRoomOverviewsByWard', + request, + metadata || {}, + methodDescriptor_RoomService_GetRoomOverviewsByWard, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.RoomServicePromiseClient.prototype.getRoomOverviewsByWard = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.RoomService/GetRoomOverviewsByWard', + request, + metadata || {}, + methodDescriptor_RoomService_GetRoomOverviewsByWard); +}; + + +module.exports = proto.services.task_svc.v1; + diff --git a/gen/ts/proto/services/task_svc/v1/room_svc_pb.d.ts b/gen/ts/services/task_svc/v1/room_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/task_svc/v1/room_svc_pb.d.ts rename to gen/ts/services/task_svc/v1/room_svc_pb.d.ts diff --git a/gen/ts/proto/services/task_svc/v1/room_svc_pb.js b/gen/ts/services/task_svc/v1/room_svc_pb.js similarity index 58% rename from gen/ts/proto/services/task_svc/v1/room_svc_pb.js rename to gen/ts/services/task_svc/v1/room_svc_pb.js index e9d441832..1450368de 100644 --- a/gen/ts/proto/services/task_svc/v1/room_svc_pb.js +++ b/gen/ts/services/task_svc/v1/room_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/task_svc/v1/room_svc.proto +// source: services/task_svc/v1/room_svc.proto /** * @fileoverview * @enhanceable @@ -21,28 +21,28 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateRoomRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateRoomResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteRoomRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteRoomResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomsByWardRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomsByWardResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomsRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomsResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomsResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateRoomRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateRoomResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateRoomRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateRoomResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteRoomRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteRoomResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomOverviewsByWardRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomOverviewsByWardResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomResponse.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomsByWardRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomsByWardResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomsByWardResponse.Room', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomsRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomsResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomsResponse.Room', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRoomsResponse.Room.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateRoomRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateRoomResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -53,16 +53,16 @@ goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateRoomResponse', null, g * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateRoomRequest = function(opt_data) { +proto.services.task_svc.v1.CreateRoomRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateRoomRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateRoomRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateRoomRequest.displayName = 'proto.proto.services.task_svc.v1.CreateRoomRequest'; + proto.services.task_svc.v1.CreateRoomRequest.displayName = 'proto.services.task_svc.v1.CreateRoomRequest'; } /** * Generated by JsPbCodeGenerator. @@ -74,16 +74,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateRoomResponse = function(opt_data) { +proto.services.task_svc.v1.CreateRoomResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateRoomResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateRoomResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateRoomResponse.displayName = 'proto.proto.services.task_svc.v1.CreateRoomResponse'; + proto.services.task_svc.v1.CreateRoomResponse.displayName = 'proto.services.task_svc.v1.CreateRoomResponse'; } /** * Generated by JsPbCodeGenerator. @@ -95,16 +95,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomRequest = function(opt_data) { +proto.services.task_svc.v1.GetRoomRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomRequest.displayName = 'proto.proto.services.task_svc.v1.GetRoomRequest'; + proto.services.task_svc.v1.GetRoomRequest.displayName = 'proto.services.task_svc.v1.GetRoomRequest'; } /** * Generated by JsPbCodeGenerator. @@ -116,16 +116,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetRoomResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetRoomResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetRoomResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomResponse.displayName = 'proto.proto.services.task_svc.v1.GetRoomResponse'; + proto.services.task_svc.v1.GetRoomResponse.displayName = 'proto.services.task_svc.v1.GetRoomResponse'; } /** * Generated by JsPbCodeGenerator. @@ -137,16 +137,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomResponse.Bed = function(opt_data) { +proto.services.task_svc.v1.GetRoomResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomResponse.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomResponse.Bed.displayName = 'proto.proto.services.task_svc.v1.GetRoomResponse.Bed'; + proto.services.task_svc.v1.GetRoomResponse.Bed.displayName = 'proto.services.task_svc.v1.GetRoomResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -158,16 +158,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomsRequest = function(opt_data) { +proto.services.task_svc.v1.GetRoomsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomsRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomsRequest.displayName = 'proto.proto.services.task_svc.v1.GetRoomsRequest'; + proto.services.task_svc.v1.GetRoomsRequest.displayName = 'proto.services.task_svc.v1.GetRoomsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -179,16 +179,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetRoomsResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetRoomsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetRoomsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomsResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomsResponse.displayName = 'proto.proto.services.task_svc.v1.GetRoomsResponse'; + proto.services.task_svc.v1.GetRoomsResponse.displayName = 'proto.services.task_svc.v1.GetRoomsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -200,16 +200,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetRoomsResponse.Room.repeatedFields_, null); +proto.services.task_svc.v1.GetRoomsResponse.Room = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetRoomsResponse.Room.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomsResponse.Room, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomsResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomsResponse.Room.displayName = 'proto.proto.services.task_svc.v1.GetRoomsResponse.Room'; + proto.services.task_svc.v1.GetRoomsResponse.Room.displayName = 'proto.services.task_svc.v1.GetRoomsResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -221,16 +221,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed = function(opt_data) { +proto.services.task_svc.v1.GetRoomsResponse.Room.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomsResponse.Room.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.displayName = 'proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed'; + proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.displayName = 'proto.services.task_svc.v1.GetRoomsResponse.Room.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -242,16 +242,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomsByWardRequest = function(opt_data) { +proto.services.task_svc.v1.GetRoomsByWardRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomsByWardRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomsByWardRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomsByWardRequest.displayName = 'proto.proto.services.task_svc.v1.GetRoomsByWardRequest'; + proto.services.task_svc.v1.GetRoomsByWardRequest.displayName = 'proto.services.task_svc.v1.GetRoomsByWardRequest'; } /** * Generated by JsPbCodeGenerator. @@ -263,16 +263,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetRoomsByWardResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetRoomsByWardResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetRoomsByWardResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomsByWardResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomsByWardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomsByWardResponse.displayName = 'proto.proto.services.task_svc.v1.GetRoomsByWardResponse'; + proto.services.task_svc.v1.GetRoomsByWardResponse.displayName = 'proto.services.task_svc.v1.GetRoomsByWardResponse'; } /** * Generated by JsPbCodeGenerator. @@ -284,16 +284,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.repeatedFields_, null); +proto.services.task_svc.v1.GetRoomsByWardResponse.Room = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetRoomsByWardResponse.Room.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomsByWardResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.displayName = 'proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room'; + proto.services.task_svc.v1.GetRoomsByWardResponse.Room.displayName = 'proto.services.task_svc.v1.GetRoomsByWardResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -305,16 +305,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed = function(opt_data) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.displayName = 'proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed'; + proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.displayName = 'proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -326,16 +326,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateRoomRequest = function(opt_data) { +proto.services.task_svc.v1.UpdateRoomRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateRoomRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateRoomRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateRoomRequest.displayName = 'proto.proto.services.task_svc.v1.UpdateRoomRequest'; + proto.services.task_svc.v1.UpdateRoomRequest.displayName = 'proto.services.task_svc.v1.UpdateRoomRequest'; } /** * Generated by JsPbCodeGenerator. @@ -347,16 +347,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateRoomResponse = function(opt_data) { +proto.services.task_svc.v1.UpdateRoomResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateRoomResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateRoomResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateRoomResponse.displayName = 'proto.proto.services.task_svc.v1.UpdateRoomResponse'; + proto.services.task_svc.v1.UpdateRoomResponse.displayName = 'proto.services.task_svc.v1.UpdateRoomResponse'; } /** * Generated by JsPbCodeGenerator. @@ -368,16 +368,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteRoomRequest = function(opt_data) { +proto.services.task_svc.v1.DeleteRoomRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteRoomRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteRoomRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteRoomRequest.displayName = 'proto.proto.services.task_svc.v1.DeleteRoomRequest'; + proto.services.task_svc.v1.DeleteRoomRequest.displayName = 'proto.services.task_svc.v1.DeleteRoomRequest'; } /** * Generated by JsPbCodeGenerator. @@ -389,16 +389,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteRoomResponse = function(opt_data) { +proto.services.task_svc.v1.DeleteRoomResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteRoomResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteRoomResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteRoomResponse.displayName = 'proto.proto.services.task_svc.v1.DeleteRoomResponse'; + proto.services.task_svc.v1.DeleteRoomResponse.displayName = 'proto.services.task_svc.v1.DeleteRoomResponse'; } /** * Generated by JsPbCodeGenerator. @@ -410,16 +410,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest = function(opt_data) { +proto.services.task_svc.v1.GetRoomOverviewsByWardRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomOverviewsByWardRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.displayName = 'proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest'; + proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.displayName = 'proto.services.task_svc.v1.GetRoomOverviewsByWardRequest'; } /** * Generated by JsPbCodeGenerator. @@ -431,16 +431,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomOverviewsByWardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.displayName = 'proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse'; + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.displayName = 'proto.services.task_svc.v1.GetRoomOverviewsByWardResponse'; } /** * Generated by JsPbCodeGenerator. @@ -452,16 +452,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.repeatedFields_, null); +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.displayName = 'proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room'; + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.displayName = 'proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -473,16 +473,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed = function(opt_data) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.displayName = 'proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed'; + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.displayName = 'proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -494,16 +494,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient = function(opt_data) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.displayName = 'proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient'; + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.displayName = 'proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient'; } @@ -521,8 +521,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateRoomRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateRoomRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateRoomRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateRoomRequest.toObject(opt_includeInstance, this); }; @@ -531,11 +531,11 @@ proto.proto.services.task_svc.v1.CreateRoomRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateRoomRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateRoomRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateRoomRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateRoomRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), wardId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -552,23 +552,23 @@ proto.proto.services.task_svc.v1.CreateRoomRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateRoomRequest} + * @return {!proto.services.task_svc.v1.CreateRoomRequest} */ -proto.proto.services.task_svc.v1.CreateRoomRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateRoomRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateRoomRequest; - return proto.proto.services.task_svc.v1.CreateRoomRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateRoomRequest; + return proto.services.task_svc.v1.CreateRoomRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateRoomRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateRoomRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateRoomRequest} + * @return {!proto.services.task_svc.v1.CreateRoomRequest} */ -proto.proto.services.task_svc.v1.CreateRoomRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateRoomRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -596,9 +596,9 @@ proto.proto.services.task_svc.v1.CreateRoomRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateRoomRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateRoomRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateRoomRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateRoomRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -606,11 +606,11 @@ proto.proto.services.task_svc.v1.CreateRoomRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateRoomRequest} message + * @param {!proto.services.task_svc.v1.CreateRoomRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateRoomRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateRoomRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -633,16 +633,16 @@ proto.proto.services.task_svc.v1.CreateRoomRequest.serializeBinaryToWriter = fun * optional string name = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateRoomRequest.prototype.getName = function() { +proto.services.task_svc.v1.CreateRoomRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateRoomRequest} returns this + * @return {!proto.services.task_svc.v1.CreateRoomRequest} returns this */ -proto.proto.services.task_svc.v1.CreateRoomRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.CreateRoomRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -651,16 +651,16 @@ proto.proto.services.task_svc.v1.CreateRoomRequest.prototype.setName = function( * optional string ward_id = 2; * @return {string} */ -proto.proto.services.task_svc.v1.CreateRoomRequest.prototype.getWardId = function() { +proto.services.task_svc.v1.CreateRoomRequest.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateRoomRequest} returns this + * @return {!proto.services.task_svc.v1.CreateRoomRequest} returns this */ -proto.proto.services.task_svc.v1.CreateRoomRequest.prototype.setWardId = function(value) { +proto.services.task_svc.v1.CreateRoomRequest.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -681,8 +681,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateRoomResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateRoomResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateRoomResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateRoomResponse.toObject(opt_includeInstance, this); }; @@ -691,11 +691,11 @@ proto.proto.services.task_svc.v1.CreateRoomResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateRoomResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateRoomResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateRoomResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateRoomResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -711,23 +711,23 @@ proto.proto.services.task_svc.v1.CreateRoomResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateRoomResponse} + * @return {!proto.services.task_svc.v1.CreateRoomResponse} */ -proto.proto.services.task_svc.v1.CreateRoomResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateRoomResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateRoomResponse; - return proto.proto.services.task_svc.v1.CreateRoomResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateRoomResponse; + return proto.services.task_svc.v1.CreateRoomResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateRoomResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateRoomResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateRoomResponse} + * @return {!proto.services.task_svc.v1.CreateRoomResponse} */ -proto.proto.services.task_svc.v1.CreateRoomResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateRoomResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -751,9 +751,9 @@ proto.proto.services.task_svc.v1.CreateRoomResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateRoomResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateRoomResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateRoomResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateRoomResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -761,11 +761,11 @@ proto.proto.services.task_svc.v1.CreateRoomResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateRoomResponse} message + * @param {!proto.services.task_svc.v1.CreateRoomResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateRoomResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateRoomResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -781,16 +781,16 @@ proto.proto.services.task_svc.v1.CreateRoomResponse.serializeBinaryToWriter = fu * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateRoomResponse.prototype.getId = function() { +proto.services.task_svc.v1.CreateRoomResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateRoomResponse} returns this + * @return {!proto.services.task_svc.v1.CreateRoomResponse} returns this */ -proto.proto.services.task_svc.v1.CreateRoomResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.CreateRoomResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -811,8 +811,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomRequest.toObject(opt_includeInstance, this); }; @@ -821,11 +821,11 @@ proto.proto.services.task_svc.v1.GetRoomRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -841,23 +841,23 @@ proto.proto.services.task_svc.v1.GetRoomRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomRequest} + * @return {!proto.services.task_svc.v1.GetRoomRequest} */ -proto.proto.services.task_svc.v1.GetRoomRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomRequest; - return proto.proto.services.task_svc.v1.GetRoomRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomRequest; + return proto.services.task_svc.v1.GetRoomRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomRequest} + * @return {!proto.services.task_svc.v1.GetRoomRequest} */ -proto.proto.services.task_svc.v1.GetRoomRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -881,9 +881,9 @@ proto.proto.services.task_svc.v1.GetRoomRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -891,11 +891,11 @@ proto.proto.services.task_svc.v1.GetRoomRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomRequest} message + * @param {!proto.services.task_svc.v1.GetRoomRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -911,16 +911,16 @@ proto.proto.services.task_svc.v1.GetRoomRequest.serializeBinaryToWriter = functi * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomRequest.prototype.getId = function() { +proto.services.task_svc.v1.GetRoomRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomRequest} returns this + * @return {!proto.services.task_svc.v1.GetRoomRequest} returns this */ -proto.proto.services.task_svc.v1.GetRoomRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRoomRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -931,7 +931,7 @@ proto.proto.services.task_svc.v1.GetRoomRequest.prototype.setId = function(value * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetRoomResponse.repeatedFields_ = [3]; +proto.services.task_svc.v1.GetRoomResponse.repeatedFields_ = [3]; @@ -948,8 +948,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomResponse.toObject(opt_includeInstance, this); }; @@ -958,16 +958,16 @@ proto.proto.services.task_svc.v1.GetRoomResponse.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), bedsList: jspb.Message.toObjectList(msg.getBedsList(), - proto.proto.services.task_svc.v1.GetRoomResponse.Bed.toObject, includeInstance), + proto.services.task_svc.v1.GetRoomResponse.Bed.toObject, includeInstance), organizationId: jspb.Message.getFieldWithDefault(msg, 4, ""), wardId: jspb.Message.getFieldWithDefault(msg, 5, "") }; @@ -983,23 +983,23 @@ proto.proto.services.task_svc.v1.GetRoomResponse.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse} + * @return {!proto.services.task_svc.v1.GetRoomResponse} */ -proto.proto.services.task_svc.v1.GetRoomResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomResponse; - return proto.proto.services.task_svc.v1.GetRoomResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomResponse; + return proto.services.task_svc.v1.GetRoomResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse} + * @return {!proto.services.task_svc.v1.GetRoomResponse} */ -proto.proto.services.task_svc.v1.GetRoomResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1015,8 +1015,8 @@ proto.proto.services.task_svc.v1.GetRoomResponse.deserializeBinaryFromReader = f msg.setName(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetRoomResponse.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRoomResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRoomResponse.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetRoomResponse.Bed.deserializeBinaryFromReader); msg.addBeds(value); break; case 4: @@ -1040,9 +1040,9 @@ proto.proto.services.task_svc.v1.GetRoomResponse.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1050,11 +1050,11 @@ proto.proto.services.task_svc.v1.GetRoomResponse.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomResponse} message + * @param {!proto.services.task_svc.v1.GetRoomResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1075,7 +1075,7 @@ proto.proto.services.task_svc.v1.GetRoomResponse.serializeBinaryToWriter = funct writer.writeRepeatedMessage( 3, f, - proto.proto.services.task_svc.v1.GetRoomResponse.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetRoomResponse.Bed.serializeBinaryToWriter ); } f = message.getOrganizationId(); @@ -1111,8 +1111,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomResponse.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomResponse.Bed.toObject(opt_includeInstance, this); }; @@ -1121,11 +1121,11 @@ proto.proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -1142,23 +1142,23 @@ proto.proto.services.task_svc.v1.GetRoomResponse.Bed.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse.Bed} + * @return {!proto.services.task_svc.v1.GetRoomResponse.Bed} */ -proto.proto.services.task_svc.v1.GetRoomResponse.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomResponse.Bed; - return proto.proto.services.task_svc.v1.GetRoomResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomResponse.Bed; + return proto.services.task_svc.v1.GetRoomResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse.Bed} + * @return {!proto.services.task_svc.v1.GetRoomResponse.Bed} */ -proto.proto.services.task_svc.v1.GetRoomResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1186,9 +1186,9 @@ proto.proto.services.task_svc.v1.GetRoomResponse.Bed.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1196,11 +1196,11 @@ proto.proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomResponse.Bed} message + * @param {!proto.services.task_svc.v1.GetRoomResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1223,16 +1223,16 @@ proto.proto.services.task_svc.v1.GetRoomResponse.Bed.serializeBinaryToWriter = f * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetRoomResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1241,16 +1241,16 @@ proto.proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.setId = function( * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetRoomResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1259,16 +1259,16 @@ proto.proto.services.task_svc.v1.GetRoomResponse.Bed.prototype.setName = functio * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.getId = function() { +proto.services.task_svc.v1.GetRoomResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse} returns this + * @return {!proto.services.task_svc.v1.GetRoomResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRoomResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1277,54 +1277,54 @@ proto.proto.services.task_svc.v1.GetRoomResponse.prototype.setId = function(valu * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.getName = function() { +proto.services.task_svc.v1.GetRoomResponse.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse} returns this + * @return {!proto.services.task_svc.v1.GetRoomResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.setName = function(value) { +proto.services.task_svc.v1.GetRoomResponse.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated Bed beds = 3; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.getBedsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetRoomResponse.Bed, 3)); +proto.services.task_svc.v1.GetRoomResponse.prototype.getBedsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetRoomResponse.Bed, 3)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetRoomResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.setBedsList = function(value) { +proto.services.task_svc.v1.GetRoomResponse.prototype.setBedsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetRoomResponse.Bed=} opt_value + * @param {!proto.services.task_svc.v1.GetRoomResponse.Bed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse.Bed} + * @return {!proto.services.task_svc.v1.GetRoomResponse.Bed} */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.addBeds = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.task_svc.v1.GetRoomResponse.Bed, opt_index); +proto.services.task_svc.v1.GetRoomResponse.prototype.addBeds = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.task_svc.v1.GetRoomResponse.Bed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse} returns this + * @return {!proto.services.task_svc.v1.GetRoomResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.clearBedsList = function() { +proto.services.task_svc.v1.GetRoomResponse.prototype.clearBedsList = function() { return this.setBedsList([]); }; @@ -1333,16 +1333,16 @@ proto.proto.services.task_svc.v1.GetRoomResponse.prototype.clearBedsList = funct * optional string organization_id = 4; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.getOrganizationId = function() { +proto.services.task_svc.v1.GetRoomResponse.prototype.getOrganizationId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse} returns this + * @return {!proto.services.task_svc.v1.GetRoomResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.setOrganizationId = function(value) { +proto.services.task_svc.v1.GetRoomResponse.prototype.setOrganizationId = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -1351,16 +1351,16 @@ proto.proto.services.task_svc.v1.GetRoomResponse.prototype.setOrganizationId = f * optional string ward_id = 5; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.getWardId = function() { +proto.services.task_svc.v1.GetRoomResponse.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomResponse} returns this + * @return {!proto.services.task_svc.v1.GetRoomResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomResponse.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetRoomResponse.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; @@ -1381,8 +1381,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomsRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomsRequest.toObject(opt_includeInstance, this); }; @@ -1391,11 +1391,11 @@ proto.proto.services.task_svc.v1.GetRoomsRequest.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomsRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomsRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -1411,23 +1411,23 @@ proto.proto.services.task_svc.v1.GetRoomsRequest.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomsRequest} + * @return {!proto.services.task_svc.v1.GetRoomsRequest} */ -proto.proto.services.task_svc.v1.GetRoomsRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomsRequest; - return proto.proto.services.task_svc.v1.GetRoomsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomsRequest; + return proto.services.task_svc.v1.GetRoomsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomsRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomsRequest} + * @return {!proto.services.task_svc.v1.GetRoomsRequest} */ -proto.proto.services.task_svc.v1.GetRoomsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1447,9 +1447,9 @@ proto.proto.services.task_svc.v1.GetRoomsRequest.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomsRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomsRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1457,11 +1457,11 @@ proto.proto.services.task_svc.v1.GetRoomsRequest.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomsRequest} message + * @param {!proto.services.task_svc.v1.GetRoomsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -1472,7 +1472,7 @@ proto.proto.services.task_svc.v1.GetRoomsRequest.serializeBinaryToWriter = funct * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetRoomsResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetRoomsResponse.repeatedFields_ = [1]; @@ -1489,8 +1489,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomsResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomsResponse.toObject(opt_includeInstance, this); }; @@ -1499,14 +1499,14 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomsResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomsResponse.toObject = function(includeInstance, msg) { var f, obj = { roomsList: jspb.Message.toObjectList(msg.getRoomsList(), - proto.proto.services.task_svc.v1.GetRoomsResponse.Room.toObject, includeInstance) + proto.services.task_svc.v1.GetRoomsResponse.Room.toObject, includeInstance) }; if (includeInstance) { @@ -1520,23 +1520,23 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse} + * @return {!proto.services.task_svc.v1.GetRoomsResponse} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomsResponse; - return proto.proto.services.task_svc.v1.GetRoomsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomsResponse; + return proto.services.task_svc.v1.GetRoomsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomsResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse} + * @return {!proto.services.task_svc.v1.GetRoomsResponse} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1544,8 +1544,8 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.deserializeBinaryFromReader = var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetRoomsResponse.Room; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRoomsResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRoomsResponse.Room; + reader.readMessage(value,proto.services.task_svc.v1.GetRoomsResponse.Room.deserializeBinaryFromReader); msg.addRooms(value); break; default: @@ -1561,9 +1561,9 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomsResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1571,18 +1571,18 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomsResponse} message + * @param {!proto.services.task_svc.v1.GetRoomsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRoomsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetRoomsResponse.Room.serializeBinaryToWriter + proto.services.task_svc.v1.GetRoomsResponse.Room.serializeBinaryToWriter ); } }; @@ -1594,7 +1594,7 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.serializeBinaryToWriter = func * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.repeatedFields_ = [3]; +proto.services.task_svc.v1.GetRoomsResponse.Room.repeatedFields_ = [3]; @@ -1611,8 +1611,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomsResponse.Room.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomsResponse.Room.toObject(opt_includeInstance, this); }; @@ -1621,16 +1621,16 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomsResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomsResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), bedsList: jspb.Message.toObjectList(msg.getBedsList(), - proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.toObject, includeInstance), + proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.toObject, includeInstance), organizationId: jspb.Message.getFieldWithDefault(msg, 4, ""), wardId: jspb.Message.getFieldWithDefault(msg, 5, "") }; @@ -1646,23 +1646,23 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomsResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomsResponse.Room; - return proto.proto.services.task_svc.v1.GetRoomsResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomsResponse.Room; + return proto.services.task_svc.v1.GetRoomsResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomsResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomsResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1678,8 +1678,8 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.deserializeBinaryFromRead msg.setName(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRoomsResponse.Room.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.deserializeBinaryFromReader); msg.addBeds(value); break; case 4: @@ -1703,9 +1703,9 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomsResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomsResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1713,11 +1713,11 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} message + * @param {!proto.services.task_svc.v1.GetRoomsResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomsResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1738,7 +1738,7 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.serializeBinaryToWriter = writer.writeRepeatedMessage( 3, f, - proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.serializeBinaryToWriter ); } f = message.getOrganizationId(); @@ -1774,8 +1774,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.toObject(opt_includeInstance, this); }; @@ -1784,11 +1784,11 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -1805,23 +1805,23 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed; - return proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomsResponse.Room.Bed; + return proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1849,9 +1849,9 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1859,11 +1859,11 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} message + * @param {!proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1886,16 +1886,16 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.serializeBinaryToWrit * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} returns this + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1904,16 +1904,16 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.setId = fun * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} returns this + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1922,16 +1922,16 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed.prototype.setName = f * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.getId = function() { +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1940,54 +1940,54 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setId = functio * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.getName = function() { +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setName = function(value) { +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated Bed beds = 3; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.getBedsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed, 3)); +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.getBedsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetRoomsResponse.Room.Bed, 3)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setBedsList = function(value) { +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setBedsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed=} opt_value + * @param {!proto.services.task_svc.v1.GetRoomsResponse.Room.Bed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.addBeds = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.task_svc.v1.GetRoomsResponse.Room.Bed, opt_index); +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.addBeds = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.task_svc.v1.GetRoomsResponse.Room.Bed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.clearBedsList = function() { +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.clearBedsList = function() { return this.setBedsList([]); }; @@ -1996,16 +1996,16 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.clearBedsList = * optional string organization_id = 4; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.getOrganizationId = function() { +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.getOrganizationId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setOrganizationId = function(value) { +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setOrganizationId = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -2014,54 +2014,54 @@ proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setOrganization * optional string ward_id = 5; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.getWardId = function() { +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetRoomsResponse.Room.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; /** * repeated Room rooms = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.prototype.getRoomsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetRoomsResponse.Room, 1)); +proto.services.task_svc.v1.GetRoomsResponse.prototype.getRoomsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetRoomsResponse.Room, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetRoomsResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomsResponse.prototype.setRoomsList = function(value) { +proto.services.task_svc.v1.GetRoomsResponse.prototype.setRoomsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room=} opt_value + * @param {!proto.services.task_svc.v1.GetRoomsResponse.Room=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse.Room} + * @return {!proto.services.task_svc.v1.GetRoomsResponse.Room} */ -proto.proto.services.task_svc.v1.GetRoomsResponse.prototype.addRooms = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetRoomsResponse.Room, opt_index); +proto.services.task_svc.v1.GetRoomsResponse.prototype.addRooms = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetRoomsResponse.Room, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetRoomsResponse} returns this + * @return {!proto.services.task_svc.v1.GetRoomsResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomsResponse.prototype.clearRoomsList = function() { +proto.services.task_svc.v1.GetRoomsResponse.prototype.clearRoomsList = function() { return this.setRoomsList([]); }; @@ -2082,8 +2082,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomsByWardRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomsByWardRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomsByWardRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomsByWardRequest.toObject(opt_includeInstance, this); }; @@ -2092,11 +2092,11 @@ proto.proto.services.task_svc.v1.GetRoomsByWardRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomsByWardRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsByWardRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomsByWardRequest.toObject = function(includeInstance, msg) { var f, obj = { wardId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2112,23 +2112,23 @@ proto.proto.services.task_svc.v1.GetRoomsByWardRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardRequest} + * @return {!proto.services.task_svc.v1.GetRoomsByWardRequest} */ -proto.proto.services.task_svc.v1.GetRoomsByWardRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomsByWardRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomsByWardRequest; - return proto.proto.services.task_svc.v1.GetRoomsByWardRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomsByWardRequest; + return proto.services.task_svc.v1.GetRoomsByWardRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomsByWardRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardRequest} + * @return {!proto.services.task_svc.v1.GetRoomsByWardRequest} */ -proto.proto.services.task_svc.v1.GetRoomsByWardRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomsByWardRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2152,9 +2152,9 @@ proto.proto.services.task_svc.v1.GetRoomsByWardRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomsByWardRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomsByWardRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomsByWardRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomsByWardRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2162,11 +2162,11 @@ proto.proto.services.task_svc.v1.GetRoomsByWardRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardRequest} message + * @param {!proto.services.task_svc.v1.GetRoomsByWardRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsByWardRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomsByWardRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWardId(); if (f.length > 0) { @@ -2182,16 +2182,16 @@ proto.proto.services.task_svc.v1.GetRoomsByWardRequest.serializeBinaryToWriter = * optional string ward_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsByWardRequest.prototype.getWardId = function() { +proto.services.task_svc.v1.GetRoomsByWardRequest.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardRequest} returns this + * @return {!proto.services.task_svc.v1.GetRoomsByWardRequest} returns this */ -proto.proto.services.task_svc.v1.GetRoomsByWardRequest.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetRoomsByWardRequest.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2202,7 +2202,7 @@ proto.proto.services.task_svc.v1.GetRoomsByWardRequest.prototype.setWardId = fun * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetRoomsByWardResponse.repeatedFields_ = [1]; @@ -2219,8 +2219,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomsByWardResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomsByWardResponse.toObject(opt_includeInstance, this); }; @@ -2229,14 +2229,14 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomsByWardResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomsByWardResponse.toObject = function(includeInstance, msg) { var f, obj = { roomsList: jspb.Message.toObjectList(msg.getRoomsList(), - proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.toObject, includeInstance) + proto.services.task_svc.v1.GetRoomsByWardResponse.Room.toObject, includeInstance) }; if (includeInstance) { @@ -2250,23 +2250,23 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse} + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomsByWardResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomsByWardResponse; - return proto.proto.services.task_svc.v1.GetRoomsByWardResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomsByWardResponse; + return proto.services.task_svc.v1.GetRoomsByWardResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomsByWardResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse} + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomsByWardResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2274,8 +2274,8 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.deserializeBinaryFromRea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRoomsByWardResponse.Room; + reader.readMessage(value,proto.services.task_svc.v1.GetRoomsByWardResponse.Room.deserializeBinaryFromReader); msg.addRooms(value); break; default: @@ -2291,9 +2291,9 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomsByWardResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomsByWardResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2301,18 +2301,18 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse} message + * @param {!proto.services.task_svc.v1.GetRoomsByWardResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomsByWardResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRoomsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.serializeBinaryToWriter + proto.services.task_svc.v1.GetRoomsByWardResponse.Room.serializeBinaryToWriter ); } }; @@ -2324,7 +2324,7 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.serializeBinaryToWriter * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.repeatedFields_ = [3]; +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.repeatedFields_ = [3]; @@ -2341,8 +2341,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomsByWardResponse.Room.toObject(opt_includeInstance, this); }; @@ -2351,16 +2351,16 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), bedsList: jspb.Message.toObjectList(msg.getBedsList(), - proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.toObject, includeInstance), + proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.toObject, includeInstance), organizationId: jspb.Message.getFieldWithDefault(msg, 4, ""), wardId: jspb.Message.getFieldWithDefault(msg, 5, "") }; @@ -2376,23 +2376,23 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.toObject = function /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room; - return proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomsByWardResponse.Room; + return proto.services.task_svc.v1.GetRoomsByWardResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2408,8 +2408,8 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.deserializeBinaryFr msg.setName(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.deserializeBinaryFromReader); msg.addBeds(value); break; case 4: @@ -2433,9 +2433,9 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.deserializeBinaryFr * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomsByWardResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2443,11 +2443,11 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.serialize /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} message + * @param {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2468,7 +2468,7 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.serializeBinaryToWr writer.writeRepeatedMessage( 3, f, - proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.serializeBinaryToWriter ); } f = message.getOrganizationId(); @@ -2504,8 +2504,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.toObject(opt_includeInstance, this); }; @@ -2514,11 +2514,11 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.toObj * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2535,23 +2535,23 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.toObject = func /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed; - return proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed; + return proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2579,9 +2579,9 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.deserializeBina * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2589,11 +2589,11 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.seria /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} message + * @param {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2616,16 +2616,16 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.serializeBinary * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} returns this + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2634,16 +2634,16 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.setId * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} returns this + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2652,16 +2652,16 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed.prototype.setNa * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.getId = function() { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2670,54 +2670,54 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setId = f * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.getName = function() { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setName = function(value) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated Bed beds = 3; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.getBedsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed, 3)); +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.getBedsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed, 3)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setBedsList = function(value) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setBedsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed=} opt_value + * @param {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.addBeds = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed, opt_index); +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.addBeds = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.task_svc.v1.GetRoomsByWardResponse.Room.Bed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.clearBedsList = function() { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.clearBedsList = function() { return this.setBedsList([]); }; @@ -2726,16 +2726,16 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.clearBeds * optional string organization_id = 4; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.getOrganizationId = function() { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.getOrganizationId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setOrganizationId = function(value) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setOrganizationId = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -2744,54 +2744,54 @@ proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setOrgani * optional string ward_id = 5; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.getWardId = function() { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetRoomsByWardResponse.Room.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; /** * repeated Room rooms = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.getRoomsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room, 1)); +proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.getRoomsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetRoomsByWardResponse.Room, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.setRoomsList = function(value) { +proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.setRoomsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room=} opt_value + * @param {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room} + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse.Room} */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.addRooms = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetRoomsByWardResponse.Room, opt_index); +proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.addRooms = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetRoomsByWardResponse.Room, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetRoomsByWardResponse} returns this + * @return {!proto.services.task_svc.v1.GetRoomsByWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.clearRoomsList = function() { +proto.services.task_svc.v1.GetRoomsByWardResponse.prototype.clearRoomsList = function() { return this.setRoomsList([]); }; @@ -2812,8 +2812,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateRoomRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateRoomRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateRoomRequest.toObject(opt_includeInstance, this); }; @@ -2822,11 +2822,11 @@ proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateRoomRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateRoomRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateRoomRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2843,23 +2843,23 @@ proto.proto.services.task_svc.v1.UpdateRoomRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateRoomRequest} + * @return {!proto.services.task_svc.v1.UpdateRoomRequest} */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateRoomRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateRoomRequest; - return proto.proto.services.task_svc.v1.UpdateRoomRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateRoomRequest; + return proto.services.task_svc.v1.UpdateRoomRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateRoomRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateRoomRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateRoomRequest} + * @return {!proto.services.task_svc.v1.UpdateRoomRequest} */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateRoomRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2887,9 +2887,9 @@ proto.proto.services.task_svc.v1.UpdateRoomRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateRoomRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateRoomRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateRoomRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2897,11 +2897,11 @@ proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateRoomRequest} message + * @param {!proto.services.task_svc.v1.UpdateRoomRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateRoomRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2924,16 +2924,16 @@ proto.proto.services.task_svc.v1.UpdateRoomRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.getId = function() { +proto.services.task_svc.v1.UpdateRoomRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateRoomRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateRoomRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.UpdateRoomRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2942,25 +2942,25 @@ proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.setId = function(va * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.getName = function() { +proto.services.task_svc.v1.UpdateRoomRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateRoomRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateRoomRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.UpdateRoomRequest.prototype.setName = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateRoomRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateRoomRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.clearName = function() { +proto.services.task_svc.v1.UpdateRoomRequest.prototype.clearName = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -2969,7 +2969,7 @@ proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.clearName = functio * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateRoomRequest.prototype.hasName = function() { +proto.services.task_svc.v1.UpdateRoomRequest.prototype.hasName = function() { return jspb.Message.getField(this, 2) != null; }; @@ -2990,8 +2990,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateRoomResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateRoomResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateRoomResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateRoomResponse.toObject(opt_includeInstance, this); }; @@ -3000,11 +3000,11 @@ proto.proto.services.task_svc.v1.UpdateRoomResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateRoomResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateRoomResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateRoomResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateRoomResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3020,23 +3020,23 @@ proto.proto.services.task_svc.v1.UpdateRoomResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateRoomResponse} + * @return {!proto.services.task_svc.v1.UpdateRoomResponse} */ -proto.proto.services.task_svc.v1.UpdateRoomResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateRoomResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateRoomResponse; - return proto.proto.services.task_svc.v1.UpdateRoomResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateRoomResponse; + return proto.services.task_svc.v1.UpdateRoomResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateRoomResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateRoomResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateRoomResponse} + * @return {!proto.services.task_svc.v1.UpdateRoomResponse} */ -proto.proto.services.task_svc.v1.UpdateRoomResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateRoomResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3056,9 +3056,9 @@ proto.proto.services.task_svc.v1.UpdateRoomResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateRoomResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateRoomResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateRoomResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateRoomResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3066,11 +3066,11 @@ proto.proto.services.task_svc.v1.UpdateRoomResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateRoomResponse} message + * @param {!proto.services.task_svc.v1.UpdateRoomResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateRoomResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateRoomResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -3091,8 +3091,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteRoomRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteRoomRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteRoomRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteRoomRequest.toObject(opt_includeInstance, this); }; @@ -3101,11 +3101,11 @@ proto.proto.services.task_svc.v1.DeleteRoomRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteRoomRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteRoomRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteRoomRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteRoomRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -3121,23 +3121,23 @@ proto.proto.services.task_svc.v1.DeleteRoomRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteRoomRequest} + * @return {!proto.services.task_svc.v1.DeleteRoomRequest} */ -proto.proto.services.task_svc.v1.DeleteRoomRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteRoomRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteRoomRequest; - return proto.proto.services.task_svc.v1.DeleteRoomRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteRoomRequest; + return proto.services.task_svc.v1.DeleteRoomRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteRoomRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteRoomRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteRoomRequest} + * @return {!proto.services.task_svc.v1.DeleteRoomRequest} */ -proto.proto.services.task_svc.v1.DeleteRoomRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteRoomRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3161,9 +3161,9 @@ proto.proto.services.task_svc.v1.DeleteRoomRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteRoomRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteRoomRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteRoomRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteRoomRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3171,11 +3171,11 @@ proto.proto.services.task_svc.v1.DeleteRoomRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteRoomRequest} message + * @param {!proto.services.task_svc.v1.DeleteRoomRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteRoomRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteRoomRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3191,16 +3191,16 @@ proto.proto.services.task_svc.v1.DeleteRoomRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.DeleteRoomRequest.prototype.getId = function() { +proto.services.task_svc.v1.DeleteRoomRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.DeleteRoomRequest} returns this + * @return {!proto.services.task_svc.v1.DeleteRoomRequest} returns this */ -proto.proto.services.task_svc.v1.DeleteRoomRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.DeleteRoomRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3221,8 +3221,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteRoomResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteRoomResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteRoomResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteRoomResponse.toObject(opt_includeInstance, this); }; @@ -3231,11 +3231,11 @@ proto.proto.services.task_svc.v1.DeleteRoomResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteRoomResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteRoomResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteRoomResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteRoomResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3251,23 +3251,23 @@ proto.proto.services.task_svc.v1.DeleteRoomResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteRoomResponse} + * @return {!proto.services.task_svc.v1.DeleteRoomResponse} */ -proto.proto.services.task_svc.v1.DeleteRoomResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteRoomResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteRoomResponse; - return proto.proto.services.task_svc.v1.DeleteRoomResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteRoomResponse; + return proto.services.task_svc.v1.DeleteRoomResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteRoomResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteRoomResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteRoomResponse} + * @return {!proto.services.task_svc.v1.DeleteRoomResponse} */ -proto.proto.services.task_svc.v1.DeleteRoomResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteRoomResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3287,9 +3287,9 @@ proto.proto.services.task_svc.v1.DeleteRoomResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteRoomResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteRoomResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteRoomResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteRoomResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3297,11 +3297,11 @@ proto.proto.services.task_svc.v1.DeleteRoomResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteRoomResponse} message + * @param {!proto.services.task_svc.v1.DeleteRoomResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteRoomResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteRoomResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -3322,8 +3322,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.toObject(opt_includeInstance, this); }; @@ -3332,11 +3332,11 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.prototype.toObjec * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -3352,23 +3352,23 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.toObject = functi /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest; - return proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomOverviewsByWardRequest; + return proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3392,9 +3392,9 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.deserializeBinary * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3402,11 +3402,11 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.prototype.seriali /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} message + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3422,16 +3422,16 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.serializeBinaryTo * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.prototype.getId = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardRequest} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3442,7 +3442,7 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest.prototype.setId = * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.repeatedFields_ = [1]; @@ -3459,8 +3459,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.toObject(opt_includeInstance, this); }; @@ -3469,14 +3469,14 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.toObject = function(includeInstance, msg) { var f, obj = { roomsList: jspb.Message.toObjectList(msg.getRoomsList(), - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.toObject, includeInstance) + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.toObject, includeInstance) }; if (includeInstance) { @@ -3490,23 +3490,23 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse; - return proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomOverviewsByWardResponse; + return proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3514,8 +3514,8 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.deserializeBinar var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room; + reader.readMessage(value,proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.deserializeBinaryFromReader); msg.addRooms(value); break; default: @@ -3531,9 +3531,9 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3541,18 +3541,18 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} message + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRoomsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.serializeBinaryToWriter + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.serializeBinaryToWriter ); } }; @@ -3564,7 +3564,7 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.serializeBinaryT * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.repeatedFields_ = [3]; +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.repeatedFields_ = [3]; @@ -3581,8 +3581,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.toObject(opt_includeInstance, this); }; @@ -3591,16 +3591,16 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.t * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), bedsList: jspb.Message.toObjectList(msg.getBedsList(), - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.toObject, includeInstance) + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.toObject, includeInstance) }; if (includeInstance) { @@ -3614,23 +3614,23 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.toObject = /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room; - return proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room; + return proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3646,8 +3646,8 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.deserialize msg.setName(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.deserializeBinaryFromReader); msg.addBeds(value); break; default: @@ -3663,9 +3663,9 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.deserialize * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3673,11 +3673,11 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.s /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} message + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3698,7 +3698,7 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.serializeBi writer.writeRepeatedMessage( 3, f, - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.serializeBinaryToWriter ); } }; @@ -3720,8 +3720,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.toObject(opt_includeInstance, this); }; @@ -3730,15 +3730,15 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototy * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 3, ""), - patient: (f = msg.getPatient()) && proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.toObject(includeInstance, f) + patient: (f = msg.getPatient()) && proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.toObject(includeInstance, f) }; if (includeInstance) { @@ -3752,23 +3752,23 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.toObjec /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed; - return proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed; + return proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3784,8 +3784,8 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.deseria msg.setName(value); break; case 2: - var value = new proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient; + reader.readMessage(value,proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader); msg.setPatient(value); break; default: @@ -3801,9 +3801,9 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.deseria * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3811,11 +3811,11 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototy /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} message + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3836,7 +3836,7 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.seriali writer.writeMessage( 2, f, - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.serializeBinaryToWriter + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.serializeBinaryToWriter ); } }; @@ -3858,8 +3858,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.toObject(opt_includeInstance, this); }; @@ -3868,11 +3868,11 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -3892,23 +3892,23 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient; - return proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient; + return proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3948,9 +3948,9 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3958,11 +3958,11 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} message + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4006,16 +4006,16 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.getId = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4024,16 +4024,16 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient * optional string human_readable_identifier = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.getHumanReadableIdentifier = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.setHumanReadableIdentifier = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4042,16 +4042,16 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient * optional uint32 tasks_unscheduled = 3; * @return {number} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.getTasksUnscheduled = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.getTasksUnscheduled = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.setTasksUnscheduled = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.setTasksUnscheduled = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; @@ -4060,16 +4060,16 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient * optional uint32 tasks_in_progress = 4; * @return {number} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.getTasksInProgress = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.getTasksInProgress = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.setTasksInProgress = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.setTasksInProgress = function(value) { return jspb.Message.setProto3IntField(this, 4, value); }; @@ -4078,16 +4078,16 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient * optional uint32 tasks_done = 5; * @return {number} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.getTasksDone = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.getTasksDone = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.setTasksDone = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient.prototype.setTasksDone = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; @@ -4096,16 +4096,16 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4114,44 +4114,44 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototy * optional string name = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional Patient patient = 2; - * @return {?proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} + * @return {?proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.getPatient = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient, 2)); +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.getPatient = function() { + return /** @type{?proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient, 2)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} returns this + * @param {?proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.Patient|undefined} value + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.setPatient = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.setPatient = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.clearPatient = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.clearPatient = function() { return this.setPatient(undefined); }; @@ -4160,7 +4160,7 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototy * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.hasPatient = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototype.hasPatient = function() { return jspb.Message.getField(this, 2) != null; }; @@ -4169,16 +4169,16 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.prototy * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.getId = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4187,94 +4187,94 @@ proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.s * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.getName = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.setName = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated Bed beds = 3; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.getBedsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed, 3)); +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.getBedsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed, 3)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.setBedsList = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.setBedsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed=} opt_value + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.addBeds = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed, opt_index); +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.addBeds = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.clearBedsList = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.prototype.clearBedsList = function() { return this.setBedsList([]); }; /** * repeated Room rooms = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.getRoomsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room, 1)); +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.getRoomsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.setRoomsList = function(value) { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.setRoomsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room=} opt_value + * @param {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room} */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.addRooms = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room, opt_index); +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.addRooms = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} returns this + * @return {!proto.services.task_svc.v1.GetRoomOverviewsByWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.clearRoomsList = function() { +proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.prototype.clearRoomsList = function() { return this.setRoomsList([]); }; -goog.object.extend(exports, proto.proto.services.task_svc.v1); +goog.object.extend(exports, proto.services.task_svc.v1); diff --git a/gen/ts/services/task_svc/v1/task_svc_grpc_web_pb.d.ts b/gen/ts/services/task_svc/v1/task_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..9cb49291c --- /dev/null +++ b/gen/ts/services/task_svc/v1/task_svc_grpc_web_pb.d.ts @@ -0,0 +1,247 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_task_svc_v1_task_svc_pb from '../../../services/task_svc/v1/task_svc_pb'; // proto import: "services/task_svc/v1/task_svc.proto" + + +export class TaskServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createTask( + request: services_task_svc_v1_task_svc_pb.CreateTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.CreateTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + getTask( + request: services_task_svc_v1_task_svc_pb.GetTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.GetTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + getTasksByPatient( + request: services_task_svc_v1_task_svc_pb.GetTasksByPatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.GetTasksByPatientResponse) => void + ): grpcWeb.ClientReadableStream; + + getTasksByPatientSortedByStatus( + request: services_task_svc_v1_task_svc_pb.GetTasksByPatientSortedByStatusRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.GetTasksByPatientSortedByStatusResponse) => void + ): grpcWeb.ClientReadableStream; + + getAssignedTasks( + request: services_task_svc_v1_task_svc_pb.GetAssignedTasksRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.GetAssignedTasksResponse) => void + ): grpcWeb.ClientReadableStream; + + updateTask( + request: services_task_svc_v1_task_svc_pb.UpdateTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.UpdateTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + addSubTask( + request: services_task_svc_v1_task_svc_pb.AddSubTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.AddSubTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + removeSubTask( + request: services_task_svc_v1_task_svc_pb.RemoveSubTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.RemoveSubTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + updateSubTask( + request: services_task_svc_v1_task_svc_pb.UpdateSubTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.UpdateSubTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + subTaskToToDo( + request: services_task_svc_v1_task_svc_pb.SubTaskToToDoRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.SubTaskToToDoResponse) => void + ): grpcWeb.ClientReadableStream; + + subTaskToDone( + request: services_task_svc_v1_task_svc_pb.SubTaskToDoneRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.SubTaskToDoneResponse) => void + ): grpcWeb.ClientReadableStream; + + taskToToDo( + request: services_task_svc_v1_task_svc_pb.TaskToToDoRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.TaskToToDoResponse) => void + ): grpcWeb.ClientReadableStream; + + taskToInProgress( + request: services_task_svc_v1_task_svc_pb.TaskToInProgressRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.TaskToInProgressResponse) => void + ): grpcWeb.ClientReadableStream; + + taskToDone( + request: services_task_svc_v1_task_svc_pb.TaskToDoneRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.TaskToDoneResponse) => void + ): grpcWeb.ClientReadableStream; + + assignTaskToUser( + request: services_task_svc_v1_task_svc_pb.AssignTaskToUserRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.AssignTaskToUserResponse) => void + ): grpcWeb.ClientReadableStream; + + unassignTaskFromUser( + request: services_task_svc_v1_task_svc_pb.UnassignTaskFromUserRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.UnassignTaskFromUserResponse) => void + ): grpcWeb.ClientReadableStream; + + publishTask( + request: services_task_svc_v1_task_svc_pb.PublishTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.PublishTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + unpublishTask( + request: services_task_svc_v1_task_svc_pb.UnpublishTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.UnpublishTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + deleteTask( + request: services_task_svc_v1_task_svc_pb.DeleteTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_svc_pb.DeleteTaskResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class TaskServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createTask( + request: services_task_svc_v1_task_svc_pb.CreateTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getTask( + request: services_task_svc_v1_task_svc_pb.GetTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getTasksByPatient( + request: services_task_svc_v1_task_svc_pb.GetTasksByPatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getTasksByPatientSortedByStatus( + request: services_task_svc_v1_task_svc_pb.GetTasksByPatientSortedByStatusRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getAssignedTasks( + request: services_task_svc_v1_task_svc_pb.GetAssignedTasksRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateTask( + request: services_task_svc_v1_task_svc_pb.UpdateTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + addSubTask( + request: services_task_svc_v1_task_svc_pb.AddSubTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + removeSubTask( + request: services_task_svc_v1_task_svc_pb.RemoveSubTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateSubTask( + request: services_task_svc_v1_task_svc_pb.UpdateSubTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + subTaskToToDo( + request: services_task_svc_v1_task_svc_pb.SubTaskToToDoRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + subTaskToDone( + request: services_task_svc_v1_task_svc_pb.SubTaskToDoneRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + taskToToDo( + request: services_task_svc_v1_task_svc_pb.TaskToToDoRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + taskToInProgress( + request: services_task_svc_v1_task_svc_pb.TaskToInProgressRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + taskToDone( + request: services_task_svc_v1_task_svc_pb.TaskToDoneRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + assignTaskToUser( + request: services_task_svc_v1_task_svc_pb.AssignTaskToUserRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + unassignTaskFromUser( + request: services_task_svc_v1_task_svc_pb.UnassignTaskFromUserRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + publishTask( + request: services_task_svc_v1_task_svc_pb.PublishTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + unpublishTask( + request: services_task_svc_v1_task_svc_pb.UnpublishTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + deleteTask( + request: services_task_svc_v1_task_svc_pb.DeleteTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/services/task_svc/v1/task_svc_grpc_web_pb.js b/gen/ts/services/task_svc/v1/task_svc_grpc_web_pb.js new file mode 100644 index 000000000..bc7c79e53 --- /dev/null +++ b/gen/ts/services/task_svc/v1/task_svc_grpc_web_pb.js @@ -0,0 +1,1241 @@ +/** + * @fileoverview gRPC-Web generated client stub for services.task_svc.v1 + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.5.0 +// protoc v0.0.0 +// source: services/task_svc/v1/task_svc.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + + +var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js') +const proto = {}; +proto.services = {}; +proto.services.task_svc = {}; +proto.services.task_svc.v1 = require('./task_svc_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.TaskServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.TaskServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.CreateTaskRequest, + * !proto.services.task_svc.v1.CreateTaskResponse>} + */ +const methodDescriptor_TaskService_CreateTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/CreateTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.CreateTaskRequest, + proto.services.task_svc.v1.CreateTaskResponse, + /** + * @param {!proto.services.task_svc.v1.CreateTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.CreateTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.CreateTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.CreateTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.createTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/CreateTask', + request, + metadata || {}, + methodDescriptor_TaskService_CreateTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.CreateTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.createTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/CreateTask', + request, + metadata || {}, + methodDescriptor_TaskService_CreateTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetTaskRequest, + * !proto.services.task_svc.v1.GetTaskResponse>} + */ +const methodDescriptor_TaskService_GetTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/GetTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetTaskRequest, + proto.services.task_svc.v1.GetTaskResponse, + /** + * @param {!proto.services.task_svc.v1.GetTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.getTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/GetTask', + request, + metadata || {}, + methodDescriptor_TaskService_GetTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.getTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/GetTask', + request, + metadata || {}, + methodDescriptor_TaskService_GetTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetTasksByPatientRequest, + * !proto.services.task_svc.v1.GetTasksByPatientResponse>} + */ +const methodDescriptor_TaskService_GetTasksByPatient = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/GetTasksByPatient', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetTasksByPatientRequest, + proto.services.task_svc.v1.GetTasksByPatientResponse, + /** + * @param {!proto.services.task_svc.v1.GetTasksByPatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetTasksByPatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetTasksByPatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetTasksByPatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.getTasksByPatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/GetTasksByPatient', + request, + metadata || {}, + methodDescriptor_TaskService_GetTasksByPatient, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetTasksByPatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.getTasksByPatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/GetTasksByPatient', + request, + metadata || {}, + methodDescriptor_TaskService_GetTasksByPatient); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest, + * !proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse>} + */ +const methodDescriptor_TaskService_GetTasksByPatientSortedByStatus = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest, + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse, + /** + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.getTasksByPatientSortedByStatus = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', + request, + metadata || {}, + methodDescriptor_TaskService_GetTasksByPatientSortedByStatus, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.getTasksByPatientSortedByStatus = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', + request, + metadata || {}, + methodDescriptor_TaskService_GetTasksByPatientSortedByStatus); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetAssignedTasksRequest, + * !proto.services.task_svc.v1.GetAssignedTasksResponse>} + */ +const methodDescriptor_TaskService_GetAssignedTasks = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/GetAssignedTasks', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetAssignedTasksRequest, + proto.services.task_svc.v1.GetAssignedTasksResponse, + /** + * @param {!proto.services.task_svc.v1.GetAssignedTasksRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetAssignedTasksResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetAssignedTasksRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetAssignedTasksResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.getAssignedTasks = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/GetAssignedTasks', + request, + metadata || {}, + methodDescriptor_TaskService_GetAssignedTasks, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetAssignedTasksRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.getAssignedTasks = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/GetAssignedTasks', + request, + metadata || {}, + methodDescriptor_TaskService_GetAssignedTasks); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.UpdateTaskRequest, + * !proto.services.task_svc.v1.UpdateTaskResponse>} + */ +const methodDescriptor_TaskService_UpdateTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/UpdateTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.UpdateTaskRequest, + proto.services.task_svc.v1.UpdateTaskResponse, + /** + * @param {!proto.services.task_svc.v1.UpdateTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.UpdateTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.UpdateTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.UpdateTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.updateTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/UpdateTask', + request, + metadata || {}, + methodDescriptor_TaskService_UpdateTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.UpdateTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.updateTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/UpdateTask', + request, + metadata || {}, + methodDescriptor_TaskService_UpdateTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.AddSubTaskRequest, + * !proto.services.task_svc.v1.AddSubTaskResponse>} + */ +const methodDescriptor_TaskService_AddSubTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/AddSubTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.AddSubTaskRequest, + proto.services.task_svc.v1.AddSubTaskResponse, + /** + * @param {!proto.services.task_svc.v1.AddSubTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.AddSubTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.AddSubTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.AddSubTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.addSubTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/AddSubTask', + request, + metadata || {}, + methodDescriptor_TaskService_AddSubTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.AddSubTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.addSubTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/AddSubTask', + request, + metadata || {}, + methodDescriptor_TaskService_AddSubTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.RemoveSubTaskRequest, + * !proto.services.task_svc.v1.RemoveSubTaskResponse>} + */ +const methodDescriptor_TaskService_RemoveSubTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/RemoveSubTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.RemoveSubTaskRequest, + proto.services.task_svc.v1.RemoveSubTaskResponse, + /** + * @param {!proto.services.task_svc.v1.RemoveSubTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.RemoveSubTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.RemoveSubTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.RemoveSubTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.removeSubTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/RemoveSubTask', + request, + metadata || {}, + methodDescriptor_TaskService_RemoveSubTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.RemoveSubTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.removeSubTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/RemoveSubTask', + request, + metadata || {}, + methodDescriptor_TaskService_RemoveSubTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.UpdateSubTaskRequest, + * !proto.services.task_svc.v1.UpdateSubTaskResponse>} + */ +const methodDescriptor_TaskService_UpdateSubTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/UpdateSubTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.UpdateSubTaskRequest, + proto.services.task_svc.v1.UpdateSubTaskResponse, + /** + * @param {!proto.services.task_svc.v1.UpdateSubTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.UpdateSubTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.UpdateSubTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.UpdateSubTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.updateSubTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/UpdateSubTask', + request, + metadata || {}, + methodDescriptor_TaskService_UpdateSubTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.UpdateSubTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.updateSubTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/UpdateSubTask', + request, + metadata || {}, + methodDescriptor_TaskService_UpdateSubTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.SubTaskToToDoRequest, + * !proto.services.task_svc.v1.SubTaskToToDoResponse>} + */ +const methodDescriptor_TaskService_SubTaskToToDo = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/SubTaskToToDo', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.SubTaskToToDoRequest, + proto.services.task_svc.v1.SubTaskToToDoResponse, + /** + * @param {!proto.services.task_svc.v1.SubTaskToToDoRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.SubTaskToToDoResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.SubTaskToToDoRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.SubTaskToToDoResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.subTaskToToDo = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/SubTaskToToDo', + request, + metadata || {}, + methodDescriptor_TaskService_SubTaskToToDo, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.SubTaskToToDoRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.subTaskToToDo = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/SubTaskToToDo', + request, + metadata || {}, + methodDescriptor_TaskService_SubTaskToToDo); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.SubTaskToDoneRequest, + * !proto.services.task_svc.v1.SubTaskToDoneResponse>} + */ +const methodDescriptor_TaskService_SubTaskToDone = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/SubTaskToDone', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.SubTaskToDoneRequest, + proto.services.task_svc.v1.SubTaskToDoneResponse, + /** + * @param {!proto.services.task_svc.v1.SubTaskToDoneRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.SubTaskToDoneResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.SubTaskToDoneRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.SubTaskToDoneResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.subTaskToDone = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/SubTaskToDone', + request, + metadata || {}, + methodDescriptor_TaskService_SubTaskToDone, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.SubTaskToDoneRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.subTaskToDone = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/SubTaskToDone', + request, + metadata || {}, + methodDescriptor_TaskService_SubTaskToDone); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.TaskToToDoRequest, + * !proto.services.task_svc.v1.TaskToToDoResponse>} + */ +const methodDescriptor_TaskService_TaskToToDo = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/TaskToToDo', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.TaskToToDoRequest, + proto.services.task_svc.v1.TaskToToDoResponse, + /** + * @param {!proto.services.task_svc.v1.TaskToToDoRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.TaskToToDoResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.TaskToToDoRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.TaskToToDoResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.taskToToDo = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/TaskToToDo', + request, + metadata || {}, + methodDescriptor_TaskService_TaskToToDo, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.TaskToToDoRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.taskToToDo = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/TaskToToDo', + request, + metadata || {}, + methodDescriptor_TaskService_TaskToToDo); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.TaskToInProgressRequest, + * !proto.services.task_svc.v1.TaskToInProgressResponse>} + */ +const methodDescriptor_TaskService_TaskToInProgress = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/TaskToInProgress', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.TaskToInProgressRequest, + proto.services.task_svc.v1.TaskToInProgressResponse, + /** + * @param {!proto.services.task_svc.v1.TaskToInProgressRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.TaskToInProgressResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.TaskToInProgressRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.TaskToInProgressResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.taskToInProgress = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/TaskToInProgress', + request, + metadata || {}, + methodDescriptor_TaskService_TaskToInProgress, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.TaskToInProgressRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.taskToInProgress = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/TaskToInProgress', + request, + metadata || {}, + methodDescriptor_TaskService_TaskToInProgress); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.TaskToDoneRequest, + * !proto.services.task_svc.v1.TaskToDoneResponse>} + */ +const methodDescriptor_TaskService_TaskToDone = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/TaskToDone', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.TaskToDoneRequest, + proto.services.task_svc.v1.TaskToDoneResponse, + /** + * @param {!proto.services.task_svc.v1.TaskToDoneRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.TaskToDoneResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.TaskToDoneRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.TaskToDoneResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.taskToDone = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/TaskToDone', + request, + metadata || {}, + methodDescriptor_TaskService_TaskToDone, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.TaskToDoneRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.taskToDone = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/TaskToDone', + request, + metadata || {}, + methodDescriptor_TaskService_TaskToDone); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.AssignTaskToUserRequest, + * !proto.services.task_svc.v1.AssignTaskToUserResponse>} + */ +const methodDescriptor_TaskService_AssignTaskToUser = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/AssignTaskToUser', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.AssignTaskToUserRequest, + proto.services.task_svc.v1.AssignTaskToUserResponse, + /** + * @param {!proto.services.task_svc.v1.AssignTaskToUserRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.AssignTaskToUserResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.AssignTaskToUserRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.AssignTaskToUserResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.assignTaskToUser = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/AssignTaskToUser', + request, + metadata || {}, + methodDescriptor_TaskService_AssignTaskToUser, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.AssignTaskToUserRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.assignTaskToUser = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/AssignTaskToUser', + request, + metadata || {}, + methodDescriptor_TaskService_AssignTaskToUser); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.UnassignTaskFromUserRequest, + * !proto.services.task_svc.v1.UnassignTaskFromUserResponse>} + */ +const methodDescriptor_TaskService_UnassignTaskFromUser = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/UnassignTaskFromUser', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.UnassignTaskFromUserRequest, + proto.services.task_svc.v1.UnassignTaskFromUserResponse, + /** + * @param {!proto.services.task_svc.v1.UnassignTaskFromUserRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.UnassignTaskFromUserResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.UnassignTaskFromUserRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.UnassignTaskFromUserResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.unassignTaskFromUser = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/UnassignTaskFromUser', + request, + metadata || {}, + methodDescriptor_TaskService_UnassignTaskFromUser, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.UnassignTaskFromUserRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.unassignTaskFromUser = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/UnassignTaskFromUser', + request, + metadata || {}, + methodDescriptor_TaskService_UnassignTaskFromUser); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.PublishTaskRequest, + * !proto.services.task_svc.v1.PublishTaskResponse>} + */ +const methodDescriptor_TaskService_PublishTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/PublishTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.PublishTaskRequest, + proto.services.task_svc.v1.PublishTaskResponse, + /** + * @param {!proto.services.task_svc.v1.PublishTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.PublishTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.PublishTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.PublishTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.publishTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/PublishTask', + request, + metadata || {}, + methodDescriptor_TaskService_PublishTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.PublishTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.publishTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/PublishTask', + request, + metadata || {}, + methodDescriptor_TaskService_PublishTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.UnpublishTaskRequest, + * !proto.services.task_svc.v1.UnpublishTaskResponse>} + */ +const methodDescriptor_TaskService_UnpublishTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/UnpublishTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.UnpublishTaskRequest, + proto.services.task_svc.v1.UnpublishTaskResponse, + /** + * @param {!proto.services.task_svc.v1.UnpublishTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.UnpublishTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.UnpublishTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.UnpublishTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.unpublishTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/UnpublishTask', + request, + metadata || {}, + methodDescriptor_TaskService_UnpublishTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.UnpublishTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.unpublishTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/UnpublishTask', + request, + metadata || {}, + methodDescriptor_TaskService_UnpublishTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.DeleteTaskRequest, + * !proto.services.task_svc.v1.DeleteTaskResponse>} + */ +const methodDescriptor_TaskService_DeleteTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskService/DeleteTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.DeleteTaskRequest, + proto.services.task_svc.v1.DeleteTaskResponse, + /** + * @param {!proto.services.task_svc.v1.DeleteTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.DeleteTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.DeleteTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.DeleteTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskServiceClient.prototype.deleteTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskService/DeleteTask', + request, + metadata || {}, + methodDescriptor_TaskService_DeleteTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.DeleteTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskServicePromiseClient.prototype.deleteTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskService/DeleteTask', + request, + metadata || {}, + methodDescriptor_TaskService_DeleteTask); +}; + + +module.exports = proto.services.task_svc.v1; + diff --git a/gen/ts/proto/services/task_svc/v1/task_svc_pb.d.ts b/gen/ts/services/task_svc/v1/task_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/task_svc/v1/task_svc_pb.d.ts rename to gen/ts/services/task_svc/v1/task_svc_pb.d.ts diff --git a/gen/ts/proto/services/task_svc/v1/task_svc_pb.js b/gen/ts/services/task_svc/v1/task_svc_pb.js similarity index 59% rename from gen/ts/proto/services/task_svc/v1/task_svc_pb.js rename to gen/ts/services/task_svc/v1/task_svc_pb.js index 6b70fde4f..872f9bddb 100644 --- a/gen/ts/proto/services/task_svc/v1/task_svc_pb.js +++ b/gen/ts/services/task_svc/v1/task_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/task_svc/v1/task_svc.proto +// source: services/task_svc/v1/task_svc.proto /** * @fileoverview * @enhanceable @@ -23,54 +23,54 @@ var global = var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); -goog.exportSymbol('proto.proto.services.task_svc.v1.AddSubTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.AddSubTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.AssignTaskToUserRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.AssignTaskToUserResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAssignedTasksRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAssignedTasksResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTaskResponse.Patient', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTaskResponse.SubTask', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTasksByPatientRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTasksByPatientResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.PublishTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.PublishTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.RemoveSubTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.RemoveSubTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.SubTaskToDoneRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.SubTaskToDoneResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.SubTaskToToDoRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.SubTaskToToDoResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.TaskStatus', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.TaskToDoneRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.TaskToDoneResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.TaskToInProgressRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.TaskToInProgressResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.TaskToToDoRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.TaskToToDoResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UnpublishTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UnpublishTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateSubTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateSubTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.AddSubTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.AddSubTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.AssignTaskToUserRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.AssignTaskToUserResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAssignedTasksRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAssignedTasksResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAssignedTasksResponse.Task', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTaskResponse.Patient', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTaskResponse.SubTask', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTasksByPatientRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTasksByPatientResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTasksByPatientResponse.Task', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask', null, global); +goog.exportSymbol('proto.services.task_svc.v1.PublishTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.PublishTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.RemoveSubTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.RemoveSubTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.SubTaskToDoneRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.SubTaskToDoneResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.SubTaskToToDoRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.SubTaskToToDoResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.TaskStatus', null, global); +goog.exportSymbol('proto.services.task_svc.v1.TaskToDoneRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.TaskToDoneResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.TaskToInProgressRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.TaskToInProgressResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.TaskToToDoRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.TaskToToDoResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UnassignTaskFromUserRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UnassignTaskFromUserResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UnpublishTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UnpublishTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateSubTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateSubTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateTaskResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -81,16 +81,16 @@ goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateTaskResponse', null, g * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateTaskRequest = function(opt_data) { +proto.services.task_svc.v1.CreateTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateTaskRequest.displayName = 'proto.proto.services.task_svc.v1.CreateTaskRequest'; + proto.services.task_svc.v1.CreateTaskRequest.displayName = 'proto.services.task_svc.v1.CreateTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -102,16 +102,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateTaskResponse = function(opt_data) { +proto.services.task_svc.v1.CreateTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateTaskResponse.displayName = 'proto.proto.services.task_svc.v1.CreateTaskResponse'; + proto.services.task_svc.v1.CreateTaskResponse.displayName = 'proto.services.task_svc.v1.CreateTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -123,16 +123,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTaskRequest = function(opt_data) { +proto.services.task_svc.v1.GetTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTaskRequest.displayName = 'proto.proto.services.task_svc.v1.GetTaskRequest'; + proto.services.task_svc.v1.GetTaskRequest.displayName = 'proto.services.task_svc.v1.GetTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -144,16 +144,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTaskResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetTaskResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetTaskResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetTaskResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTaskResponse.displayName = 'proto.proto.services.task_svc.v1.GetTaskResponse'; + proto.services.task_svc.v1.GetTaskResponse.displayName = 'proto.services.task_svc.v1.GetTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -165,16 +165,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask = function(opt_data) { +proto.services.task_svc.v1.GetTaskResponse.SubTask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTaskResponse.SubTask, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTaskResponse.SubTask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.displayName = 'proto.proto.services.task_svc.v1.GetTaskResponse.SubTask'; + proto.services.task_svc.v1.GetTaskResponse.SubTask.displayName = 'proto.services.task_svc.v1.GetTaskResponse.SubTask'; } /** * Generated by JsPbCodeGenerator. @@ -186,16 +186,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTaskResponse.Patient = function(opt_data) { +proto.services.task_svc.v1.GetTaskResponse.Patient = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTaskResponse.Patient, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTaskResponse.Patient, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTaskResponse.Patient.displayName = 'proto.proto.services.task_svc.v1.GetTaskResponse.Patient'; + proto.services.task_svc.v1.GetTaskResponse.Patient.displayName = 'proto.services.task_svc.v1.GetTaskResponse.Patient'; } /** * Generated by JsPbCodeGenerator. @@ -207,16 +207,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTasksByPatientRequest = function(opt_data) { +proto.services.task_svc.v1.GetTasksByPatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTasksByPatientRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTasksByPatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTasksByPatientRequest.displayName = 'proto.proto.services.task_svc.v1.GetTasksByPatientRequest'; + proto.services.task_svc.v1.GetTasksByPatientRequest.displayName = 'proto.services.task_svc.v1.GetTasksByPatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -228,16 +228,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetTasksByPatientResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetTasksByPatientResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetTasksByPatientResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTasksByPatientResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTasksByPatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTasksByPatientResponse.displayName = 'proto.proto.services.task_svc.v1.GetTasksByPatientResponse'; + proto.services.task_svc.v1.GetTasksByPatientResponse.displayName = 'proto.services.task_svc.v1.GetTasksByPatientResponse'; } /** * Generated by JsPbCodeGenerator. @@ -249,16 +249,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.repeatedFields_, null); +proto.services.task_svc.v1.GetTasksByPatientResponse.Task = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetTasksByPatientResponse.Task.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTasksByPatientResponse.Task, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.displayName = 'proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task'; + proto.services.task_svc.v1.GetTasksByPatientResponse.Task.displayName = 'proto.services.task_svc.v1.GetTasksByPatientResponse.Task'; } /** * Generated by JsPbCodeGenerator. @@ -270,16 +270,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask = function(opt_data) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.displayName = 'proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask'; + proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.displayName = 'proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask'; } /** * Generated by JsPbCodeGenerator. @@ -291,16 +291,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest = function(opt_data) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.displayName = 'proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest'; + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.displayName = 'proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest'; } /** * Generated by JsPbCodeGenerator. @@ -312,16 +312,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.displayName = 'proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse'; + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.displayName = 'proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse'; } /** * Generated by JsPbCodeGenerator. @@ -333,16 +333,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.repeatedFields_, null); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.displayName = 'proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task'; + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.displayName = 'proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task'; } /** * Generated by JsPbCodeGenerator. @@ -354,16 +354,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask = function(opt_data) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.displayName = 'proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask'; + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.displayName = 'proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask'; } /** * Generated by JsPbCodeGenerator. @@ -375,16 +375,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAssignedTasksRequest = function(opt_data) { +proto.services.task_svc.v1.GetAssignedTasksRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAssignedTasksRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAssignedTasksRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAssignedTasksRequest.displayName = 'proto.proto.services.task_svc.v1.GetAssignedTasksRequest'; + proto.services.task_svc.v1.GetAssignedTasksRequest.displayName = 'proto.services.task_svc.v1.GetAssignedTasksRequest'; } /** * Generated by JsPbCodeGenerator. @@ -396,16 +396,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetAssignedTasksResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetAssignedTasksResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetAssignedTasksResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAssignedTasksResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAssignedTasksResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.displayName = 'proto.proto.services.task_svc.v1.GetAssignedTasksResponse'; + proto.services.task_svc.v1.GetAssignedTasksResponse.displayName = 'proto.services.task_svc.v1.GetAssignedTasksResponse'; } /** * Generated by JsPbCodeGenerator. @@ -417,16 +417,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.repeatedFields_, null); +proto.services.task_svc.v1.GetAssignedTasksResponse.Task = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetAssignedTasksResponse.Task.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAssignedTasksResponse.Task, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.displayName = 'proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task'; + proto.services.task_svc.v1.GetAssignedTasksResponse.Task.displayName = 'proto.services.task_svc.v1.GetAssignedTasksResponse.Task'; } /** * Generated by JsPbCodeGenerator. @@ -438,16 +438,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient = function(opt_data) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.displayName = 'proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient'; + proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.displayName = 'proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient'; } /** * Generated by JsPbCodeGenerator. @@ -459,16 +459,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask = function(opt_data) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.displayName = 'proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask'; + proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.displayName = 'proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask'; } /** * Generated by JsPbCodeGenerator. @@ -480,16 +480,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateTaskRequest = function(opt_data) { +proto.services.task_svc.v1.UpdateTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateTaskRequest.displayName = 'proto.proto.services.task_svc.v1.UpdateTaskRequest'; + proto.services.task_svc.v1.UpdateTaskRequest.displayName = 'proto.services.task_svc.v1.UpdateTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -501,16 +501,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateTaskResponse = function(opt_data) { +proto.services.task_svc.v1.UpdateTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateTaskResponse.displayName = 'proto.proto.services.task_svc.v1.UpdateTaskResponse'; + proto.services.task_svc.v1.UpdateTaskResponse.displayName = 'proto.services.task_svc.v1.UpdateTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -522,16 +522,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.AddSubTaskRequest = function(opt_data) { +proto.services.task_svc.v1.AddSubTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.AddSubTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.AddSubTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.AddSubTaskRequest.displayName = 'proto.proto.services.task_svc.v1.AddSubTaskRequest'; + proto.services.task_svc.v1.AddSubTaskRequest.displayName = 'proto.services.task_svc.v1.AddSubTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -543,16 +543,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.AddSubTaskResponse = function(opt_data) { +proto.services.task_svc.v1.AddSubTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.AddSubTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.AddSubTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.AddSubTaskResponse.displayName = 'proto.proto.services.task_svc.v1.AddSubTaskResponse'; + proto.services.task_svc.v1.AddSubTaskResponse.displayName = 'proto.services.task_svc.v1.AddSubTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -564,16 +564,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.RemoveSubTaskRequest = function(opt_data) { +proto.services.task_svc.v1.RemoveSubTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.RemoveSubTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.RemoveSubTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.RemoveSubTaskRequest.displayName = 'proto.proto.services.task_svc.v1.RemoveSubTaskRequest'; + proto.services.task_svc.v1.RemoveSubTaskRequest.displayName = 'proto.services.task_svc.v1.RemoveSubTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -585,16 +585,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.RemoveSubTaskResponse = function(opt_data) { +proto.services.task_svc.v1.RemoveSubTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.RemoveSubTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.RemoveSubTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.RemoveSubTaskResponse.displayName = 'proto.proto.services.task_svc.v1.RemoveSubTaskResponse'; + proto.services.task_svc.v1.RemoveSubTaskResponse.displayName = 'proto.services.task_svc.v1.RemoveSubTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -606,16 +606,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest = function(opt_data) { +proto.services.task_svc.v1.UpdateSubTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateSubTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateSubTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateSubTaskRequest.displayName = 'proto.proto.services.task_svc.v1.UpdateSubTaskRequest'; + proto.services.task_svc.v1.UpdateSubTaskRequest.displayName = 'proto.services.task_svc.v1.UpdateSubTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -627,16 +627,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateSubTaskResponse = function(opt_data) { +proto.services.task_svc.v1.UpdateSubTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateSubTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateSubTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateSubTaskResponse.displayName = 'proto.proto.services.task_svc.v1.UpdateSubTaskResponse'; + proto.services.task_svc.v1.UpdateSubTaskResponse.displayName = 'proto.services.task_svc.v1.UpdateSubTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -648,16 +648,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.SubTaskToToDoRequest = function(opt_data) { +proto.services.task_svc.v1.SubTaskToToDoRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.SubTaskToToDoRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.SubTaskToToDoRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.SubTaskToToDoRequest.displayName = 'proto.proto.services.task_svc.v1.SubTaskToToDoRequest'; + proto.services.task_svc.v1.SubTaskToToDoRequest.displayName = 'proto.services.task_svc.v1.SubTaskToToDoRequest'; } /** * Generated by JsPbCodeGenerator. @@ -669,16 +669,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.SubTaskToToDoResponse = function(opt_data) { +proto.services.task_svc.v1.SubTaskToToDoResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.SubTaskToToDoResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.SubTaskToToDoResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.SubTaskToToDoResponse.displayName = 'proto.proto.services.task_svc.v1.SubTaskToToDoResponse'; + proto.services.task_svc.v1.SubTaskToToDoResponse.displayName = 'proto.services.task_svc.v1.SubTaskToToDoResponse'; } /** * Generated by JsPbCodeGenerator. @@ -690,16 +690,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.SubTaskToDoneRequest = function(opt_data) { +proto.services.task_svc.v1.SubTaskToDoneRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.SubTaskToDoneRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.SubTaskToDoneRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.SubTaskToDoneRequest.displayName = 'proto.proto.services.task_svc.v1.SubTaskToDoneRequest'; + proto.services.task_svc.v1.SubTaskToDoneRequest.displayName = 'proto.services.task_svc.v1.SubTaskToDoneRequest'; } /** * Generated by JsPbCodeGenerator. @@ -711,16 +711,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.SubTaskToDoneResponse = function(opt_data) { +proto.services.task_svc.v1.SubTaskToDoneResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.SubTaskToDoneResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.SubTaskToDoneResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.SubTaskToDoneResponse.displayName = 'proto.proto.services.task_svc.v1.SubTaskToDoneResponse'; + proto.services.task_svc.v1.SubTaskToDoneResponse.displayName = 'proto.services.task_svc.v1.SubTaskToDoneResponse'; } /** * Generated by JsPbCodeGenerator. @@ -732,16 +732,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.TaskToToDoRequest = function(opt_data) { +proto.services.task_svc.v1.TaskToToDoRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.TaskToToDoRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.TaskToToDoRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.TaskToToDoRequest.displayName = 'proto.proto.services.task_svc.v1.TaskToToDoRequest'; + proto.services.task_svc.v1.TaskToToDoRequest.displayName = 'proto.services.task_svc.v1.TaskToToDoRequest'; } /** * Generated by JsPbCodeGenerator. @@ -753,16 +753,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.TaskToToDoResponse = function(opt_data) { +proto.services.task_svc.v1.TaskToToDoResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.TaskToToDoResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.TaskToToDoResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.TaskToToDoResponse.displayName = 'proto.proto.services.task_svc.v1.TaskToToDoResponse'; + proto.services.task_svc.v1.TaskToToDoResponse.displayName = 'proto.services.task_svc.v1.TaskToToDoResponse'; } /** * Generated by JsPbCodeGenerator. @@ -774,16 +774,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.TaskToInProgressRequest = function(opt_data) { +proto.services.task_svc.v1.TaskToInProgressRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.TaskToInProgressRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.TaskToInProgressRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.TaskToInProgressRequest.displayName = 'proto.proto.services.task_svc.v1.TaskToInProgressRequest'; + proto.services.task_svc.v1.TaskToInProgressRequest.displayName = 'proto.services.task_svc.v1.TaskToInProgressRequest'; } /** * Generated by JsPbCodeGenerator. @@ -795,16 +795,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.TaskToInProgressResponse = function(opt_data) { +proto.services.task_svc.v1.TaskToInProgressResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.TaskToInProgressResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.TaskToInProgressResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.TaskToInProgressResponse.displayName = 'proto.proto.services.task_svc.v1.TaskToInProgressResponse'; + proto.services.task_svc.v1.TaskToInProgressResponse.displayName = 'proto.services.task_svc.v1.TaskToInProgressResponse'; } /** * Generated by JsPbCodeGenerator. @@ -816,16 +816,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.TaskToDoneRequest = function(opt_data) { +proto.services.task_svc.v1.TaskToDoneRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.TaskToDoneRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.TaskToDoneRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.TaskToDoneRequest.displayName = 'proto.proto.services.task_svc.v1.TaskToDoneRequest'; + proto.services.task_svc.v1.TaskToDoneRequest.displayName = 'proto.services.task_svc.v1.TaskToDoneRequest'; } /** * Generated by JsPbCodeGenerator. @@ -837,16 +837,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.TaskToDoneResponse = function(opt_data) { +proto.services.task_svc.v1.TaskToDoneResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.TaskToDoneResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.TaskToDoneResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.TaskToDoneResponse.displayName = 'proto.proto.services.task_svc.v1.TaskToDoneResponse'; + proto.services.task_svc.v1.TaskToDoneResponse.displayName = 'proto.services.task_svc.v1.TaskToDoneResponse'; } /** * Generated by JsPbCodeGenerator. @@ -858,16 +858,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.AssignTaskToUserRequest = function(opt_data) { +proto.services.task_svc.v1.AssignTaskToUserRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.AssignTaskToUserRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.AssignTaskToUserRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.AssignTaskToUserRequest.displayName = 'proto.proto.services.task_svc.v1.AssignTaskToUserRequest'; + proto.services.task_svc.v1.AssignTaskToUserRequest.displayName = 'proto.services.task_svc.v1.AssignTaskToUserRequest'; } /** * Generated by JsPbCodeGenerator. @@ -879,16 +879,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.AssignTaskToUserResponse = function(opt_data) { +proto.services.task_svc.v1.AssignTaskToUserResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.AssignTaskToUserResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.AssignTaskToUserResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.AssignTaskToUserResponse.displayName = 'proto.proto.services.task_svc.v1.AssignTaskToUserResponse'; + proto.services.task_svc.v1.AssignTaskToUserResponse.displayName = 'proto.services.task_svc.v1.AssignTaskToUserResponse'; } /** * Generated by JsPbCodeGenerator. @@ -900,16 +900,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest = function(opt_data) { +proto.services.task_svc.v1.UnassignTaskFromUserRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UnassignTaskFromUserRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.displayName = 'proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest'; + proto.services.task_svc.v1.UnassignTaskFromUserRequest.displayName = 'proto.services.task_svc.v1.UnassignTaskFromUserRequest'; } /** * Generated by JsPbCodeGenerator. @@ -921,16 +921,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse = function(opt_data) { +proto.services.task_svc.v1.UnassignTaskFromUserResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UnassignTaskFromUserResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.displayName = 'proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse'; + proto.services.task_svc.v1.UnassignTaskFromUserResponse.displayName = 'proto.services.task_svc.v1.UnassignTaskFromUserResponse'; } /** * Generated by JsPbCodeGenerator. @@ -942,16 +942,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.PublishTaskRequest = function(opt_data) { +proto.services.task_svc.v1.PublishTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.PublishTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.PublishTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.PublishTaskRequest.displayName = 'proto.proto.services.task_svc.v1.PublishTaskRequest'; + proto.services.task_svc.v1.PublishTaskRequest.displayName = 'proto.services.task_svc.v1.PublishTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -963,16 +963,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.PublishTaskResponse = function(opt_data) { +proto.services.task_svc.v1.PublishTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.PublishTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.PublishTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.PublishTaskResponse.displayName = 'proto.proto.services.task_svc.v1.PublishTaskResponse'; + proto.services.task_svc.v1.PublishTaskResponse.displayName = 'proto.services.task_svc.v1.PublishTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -984,16 +984,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UnpublishTaskRequest = function(opt_data) { +proto.services.task_svc.v1.UnpublishTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UnpublishTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UnpublishTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UnpublishTaskRequest.displayName = 'proto.proto.services.task_svc.v1.UnpublishTaskRequest'; + proto.services.task_svc.v1.UnpublishTaskRequest.displayName = 'proto.services.task_svc.v1.UnpublishTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1005,16 +1005,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UnpublishTaskResponse = function(opt_data) { +proto.services.task_svc.v1.UnpublishTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UnpublishTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UnpublishTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UnpublishTaskResponse.displayName = 'proto.proto.services.task_svc.v1.UnpublishTaskResponse'; + proto.services.task_svc.v1.UnpublishTaskResponse.displayName = 'proto.services.task_svc.v1.UnpublishTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1026,16 +1026,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteTaskRequest = function(opt_data) { +proto.services.task_svc.v1.DeleteTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteTaskRequest.displayName = 'proto.proto.services.task_svc.v1.DeleteTaskRequest'; + proto.services.task_svc.v1.DeleteTaskRequest.displayName = 'proto.services.task_svc.v1.DeleteTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1047,16 +1047,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteTaskResponse = function(opt_data) { +proto.services.task_svc.v1.DeleteTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteTaskResponse.displayName = 'proto.proto.services.task_svc.v1.DeleteTaskResponse'; + proto.services.task_svc.v1.DeleteTaskResponse.displayName = 'proto.services.task_svc.v1.DeleteTaskResponse'; } @@ -1074,8 +1074,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateTaskRequest.toObject(opt_includeInstance, this); }; @@ -1084,11 +1084,11 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), description: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1109,23 +1109,23 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateTaskRequest} + * @return {!proto.services.task_svc.v1.CreateTaskRequest} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateTaskRequest; - return proto.proto.services.task_svc.v1.CreateTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateTaskRequest; + return proto.services.task_svc.v1.CreateTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateTaskRequest} + * @return {!proto.services.task_svc.v1.CreateTaskRequest} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1154,7 +1154,7 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.deserializeBinaryFromReader = msg.setDueAt(value); break; case 6: - var value = /** @type {!proto.proto.services.task_svc.v1.TaskStatus} */ (reader.readEnum()); + var value = /** @type {!proto.services.task_svc.v1.TaskStatus} */ (reader.readEnum()); msg.setInitialStatus(value); break; default: @@ -1170,9 +1170,9 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1180,11 +1180,11 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateTaskRequest} message + * @param {!proto.services.task_svc.v1.CreateTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -1222,7 +1222,7 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.serializeBinaryToWriter = fun google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter ); } - f = /** @type {!proto.proto.services.task_svc.v1.TaskStatus} */ (jspb.Message.getField(message, 6)); + f = /** @type {!proto.services.task_svc.v1.TaskStatus} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeEnum( 6, @@ -1236,16 +1236,16 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.serializeBinaryToWriter = fun * optional string name = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.getName = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.CreateTaskRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1254,25 +1254,25 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.setName = function( * optional string description = 2; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.getDescription = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.setDescription = function(value) { +proto.services.task_svc.v1.CreateTaskRequest.prototype.setDescription = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.clearDescription = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.clearDescription = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -1281,7 +1281,7 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.clearDescription = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.hasDescription = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.hasDescription = function() { return jspb.Message.getField(this, 2) != null; }; @@ -1290,16 +1290,16 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.hasDescription = fu * optional string patient_id = 3; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.getPatientId = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.getPatientId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.setPatientId = function(value) { +proto.services.task_svc.v1.CreateTaskRequest.prototype.setPatientId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1308,16 +1308,16 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.setPatientId = func * optional bool public = 4; * @return {boolean} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.getPublic = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.getPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.setPublic = function(value) { +proto.services.task_svc.v1.CreateTaskRequest.prototype.setPublic = function(value) { return jspb.Message.setProto3BooleanField(this, 4, value); }; @@ -1326,7 +1326,7 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.setPublic = functio * optional google.protobuf.Timestamp due_at = 5; * @return {?proto.google.protobuf.Timestamp} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.getDueAt = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.getDueAt = function() { return /** @type{?proto.google.protobuf.Timestamp} */ ( jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); }; @@ -1334,18 +1334,18 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.getDueAt = function /** * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.setDueAt = function(value) { +proto.services.task_svc.v1.CreateTaskRequest.prototype.setDueAt = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.clearDueAt = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.clearDueAt = function() { return this.setDueAt(undefined); }; @@ -1354,34 +1354,34 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.clearDueAt = functi * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.hasDueAt = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.hasDueAt = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional TaskStatus initial_status = 6; - * @return {!proto.proto.services.task_svc.v1.TaskStatus} + * @return {!proto.services.task_svc.v1.TaskStatus} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.getInitialStatus = function() { - return /** @type {!proto.proto.services.task_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +proto.services.task_svc.v1.CreateTaskRequest.prototype.getInitialStatus = function() { + return /** @type {!proto.services.task_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** - * @param {!proto.proto.services.task_svc.v1.TaskStatus} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskRequest} returns this + * @param {!proto.services.task_svc.v1.TaskStatus} value + * @return {!proto.services.task_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.setInitialStatus = function(value) { +proto.services.task_svc.v1.CreateTaskRequest.prototype.setInitialStatus = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.clearInitialStatus = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.clearInitialStatus = function() { return jspb.Message.setField(this, 6, undefined); }; @@ -1390,7 +1390,7 @@ proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.clearInitialStatus * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.CreateTaskRequest.prototype.hasInitialStatus = function() { +proto.services.task_svc.v1.CreateTaskRequest.prototype.hasInitialStatus = function() { return jspb.Message.getField(this, 6) != null; }; @@ -1411,8 +1411,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateTaskResponse.toObject(opt_includeInstance, this); }; @@ -1421,11 +1421,11 @@ proto.proto.services.task_svc.v1.CreateTaskResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1441,23 +1441,23 @@ proto.proto.services.task_svc.v1.CreateTaskResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateTaskResponse} + * @return {!proto.services.task_svc.v1.CreateTaskResponse} */ -proto.proto.services.task_svc.v1.CreateTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateTaskResponse; - return proto.proto.services.task_svc.v1.CreateTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateTaskResponse; + return proto.services.task_svc.v1.CreateTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateTaskResponse} + * @return {!proto.services.task_svc.v1.CreateTaskResponse} */ -proto.proto.services.task_svc.v1.CreateTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1481,9 +1481,9 @@ proto.proto.services.task_svc.v1.CreateTaskResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1491,11 +1491,11 @@ proto.proto.services.task_svc.v1.CreateTaskResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateTaskResponse} message + * @param {!proto.services.task_svc.v1.CreateTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1511,16 +1511,16 @@ proto.proto.services.task_svc.v1.CreateTaskResponse.serializeBinaryToWriter = fu * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskResponse.prototype.getId = function() { +proto.services.task_svc.v1.CreateTaskResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskResponse} returns this + * @return {!proto.services.task_svc.v1.CreateTaskResponse} returns this */ -proto.proto.services.task_svc.v1.CreateTaskResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.CreateTaskResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1541,8 +1541,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTaskRequest.toObject(opt_includeInstance, this); }; @@ -1551,11 +1551,11 @@ proto.proto.services.task_svc.v1.GetTaskRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1571,23 +1571,23 @@ proto.proto.services.task_svc.v1.GetTaskRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTaskRequest} + * @return {!proto.services.task_svc.v1.GetTaskRequest} */ -proto.proto.services.task_svc.v1.GetTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTaskRequest; - return proto.proto.services.task_svc.v1.GetTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTaskRequest; + return proto.services.task_svc.v1.GetTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTaskRequest} + * @return {!proto.services.task_svc.v1.GetTaskRequest} */ -proto.proto.services.task_svc.v1.GetTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1611,9 +1611,9 @@ proto.proto.services.task_svc.v1.GetTaskRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1621,11 +1621,11 @@ proto.proto.services.task_svc.v1.GetTaskRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTaskRequest} message + * @param {!proto.services.task_svc.v1.GetTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1641,16 +1641,16 @@ proto.proto.services.task_svc.v1.GetTaskRequest.serializeBinaryToWriter = functi * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskRequest.prototype.getId = function() { +proto.services.task_svc.v1.GetTaskRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskRequest} returns this + * @return {!proto.services.task_svc.v1.GetTaskRequest} returns this */ -proto.proto.services.task_svc.v1.GetTaskRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.GetTaskRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1661,7 +1661,7 @@ proto.proto.services.task_svc.v1.GetTaskRequest.prototype.setId = function(value * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetTaskResponse.repeatedFields_ = [10]; +proto.services.task_svc.v1.GetTaskResponse.repeatedFields_ = [10]; @@ -1678,8 +1678,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTaskResponse.toObject(opt_includeInstance, this); }; @@ -1688,23 +1688,23 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), description: jspb.Message.getFieldWithDefault(msg, 3, ""), status: jspb.Message.getFieldWithDefault(msg, 4, 0), assignedUserId: jspb.Message.getFieldWithDefault(msg, 5, ""), - patient: (f = msg.getPatient()) && proto.proto.services.task_svc.v1.GetTaskResponse.Patient.toObject(includeInstance, f), + patient: (f = msg.getPatient()) && proto.services.task_svc.v1.GetTaskResponse.Patient.toObject(includeInstance, f), pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), dueAt: (f = msg.getDueAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""), subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.toObject, includeInstance), + proto.services.task_svc.v1.GetTaskResponse.SubTask.toObject, includeInstance), organizationId: jspb.Message.getFieldWithDefault(msg, 11, "") }; @@ -1719,23 +1719,23 @@ proto.proto.services.task_svc.v1.GetTaskResponse.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} + * @return {!proto.services.task_svc.v1.GetTaskResponse} */ -proto.proto.services.task_svc.v1.GetTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTaskResponse; - return proto.proto.services.task_svc.v1.GetTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTaskResponse; + return proto.services.task_svc.v1.GetTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} + * @return {!proto.services.task_svc.v1.GetTaskResponse} */ -proto.proto.services.task_svc.v1.GetTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1755,7 +1755,7 @@ proto.proto.services.task_svc.v1.GetTaskResponse.deserializeBinaryFromReader = f msg.setDescription(value); break; case 4: - var value = /** @type {!proto.proto.services.task_svc.v1.TaskStatus} */ (reader.readEnum()); + var value = /** @type {!proto.services.task_svc.v1.TaskStatus} */ (reader.readEnum()); msg.setStatus(value); break; case 5: @@ -1763,8 +1763,8 @@ proto.proto.services.task_svc.v1.GetTaskResponse.deserializeBinaryFromReader = f msg.setAssignedUserId(value); break; case 6: - var value = new proto.proto.services.task_svc.v1.GetTaskResponse.Patient; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetTaskResponse.Patient.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetTaskResponse.Patient; + reader.readMessage(value,proto.services.task_svc.v1.GetTaskResponse.Patient.deserializeBinaryFromReader); msg.setPatient(value); break; case 7: @@ -1781,8 +1781,8 @@ proto.proto.services.task_svc.v1.GetTaskResponse.deserializeBinaryFromReader = f msg.setCreatedBy(value); break; case 10: - var value = new proto.proto.services.task_svc.v1.GetTaskResponse.SubTask; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetTaskResponse.SubTask; + reader.readMessage(value,proto.services.task_svc.v1.GetTaskResponse.SubTask.deserializeBinaryFromReader); msg.addSubtasks(value); break; case 11: @@ -1802,9 +1802,9 @@ proto.proto.services.task_svc.v1.GetTaskResponse.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1812,11 +1812,11 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTaskResponse} message + * @param {!proto.services.task_svc.v1.GetTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1858,7 +1858,7 @@ proto.proto.services.task_svc.v1.GetTaskResponse.serializeBinaryToWriter = funct writer.writeMessage( 6, f, - proto.proto.services.task_svc.v1.GetTaskResponse.Patient.serializeBinaryToWriter + proto.services.task_svc.v1.GetTaskResponse.Patient.serializeBinaryToWriter ); } f = message.getPublic(); @@ -1888,7 +1888,7 @@ proto.proto.services.task_svc.v1.GetTaskResponse.serializeBinaryToWriter = funct writer.writeRepeatedMessage( 10, f, - proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.serializeBinaryToWriter + proto.services.task_svc.v1.GetTaskResponse.SubTask.serializeBinaryToWriter ); } f = message.getOrganizationId(); @@ -1917,8 +1917,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTaskResponse.SubTask.toObject(opt_includeInstance, this); }; @@ -1927,11 +1927,11 @@ proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTaskResponse.SubTask} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTaskResponse.SubTask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTaskResponse.SubTask.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1950,23 +1950,23 @@ proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse.SubTask} + * @return {!proto.services.task_svc.v1.GetTaskResponse.SubTask} */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTaskResponse.SubTask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTaskResponse.SubTask; - return proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTaskResponse.SubTask; + return proto.services.task_svc.v1.GetTaskResponse.SubTask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTaskResponse.SubTask} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTaskResponse.SubTask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse.SubTask} + * @return {!proto.services.task_svc.v1.GetTaskResponse.SubTask} */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTaskResponse.SubTask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2002,9 +2002,9 @@ proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTaskResponse.SubTask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2012,11 +2012,11 @@ proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTaskResponse.SubTask} message + * @param {!proto.services.task_svc.v1.GetTaskResponse.SubTask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTaskResponse.SubTask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2053,16 +2053,16 @@ proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.getId = function() { +proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.setId = function(value) { +proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2071,16 +2071,16 @@ proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.setId = funct * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.getName = function() { +proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.setName = function(value) { +proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2089,16 +2089,16 @@ proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.setName = fun * optional bool done = 3; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.getDone = function() { +proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.getDone = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.setDone = function(value) { +proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.setDone = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -2107,16 +2107,16 @@ proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.setDone = fun * optional string created_by = 4; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.getCreatedBy = function() { +proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.getCreatedBy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.setCreatedBy = function(value) { +proto.services.task_svc.v1.GetTaskResponse.SubTask.prototype.setCreatedBy = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -2137,8 +2137,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTaskResponse.Patient.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTaskResponse.Patient.toObject(opt_includeInstance, this); }; @@ -2147,11 +2147,11 @@ proto.proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTaskResponse.Patient} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTaskResponse.Patient} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTaskResponse.Patient.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTaskResponse.Patient.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2168,23 +2168,23 @@ proto.proto.services.task_svc.v1.GetTaskResponse.Patient.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse.Patient} + * @return {!proto.services.task_svc.v1.GetTaskResponse.Patient} */ -proto.proto.services.task_svc.v1.GetTaskResponse.Patient.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTaskResponse.Patient.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTaskResponse.Patient; - return proto.proto.services.task_svc.v1.GetTaskResponse.Patient.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTaskResponse.Patient; + return proto.services.task_svc.v1.GetTaskResponse.Patient.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTaskResponse.Patient} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTaskResponse.Patient} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse.Patient} + * @return {!proto.services.task_svc.v1.GetTaskResponse.Patient} */ -proto.proto.services.task_svc.v1.GetTaskResponse.Patient.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTaskResponse.Patient.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2212,9 +2212,9 @@ proto.proto.services.task_svc.v1.GetTaskResponse.Patient.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTaskResponse.Patient.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTaskResponse.Patient.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2222,11 +2222,11 @@ proto.proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTaskResponse.Patient} message + * @param {!proto.services.task_svc.v1.GetTaskResponse.Patient} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTaskResponse.Patient.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTaskResponse.Patient.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2249,16 +2249,16 @@ proto.proto.services.task_svc.v1.GetTaskResponse.Patient.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.getId = function() { +proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse.Patient} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.setId = function(value) { +proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2267,16 +2267,16 @@ proto.proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.setId = funct * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.getName = function() { +proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse.Patient} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse.Patient} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.setName = function(value) { +proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2285,16 +2285,16 @@ proto.proto.services.task_svc.v1.GetTaskResponse.Patient.prototype.setName = fun * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getId = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.GetTaskResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2303,16 +2303,16 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setId = function(valu * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getName = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setName = function(value) { +proto.services.task_svc.v1.GetTaskResponse.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2321,34 +2321,34 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setName = function(va * optional string description = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getDescription = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setDescription = function(value) { +proto.services.task_svc.v1.GetTaskResponse.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional TaskStatus status = 4; - * @return {!proto.proto.services.task_svc.v1.TaskStatus} + * @return {!proto.services.task_svc.v1.TaskStatus} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getStatus = function() { - return /** @type {!proto.proto.services.task_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +proto.services.task_svc.v1.GetTaskResponse.prototype.getStatus = function() { + return /** @type {!proto.services.task_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** - * @param {!proto.proto.services.task_svc.v1.TaskStatus} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @param {!proto.services.task_svc.v1.TaskStatus} value + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setStatus = function(value) { +proto.services.task_svc.v1.GetTaskResponse.prototype.setStatus = function(value) { return jspb.Message.setProto3EnumField(this, 4, value); }; @@ -2357,44 +2357,44 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setStatus = function( * optional string assigned_user_id = 5; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getAssignedUserId = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.getAssignedUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setAssignedUserId = function(value) { +proto.services.task_svc.v1.GetTaskResponse.prototype.setAssignedUserId = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; /** * optional Patient patient = 6; - * @return {?proto.proto.services.task_svc.v1.GetTaskResponse.Patient} + * @return {?proto.services.task_svc.v1.GetTaskResponse.Patient} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getPatient = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetTaskResponse.Patient} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetTaskResponse.Patient, 6)); +proto.services.task_svc.v1.GetTaskResponse.prototype.getPatient = function() { + return /** @type{?proto.services.task_svc.v1.GetTaskResponse.Patient} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetTaskResponse.Patient, 6)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetTaskResponse.Patient|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @param {?proto.services.task_svc.v1.GetTaskResponse.Patient|undefined} value + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setPatient = function(value) { +proto.services.task_svc.v1.GetTaskResponse.prototype.setPatient = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.clearPatient = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.clearPatient = function() { return this.setPatient(undefined); }; @@ -2403,7 +2403,7 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.clearPatient = functi * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.hasPatient = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.hasPatient = function() { return jspb.Message.getField(this, 6) != null; }; @@ -2412,16 +2412,16 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.hasPatient = function * optional bool public = 7; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getPublic = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.getPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setPublic = function(value) { +proto.services.task_svc.v1.GetTaskResponse.prototype.setPublic = function(value) { return jspb.Message.setProto3BooleanField(this, 7, value); }; @@ -2430,7 +2430,7 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setPublic = function( * optional google.protobuf.Timestamp due_at = 8; * @return {?proto.google.protobuf.Timestamp} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getDueAt = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.getDueAt = function() { return /** @type{?proto.google.protobuf.Timestamp} */ ( jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8)); }; @@ -2438,18 +2438,18 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getDueAt = function() /** * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setDueAt = function(value) { +proto.services.task_svc.v1.GetTaskResponse.prototype.setDueAt = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.clearDueAt = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.clearDueAt = function() { return this.setDueAt(undefined); }; @@ -2458,7 +2458,7 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.clearDueAt = function * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.hasDueAt = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.hasDueAt = function() { return jspb.Message.getField(this, 8) != null; }; @@ -2467,54 +2467,54 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.hasDueAt = function() * optional string created_by = 9; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getCreatedBy = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.getCreatedBy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setCreatedBy = function(value) { +proto.services.task_svc.v1.GetTaskResponse.prototype.setCreatedBy = function(value) { return jspb.Message.setProto3StringField(this, 9, value); }; /** * repeated SubTask subtasks = 10; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetTaskResponse.SubTask, 10)); +proto.services.task_svc.v1.GetTaskResponse.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetTaskResponse.SubTask, 10)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setSubtasksList = function(value) { +proto.services.task_svc.v1.GetTaskResponse.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 10, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetTaskResponse.SubTask=} opt_value + * @param {!proto.services.task_svc.v1.GetTaskResponse.SubTask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse.SubTask} + * @return {!proto.services.task_svc.v1.GetTaskResponse.SubTask} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.proto.services.task_svc.v1.GetTaskResponse.SubTask, opt_index); +proto.services.task_svc.v1.GetTaskResponse.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.services.task_svc.v1.GetTaskResponse.SubTask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.clearSubtasksList = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; @@ -2523,16 +2523,16 @@ proto.proto.services.task_svc.v1.GetTaskResponse.prototype.clearSubtasksList = f * optional string organization_id = 11; * @return {string} */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.getOrganizationId = function() { +proto.services.task_svc.v1.GetTaskResponse.prototype.getOrganizationId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.task_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.task_svc.v1.GetTaskResponse.prototype.setOrganizationId = function(value) { +proto.services.task_svc.v1.GetTaskResponse.prototype.setOrganizationId = function(value) { return jspb.Message.setProto3StringField(this, 11, value); }; @@ -2553,8 +2553,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTasksByPatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTasksByPatientRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTasksByPatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTasksByPatientRequest.toObject(opt_includeInstance, this); }; @@ -2563,11 +2563,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientRequest.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTasksByPatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTasksByPatientRequest.toObject = function(includeInstance, msg) { var f, obj = { patientId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2583,23 +2583,23 @@ proto.proto.services.task_svc.v1.GetTasksByPatientRequest.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientRequest} + * @return {!proto.services.task_svc.v1.GetTasksByPatientRequest} */ -proto.proto.services.task_svc.v1.GetTasksByPatientRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTasksByPatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTasksByPatientRequest; - return proto.proto.services.task_svc.v1.GetTasksByPatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTasksByPatientRequest; + return proto.services.task_svc.v1.GetTasksByPatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTasksByPatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientRequest} + * @return {!proto.services.task_svc.v1.GetTasksByPatientRequest} */ -proto.proto.services.task_svc.v1.GetTasksByPatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTasksByPatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2623,9 +2623,9 @@ proto.proto.services.task_svc.v1.GetTasksByPatientRequest.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTasksByPatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTasksByPatientRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTasksByPatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2633,11 +2633,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientRequest.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientRequest} message + * @param {!proto.services.task_svc.v1.GetTasksByPatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTasksByPatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPatientId(); if (f.length > 0) { @@ -2653,16 +2653,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientRequest.serializeBinaryToWrite * optional string patient_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientRequest.prototype.getPatientId = function() { +proto.services.task_svc.v1.GetTasksByPatientRequest.prototype.getPatientId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientRequest} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientRequest} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientRequest.prototype.setPatientId = function(value) { +proto.services.task_svc.v1.GetTasksByPatientRequest.prototype.setPatientId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2673,7 +2673,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientRequest.prototype.setPatientId * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetTasksByPatientResponse.repeatedFields_ = [1]; @@ -2690,8 +2690,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTasksByPatientResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTasksByPatientResponse.toObject(opt_includeInstance, this); }; @@ -2700,14 +2700,14 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTasksByPatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTasksByPatientResponse.toObject = function(includeInstance, msg) { var f, obj = { tasksList: jspb.Message.toObjectList(msg.getTasksList(), - proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.toObject, includeInstance) + proto.services.task_svc.v1.GetTasksByPatientResponse.Task.toObject, includeInstance) }; if (includeInstance) { @@ -2721,23 +2721,23 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse} + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTasksByPatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTasksByPatientResponse; - return proto.proto.services.task_svc.v1.GetTasksByPatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTasksByPatientResponse; + return proto.services.task_svc.v1.GetTasksByPatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTasksByPatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse} + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTasksByPatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2745,8 +2745,8 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.deserializeBinaryFrom var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetTasksByPatientResponse.Task; + reader.readMessage(value,proto.services.task_svc.v1.GetTasksByPatientResponse.Task.deserializeBinaryFromReader); msg.addTasks(value); break; default: @@ -2762,9 +2762,9 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTasksByPatientResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTasksByPatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2772,18 +2772,18 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse} message + * @param {!proto.services.task_svc.v1.GetTasksByPatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTasksByPatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTasksList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.serializeBinaryToWriter + proto.services.task_svc.v1.GetTasksByPatientResponse.Task.serializeBinaryToWriter ); } }; @@ -2795,7 +2795,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.serializeBinaryToWrit * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.repeatedFields_ = [10]; +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.repeatedFields_ = [10]; @@ -2812,8 +2812,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTasksByPatientResponse.Task.toObject(opt_includeInstance, this); }; @@ -2822,11 +2822,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2838,7 +2838,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.toObject = funct dueAt: (f = msg.getDueAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""), subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.toObject, includeInstance) + proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.toObject, includeInstance) }; if (includeInstance) { @@ -2852,23 +2852,23 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task; - return proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTasksByPatientResponse.Task; + return proto.services.task_svc.v1.GetTasksByPatientResponse.Task.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2888,7 +2888,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.deserializeBinar msg.setDescription(value); break; case 4: - var value = /** @type {!proto.proto.services.task_svc.v1.TaskStatus} */ (reader.readEnum()); + var value = /** @type {!proto.services.task_svc.v1.TaskStatus} */ (reader.readEnum()); msg.setStatus(value); break; case 5: @@ -2913,8 +2913,8 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.deserializeBinar msg.setCreatedBy(value); break; case 10: - var value = new proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask; + reader.readMessage(value,proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.deserializeBinaryFromReader); msg.addSubtasks(value); break; default: @@ -2930,9 +2930,9 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTasksByPatientResponse.Task.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2940,11 +2940,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} message + * @param {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3015,7 +3015,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.serializeBinaryT writer.writeRepeatedMessage( 10, f, - proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.serializeBinaryToWriter + proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.serializeBinaryToWriter ); } }; @@ -3037,8 +3037,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.toObject(opt_includeInstance, this); }; @@ -3047,11 +3047,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototyp * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -3070,23 +3070,23 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.toObject /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask; - return proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask; + return proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3122,9 +3122,9 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.deserial * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3132,11 +3132,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototyp /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} message + * @param {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3173,16 +3173,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.serializ * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.getId = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.setId = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3191,16 +3191,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototyp * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.getName = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.setName = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3209,16 +3209,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototyp * optional bool done = 3; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.getDone = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.getDone = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.setDone = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.setDone = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -3227,16 +3227,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototyp * optional string created_by = 4; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.getCreatedBy = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.getCreatedBy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.setCreatedBy = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototype.setCreatedBy = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -3245,16 +3245,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask.prototyp * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getId = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setId = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3263,16 +3263,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setId * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getName = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setName = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3281,34 +3281,34 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setNam * optional string description = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getDescription = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setDescription = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional TaskStatus status = 4; - * @return {!proto.proto.services.task_svc.v1.TaskStatus} + * @return {!proto.services.task_svc.v1.TaskStatus} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getStatus = function() { - return /** @type {!proto.proto.services.task_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getStatus = function() { + return /** @type {!proto.services.task_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** - * @param {!proto.proto.services.task_svc.v1.TaskStatus} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @param {!proto.services.task_svc.v1.TaskStatus} value + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setStatus = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setStatus = function(value) { return jspb.Message.setProto3EnumField(this, 4, value); }; @@ -3317,25 +3317,25 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setSta * optional string assigned_user_id = 5; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getAssignedUserId = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getAssignedUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setAssignedUserId = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setAssignedUserId = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.clearAssignedUserId = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.clearAssignedUserId = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -3344,7 +3344,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.clearA * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.hasAssignedUserId = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.hasAssignedUserId = function() { return jspb.Message.getField(this, 5) != null; }; @@ -3353,16 +3353,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.hasAss * optional string patient_id = 6; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getPatientId = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getPatientId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setPatientId = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setPatientId = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; @@ -3371,16 +3371,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setPat * optional bool public = 7; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getPublic = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setPublic = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setPublic = function(value) { return jspb.Message.setProto3BooleanField(this, 7, value); }; @@ -3389,7 +3389,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setPub * optional google.protobuf.Timestamp due_at = 8; * @return {?proto.google.protobuf.Timestamp} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getDueAt = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getDueAt = function() { return /** @type{?proto.google.protobuf.Timestamp} */ ( jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8)); }; @@ -3397,18 +3397,18 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getDue /** * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setDueAt = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setDueAt = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.clearDueAt = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.clearDueAt = function() { return this.setDueAt(undefined); }; @@ -3417,7 +3417,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.clearD * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.hasDueAt = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.hasDueAt = function() { return jspb.Message.getField(this, 8) != null; }; @@ -3426,92 +3426,92 @@ proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.hasDue * optional string created_by = 9; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getCreatedBy = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getCreatedBy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setCreatedBy = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setCreatedBy = function(value) { return jspb.Message.setProto3StringField(this, 9, value); }; /** * repeated SubTask subtasks = 10; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask, 10)); +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask, 10)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setSubtasksList = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 10, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask=} opt_value + * @param {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask, opt_index); +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.clearSubtasksList = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.Task.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; /** * repeated Task tasks = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.getTasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task, 1)); +proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.getTasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetTasksByPatientResponse.Task, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.setTasksList = function(value) { +proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.setTasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task=} opt_value + * @param {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task} + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse.Task} */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.addTasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetTasksByPatientResponse.Task, opt_index); +proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.addTasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetTasksByPatientResponse.Task, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientResponse} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientResponse} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.clearTasksList = function() { +proto.services.task_svc.v1.GetTasksByPatientResponse.prototype.clearTasksList = function() { return this.setTasksList([]); }; @@ -3532,8 +3532,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.toObject(opt_includeInstance, this); }; @@ -3542,11 +3542,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.prototyp * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.toObject = function(includeInstance, msg) { var f, obj = { patientId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -3562,23 +3562,23 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.toObject /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest; - return proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest; + return proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3602,9 +3602,9 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.deserial * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3612,11 +3612,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.prototyp /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} message + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPatientId(); if (f.length > 0) { @@ -3632,16 +3632,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.serializ * optional string patient_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.prototype.getPatientId = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.prototype.getPatientId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.prototype.setPatientId = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.prototype.setPatientId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3652,7 +3652,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest.prototyp * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.repeatedFields_ = [1,2,3]; +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.repeatedFields_ = [1,2,3]; @@ -3669,8 +3669,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.toObject(opt_includeInstance, this); }; @@ -3679,18 +3679,18 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototy * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { todoList: jspb.Message.toObjectList(msg.getTodoList(), - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.toObject, includeInstance), + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.toObject, includeInstance), inProgressList: jspb.Message.toObjectList(msg.getInProgressList(), - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.toObject, includeInstance), + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.toObject, includeInstance), doneList: jspb.Message.toObjectList(msg.getDoneList(), - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.toObject, includeInstance) + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.toObject, includeInstance) }; if (includeInstance) { @@ -3704,23 +3704,23 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.toObjec /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse; - return proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse; + return proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3728,18 +3728,18 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.deseria var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task; + reader.readMessage(value,proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinaryFromReader); msg.addTodo(value); break; case 2: - var value = new proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task; + reader.readMessage(value,proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinaryFromReader); msg.addInProgress(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task; + reader.readMessage(value,proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinaryFromReader); msg.addDone(value); break; default: @@ -3755,9 +3755,9 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.deseria * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3765,18 +3765,18 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototy /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} message + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTodoList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.serializeBinaryToWriter + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.serializeBinaryToWriter ); } f = message.getInProgressList(); @@ -3784,7 +3784,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.seriali writer.writeRepeatedMessage( 2, f, - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.serializeBinaryToWriter + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.serializeBinaryToWriter ); } f = message.getDoneList(); @@ -3792,7 +3792,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.seriali writer.writeRepeatedMessage( 3, f, - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.serializeBinaryToWriter + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.serializeBinaryToWriter ); } }; @@ -3804,7 +3804,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.seriali * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.repeatedFields_ = [10]; +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.repeatedFields_ = [10]; @@ -3821,8 +3821,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.toObject(opt_includeInstance, this); }; @@ -3831,11 +3831,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -3846,7 +3846,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.to dueAt: (f = msg.getDueAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""), subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.toObject, includeInstance) + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.toObject, includeInstance) }; if (includeInstance) { @@ -3860,23 +3860,23 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.to /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task; - return proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task; + return proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3917,8 +3917,8 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.de msg.setCreatedBy(value); break; case 10: - var value = new proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask; + reader.readMessage(value,proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.deserializeBinaryFromReader); msg.addSubtasks(value); break; default: @@ -3934,9 +3934,9 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.de * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3944,11 +3944,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} message + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4012,7 +4012,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.se writer.writeRepeatedMessage( 10, f, - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.serializeBinaryToWriter + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.serializeBinaryToWriter ); } }; @@ -4034,8 +4034,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.toObject(opt_includeInstance, this); }; @@ -4044,11 +4044,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.Su * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -4067,23 +4067,23 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.Su /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask; - return proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask; + return proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4119,9 +4119,9 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.Su * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4129,11 +4129,11 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.Su /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} message + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4170,16 +4170,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.Su * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.getId = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.setId = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4188,16 +4188,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.Su * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.getName = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.setName = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4206,16 +4206,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.Su * optional bool done = 3; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.getDone = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.getDone = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.setDone = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.setDone = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -4224,16 +4224,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.Su * optional string created_by = 4; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.getCreatedBy = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.getCreatedBy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.setCreatedBy = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask.prototype.setCreatedBy = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -4242,16 +4242,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.Su * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getId = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setId = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4260,16 +4260,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getName = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setName = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4278,16 +4278,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr * optional string description = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getDescription = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setDescription = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -4296,25 +4296,25 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr * optional string assigned_user_id = 5; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getAssignedUserId = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getAssignedUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setAssignedUserId = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setAssignedUserId = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.clearAssignedUserId = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.clearAssignedUserId = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -4323,7 +4323,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.hasAssignedUserId = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.hasAssignedUserId = function() { return jspb.Message.getField(this, 5) != null; }; @@ -4332,16 +4332,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr * optional string patient_id = 6; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getPatientId = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getPatientId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setPatientId = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setPatientId = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; @@ -4350,16 +4350,16 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr * optional bool public = 7; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getPublic = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setPublic = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setPublic = function(value) { return jspb.Message.setProto3BooleanField(this, 7, value); }; @@ -4368,7 +4368,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr * optional google.protobuf.Timestamp due_at = 8; * @return {?proto.google.protobuf.Timestamp} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getDueAt = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getDueAt = function() { return /** @type{?proto.google.protobuf.Timestamp} */ ( jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8)); }; @@ -4376,18 +4376,18 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr /** * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setDueAt = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setDueAt = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.clearDueAt = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.clearDueAt = function() { return this.setDueAt(undefined); }; @@ -4396,7 +4396,7 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.hasDueAt = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.hasDueAt = function() { return jspb.Message.getField(this, 8) != null; }; @@ -4405,168 +4405,168 @@ proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.pr * optional string created_by = 9; * @return {string} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getCreatedBy = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getCreatedBy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setCreatedBy = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setCreatedBy = function(value) { return jspb.Message.setProto3StringField(this, 9, value); }; /** * repeated SubTask subtasks = 10; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask, 10)); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask, 10)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setSubtasksList = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 10, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask=} opt_value + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask, opt_index); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.clearSubtasksList = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; /** * repeated Task todo = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.getTodoList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, 1)); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.getTodoList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.setTodoList = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.setTodoList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task=} opt_value + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.addTodo = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, opt_index); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.addTodo = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.clearTodoList = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.clearTodoList = function() { return this.setTodoList([]); }; /** * repeated Task in_progress = 2; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.getInProgressList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, 2)); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.getInProgressList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, 2)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.setInProgressList = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.setInProgressList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task=} opt_value + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.addInProgress = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, opt_index); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.addInProgress = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.clearInProgressList = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.clearInProgressList = function() { return this.setInProgressList([]); }; /** * repeated Task done = 3; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.getDoneList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, 3)); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.getDoneList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, 3)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.setDoneList = function(value) { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.setDoneList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task=} opt_value + * @param {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task} */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.addDone = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, opt_index); +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.addDone = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this + * @return {!proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse} returns this */ -proto.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.clearDoneList = function() { +proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.prototype.clearDoneList = function() { return this.setDoneList([]); }; @@ -4587,8 +4587,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAssignedTasksRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAssignedTasksRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAssignedTasksRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAssignedTasksRequest.toObject(opt_includeInstance, this); }; @@ -4597,11 +4597,11 @@ proto.proto.services.task_svc.v1.GetAssignedTasksRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAssignedTasksRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAssignedTasksRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAssignedTasksRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -4617,23 +4617,23 @@ proto.proto.services.task_svc.v1.GetAssignedTasksRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksRequest} + * @return {!proto.services.task_svc.v1.GetAssignedTasksRequest} */ -proto.proto.services.task_svc.v1.GetAssignedTasksRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAssignedTasksRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAssignedTasksRequest; - return proto.proto.services.task_svc.v1.GetAssignedTasksRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAssignedTasksRequest; + return proto.services.task_svc.v1.GetAssignedTasksRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAssignedTasksRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksRequest} + * @return {!proto.services.task_svc.v1.GetAssignedTasksRequest} */ -proto.proto.services.task_svc.v1.GetAssignedTasksRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAssignedTasksRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4653,9 +4653,9 @@ proto.proto.services.task_svc.v1.GetAssignedTasksRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAssignedTasksRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAssignedTasksRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAssignedTasksRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAssignedTasksRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4663,11 +4663,11 @@ proto.proto.services.task_svc.v1.GetAssignedTasksRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksRequest} message + * @param {!proto.services.task_svc.v1.GetAssignedTasksRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAssignedTasksRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAssignedTasksRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -4678,7 +4678,7 @@ proto.proto.services.task_svc.v1.GetAssignedTasksRequest.serializeBinaryToWriter * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetAssignedTasksResponse.repeatedFields_ = [1]; @@ -4695,8 +4695,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAssignedTasksResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAssignedTasksResponse.toObject(opt_includeInstance, this); }; @@ -4705,14 +4705,14 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAssignedTasksResponse.toObject = function(includeInstance, msg) { var f, obj = { tasksList: jspb.Message.toObjectList(msg.getTasksList(), - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.toObject, includeInstance) + proto.services.task_svc.v1.GetAssignedTasksResponse.Task.toObject, includeInstance) }; if (includeInstance) { @@ -4726,23 +4726,23 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse} + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAssignedTasksResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAssignedTasksResponse; - return proto.proto.services.task_svc.v1.GetAssignedTasksResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAssignedTasksResponse; + return proto.services.task_svc.v1.GetAssignedTasksResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse} + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAssignedTasksResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4750,8 +4750,8 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.deserializeBinaryFromR var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetAssignedTasksResponse.Task; + reader.readMessage(value,proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinaryFromReader); msg.addTasks(value); break; default: @@ -4767,9 +4767,9 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAssignedTasksResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4777,18 +4777,18 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse} message + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAssignedTasksResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTasksList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.serializeBinaryToWriter + proto.services.task_svc.v1.GetAssignedTasksResponse.Task.serializeBinaryToWriter ); } }; @@ -4800,7 +4800,7 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.serializeBinaryToWrite * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.repeatedFields_ = [10]; +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.repeatedFields_ = [10]; @@ -4817,8 +4817,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAssignedTasksResponse.Task.toObject(opt_includeInstance, this); }; @@ -4827,23 +4827,23 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.toObjec * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), description: jspb.Message.getFieldWithDefault(msg, 3, ""), status: jspb.Message.getFieldWithDefault(msg, 4, 0), assignedUserId: jspb.Message.getFieldWithDefault(msg, 5, ""), - patient: (f = msg.getPatient()) && proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.toObject(includeInstance, f), + patient: (f = msg.getPatient()) && proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.toObject(includeInstance, f), pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), dueAt: (f = msg.getDueAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""), subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.toObject, includeInstance) + proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.toObject, includeInstance) }; if (includeInstance) { @@ -4857,23 +4857,23 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.toObject = functi /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task; - return proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAssignedTasksResponse.Task; + return proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4893,7 +4893,7 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinary msg.setDescription(value); break; case 4: - var value = /** @type {!proto.proto.services.task_svc.v1.TaskStatus} */ (reader.readEnum()); + var value = /** @type {!proto.services.task_svc.v1.TaskStatus} */ (reader.readEnum()); msg.setStatus(value); break; case 5: @@ -4901,8 +4901,8 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinary msg.setAssignedUserId(value); break; case 6: - var value = new proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient; + reader.readMessage(value,proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.deserializeBinaryFromReader); msg.setPatient(value); break; case 7: @@ -4919,8 +4919,8 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinary msg.setCreatedBy(value); break; case 10: - var value = new proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask; + reader.readMessage(value,proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.deserializeBinaryFromReader); msg.addSubtasks(value); break; default: @@ -4936,9 +4936,9 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.deserializeBinary * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAssignedTasksResponse.Task.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4946,11 +4946,11 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.seriali /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} message + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4992,7 +4992,7 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.serializeBinaryTo writer.writeMessage( 6, f, - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.serializeBinaryToWriter + proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.serializeBinaryToWriter ); } f = message.getPublic(); @@ -5022,7 +5022,7 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.serializeBinaryTo writer.writeRepeatedMessage( 10, f, - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.serializeBinaryToWriter + proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.serializeBinaryToWriter ); } }; @@ -5044,8 +5044,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.toObject(opt_includeInstance, this); }; @@ -5054,11 +5054,11 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -5075,23 +5075,23 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.toObject /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient; - return proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient; + return proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5119,9 +5119,9 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.deseriali * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5129,11 +5129,11 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} message + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -5156,16 +5156,16 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.serialize * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.getId = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.setId = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5174,16 +5174,16 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.getName = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.setName = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -5204,8 +5204,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.toObject(opt_includeInstance, this); }; @@ -5214,11 +5214,11 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -5237,23 +5237,23 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.toObject /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask; - return proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask; + return proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5289,9 +5289,9 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.deseriali * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5299,11 +5299,11 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} message + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -5340,16 +5340,16 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.serialize * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.getId = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.setId = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5358,16 +5358,16 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.getName = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.setName = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -5376,16 +5376,16 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype * optional bool done = 3; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.getDone = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.getDone = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.setDone = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.setDone = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -5394,16 +5394,16 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype * optional string created_by = 4; * @return {string} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.getCreatedBy = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.getCreatedBy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.setCreatedBy = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype.setCreatedBy = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -5412,16 +5412,16 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask.prototype * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getId = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setId = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5430,16 +5430,16 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setId = * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getName = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setName = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -5448,34 +5448,34 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setName * optional string description = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getDescription = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setDescription = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional TaskStatus status = 4; - * @return {!proto.proto.services.task_svc.v1.TaskStatus} + * @return {!proto.services.task_svc.v1.TaskStatus} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getStatus = function() { - return /** @type {!proto.proto.services.task_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getStatus = function() { + return /** @type {!proto.services.task_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** - * @param {!proto.proto.services.task_svc.v1.TaskStatus} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @param {!proto.services.task_svc.v1.TaskStatus} value + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setStatus = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setStatus = function(value) { return jspb.Message.setProto3EnumField(this, 4, value); }; @@ -5484,44 +5484,44 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setStat * optional string assigned_user_id = 5; * @return {string} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getAssignedUserId = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getAssignedUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setAssignedUserId = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setAssignedUserId = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; /** * optional Patient patient = 6; - * @return {?proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} + * @return {?proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getPatient = function() { - return /** @type{?proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient, 6)); +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getPatient = function() { + return /** @type{?proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient} */ ( + jspb.Message.getWrapperField(this, proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient, 6)); }; /** - * @param {?proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @param {?proto.services.task_svc.v1.GetAssignedTasksResponse.Task.Patient|undefined} value + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setPatient = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setPatient = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.clearPatient = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.clearPatient = function() { return this.setPatient(undefined); }; @@ -5530,7 +5530,7 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.clearPa * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.hasPatient = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.hasPatient = function() { return jspb.Message.getField(this, 6) != null; }; @@ -5539,16 +5539,16 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.hasPati * optional bool public = 7; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getPublic = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setPublic = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setPublic = function(value) { return jspb.Message.setProto3BooleanField(this, 7, value); }; @@ -5557,7 +5557,7 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setPubl * optional google.protobuf.Timestamp due_at = 8; * @return {?proto.google.protobuf.Timestamp} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getDueAt = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getDueAt = function() { return /** @type{?proto.google.protobuf.Timestamp} */ ( jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8)); }; @@ -5565,18 +5565,18 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getDueA /** * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setDueAt = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setDueAt = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.clearDueAt = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.clearDueAt = function() { return this.setDueAt(undefined); }; @@ -5585,7 +5585,7 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.clearDu * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.hasDueAt = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.hasDueAt = function() { return jspb.Message.getField(this, 8) != null; }; @@ -5594,92 +5594,92 @@ proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.hasDueA * optional string created_by = 9; * @return {string} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getCreatedBy = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getCreatedBy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setCreatedBy = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setCreatedBy = function(value) { return jspb.Message.setProto3StringField(this, 9, value); }; /** * repeated SubTask subtasks = 10; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask, 10)); +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask, 10)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setSubtasksList = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 10, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask=} opt_value + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask, opt_index); +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.clearSubtasksList = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.Task.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; /** * repeated Task tasks = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.getTasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task, 1)); +proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.getTasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetAssignedTasksResponse.Task, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.setTasksList = function(value) { +proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.setTasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task=} opt_value + * @param {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task} + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse.Task} */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.addTasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetAssignedTasksResponse.Task, opt_index); +proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.addTasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetAssignedTasksResponse.Task, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetAssignedTasksResponse} returns this + * @return {!proto.services.task_svc.v1.GetAssignedTasksResponse} returns this */ -proto.proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.clearTasksList = function() { +proto.services.task_svc.v1.GetAssignedTasksResponse.prototype.clearTasksList = function() { return this.setTasksList([]); }; @@ -5700,8 +5700,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateTaskRequest.toObject(opt_includeInstance, this); }; @@ -5710,11 +5710,11 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -5734,23 +5734,23 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskRequest} + * @return {!proto.services.task_svc.v1.UpdateTaskRequest} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateTaskRequest; - return proto.proto.services.task_svc.v1.UpdateTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateTaskRequest; + return proto.services.task_svc.v1.UpdateTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskRequest} + * @return {!proto.services.task_svc.v1.UpdateTaskRequest} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5791,9 +5791,9 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5801,11 +5801,11 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskRequest} message + * @param {!proto.services.task_svc.v1.UpdateTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -5850,16 +5850,16 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.getId = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5868,25 +5868,25 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.setId = function(va * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.getName = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.setName = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearName = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearName = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -5895,7 +5895,7 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearName = functio * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.hasName = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.hasName = function() { return jspb.Message.getField(this, 2) != null; }; @@ -5904,25 +5904,25 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.hasName = function( * optional string description = 3; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.getDescription = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.setDescription = function(value) { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.setDescription = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearDescription = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearDescription = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -5931,7 +5931,7 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearDescription = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.hasDescription = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.hasDescription = function() { return jspb.Message.getField(this, 3) != null; }; @@ -5940,7 +5940,7 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.hasDescription = fu * optional google.protobuf.Timestamp due_at = 4; * @return {?proto.google.protobuf.Timestamp} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.getDueAt = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.getDueAt = function() { return /** @type{?proto.google.protobuf.Timestamp} */ ( jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)); }; @@ -5948,18 +5948,18 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.getDueAt = function /** * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.proto.services.task_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.setDueAt = function(value) { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.setDueAt = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearDueAt = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearDueAt = function() { return this.setDueAt(undefined); }; @@ -5968,7 +5968,7 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearDueAt = functi * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.hasDueAt = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.hasDueAt = function() { return jspb.Message.getField(this, 4) != null; }; @@ -5977,25 +5977,25 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.hasDueAt = function * optional bool public = 5; * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.getPublic = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.getPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.setPublic = function(value) { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.setPublic = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearPublic = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearPublic = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -6004,7 +6004,7 @@ proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.clearPublic = funct * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateTaskRequest.prototype.hasPublic = function() { +proto.services.task_svc.v1.UpdateTaskRequest.prototype.hasPublic = function() { return jspb.Message.getField(this, 5) != null; }; @@ -6025,8 +6025,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateTaskResponse.toObject(opt_includeInstance, this); }; @@ -6035,11 +6035,11 @@ proto.proto.services.task_svc.v1.UpdateTaskResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -6055,23 +6055,23 @@ proto.proto.services.task_svc.v1.UpdateTaskResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskResponse} + * @return {!proto.services.task_svc.v1.UpdateTaskResponse} */ -proto.proto.services.task_svc.v1.UpdateTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateTaskResponse; - return proto.proto.services.task_svc.v1.UpdateTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateTaskResponse; + return proto.services.task_svc.v1.UpdateTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskResponse} + * @return {!proto.services.task_svc.v1.UpdateTaskResponse} */ -proto.proto.services.task_svc.v1.UpdateTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6091,9 +6091,9 @@ proto.proto.services.task_svc.v1.UpdateTaskResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6101,11 +6101,11 @@ proto.proto.services.task_svc.v1.UpdateTaskResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskResponse} message + * @param {!proto.services.task_svc.v1.UpdateTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -6126,8 +6126,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.AddSubTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.AddSubTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.AddSubTaskRequest.toObject(opt_includeInstance, this); }; @@ -6136,11 +6136,11 @@ proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.AddSubTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.AddSubTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.AddSubTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), taskId: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -6158,23 +6158,23 @@ proto.proto.services.task_svc.v1.AddSubTaskRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.AddSubTaskRequest} + * @return {!proto.services.task_svc.v1.AddSubTaskRequest} */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.AddSubTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.AddSubTaskRequest; - return proto.proto.services.task_svc.v1.AddSubTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.AddSubTaskRequest; + return proto.services.task_svc.v1.AddSubTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.AddSubTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.AddSubTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.AddSubTaskRequest} + * @return {!proto.services.task_svc.v1.AddSubTaskRequest} */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.AddSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6206,9 +6206,9 @@ proto.proto.services.task_svc.v1.AddSubTaskRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.AddSubTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.AddSubTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.AddSubTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6216,11 +6216,11 @@ proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.AddSubTaskRequest} message + * @param {!proto.services.task_svc.v1.AddSubTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.AddSubTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -6250,16 +6250,16 @@ proto.proto.services.task_svc.v1.AddSubTaskRequest.serializeBinaryToWriter = fun * optional string name = 1; * @return {string} */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.getName = function() { +proto.services.task_svc.v1.AddSubTaskRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.AddSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.AddSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.AddSubTaskRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -6268,16 +6268,16 @@ proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.setName = function( * optional string task_id = 2; * @return {string} */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.getTaskId = function() { +proto.services.task_svc.v1.AddSubTaskRequest.prototype.getTaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.AddSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.AddSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.setTaskId = function(value) { +proto.services.task_svc.v1.AddSubTaskRequest.prototype.setTaskId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -6286,25 +6286,25 @@ proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.setTaskId = functio * optional bool done = 3; * @return {boolean} */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.getDone = function() { +proto.services.task_svc.v1.AddSubTaskRequest.prototype.getDone = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.AddSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.AddSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.setDone = function(value) { +proto.services.task_svc.v1.AddSubTaskRequest.prototype.setDone = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.AddSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.AddSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.clearDone = function() { +proto.services.task_svc.v1.AddSubTaskRequest.prototype.clearDone = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -6313,7 +6313,7 @@ proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.clearDone = functio * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.AddSubTaskRequest.prototype.hasDone = function() { +proto.services.task_svc.v1.AddSubTaskRequest.prototype.hasDone = function() { return jspb.Message.getField(this, 3) != null; }; @@ -6334,8 +6334,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.AddSubTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.AddSubTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.AddSubTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.AddSubTaskResponse.toObject(opt_includeInstance, this); }; @@ -6344,11 +6344,11 @@ proto.proto.services.task_svc.v1.AddSubTaskResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.AddSubTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.AddSubTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AddSubTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.AddSubTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -6364,23 +6364,23 @@ proto.proto.services.task_svc.v1.AddSubTaskResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.AddSubTaskResponse} + * @return {!proto.services.task_svc.v1.AddSubTaskResponse} */ -proto.proto.services.task_svc.v1.AddSubTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.AddSubTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.AddSubTaskResponse; - return proto.proto.services.task_svc.v1.AddSubTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.AddSubTaskResponse; + return proto.services.task_svc.v1.AddSubTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.AddSubTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.AddSubTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.AddSubTaskResponse} + * @return {!proto.services.task_svc.v1.AddSubTaskResponse} */ -proto.proto.services.task_svc.v1.AddSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.AddSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6404,9 +6404,9 @@ proto.proto.services.task_svc.v1.AddSubTaskResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.AddSubTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.AddSubTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.AddSubTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.AddSubTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6414,11 +6414,11 @@ proto.proto.services.task_svc.v1.AddSubTaskResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.AddSubTaskResponse} message + * @param {!proto.services.task_svc.v1.AddSubTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AddSubTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.AddSubTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -6434,16 +6434,16 @@ proto.proto.services.task_svc.v1.AddSubTaskResponse.serializeBinaryToWriter = fu * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.AddSubTaskResponse.prototype.getId = function() { +proto.services.task_svc.v1.AddSubTaskResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.AddSubTaskResponse} returns this + * @return {!proto.services.task_svc.v1.AddSubTaskResponse} returns this */ -proto.proto.services.task_svc.v1.AddSubTaskResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.AddSubTaskResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -6464,8 +6464,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.RemoveSubTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.RemoveSubTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.RemoveSubTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.RemoveSubTaskRequest.toObject(opt_includeInstance, this); }; @@ -6474,11 +6474,11 @@ proto.proto.services.task_svc.v1.RemoveSubTaskRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.RemoveSubTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.RemoveSubTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.RemoveSubTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.RemoveSubTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -6494,23 +6494,23 @@ proto.proto.services.task_svc.v1.RemoveSubTaskRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.RemoveSubTaskRequest} + * @return {!proto.services.task_svc.v1.RemoveSubTaskRequest} */ -proto.proto.services.task_svc.v1.RemoveSubTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.RemoveSubTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.RemoveSubTaskRequest; - return proto.proto.services.task_svc.v1.RemoveSubTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.RemoveSubTaskRequest; + return proto.services.task_svc.v1.RemoveSubTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.RemoveSubTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.RemoveSubTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.RemoveSubTaskRequest} + * @return {!proto.services.task_svc.v1.RemoveSubTaskRequest} */ -proto.proto.services.task_svc.v1.RemoveSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.RemoveSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6534,9 +6534,9 @@ proto.proto.services.task_svc.v1.RemoveSubTaskRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.RemoveSubTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.RemoveSubTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.RemoveSubTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.RemoveSubTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6544,11 +6544,11 @@ proto.proto.services.task_svc.v1.RemoveSubTaskRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.RemoveSubTaskRequest} message + * @param {!proto.services.task_svc.v1.RemoveSubTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.RemoveSubTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.RemoveSubTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -6564,16 +6564,16 @@ proto.proto.services.task_svc.v1.RemoveSubTaskRequest.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.RemoveSubTaskRequest.prototype.getId = function() { +proto.services.task_svc.v1.RemoveSubTaskRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.RemoveSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.RemoveSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.RemoveSubTaskRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.RemoveSubTaskRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -6594,8 +6594,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.RemoveSubTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.RemoveSubTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.RemoveSubTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.RemoveSubTaskResponse.toObject(opt_includeInstance, this); }; @@ -6604,11 +6604,11 @@ proto.proto.services.task_svc.v1.RemoveSubTaskResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.RemoveSubTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.RemoveSubTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.RemoveSubTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.RemoveSubTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -6624,23 +6624,23 @@ proto.proto.services.task_svc.v1.RemoveSubTaskResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.RemoveSubTaskResponse} + * @return {!proto.services.task_svc.v1.RemoveSubTaskResponse} */ -proto.proto.services.task_svc.v1.RemoveSubTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.RemoveSubTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.RemoveSubTaskResponse; - return proto.proto.services.task_svc.v1.RemoveSubTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.RemoveSubTaskResponse; + return proto.services.task_svc.v1.RemoveSubTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.RemoveSubTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.RemoveSubTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.RemoveSubTaskResponse} + * @return {!proto.services.task_svc.v1.RemoveSubTaskResponse} */ -proto.proto.services.task_svc.v1.RemoveSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.RemoveSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6660,9 +6660,9 @@ proto.proto.services.task_svc.v1.RemoveSubTaskResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.RemoveSubTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.RemoveSubTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.RemoveSubTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.RemoveSubTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6670,11 +6670,11 @@ proto.proto.services.task_svc.v1.RemoveSubTaskResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.RemoveSubTaskResponse} message + * @param {!proto.services.task_svc.v1.RemoveSubTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.RemoveSubTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.RemoveSubTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -6695,8 +6695,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateSubTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateSubTaskRequest.toObject(opt_includeInstance, this); }; @@ -6705,11 +6705,11 @@ proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateSubTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateSubTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateSubTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -6726,23 +6726,23 @@ proto.proto.services.task_svc.v1.UpdateSubTaskRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateSubTaskRequest} + * @return {!proto.services.task_svc.v1.UpdateSubTaskRequest} */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateSubTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateSubTaskRequest; - return proto.proto.services.task_svc.v1.UpdateSubTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateSubTaskRequest; + return proto.services.task_svc.v1.UpdateSubTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateSubTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateSubTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateSubTaskRequest} + * @return {!proto.services.task_svc.v1.UpdateSubTaskRequest} */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6770,9 +6770,9 @@ proto.proto.services.task_svc.v1.UpdateSubTaskRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateSubTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateSubTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6780,11 +6780,11 @@ proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateSubTaskRequest} message + * @param {!proto.services.task_svc.v1.UpdateSubTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateSubTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -6807,16 +6807,16 @@ proto.proto.services.task_svc.v1.UpdateSubTaskRequest.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.getId = function() { +proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -6825,25 +6825,25 @@ proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.setId = function * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.getName = function() { +proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.setName = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.clearName = function() { +proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.clearName = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -6852,7 +6852,7 @@ proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.clearName = func * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.hasName = function() { +proto.services.task_svc.v1.UpdateSubTaskRequest.prototype.hasName = function() { return jspb.Message.getField(this, 2) != null; }; @@ -6873,8 +6873,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateSubTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateSubTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateSubTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateSubTaskResponse.toObject(opt_includeInstance, this); }; @@ -6883,11 +6883,11 @@ proto.proto.services.task_svc.v1.UpdateSubTaskResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateSubTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateSubTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateSubTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateSubTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -6903,23 +6903,23 @@ proto.proto.services.task_svc.v1.UpdateSubTaskResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateSubTaskResponse} + * @return {!proto.services.task_svc.v1.UpdateSubTaskResponse} */ -proto.proto.services.task_svc.v1.UpdateSubTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateSubTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateSubTaskResponse; - return proto.proto.services.task_svc.v1.UpdateSubTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateSubTaskResponse; + return proto.services.task_svc.v1.UpdateSubTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateSubTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateSubTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateSubTaskResponse} + * @return {!proto.services.task_svc.v1.UpdateSubTaskResponse} */ -proto.proto.services.task_svc.v1.UpdateSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6939,9 +6939,9 @@ proto.proto.services.task_svc.v1.UpdateSubTaskResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateSubTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateSubTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateSubTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateSubTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6949,11 +6949,11 @@ proto.proto.services.task_svc.v1.UpdateSubTaskResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateSubTaskResponse} message + * @param {!proto.services.task_svc.v1.UpdateSubTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateSubTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateSubTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -6974,8 +6974,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.SubTaskToToDoRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.SubTaskToToDoRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.SubTaskToToDoRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.SubTaskToToDoRequest.toObject(opt_includeInstance, this); }; @@ -6984,11 +6984,11 @@ proto.proto.services.task_svc.v1.SubTaskToToDoRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.SubTaskToToDoRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.SubTaskToToDoRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.SubTaskToToDoRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.SubTaskToToDoRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -7004,23 +7004,23 @@ proto.proto.services.task_svc.v1.SubTaskToToDoRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.SubTaskToToDoRequest} + * @return {!proto.services.task_svc.v1.SubTaskToToDoRequest} */ -proto.proto.services.task_svc.v1.SubTaskToToDoRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.SubTaskToToDoRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.SubTaskToToDoRequest; - return proto.proto.services.task_svc.v1.SubTaskToToDoRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.SubTaskToToDoRequest; + return proto.services.task_svc.v1.SubTaskToToDoRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.SubTaskToToDoRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.SubTaskToToDoRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.SubTaskToToDoRequest} + * @return {!proto.services.task_svc.v1.SubTaskToToDoRequest} */ -proto.proto.services.task_svc.v1.SubTaskToToDoRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.SubTaskToToDoRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7044,9 +7044,9 @@ proto.proto.services.task_svc.v1.SubTaskToToDoRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.SubTaskToToDoRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.SubTaskToToDoRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.SubTaskToToDoRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.SubTaskToToDoRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7054,11 +7054,11 @@ proto.proto.services.task_svc.v1.SubTaskToToDoRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.SubTaskToToDoRequest} message + * @param {!proto.services.task_svc.v1.SubTaskToToDoRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.SubTaskToToDoRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.SubTaskToToDoRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -7074,16 +7074,16 @@ proto.proto.services.task_svc.v1.SubTaskToToDoRequest.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.SubTaskToToDoRequest.prototype.getId = function() { +proto.services.task_svc.v1.SubTaskToToDoRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.SubTaskToToDoRequest} returns this + * @return {!proto.services.task_svc.v1.SubTaskToToDoRequest} returns this */ -proto.proto.services.task_svc.v1.SubTaskToToDoRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.SubTaskToToDoRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -7104,8 +7104,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.SubTaskToToDoResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.SubTaskToToDoResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.SubTaskToToDoResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.SubTaskToToDoResponse.toObject(opt_includeInstance, this); }; @@ -7114,11 +7114,11 @@ proto.proto.services.task_svc.v1.SubTaskToToDoResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.SubTaskToToDoResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.SubTaskToToDoResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.SubTaskToToDoResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.SubTaskToToDoResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -7134,23 +7134,23 @@ proto.proto.services.task_svc.v1.SubTaskToToDoResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.SubTaskToToDoResponse} + * @return {!proto.services.task_svc.v1.SubTaskToToDoResponse} */ -proto.proto.services.task_svc.v1.SubTaskToToDoResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.SubTaskToToDoResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.SubTaskToToDoResponse; - return proto.proto.services.task_svc.v1.SubTaskToToDoResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.SubTaskToToDoResponse; + return proto.services.task_svc.v1.SubTaskToToDoResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.SubTaskToToDoResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.SubTaskToToDoResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.SubTaskToToDoResponse} + * @return {!proto.services.task_svc.v1.SubTaskToToDoResponse} */ -proto.proto.services.task_svc.v1.SubTaskToToDoResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.SubTaskToToDoResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7170,9 +7170,9 @@ proto.proto.services.task_svc.v1.SubTaskToToDoResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.SubTaskToToDoResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.SubTaskToToDoResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.SubTaskToToDoResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.SubTaskToToDoResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7180,11 +7180,11 @@ proto.proto.services.task_svc.v1.SubTaskToToDoResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.SubTaskToToDoResponse} message + * @param {!proto.services.task_svc.v1.SubTaskToToDoResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.SubTaskToToDoResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.SubTaskToToDoResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -7205,8 +7205,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.SubTaskToDoneRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.SubTaskToDoneRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.SubTaskToDoneRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.SubTaskToDoneRequest.toObject(opt_includeInstance, this); }; @@ -7215,11 +7215,11 @@ proto.proto.services.task_svc.v1.SubTaskToDoneRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.SubTaskToDoneRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.SubTaskToDoneRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.SubTaskToDoneRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.SubTaskToDoneRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -7235,23 +7235,23 @@ proto.proto.services.task_svc.v1.SubTaskToDoneRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.SubTaskToDoneRequest} + * @return {!proto.services.task_svc.v1.SubTaskToDoneRequest} */ -proto.proto.services.task_svc.v1.SubTaskToDoneRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.SubTaskToDoneRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.SubTaskToDoneRequest; - return proto.proto.services.task_svc.v1.SubTaskToDoneRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.SubTaskToDoneRequest; + return proto.services.task_svc.v1.SubTaskToDoneRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.SubTaskToDoneRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.SubTaskToDoneRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.SubTaskToDoneRequest} + * @return {!proto.services.task_svc.v1.SubTaskToDoneRequest} */ -proto.proto.services.task_svc.v1.SubTaskToDoneRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.SubTaskToDoneRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7275,9 +7275,9 @@ proto.proto.services.task_svc.v1.SubTaskToDoneRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.SubTaskToDoneRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.SubTaskToDoneRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.SubTaskToDoneRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.SubTaskToDoneRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7285,11 +7285,11 @@ proto.proto.services.task_svc.v1.SubTaskToDoneRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.SubTaskToDoneRequest} message + * @param {!proto.services.task_svc.v1.SubTaskToDoneRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.SubTaskToDoneRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.SubTaskToDoneRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -7305,16 +7305,16 @@ proto.proto.services.task_svc.v1.SubTaskToDoneRequest.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.SubTaskToDoneRequest.prototype.getId = function() { +proto.services.task_svc.v1.SubTaskToDoneRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.SubTaskToDoneRequest} returns this + * @return {!proto.services.task_svc.v1.SubTaskToDoneRequest} returns this */ -proto.proto.services.task_svc.v1.SubTaskToDoneRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.SubTaskToDoneRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -7335,8 +7335,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.SubTaskToDoneResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.SubTaskToDoneResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.SubTaskToDoneResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.SubTaskToDoneResponse.toObject(opt_includeInstance, this); }; @@ -7345,11 +7345,11 @@ proto.proto.services.task_svc.v1.SubTaskToDoneResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.SubTaskToDoneResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.SubTaskToDoneResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.SubTaskToDoneResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.SubTaskToDoneResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -7365,23 +7365,23 @@ proto.proto.services.task_svc.v1.SubTaskToDoneResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.SubTaskToDoneResponse} + * @return {!proto.services.task_svc.v1.SubTaskToDoneResponse} */ -proto.proto.services.task_svc.v1.SubTaskToDoneResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.SubTaskToDoneResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.SubTaskToDoneResponse; - return proto.proto.services.task_svc.v1.SubTaskToDoneResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.SubTaskToDoneResponse; + return proto.services.task_svc.v1.SubTaskToDoneResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.SubTaskToDoneResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.SubTaskToDoneResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.SubTaskToDoneResponse} + * @return {!proto.services.task_svc.v1.SubTaskToDoneResponse} */ -proto.proto.services.task_svc.v1.SubTaskToDoneResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.SubTaskToDoneResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7401,9 +7401,9 @@ proto.proto.services.task_svc.v1.SubTaskToDoneResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.SubTaskToDoneResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.SubTaskToDoneResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.SubTaskToDoneResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.SubTaskToDoneResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7411,11 +7411,11 @@ proto.proto.services.task_svc.v1.SubTaskToDoneResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.SubTaskToDoneResponse} message + * @param {!proto.services.task_svc.v1.SubTaskToDoneResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.SubTaskToDoneResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.SubTaskToDoneResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -7436,8 +7436,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.TaskToToDoRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.TaskToToDoRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.TaskToToDoRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.TaskToToDoRequest.toObject(opt_includeInstance, this); }; @@ -7446,11 +7446,11 @@ proto.proto.services.task_svc.v1.TaskToToDoRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.TaskToToDoRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.TaskToToDoRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToToDoRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.TaskToToDoRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -7466,23 +7466,23 @@ proto.proto.services.task_svc.v1.TaskToToDoRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.TaskToToDoRequest} + * @return {!proto.services.task_svc.v1.TaskToToDoRequest} */ -proto.proto.services.task_svc.v1.TaskToToDoRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.TaskToToDoRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.TaskToToDoRequest; - return proto.proto.services.task_svc.v1.TaskToToDoRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.TaskToToDoRequest; + return proto.services.task_svc.v1.TaskToToDoRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.TaskToToDoRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.TaskToToDoRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.TaskToToDoRequest} + * @return {!proto.services.task_svc.v1.TaskToToDoRequest} */ -proto.proto.services.task_svc.v1.TaskToToDoRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.TaskToToDoRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7506,9 +7506,9 @@ proto.proto.services.task_svc.v1.TaskToToDoRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.TaskToToDoRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.TaskToToDoRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.TaskToToDoRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.TaskToToDoRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7516,11 +7516,11 @@ proto.proto.services.task_svc.v1.TaskToToDoRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.TaskToToDoRequest} message + * @param {!proto.services.task_svc.v1.TaskToToDoRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToToDoRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.TaskToToDoRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -7536,16 +7536,16 @@ proto.proto.services.task_svc.v1.TaskToToDoRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.TaskToToDoRequest.prototype.getId = function() { +proto.services.task_svc.v1.TaskToToDoRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.TaskToToDoRequest} returns this + * @return {!proto.services.task_svc.v1.TaskToToDoRequest} returns this */ -proto.proto.services.task_svc.v1.TaskToToDoRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.TaskToToDoRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -7566,8 +7566,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.TaskToToDoResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.TaskToToDoResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.TaskToToDoResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.TaskToToDoResponse.toObject(opt_includeInstance, this); }; @@ -7576,11 +7576,11 @@ proto.proto.services.task_svc.v1.TaskToToDoResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.TaskToToDoResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.TaskToToDoResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToToDoResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.TaskToToDoResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -7596,23 +7596,23 @@ proto.proto.services.task_svc.v1.TaskToToDoResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.TaskToToDoResponse} + * @return {!proto.services.task_svc.v1.TaskToToDoResponse} */ -proto.proto.services.task_svc.v1.TaskToToDoResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.TaskToToDoResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.TaskToToDoResponse; - return proto.proto.services.task_svc.v1.TaskToToDoResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.TaskToToDoResponse; + return proto.services.task_svc.v1.TaskToToDoResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.TaskToToDoResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.TaskToToDoResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.TaskToToDoResponse} + * @return {!proto.services.task_svc.v1.TaskToToDoResponse} */ -proto.proto.services.task_svc.v1.TaskToToDoResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.TaskToToDoResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7632,9 +7632,9 @@ proto.proto.services.task_svc.v1.TaskToToDoResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.TaskToToDoResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.TaskToToDoResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.TaskToToDoResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.TaskToToDoResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7642,11 +7642,11 @@ proto.proto.services.task_svc.v1.TaskToToDoResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.TaskToToDoResponse} message + * @param {!proto.services.task_svc.v1.TaskToToDoResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToToDoResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.TaskToToDoResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -7667,8 +7667,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.TaskToInProgressRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.TaskToInProgressRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.TaskToInProgressRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.TaskToInProgressRequest.toObject(opt_includeInstance, this); }; @@ -7677,11 +7677,11 @@ proto.proto.services.task_svc.v1.TaskToInProgressRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.TaskToInProgressRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.TaskToInProgressRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToInProgressRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.TaskToInProgressRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -7697,23 +7697,23 @@ proto.proto.services.task_svc.v1.TaskToInProgressRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.TaskToInProgressRequest} + * @return {!proto.services.task_svc.v1.TaskToInProgressRequest} */ -proto.proto.services.task_svc.v1.TaskToInProgressRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.TaskToInProgressRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.TaskToInProgressRequest; - return proto.proto.services.task_svc.v1.TaskToInProgressRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.TaskToInProgressRequest; + return proto.services.task_svc.v1.TaskToInProgressRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.TaskToInProgressRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.TaskToInProgressRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.TaskToInProgressRequest} + * @return {!proto.services.task_svc.v1.TaskToInProgressRequest} */ -proto.proto.services.task_svc.v1.TaskToInProgressRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.TaskToInProgressRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7737,9 +7737,9 @@ proto.proto.services.task_svc.v1.TaskToInProgressRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.TaskToInProgressRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.TaskToInProgressRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.TaskToInProgressRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.TaskToInProgressRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7747,11 +7747,11 @@ proto.proto.services.task_svc.v1.TaskToInProgressRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.TaskToInProgressRequest} message + * @param {!proto.services.task_svc.v1.TaskToInProgressRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToInProgressRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.TaskToInProgressRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -7767,16 +7767,16 @@ proto.proto.services.task_svc.v1.TaskToInProgressRequest.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.TaskToInProgressRequest.prototype.getId = function() { +proto.services.task_svc.v1.TaskToInProgressRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.TaskToInProgressRequest} returns this + * @return {!proto.services.task_svc.v1.TaskToInProgressRequest} returns this */ -proto.proto.services.task_svc.v1.TaskToInProgressRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.TaskToInProgressRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -7797,8 +7797,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.TaskToInProgressResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.TaskToInProgressResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.TaskToInProgressResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.TaskToInProgressResponse.toObject(opt_includeInstance, this); }; @@ -7807,11 +7807,11 @@ proto.proto.services.task_svc.v1.TaskToInProgressResponse.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.TaskToInProgressResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.TaskToInProgressResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToInProgressResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.TaskToInProgressResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -7827,23 +7827,23 @@ proto.proto.services.task_svc.v1.TaskToInProgressResponse.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.TaskToInProgressResponse} + * @return {!proto.services.task_svc.v1.TaskToInProgressResponse} */ -proto.proto.services.task_svc.v1.TaskToInProgressResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.TaskToInProgressResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.TaskToInProgressResponse; - return proto.proto.services.task_svc.v1.TaskToInProgressResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.TaskToInProgressResponse; + return proto.services.task_svc.v1.TaskToInProgressResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.TaskToInProgressResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.TaskToInProgressResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.TaskToInProgressResponse} + * @return {!proto.services.task_svc.v1.TaskToInProgressResponse} */ -proto.proto.services.task_svc.v1.TaskToInProgressResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.TaskToInProgressResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7863,9 +7863,9 @@ proto.proto.services.task_svc.v1.TaskToInProgressResponse.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.TaskToInProgressResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.TaskToInProgressResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.TaskToInProgressResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.TaskToInProgressResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7873,11 +7873,11 @@ proto.proto.services.task_svc.v1.TaskToInProgressResponse.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.TaskToInProgressResponse} message + * @param {!proto.services.task_svc.v1.TaskToInProgressResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToInProgressResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.TaskToInProgressResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -7898,8 +7898,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.TaskToDoneRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.TaskToDoneRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.TaskToDoneRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.TaskToDoneRequest.toObject(opt_includeInstance, this); }; @@ -7908,11 +7908,11 @@ proto.proto.services.task_svc.v1.TaskToDoneRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.TaskToDoneRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.TaskToDoneRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToDoneRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.TaskToDoneRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -7928,23 +7928,23 @@ proto.proto.services.task_svc.v1.TaskToDoneRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.TaskToDoneRequest} + * @return {!proto.services.task_svc.v1.TaskToDoneRequest} */ -proto.proto.services.task_svc.v1.TaskToDoneRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.TaskToDoneRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.TaskToDoneRequest; - return proto.proto.services.task_svc.v1.TaskToDoneRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.TaskToDoneRequest; + return proto.services.task_svc.v1.TaskToDoneRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.TaskToDoneRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.TaskToDoneRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.TaskToDoneRequest} + * @return {!proto.services.task_svc.v1.TaskToDoneRequest} */ -proto.proto.services.task_svc.v1.TaskToDoneRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.TaskToDoneRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7968,9 +7968,9 @@ proto.proto.services.task_svc.v1.TaskToDoneRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.TaskToDoneRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.TaskToDoneRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.TaskToDoneRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.TaskToDoneRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7978,11 +7978,11 @@ proto.proto.services.task_svc.v1.TaskToDoneRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.TaskToDoneRequest} message + * @param {!proto.services.task_svc.v1.TaskToDoneRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToDoneRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.TaskToDoneRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -7998,16 +7998,16 @@ proto.proto.services.task_svc.v1.TaskToDoneRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.TaskToDoneRequest.prototype.getId = function() { +proto.services.task_svc.v1.TaskToDoneRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.TaskToDoneRequest} returns this + * @return {!proto.services.task_svc.v1.TaskToDoneRequest} returns this */ -proto.proto.services.task_svc.v1.TaskToDoneRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.TaskToDoneRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -8028,8 +8028,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.TaskToDoneResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.TaskToDoneResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.TaskToDoneResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.TaskToDoneResponse.toObject(opt_includeInstance, this); }; @@ -8038,11 +8038,11 @@ proto.proto.services.task_svc.v1.TaskToDoneResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.TaskToDoneResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.TaskToDoneResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToDoneResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.TaskToDoneResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -8058,23 +8058,23 @@ proto.proto.services.task_svc.v1.TaskToDoneResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.TaskToDoneResponse} + * @return {!proto.services.task_svc.v1.TaskToDoneResponse} */ -proto.proto.services.task_svc.v1.TaskToDoneResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.TaskToDoneResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.TaskToDoneResponse; - return proto.proto.services.task_svc.v1.TaskToDoneResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.TaskToDoneResponse; + return proto.services.task_svc.v1.TaskToDoneResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.TaskToDoneResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.TaskToDoneResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.TaskToDoneResponse} + * @return {!proto.services.task_svc.v1.TaskToDoneResponse} */ -proto.proto.services.task_svc.v1.TaskToDoneResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.TaskToDoneResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8094,9 +8094,9 @@ proto.proto.services.task_svc.v1.TaskToDoneResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.TaskToDoneResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.TaskToDoneResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.TaskToDoneResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.TaskToDoneResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8104,11 +8104,11 @@ proto.proto.services.task_svc.v1.TaskToDoneResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.TaskToDoneResponse} message + * @param {!proto.services.task_svc.v1.TaskToDoneResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.TaskToDoneResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.TaskToDoneResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -8129,8 +8129,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.AssignTaskToUserRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.AssignTaskToUserRequest.toObject(opt_includeInstance, this); }; @@ -8139,11 +8139,11 @@ proto.proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.AssignTaskToUserRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.AssignTaskToUserRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AssignTaskToUserRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.AssignTaskToUserRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), userId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -8160,23 +8160,23 @@ proto.proto.services.task_svc.v1.AssignTaskToUserRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.AssignTaskToUserRequest} + * @return {!proto.services.task_svc.v1.AssignTaskToUserRequest} */ -proto.proto.services.task_svc.v1.AssignTaskToUserRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.AssignTaskToUserRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.AssignTaskToUserRequest; - return proto.proto.services.task_svc.v1.AssignTaskToUserRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.AssignTaskToUserRequest; + return proto.services.task_svc.v1.AssignTaskToUserRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.AssignTaskToUserRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.AssignTaskToUserRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.AssignTaskToUserRequest} + * @return {!proto.services.task_svc.v1.AssignTaskToUserRequest} */ -proto.proto.services.task_svc.v1.AssignTaskToUserRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.AssignTaskToUserRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8204,9 +8204,9 @@ proto.proto.services.task_svc.v1.AssignTaskToUserRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.AssignTaskToUserRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.AssignTaskToUserRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8214,11 +8214,11 @@ proto.proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.AssignTaskToUserRequest} message + * @param {!proto.services.task_svc.v1.AssignTaskToUserRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AssignTaskToUserRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.AssignTaskToUserRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -8241,16 +8241,16 @@ proto.proto.services.task_svc.v1.AssignTaskToUserRequest.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.getId = function() { +proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.AssignTaskToUserRequest} returns this + * @return {!proto.services.task_svc.v1.AssignTaskToUserRequest} returns this */ -proto.proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -8259,16 +8259,16 @@ proto.proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.setId = funct * optional string user_id = 2; * @return {string} */ -proto.proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.getUserId = function() { +proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.AssignTaskToUserRequest} returns this + * @return {!proto.services.task_svc.v1.AssignTaskToUserRequest} returns this */ -proto.proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.setUserId = function(value) { +proto.services.task_svc.v1.AssignTaskToUserRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -8289,8 +8289,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.AssignTaskToUserResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.AssignTaskToUserResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.AssignTaskToUserResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.AssignTaskToUserResponse.toObject(opt_includeInstance, this); }; @@ -8299,11 +8299,11 @@ proto.proto.services.task_svc.v1.AssignTaskToUserResponse.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.AssignTaskToUserResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.AssignTaskToUserResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AssignTaskToUserResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.AssignTaskToUserResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -8319,23 +8319,23 @@ proto.proto.services.task_svc.v1.AssignTaskToUserResponse.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.AssignTaskToUserResponse} + * @return {!proto.services.task_svc.v1.AssignTaskToUserResponse} */ -proto.proto.services.task_svc.v1.AssignTaskToUserResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.AssignTaskToUserResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.AssignTaskToUserResponse; - return proto.proto.services.task_svc.v1.AssignTaskToUserResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.AssignTaskToUserResponse; + return proto.services.task_svc.v1.AssignTaskToUserResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.AssignTaskToUserResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.AssignTaskToUserResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.AssignTaskToUserResponse} + * @return {!proto.services.task_svc.v1.AssignTaskToUserResponse} */ -proto.proto.services.task_svc.v1.AssignTaskToUserResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.AssignTaskToUserResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8355,9 +8355,9 @@ proto.proto.services.task_svc.v1.AssignTaskToUserResponse.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.AssignTaskToUserResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.AssignTaskToUserResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.AssignTaskToUserResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.AssignTaskToUserResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8365,11 +8365,11 @@ proto.proto.services.task_svc.v1.AssignTaskToUserResponse.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.AssignTaskToUserResponse} message + * @param {!proto.services.task_svc.v1.AssignTaskToUserResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.AssignTaskToUserResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.AssignTaskToUserResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -8390,8 +8390,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UnassignTaskFromUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UnassignTaskFromUserRequest.toObject(opt_includeInstance, this); }; @@ -8400,11 +8400,11 @@ proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UnassignTaskFromUserRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UnassignTaskFromUserRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -8420,23 +8420,23 @@ proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.toObject = function /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest} + * @return {!proto.services.task_svc.v1.UnassignTaskFromUserRequest} */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UnassignTaskFromUserRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest; - return proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UnassignTaskFromUserRequest; + return proto.services.task_svc.v1.UnassignTaskFromUserRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UnassignTaskFromUserRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest} + * @return {!proto.services.task_svc.v1.UnassignTaskFromUserRequest} */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UnassignTaskFromUserRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8460,9 +8460,9 @@ proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.deserializeBinaryFr * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UnassignTaskFromUserRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UnassignTaskFromUserRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8470,11 +8470,11 @@ proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.prototype.serialize /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest} message + * @param {!proto.services.task_svc.v1.UnassignTaskFromUserRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UnassignTaskFromUserRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -8490,16 +8490,16 @@ proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.serializeBinaryToWr * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.prototype.getId = function() { +proto.services.task_svc.v1.UnassignTaskFromUserRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest} returns this + * @return {!proto.services.task_svc.v1.UnassignTaskFromUserRequest} returns this */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.UnassignTaskFromUserRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -8520,8 +8520,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UnassignTaskFromUserResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UnassignTaskFromUserResponse.toObject(opt_includeInstance, this); }; @@ -8530,11 +8530,11 @@ proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UnassignTaskFromUserResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UnassignTaskFromUserResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -8550,23 +8550,23 @@ proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.toObject = functio /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse} + * @return {!proto.services.task_svc.v1.UnassignTaskFromUserResponse} */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UnassignTaskFromUserResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse; - return proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UnassignTaskFromUserResponse; + return proto.services.task_svc.v1.UnassignTaskFromUserResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UnassignTaskFromUserResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse} + * @return {!proto.services.task_svc.v1.UnassignTaskFromUserResponse} */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UnassignTaskFromUserResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8586,9 +8586,9 @@ proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.deserializeBinaryF * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UnassignTaskFromUserResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UnassignTaskFromUserResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8596,11 +8596,11 @@ proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.prototype.serializ /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse} message + * @param {!proto.services.task_svc.v1.UnassignTaskFromUserResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnassignTaskFromUserResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UnassignTaskFromUserResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -8621,8 +8621,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.PublishTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.PublishTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.PublishTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.PublishTaskRequest.toObject(opt_includeInstance, this); }; @@ -8631,11 +8631,11 @@ proto.proto.services.task_svc.v1.PublishTaskRequest.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.PublishTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.PublishTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.PublishTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.PublishTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -8651,23 +8651,23 @@ proto.proto.services.task_svc.v1.PublishTaskRequest.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.PublishTaskRequest} + * @return {!proto.services.task_svc.v1.PublishTaskRequest} */ -proto.proto.services.task_svc.v1.PublishTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.PublishTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.PublishTaskRequest; - return proto.proto.services.task_svc.v1.PublishTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.PublishTaskRequest; + return proto.services.task_svc.v1.PublishTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.PublishTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.PublishTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.PublishTaskRequest} + * @return {!proto.services.task_svc.v1.PublishTaskRequest} */ -proto.proto.services.task_svc.v1.PublishTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.PublishTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8691,9 +8691,9 @@ proto.proto.services.task_svc.v1.PublishTaskRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.PublishTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.PublishTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.PublishTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.PublishTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8701,11 +8701,11 @@ proto.proto.services.task_svc.v1.PublishTaskRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.PublishTaskRequest} message + * @param {!proto.services.task_svc.v1.PublishTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.PublishTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.PublishTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -8721,16 +8721,16 @@ proto.proto.services.task_svc.v1.PublishTaskRequest.serializeBinaryToWriter = fu * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.PublishTaskRequest.prototype.getId = function() { +proto.services.task_svc.v1.PublishTaskRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.PublishTaskRequest} returns this + * @return {!proto.services.task_svc.v1.PublishTaskRequest} returns this */ -proto.proto.services.task_svc.v1.PublishTaskRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.PublishTaskRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -8751,8 +8751,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.PublishTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.PublishTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.PublishTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.PublishTaskResponse.toObject(opt_includeInstance, this); }; @@ -8761,11 +8761,11 @@ proto.proto.services.task_svc.v1.PublishTaskResponse.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.PublishTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.PublishTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.PublishTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.PublishTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -8781,23 +8781,23 @@ proto.proto.services.task_svc.v1.PublishTaskResponse.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.PublishTaskResponse} + * @return {!proto.services.task_svc.v1.PublishTaskResponse} */ -proto.proto.services.task_svc.v1.PublishTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.PublishTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.PublishTaskResponse; - return proto.proto.services.task_svc.v1.PublishTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.PublishTaskResponse; + return proto.services.task_svc.v1.PublishTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.PublishTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.PublishTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.PublishTaskResponse} + * @return {!proto.services.task_svc.v1.PublishTaskResponse} */ -proto.proto.services.task_svc.v1.PublishTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.PublishTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8817,9 +8817,9 @@ proto.proto.services.task_svc.v1.PublishTaskResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.PublishTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.PublishTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.PublishTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.PublishTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8827,11 +8827,11 @@ proto.proto.services.task_svc.v1.PublishTaskResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.PublishTaskResponse} message + * @param {!proto.services.task_svc.v1.PublishTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.PublishTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.PublishTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -8852,8 +8852,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UnpublishTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UnpublishTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UnpublishTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UnpublishTaskRequest.toObject(opt_includeInstance, this); }; @@ -8862,11 +8862,11 @@ proto.proto.services.task_svc.v1.UnpublishTaskRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UnpublishTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UnpublishTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnpublishTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UnpublishTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -8882,23 +8882,23 @@ proto.proto.services.task_svc.v1.UnpublishTaskRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UnpublishTaskRequest} + * @return {!proto.services.task_svc.v1.UnpublishTaskRequest} */ -proto.proto.services.task_svc.v1.UnpublishTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UnpublishTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UnpublishTaskRequest; - return proto.proto.services.task_svc.v1.UnpublishTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UnpublishTaskRequest; + return proto.services.task_svc.v1.UnpublishTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UnpublishTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UnpublishTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UnpublishTaskRequest} + * @return {!proto.services.task_svc.v1.UnpublishTaskRequest} */ -proto.proto.services.task_svc.v1.UnpublishTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UnpublishTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8922,9 +8922,9 @@ proto.proto.services.task_svc.v1.UnpublishTaskRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UnpublishTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UnpublishTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UnpublishTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UnpublishTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8932,11 +8932,11 @@ proto.proto.services.task_svc.v1.UnpublishTaskRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UnpublishTaskRequest} message + * @param {!proto.services.task_svc.v1.UnpublishTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnpublishTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UnpublishTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -8952,16 +8952,16 @@ proto.proto.services.task_svc.v1.UnpublishTaskRequest.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.UnpublishTaskRequest.prototype.getId = function() { +proto.services.task_svc.v1.UnpublishTaskRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UnpublishTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UnpublishTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UnpublishTaskRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.UnpublishTaskRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -8982,8 +8982,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UnpublishTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UnpublishTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UnpublishTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UnpublishTaskResponse.toObject(opt_includeInstance, this); }; @@ -8992,11 +8992,11 @@ proto.proto.services.task_svc.v1.UnpublishTaskResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UnpublishTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UnpublishTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnpublishTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UnpublishTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -9012,23 +9012,23 @@ proto.proto.services.task_svc.v1.UnpublishTaskResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UnpublishTaskResponse} + * @return {!proto.services.task_svc.v1.UnpublishTaskResponse} */ -proto.proto.services.task_svc.v1.UnpublishTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UnpublishTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UnpublishTaskResponse; - return proto.proto.services.task_svc.v1.UnpublishTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UnpublishTaskResponse; + return proto.services.task_svc.v1.UnpublishTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UnpublishTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UnpublishTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UnpublishTaskResponse} + * @return {!proto.services.task_svc.v1.UnpublishTaskResponse} */ -proto.proto.services.task_svc.v1.UnpublishTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UnpublishTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9048,9 +9048,9 @@ proto.proto.services.task_svc.v1.UnpublishTaskResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UnpublishTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UnpublishTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UnpublishTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UnpublishTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9058,11 +9058,11 @@ proto.proto.services.task_svc.v1.UnpublishTaskResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UnpublishTaskResponse} message + * @param {!proto.services.task_svc.v1.UnpublishTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UnpublishTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UnpublishTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -9083,8 +9083,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteTaskRequest.toObject(opt_includeInstance, this); }; @@ -9093,11 +9093,11 @@ proto.proto.services.task_svc.v1.DeleteTaskRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -9113,23 +9113,23 @@ proto.proto.services.task_svc.v1.DeleteTaskRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskRequest} + * @return {!proto.services.task_svc.v1.DeleteTaskRequest} */ -proto.proto.services.task_svc.v1.DeleteTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteTaskRequest; - return proto.proto.services.task_svc.v1.DeleteTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteTaskRequest; + return proto.services.task_svc.v1.DeleteTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskRequest} + * @return {!proto.services.task_svc.v1.DeleteTaskRequest} */ -proto.proto.services.task_svc.v1.DeleteTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9153,9 +9153,9 @@ proto.proto.services.task_svc.v1.DeleteTaskRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9163,11 +9163,11 @@ proto.proto.services.task_svc.v1.DeleteTaskRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskRequest} message + * @param {!proto.services.task_svc.v1.DeleteTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -9183,16 +9183,16 @@ proto.proto.services.task_svc.v1.DeleteTaskRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.DeleteTaskRequest.prototype.getId = function() { +proto.services.task_svc.v1.DeleteTaskRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.DeleteTaskRequest} returns this + * @return {!proto.services.task_svc.v1.DeleteTaskRequest} returns this */ -proto.proto.services.task_svc.v1.DeleteTaskRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.DeleteTaskRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -9213,8 +9213,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteTaskResponse.toObject(opt_includeInstance, this); }; @@ -9223,11 +9223,11 @@ proto.proto.services.task_svc.v1.DeleteTaskResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -9243,23 +9243,23 @@ proto.proto.services.task_svc.v1.DeleteTaskResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskResponse} + * @return {!proto.services.task_svc.v1.DeleteTaskResponse} */ -proto.proto.services.task_svc.v1.DeleteTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteTaskResponse; - return proto.proto.services.task_svc.v1.DeleteTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteTaskResponse; + return proto.services.task_svc.v1.DeleteTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskResponse} + * @return {!proto.services.task_svc.v1.DeleteTaskResponse} */ -proto.proto.services.task_svc.v1.DeleteTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9279,9 +9279,9 @@ proto.proto.services.task_svc.v1.DeleteTaskResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9289,11 +9289,11 @@ proto.proto.services.task_svc.v1.DeleteTaskResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskResponse} message + * @param {!proto.services.task_svc.v1.DeleteTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -9301,11 +9301,11 @@ proto.proto.services.task_svc.v1.DeleteTaskResponse.serializeBinaryToWriter = fu /** * @enum {number} */ -proto.proto.services.task_svc.v1.TaskStatus = { +proto.services.task_svc.v1.TaskStatus = { TASK_STATUS_UNSPECIFIED: 0, TASK_STATUS_TODO: 1, TASK_STATUS_IN_PROGRESS: 2, TASK_STATUS_DONE: 3 }; -goog.object.extend(exports, proto.proto.services.task_svc.v1); +goog.object.extend(exports, proto.services.task_svc.v1); diff --git a/gen/ts/services/task_svc/v1/task_template_svc_grpc_web_pb.d.ts b/gen/ts/services/task_svc/v1/task_template_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..3a430bf0a --- /dev/null +++ b/gen/ts/services/task_svc/v1/task_template_svc_grpc_web_pb.d.ts @@ -0,0 +1,127 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_task_svc_v1_task_template_svc_pb from '../../../services/task_svc/v1/task_template_svc_pb'; // proto import: "services/task_svc/v1/task_template_svc.proto" + + +export class TaskTemplateServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createTaskTemplate( + request: services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateResponse) => void + ): grpcWeb.ClientReadableStream; + + getAllTaskTemplates( + request: services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesResponse) => void + ): grpcWeb.ClientReadableStream; + + deleteTaskTemplate( + request: services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateResponse) => void + ): grpcWeb.ClientReadableStream; + + deleteTaskTemplateSubTask( + request: services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateSubTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateSubTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + updateTaskTemplate( + request: services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateResponse) => void + ): grpcWeb.ClientReadableStream; + + updateTaskTemplateSubTask( + request: services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateSubTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateSubTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + createTaskTemplateSubTask( + request: services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateSubTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateSubTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + getAllTaskTemplatesByCreator( + request: services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByCreatorRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByCreatorResponse) => void + ): grpcWeb.ClientReadableStream; + + getAllTaskTemplatesByWard( + request: services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByWardRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByWardResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class TaskTemplateServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createTaskTemplate( + request: services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getAllTaskTemplates( + request: services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + deleteTaskTemplate( + request: services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + deleteTaskTemplateSubTask( + request: services_task_svc_v1_task_template_svc_pb.DeleteTaskTemplateSubTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateTaskTemplate( + request: services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateTaskTemplateSubTask( + request: services_task_svc_v1_task_template_svc_pb.UpdateTaskTemplateSubTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + createTaskTemplateSubTask( + request: services_task_svc_v1_task_template_svc_pb.CreateTaskTemplateSubTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getAllTaskTemplatesByCreator( + request: services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByCreatorRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getAllTaskTemplatesByWard( + request: services_task_svc_v1_task_template_svc_pb.GetAllTaskTemplatesByWardRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/services/task_svc/v1/task_template_svc_grpc_web_pb.js b/gen/ts/services/task_svc/v1/task_template_svc_grpc_web_pb.js new file mode 100644 index 000000000..dcb2894af --- /dev/null +++ b/gen/ts/services/task_svc/v1/task_template_svc_grpc_web_pb.js @@ -0,0 +1,629 @@ +/** + * @fileoverview gRPC-Web generated client stub for services.task_svc.v1 + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.5.0 +// protoc v0.0.0 +// source: services/task_svc/v1/task_template_svc.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + +const proto = {}; +proto.services = {}; +proto.services.task_svc = {}; +proto.services.task_svc.v1 = require('./task_template_svc_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.TaskTemplateServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.TaskTemplateServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.CreateTaskTemplateRequest, + * !proto.services.task_svc.v1.CreateTaskTemplateResponse>} + */ +const methodDescriptor_TaskTemplateService_CreateTaskTemplate = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.CreateTaskTemplateRequest, + proto.services.task_svc.v1.CreateTaskTemplateResponse, + /** + * @param {!proto.services.task_svc.v1.CreateTaskTemplateRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.CreateTaskTemplateResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.CreateTaskTemplateRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.CreateTaskTemplateResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.createTaskTemplate = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_CreateTaskTemplate, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.CreateTaskTemplateRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.createTaskTemplate = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_CreateTaskTemplate); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetAllTaskTemplatesRequest, + * !proto.services.task_svc.v1.GetAllTaskTemplatesResponse>} + */ +const methodDescriptor_TaskTemplateService_GetAllTaskTemplates = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetAllTaskTemplatesRequest, + proto.services.task_svc.v1.GetAllTaskTemplatesResponse, + /** + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetAllTaskTemplatesResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetAllTaskTemplatesResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.getAllTaskTemplates = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_GetAllTaskTemplates, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.getAllTaskTemplates = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_GetAllTaskTemplates); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.DeleteTaskTemplateRequest, + * !proto.services.task_svc.v1.DeleteTaskTemplateResponse>} + */ +const methodDescriptor_TaskTemplateService_DeleteTaskTemplate = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.DeleteTaskTemplateRequest, + proto.services.task_svc.v1.DeleteTaskTemplateResponse, + /** + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.DeleteTaskTemplateResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.DeleteTaskTemplateResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.deleteTaskTemplate = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_DeleteTaskTemplate, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.deleteTaskTemplate = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_DeleteTaskTemplate); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest, + * !proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse>} + */ +const methodDescriptor_TaskTemplateService_DeleteTaskTemplateSubTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest, + proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse, + /** + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.deleteTaskTemplateSubTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_DeleteTaskTemplateSubTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.deleteTaskTemplateSubTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_DeleteTaskTemplateSubTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.UpdateTaskTemplateRequest, + * !proto.services.task_svc.v1.UpdateTaskTemplateResponse>} + */ +const methodDescriptor_TaskTemplateService_UpdateTaskTemplate = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.UpdateTaskTemplateRequest, + proto.services.task_svc.v1.UpdateTaskTemplateResponse, + /** + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.UpdateTaskTemplateResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.UpdateTaskTemplateResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.updateTaskTemplate = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_UpdateTaskTemplate, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.updateTaskTemplate = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_UpdateTaskTemplate); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest, + * !proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse>} + */ +const methodDescriptor_TaskTemplateService_UpdateTaskTemplateSubTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest, + proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse, + /** + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.updateTaskTemplateSubTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_UpdateTaskTemplateSubTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.updateTaskTemplateSubTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_UpdateTaskTemplateSubTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest, + * !proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse>} + */ +const methodDescriptor_TaskTemplateService_CreateTaskTemplateSubTask = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest, + proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse, + /** + * @param {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.createTaskTemplateSubTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_CreateTaskTemplateSubTask, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.createTaskTemplateSubTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_CreateTaskTemplateSubTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest, + * !proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse>} + */ +const methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByCreator = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest, + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse, + /** + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.getAllTaskTemplatesByCreator = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByCreator, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.getAllTaskTemplatesByCreator = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByCreator); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest, + * !proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse>} + */ +const methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByWard = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest, + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse, + /** + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.TaskTemplateServiceClient.prototype.getAllTaskTemplatesByWard = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByWard, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.TaskTemplateServicePromiseClient.prototype.getAllTaskTemplatesByWard = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', + request, + metadata || {}, + methodDescriptor_TaskTemplateService_GetAllTaskTemplatesByWard); +}; + + +module.exports = proto.services.task_svc.v1; + diff --git a/gen/ts/proto/services/task_svc/v1/task_template_svc_pb.d.ts b/gen/ts/services/task_svc/v1/task_template_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/task_svc/v1/task_template_svc_pb.d.ts rename to gen/ts/services/task_svc/v1/task_template_svc_pb.d.ts diff --git a/gen/ts/proto/services/task_svc/v1/task_template_svc_pb.js b/gen/ts/services/task_svc/v1/task_template_svc_pb.js similarity index 56% rename from gen/ts/proto/services/task_svc/v1/task_template_svc_pb.js rename to gen/ts/services/task_svc/v1/task_template_svc_pb.js index 9c7211f50..b4cce1f7e 100644 --- a/gen/ts/proto/services/task_svc/v1/task_template_svc_pb.js +++ b/gen/ts/services/task_svc/v1/task_template_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/task_svc/v1/task_template_svc.proto +// source: services/task_svc/v1/task_template_svc.proto /** * @fileoverview * @enhanceable @@ -21,31 +21,31 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateTaskTemplateRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateTaskTemplateResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateTaskTemplateRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateTaskTemplateResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteTaskTemplateRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteTaskTemplateResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateTaskTemplateRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateTaskTemplateResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -56,16 +56,16 @@ goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRes * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.repeatedFields_, null); +proto.services.task_svc.v1.CreateTaskTemplateRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.CreateTaskTemplateRequest.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateTaskTemplateRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateTaskTemplateRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.displayName = 'proto.proto.services.task_svc.v1.CreateTaskTemplateRequest'; + proto.services.task_svc.v1.CreateTaskTemplateRequest.displayName = 'proto.services.task_svc.v1.CreateTaskTemplateRequest'; } /** * Generated by JsPbCodeGenerator. @@ -77,16 +77,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask = function(opt_data) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.displayName = 'proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask'; + proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.displayName = 'proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask'; } /** * Generated by JsPbCodeGenerator. @@ -98,16 +98,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateTaskTemplateResponse = function(opt_data) { +proto.services.task_svc.v1.CreateTaskTemplateResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateTaskTemplateResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateTaskTemplateResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.displayName = 'proto.proto.services.task_svc.v1.CreateTaskTemplateResponse'; + proto.services.task_svc.v1.CreateTaskTemplateResponse.displayName = 'proto.services.task_svc.v1.CreateTaskTemplateResponse'; } /** * Generated by JsPbCodeGenerator. @@ -119,16 +119,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest = function(opt_data) { +proto.services.task_svc.v1.GetAllTaskTemplatesRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest'; + proto.services.task_svc.v1.GetAllTaskTemplatesRequest.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesRequest'; } /** * Generated by JsPbCodeGenerator. @@ -140,16 +140,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetAllTaskTemplatesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetAllTaskTemplatesResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse'; + proto.services.task_svc.v1.GetAllTaskTemplatesResponse.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesResponse'; } /** * Generated by JsPbCodeGenerator. @@ -161,16 +161,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.repeatedFields_, null); +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate'; + proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate'; } /** * Generated by JsPbCodeGenerator. @@ -182,16 +182,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask = function(opt_data) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask'; + proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask'; } /** * Generated by JsPbCodeGenerator. @@ -203,16 +203,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest = function(opt_data) { +proto.services.task_svc.v1.DeleteTaskTemplateRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteTaskTemplateRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.displayName = 'proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest'; + proto.services.task_svc.v1.DeleteTaskTemplateRequest.displayName = 'proto.services.task_svc.v1.DeleteTaskTemplateRequest'; } /** * Generated by JsPbCodeGenerator. @@ -224,16 +224,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse = function(opt_data) { +proto.services.task_svc.v1.DeleteTaskTemplateResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteTaskTemplateResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.displayName = 'proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse'; + proto.services.task_svc.v1.DeleteTaskTemplateResponse.displayName = 'proto.services.task_svc.v1.DeleteTaskTemplateResponse'; } /** * Generated by JsPbCodeGenerator. @@ -245,16 +245,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest = function(opt_data) { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.displayName = 'proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest'; + proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.displayName = 'proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -266,16 +266,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse = function(opt_data) { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.displayName = 'proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse'; + proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.displayName = 'proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -287,16 +287,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest = function(opt_data) { +proto.services.task_svc.v1.UpdateTaskTemplateRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateTaskTemplateRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.displayName = 'proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest'; + proto.services.task_svc.v1.UpdateTaskTemplateRequest.displayName = 'proto.services.task_svc.v1.UpdateTaskTemplateRequest'; } /** * Generated by JsPbCodeGenerator. @@ -308,16 +308,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse = function(opt_data) { +proto.services.task_svc.v1.UpdateTaskTemplateResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateTaskTemplateResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.displayName = 'proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse'; + proto.services.task_svc.v1.UpdateTaskTemplateResponse.displayName = 'proto.services.task_svc.v1.UpdateTaskTemplateResponse'; } /** * Generated by JsPbCodeGenerator. @@ -329,16 +329,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest = function(opt_data) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.displayName = 'proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest'; + proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.displayName = 'proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -350,16 +350,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse = function(opt_data) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.displayName = 'proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse'; + proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.displayName = 'proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -371,16 +371,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest = function(opt_data) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.displayName = 'proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest'; + proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.displayName = 'proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -392,16 +392,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse = function(opt_data) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.displayName = 'proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse'; + proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.displayName = 'proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -413,16 +413,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest = function(opt_data) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest'; + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest'; } /** * Generated by JsPbCodeGenerator. @@ -434,16 +434,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse'; + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse'; } /** * Generated by JsPbCodeGenerator. @@ -455,16 +455,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.repeatedFields_, null); +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate'; + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate'; } /** * Generated by JsPbCodeGenerator. @@ -476,16 +476,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask = function(opt_data) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask'; + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask'; } /** * Generated by JsPbCodeGenerator. @@ -497,16 +497,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest = function(opt_data) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest'; + proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest'; } /** * Generated by JsPbCodeGenerator. @@ -518,16 +518,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse'; + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse'; } /** * Generated by JsPbCodeGenerator. @@ -539,16 +539,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.repeatedFields_, null); +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate'; + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate'; } /** * Generated by JsPbCodeGenerator. @@ -560,16 +560,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask = function(opt_data) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.displayName = 'proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask'; + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.displayName = 'proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask'; } /** @@ -577,7 +577,7 @@ if (goog.DEBUG && !COMPILED) { * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.repeatedFields_ = [5]; +proto.services.task_svc.v1.CreateTaskTemplateRequest.repeatedFields_ = [5]; @@ -594,8 +594,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateTaskTemplateRequest.toObject(opt_includeInstance, this); }; @@ -604,17 +604,17 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateTaskTemplateRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), description: jspb.Message.getFieldWithDefault(msg, 2, ""), wardId: jspb.Message.getFieldWithDefault(msg, 4, ""), subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.toObject, includeInstance) + proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.toObject, includeInstance) }; if (includeInstance) { @@ -628,23 +628,23 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateTaskTemplateRequest; - return proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateTaskTemplateRequest; + return proto.services.task_svc.v1.CreateTaskTemplateRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateTaskTemplateRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -664,8 +664,8 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.deserializeBinaryFrom msg.setWardId(value); break; case 5: - var value = new proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask; - reader.readMessage(value,proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask; + reader.readMessage(value,proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.deserializeBinaryFromReader); msg.addSubtasks(value); break; default: @@ -681,9 +681,9 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateTaskTemplateRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -691,11 +691,11 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} message + * @param {!proto.services.task_svc.v1.CreateTaskTemplateRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -723,7 +723,7 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.serializeBinaryToWrit writer.writeRepeatedMessage( 5, f, - proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.serializeBinaryToWriter + proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.serializeBinaryToWriter ); } }; @@ -745,8 +745,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.toObject(opt_includeInstance, this); }; @@ -755,11 +755,11 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.prototype.toO * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -775,23 +775,23 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.toObject = fu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask; - return proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask; + return proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -815,9 +815,9 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.deserializeBi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -825,11 +825,11 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.prototype.ser /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} message + * @param {!proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -845,16 +845,16 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.serializeBina * optional string name = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.prototype.getName = function() { +proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} returns this + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.prototype.setName = function(value) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -863,16 +863,16 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask.prototype.set * optional string name = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.getName = function() { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -881,25 +881,25 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.setName = f * optional string description = 2; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.getDescription = function() { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.setDescription = function(value) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.setDescription = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.clearDescription = function() { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.clearDescription = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -908,7 +908,7 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.clearDescri * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.hasDescription = function() { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.hasDescription = function() { return jspb.Message.getField(this, 2) != null; }; @@ -917,25 +917,25 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.hasDescript * optional string ward_id = 4; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.getWardId = function() { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.setWardId = function(value) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.setWardId = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.clearWardId = function() { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.clearWardId = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -944,45 +944,45 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.clearWardId * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.hasWardId = function() { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.hasWardId = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated SubTask subtasks = 5; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask, 5)); +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask, 5)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.setSubtasksList = function(value) { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 5, value); }; /** - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask=} opt_value + * @param {!proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask, opt_index); +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.clearSubtasksList = function() { +proto.services.task_svc.v1.CreateTaskTemplateRequest.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; @@ -1003,8 +1003,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateTaskTemplateResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateTaskTemplateResponse.toObject(opt_includeInstance, this); }; @@ -1013,11 +1013,11 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateTaskTemplateResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateTaskTemplateResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1033,23 +1033,23 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateResponse} + * @return {!proto.services.task_svc.v1.CreateTaskTemplateResponse} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateTaskTemplateResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateTaskTemplateResponse; - return proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateTaskTemplateResponse; + return proto.services.task_svc.v1.CreateTaskTemplateResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateTaskTemplateResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateResponse} + * @return {!proto.services.task_svc.v1.CreateTaskTemplateResponse} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateTaskTemplateResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1073,9 +1073,9 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateTaskTemplateResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateTaskTemplateResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1083,11 +1083,11 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateResponse} message + * @param {!proto.services.task_svc.v1.CreateTaskTemplateResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateTaskTemplateResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1103,16 +1103,16 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.serializeBinaryToWri * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.prototype.getId = function() { +proto.services.task_svc.v1.CreateTaskTemplateResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateResponse} returns this + * @return {!proto.services.task_svc.v1.CreateTaskTemplateResponse} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.CreateTaskTemplateResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1133,8 +1133,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesRequest.toObject(opt_includeInstance, this); }; @@ -1143,11 +1143,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -1163,23 +1163,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesRequest} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesRequest; + return proto.services.task_svc.v1.GetAllTaskTemplatesRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesRequest} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1199,9 +1199,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1209,11 +1209,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -1224,7 +1224,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesRequest.serializeBinaryToWri * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.repeatedFields_ = [1]; @@ -1241,8 +1241,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesResponse.toObject(opt_includeInstance, this); }; @@ -1251,14 +1251,14 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.toObject = function(includeInstance, msg) { var f, obj = { templatesList: jspb.Message.toObjectList(msg.getTemplatesList(), - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.toObject, includeInstance) + proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.toObject, includeInstance) }; if (includeInstance) { @@ -1272,23 +1272,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.toObject = function /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesResponse; + return proto.services.task_svc.v1.GetAllTaskTemplatesResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1296,8 +1296,8 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.deserializeBinaryFr var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate; + reader.readMessage(value,proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.deserializeBinaryFromReader); msg.addTemplates(value); break; default: @@ -1313,9 +1313,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.deserializeBinaryFr * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1323,18 +1323,18 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.serialize /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTemplatesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.serializeBinaryToWriter + proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.serializeBinaryToWriter ); } }; @@ -1346,7 +1346,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.serializeBinaryToWr * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.repeatedFields_ = [7]; +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.repeatedFields_ = [7]; @@ -1363,8 +1363,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.toObject(opt_includeInstance, this); }; @@ -1373,11 +1373,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.protot * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1385,7 +1385,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.toObje isPublic: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""), subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.toObject, includeInstance) + proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.toObject, includeInstance) }; if (includeInstance) { @@ -1399,23 +1399,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.toObje /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate; + return proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1443,8 +1443,8 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.deseri msg.setCreatedBy(value); break; case 7: - var value = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask; + reader.readMessage(value,proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.deserializeBinaryFromReader); msg.addSubtasks(value); break; default: @@ -1460,9 +1460,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.deseri * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1470,11 +1470,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.protot /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1516,7 +1516,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.serial writer.writeRepeatedMessage( 7, f, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.serializeBinaryToWriter + proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.serializeBinaryToWriter ); } }; @@ -1538,8 +1538,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.toObject(opt_includeInstance, this); }; @@ -1548,11 +1548,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTas * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), taskTemplateId: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1570,23 +1570,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTas /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask; + return proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1618,9 +1618,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTas * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1628,11 +1628,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTas /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1662,16 +1662,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTas * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.getId = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.setId = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1680,16 +1680,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTas * optional string task_template_id = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.getTaskTemplateId = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.getTaskTemplateId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.setTaskTemplateId = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.setTaskTemplateId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1698,16 +1698,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTas * optional string name = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.getName = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.setName = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1716,16 +1716,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTas * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getId = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setId = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1734,16 +1734,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.protot * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getName = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setName = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1752,16 +1752,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.protot * optional string description = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getDescription = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setDescription = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1770,16 +1770,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.protot * optional bool is_public = 4; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getIsPublic = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getIsPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setIsPublic = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setIsPublic = function(value) { return jspb.Message.setProto3BooleanField(this, 4, value); }; @@ -1788,92 +1788,92 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.protot * optional string created_by = 6; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getCreatedBy = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getCreatedBy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setCreatedBy = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setCreatedBy = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; /** * repeated SubTask subtasks = 7; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask, 7)); +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask, 7)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setSubtasksList = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 7, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask=} opt_value + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask, opt_index); +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.clearSubtasksList = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; /** * repeated TaskTemplate templates = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.getTemplatesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate, 1)); +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.getTemplatesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.setTemplatesList = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.setTemplatesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate=} opt_value + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.addTemplates = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate, opt_index); +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.addTemplates = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesResponse} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.clearTemplatesList = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesResponse.prototype.clearTemplatesList = function() { return this.setTemplatesList([]); }; @@ -1894,8 +1894,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteTaskTemplateRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteTaskTemplateRequest.toObject(opt_includeInstance, this); }; @@ -1904,11 +1904,11 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteTaskTemplateRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1924,23 +1924,23 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest} + * @return {!proto.services.task_svc.v1.DeleteTaskTemplateRequest} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteTaskTemplateRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest; - return proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteTaskTemplateRequest; + return proto.services.task_svc.v1.DeleteTaskTemplateRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest} + * @return {!proto.services.task_svc.v1.DeleteTaskTemplateRequest} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteTaskTemplateRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1964,9 +1964,9 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteTaskTemplateRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteTaskTemplateRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1974,11 +1974,11 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest} message + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteTaskTemplateRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1994,16 +1994,16 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.serializeBinaryToWrit * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.prototype.getId = function() { +proto.services.task_svc.v1.DeleteTaskTemplateRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.DeleteTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.DeleteTaskTemplateRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2024,8 +2024,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteTaskTemplateResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteTaskTemplateResponse.toObject(opt_includeInstance, this); }; @@ -2034,11 +2034,11 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteTaskTemplateResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2054,23 +2054,23 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse} + * @return {!proto.services.task_svc.v1.DeleteTaskTemplateResponse} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteTaskTemplateResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse; - return proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteTaskTemplateResponse; + return proto.services.task_svc.v1.DeleteTaskTemplateResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse} + * @return {!proto.services.task_svc.v1.DeleteTaskTemplateResponse} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteTaskTemplateResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2090,9 +2090,9 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteTaskTemplateResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteTaskTemplateResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2100,11 +2100,11 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse} message + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteTaskTemplateResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2125,8 +2125,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.toObject(opt_includeInstance, this); }; @@ -2135,11 +2135,11 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.prototype.toOb * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2155,23 +2155,23 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.toObject = fun /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} + * @return {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest; - return proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest; + return proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} + * @return {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2195,9 +2195,9 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.deserializeBin * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2205,11 +2205,11 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.prototype.seri /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} message + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2225,16 +2225,16 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.serializeBinar * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.prototype.getId = function() { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2255,8 +2255,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.toObject(opt_includeInstance, this); }; @@ -2265,11 +2265,11 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.prototype.toO * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2285,23 +2285,23 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.toObject = fu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse} + * @return {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse; - return proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse; + return proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse} + * @return {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2321,9 +2321,9 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.deserializeBi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2331,11 +2331,11 @@ proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.prototype.ser /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse} message + * @param {!proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2356,8 +2356,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateTaskTemplateRequest.toObject(opt_includeInstance, this); }; @@ -2366,11 +2366,11 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2388,23 +2388,23 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest; - return proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateTaskTemplateRequest; + return proto.services.task_svc.v1.UpdateTaskTemplateRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2436,9 +2436,9 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateTaskTemplateRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2446,11 +2446,11 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} message + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2480,16 +2480,16 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.serializeBinaryToWrit * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.getId = function() { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2498,25 +2498,25 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.setId = fun * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.getName = function() { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.setName = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.clearName = function() { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.clearName = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -2525,7 +2525,7 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.clearName = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.hasName = function() { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.hasName = function() { return jspb.Message.getField(this, 2) != null; }; @@ -2534,25 +2534,25 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.hasName = f * optional string description = 3; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.getDescription = function() { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.setDescription = function(value) { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.setDescription = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.clearDescription = function() { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.clearDescription = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -2561,7 +2561,7 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.clearDescri * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.hasDescription = function() { +proto.services.task_svc.v1.UpdateTaskTemplateRequest.prototype.hasDescription = function() { return jspb.Message.getField(this, 3) != null; }; @@ -2582,8 +2582,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateTaskTemplateResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateTaskTemplateResponse.toObject(opt_includeInstance, this); }; @@ -2592,11 +2592,11 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateTaskTemplateResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2612,23 +2612,23 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse} + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateResponse} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateTaskTemplateResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse; - return proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateTaskTemplateResponse; + return proto.services.task_svc.v1.UpdateTaskTemplateResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse} + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateResponse} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateTaskTemplateResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2648,9 +2648,9 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateTaskTemplateResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateTaskTemplateResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2658,11 +2658,11 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse} message + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateTaskTemplateResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2683,8 +2683,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.toObject(opt_includeInstance, this); }; @@ -2693,11 +2693,11 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.toOb * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { subtaskId: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2714,23 +2714,23 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.toObject = fun /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest; - return proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest; + return proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2758,9 +2758,9 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.deserializeBin * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2768,11 +2768,11 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.seri /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} message + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSubtaskId(); if (f.length > 0) { @@ -2795,16 +2795,16 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.serializeBinar * optional string subtask_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.getSubtaskId = function() { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.getSubtaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.setSubtaskId = function(value) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.setSubtaskId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2813,25 +2813,25 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.setS * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.getName = function() { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.setName = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.clearName = function() { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.clearName = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -2840,7 +2840,7 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.clea * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.hasName = function() { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest.prototype.hasName = function() { return jspb.Message.getField(this, 2) != null; }; @@ -2861,8 +2861,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.toObject(opt_includeInstance, this); }; @@ -2871,11 +2871,11 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.prototype.toO * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2891,23 +2891,23 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.toObject = fu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse} + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse; - return proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse; + return proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse} + * @return {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2927,9 +2927,9 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.deserializeBi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2937,11 +2937,11 @@ proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.prototype.ser /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse} message + * @param {!proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2962,8 +2962,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.toObject(opt_includeInstance, this); }; @@ -2972,11 +2972,11 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.toOb * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { taskTemplateId: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2993,23 +2993,23 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.toObject = fun /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} + * @return {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest; - return proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest; + return proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} + * @return {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3037,9 +3037,9 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.deserializeBin * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3047,11 +3047,11 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.seri /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} message + * @param {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTaskTemplateId(); if (f.length > 0) { @@ -3074,16 +3074,16 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.serializeBinar * optional string task_template_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.getTaskTemplateId = function() { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.getTaskTemplateId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.setTaskTemplateId = function(value) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.setTaskTemplateId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3092,16 +3092,16 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.setT * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.getName = function() { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} returns this + * @return {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3122,8 +3122,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.toObject(opt_includeInstance, this); }; @@ -3132,11 +3132,11 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.prototype.toO * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -3152,23 +3152,23 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.toObject = fu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} + * @return {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse; - return proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse; + return proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} + * @return {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3192,9 +3192,9 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.deserializeBi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3202,11 +3202,11 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.prototype.ser /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} message + * @param {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3222,16 +3222,16 @@ proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.serializeBina * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.prototype.getId = function() { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} returns this + * @return {!proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse} returns this */ -proto.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3252,8 +3252,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.toObject(opt_includeInstance, this); }; @@ -3262,11 +3262,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.t * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.toObject = function(includeInstance, msg) { var f, obj = { createdBy: jspb.Message.getFieldWithDefault(msg, 1, ""), privateOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) @@ -3283,23 +3283,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.toObject = /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest; + return proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3327,9 +3327,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.deserialize * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3337,11 +3337,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.s /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCreatedBy(); if (f.length > 0) { @@ -3364,16 +3364,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.serializeBi * optional string created_by = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.getCreatedBy = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.getCreatedBy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.setCreatedBy = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.setCreatedBy = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3382,25 +3382,25 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.s * optional bool private_only = 2; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.getPrivateOnly = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.getPrivateOnly = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.setPrivateOnly = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.setPrivateOnly = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.clearPrivateOnly = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.clearPrivateOnly = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -3409,7 +3409,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.c * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.hasPrivateOnly = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.hasPrivateOnly = function() { return jspb.Message.getField(this, 2) != null; }; @@ -3420,7 +3420,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest.prototype.h * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.repeatedFields_ = [1]; @@ -3437,8 +3437,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.toObject(opt_includeInstance, this); }; @@ -3447,14 +3447,14 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.toObject = function(includeInstance, msg) { var f, obj = { templatesList: jspb.Message.toObjectList(msg.getTemplatesList(), - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.toObject, includeInstance) + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.toObject, includeInstance) }; if (includeInstance) { @@ -3468,23 +3468,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.toObject = /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse; + return proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3492,8 +3492,8 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.deserializ var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate; + reader.readMessage(value,proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.deserializeBinaryFromReader); msg.addTemplates(value); break; default: @@ -3509,9 +3509,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.deserializ * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3519,18 +3519,18 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype. /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTemplatesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.serializeBinaryToWriter + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.serializeBinaryToWriter ); } }; @@ -3542,7 +3542,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.serializeB * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.repeatedFields_ = [7]; +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.repeatedFields_ = [7]; @@ -3559,8 +3559,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.toObject(opt_includeInstance, this); }; @@ -3569,18 +3569,18 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), description: jspb.Message.getFieldWithDefault(msg, 3, ""), isPublic: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.toObject, includeInstance) + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.toObject, includeInstance) }; if (includeInstance) { @@ -3594,23 +3594,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate; + return proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3634,8 +3634,8 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla msg.setIsPublic(value); break; case 7: - var value = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask; + reader.readMessage(value,proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.deserializeBinaryFromReader); msg.addSubtasks(value); break; default: @@ -3651,9 +3651,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3661,11 +3661,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3700,7 +3700,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla writer.writeRepeatedMessage( 7, f, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.serializeBinaryToWriter + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.serializeBinaryToWriter ); } }; @@ -3722,8 +3722,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.toObject(opt_includeInstance, this); }; @@ -3732,11 +3732,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), taskTemplateId: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -3754,23 +3754,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask; + return proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3802,9 +3802,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3812,11 +3812,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3846,16 +3846,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.getId = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.setId = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3864,16 +3864,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla * optional string task_template_id = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.getTaskTemplateId = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.getTaskTemplateId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.setTaskTemplateId = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.setTaskTemplateId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3882,16 +3882,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla * optional string name = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.getName = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.setName = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -3900,16 +3900,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.getId = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.setId = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3918,16 +3918,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.getName = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.setName = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3936,16 +3936,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla * optional string description = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.getDescription = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.setDescription = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -3954,92 +3954,92 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTempla * optional bool is_public = 4; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.getIsPublic = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.getIsPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.setIsPublic = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.setIsPublic = function(value) { return jspb.Message.setProto3BooleanField(this, 4, value); }; /** * repeated SubTask subtasks = 7; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask, 7)); +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask, 7)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.setSubtasksList = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 7, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask=} opt_value + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask, opt_index); +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.clearSubtasksList = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; /** * repeated TaskTemplate templates = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.getTemplatesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate, 1)); +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.getTemplatesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.setTemplatesList = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.setTemplatesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate=} opt_value + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.addTemplates = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate, opt_index); +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.addTemplates = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.clearTemplatesList = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.prototype.clearTemplatesList = function() { return this.setTemplatesList([]); }; @@ -4060,8 +4060,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.toObject(opt_includeInstance, this); }; @@ -4070,11 +4070,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.prototype.toOb * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.toObject = function(includeInstance, msg) { var f, obj = { wardId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -4090,23 +4090,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.toObject = fun /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest; + return proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4130,9 +4130,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.deserializeBin * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4140,11 +4140,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.prototype.seri /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWardId(); if (f.length > 0) { @@ -4160,16 +4160,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.serializeBinar * optional string ward_id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.prototype.getWardId = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.prototype.setWardId = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4180,7 +4180,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest.prototype.setW * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.repeatedFields_ = [1]; @@ -4197,8 +4197,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.toObject(opt_includeInstance, this); }; @@ -4207,14 +4207,14 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.toO * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.toObject = function(includeInstance, msg) { var f, obj = { templatesList: jspb.Message.toObjectList(msg.getTemplatesList(), - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.toObject, includeInstance) + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.toObject, includeInstance) }; if (includeInstance) { @@ -4228,23 +4228,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.toObject = fu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse; + return proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4252,8 +4252,8 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.deserializeBi var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate; + reader.readMessage(value,proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.deserializeBinaryFromReader); msg.addTemplates(value); break; default: @@ -4269,9 +4269,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.deserializeBi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4279,18 +4279,18 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.ser /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTemplatesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.serializeBinaryToWriter + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.serializeBinaryToWriter ); } }; @@ -4302,7 +4302,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.serializeBina * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.repeatedFields_ = [7]; +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.repeatedFields_ = [7]; @@ -4319,8 +4319,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.toObject(opt_includeInstance, this); }; @@ -4329,11 +4329,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -4341,7 +4341,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. isPublic: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""), subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.toObject, includeInstance) + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.toObject, includeInstance) }; if (includeInstance) { @@ -4355,23 +4355,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate; + return proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4399,8 +4399,8 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. msg.setCreatedBy(value); break; case 7: - var value = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask; + reader.readMessage(value,proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.deserializeBinaryFromReader); msg.addSubtasks(value); break; default: @@ -4416,9 +4416,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4426,11 +4426,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4472,7 +4472,7 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. writer.writeRepeatedMessage( 7, f, - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.serializeBinaryToWriter + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.serializeBinaryToWriter ); } }; @@ -4494,8 +4494,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.toObject(opt_includeInstance, this); }; @@ -4504,11 +4504,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), taskTemplateId: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -4526,23 +4526,23 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask; - return proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask; + return proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4574,9 +4574,9 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4584,11 +4584,11 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} message + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4618,16 +4618,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.getId = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.setId = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4636,16 +4636,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * optional string task_template_id = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.getTaskTemplateId = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.getTaskTemplateId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.setTaskTemplateId = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.setTaskTemplateId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4654,16 +4654,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * optional string name = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.getName = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.setName = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -4672,16 +4672,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getId = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setId = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4690,16 +4690,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getName = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setName = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4708,16 +4708,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * optional string description = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getDescription = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setDescription = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -4726,16 +4726,16 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * optional bool is_public = 4; * @return {boolean} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getIsPublic = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getIsPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setIsPublic = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setIsPublic = function(value) { return jspb.Message.setProto3BooleanField(this, 4, value); }; @@ -4744,94 +4744,94 @@ proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate. * optional string created_by = 6; * @return {string} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getCreatedBy = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getCreatedBy = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setCreatedBy = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setCreatedBy = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; /** * repeated SubTask subtasks = 7; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask, 7)); +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask, 7)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setSubtasksList = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 7, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask=} opt_value + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask, opt_index); +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.clearSubtasksList = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; /** * repeated TaskTemplate templates = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.getTemplatesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate, 1)); +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.getTemplatesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.setTemplatesList = function(value) { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.setTemplatesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate=} opt_value + * @param {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.addTemplates = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate, opt_index); +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.addTemplates = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} returns this + * @return {!proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.clearTemplatesList = function() { +proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.prototype.clearTemplatesList = function() { return this.setTemplatesList([]); }; -goog.object.extend(exports, proto.proto.services.task_svc.v1); +goog.object.extend(exports, proto.services.task_svc.v1); diff --git a/gen/ts/services/task_svc/v1/ward_svc_grpc_web_pb.d.ts b/gen/ts/services/task_svc/v1/ward_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..2d3564a79 --- /dev/null +++ b/gen/ts/services/task_svc/v1/ward_svc_grpc_web_pb.d.ts @@ -0,0 +1,115 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_task_svc_v1_ward_svc_pb from '../../../services/task_svc/v1/ward_svc_pb'; // proto import: "services/task_svc/v1/ward_svc.proto" + + +export class WardServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createWard( + request: services_task_svc_v1_ward_svc_pb.CreateWardRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_ward_svc_pb.CreateWardResponse) => void + ): grpcWeb.ClientReadableStream; + + getWard( + request: services_task_svc_v1_ward_svc_pb.GetWardRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_ward_svc_pb.GetWardResponse) => void + ): grpcWeb.ClientReadableStream; + + getWards( + request: services_task_svc_v1_ward_svc_pb.GetWardsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_ward_svc_pb.GetWardsResponse) => void + ): grpcWeb.ClientReadableStream; + + getRecentWards( + request: services_task_svc_v1_ward_svc_pb.GetRecentWardsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_ward_svc_pb.GetRecentWardsResponse) => void + ): grpcWeb.ClientReadableStream; + + updateWard( + request: services_task_svc_v1_ward_svc_pb.UpdateWardRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_ward_svc_pb.UpdateWardResponse) => void + ): grpcWeb.ClientReadableStream; + + deleteWard( + request: services_task_svc_v1_ward_svc_pb.DeleteWardRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_ward_svc_pb.DeleteWardResponse) => void + ): grpcWeb.ClientReadableStream; + + getWardOverviews( + request: services_task_svc_v1_ward_svc_pb.GetWardOverviewsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_ward_svc_pb.GetWardOverviewsResponse) => void + ): grpcWeb.ClientReadableStream; + + getWardDetails( + request: services_task_svc_v1_ward_svc_pb.GetWardDetailsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_task_svc_v1_ward_svc_pb.GetWardDetailsResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class WardServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createWard( + request: services_task_svc_v1_ward_svc_pb.CreateWardRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getWard( + request: services_task_svc_v1_ward_svc_pb.GetWardRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getWards( + request: services_task_svc_v1_ward_svc_pb.GetWardsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getRecentWards( + request: services_task_svc_v1_ward_svc_pb.GetRecentWardsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateWard( + request: services_task_svc_v1_ward_svc_pb.UpdateWardRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + deleteWard( + request: services_task_svc_v1_ward_svc_pb.DeleteWardRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getWardOverviews( + request: services_task_svc_v1_ward_svc_pb.GetWardOverviewsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getWardDetails( + request: services_task_svc_v1_ward_svc_pb.GetWardDetailsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/services/task_svc/v1/ward_svc_grpc_web_pb.js b/gen/ts/services/task_svc/v1/ward_svc_grpc_web_pb.js new file mode 100644 index 000000000..60df9b091 --- /dev/null +++ b/gen/ts/services/task_svc/v1/ward_svc_grpc_web_pb.js @@ -0,0 +1,568 @@ +/** + * @fileoverview gRPC-Web generated client stub for services.task_svc.v1 + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.5.0 +// protoc v0.0.0 +// source: services/task_svc/v1/ward_svc.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + +const proto = {}; +proto.services = {}; +proto.services.task_svc = {}; +proto.services.task_svc.v1 = require('./ward_svc_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.WardServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.task_svc.v1.WardServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.CreateWardRequest, + * !proto.services.task_svc.v1.CreateWardResponse>} + */ +const methodDescriptor_WardService_CreateWard = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.WardService/CreateWard', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.CreateWardRequest, + proto.services.task_svc.v1.CreateWardResponse, + /** + * @param {!proto.services.task_svc.v1.CreateWardRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.CreateWardResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.CreateWardRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.CreateWardResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.WardServiceClient.prototype.createWard = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.WardService/CreateWard', + request, + metadata || {}, + methodDescriptor_WardService_CreateWard, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.CreateWardRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.WardServicePromiseClient.prototype.createWard = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.WardService/CreateWard', + request, + metadata || {}, + methodDescriptor_WardService_CreateWard); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetWardRequest, + * !proto.services.task_svc.v1.GetWardResponse>} + */ +const methodDescriptor_WardService_GetWard = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.WardService/GetWard', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetWardRequest, + proto.services.task_svc.v1.GetWardResponse, + /** + * @param {!proto.services.task_svc.v1.GetWardRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetWardResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetWardRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetWardResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.WardServiceClient.prototype.getWard = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.WardService/GetWard', + request, + metadata || {}, + methodDescriptor_WardService_GetWard, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetWardRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.WardServicePromiseClient.prototype.getWard = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.WardService/GetWard', + request, + metadata || {}, + methodDescriptor_WardService_GetWard); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetWardsRequest, + * !proto.services.task_svc.v1.GetWardsResponse>} + */ +const methodDescriptor_WardService_GetWards = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.WardService/GetWards', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetWardsRequest, + proto.services.task_svc.v1.GetWardsResponse, + /** + * @param {!proto.services.task_svc.v1.GetWardsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetWardsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetWardsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetWardsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.WardServiceClient.prototype.getWards = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.WardService/GetWards', + request, + metadata || {}, + methodDescriptor_WardService_GetWards, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetWardsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.WardServicePromiseClient.prototype.getWards = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.WardService/GetWards', + request, + metadata || {}, + methodDescriptor_WardService_GetWards); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetRecentWardsRequest, + * !proto.services.task_svc.v1.GetRecentWardsResponse>} + */ +const methodDescriptor_WardService_GetRecentWards = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.WardService/GetRecentWards', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetRecentWardsRequest, + proto.services.task_svc.v1.GetRecentWardsResponse, + /** + * @param {!proto.services.task_svc.v1.GetRecentWardsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetRecentWardsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetRecentWardsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetRecentWardsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.WardServiceClient.prototype.getRecentWards = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.WardService/GetRecentWards', + request, + metadata || {}, + methodDescriptor_WardService_GetRecentWards, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetRecentWardsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.WardServicePromiseClient.prototype.getRecentWards = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.WardService/GetRecentWards', + request, + metadata || {}, + methodDescriptor_WardService_GetRecentWards); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.UpdateWardRequest, + * !proto.services.task_svc.v1.UpdateWardResponse>} + */ +const methodDescriptor_WardService_UpdateWard = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.WardService/UpdateWard', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.UpdateWardRequest, + proto.services.task_svc.v1.UpdateWardResponse, + /** + * @param {!proto.services.task_svc.v1.UpdateWardRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.UpdateWardResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.UpdateWardRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.UpdateWardResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.WardServiceClient.prototype.updateWard = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.WardService/UpdateWard', + request, + metadata || {}, + methodDescriptor_WardService_UpdateWard, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.UpdateWardRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.WardServicePromiseClient.prototype.updateWard = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.WardService/UpdateWard', + request, + metadata || {}, + methodDescriptor_WardService_UpdateWard); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.DeleteWardRequest, + * !proto.services.task_svc.v1.DeleteWardResponse>} + */ +const methodDescriptor_WardService_DeleteWard = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.WardService/DeleteWard', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.DeleteWardRequest, + proto.services.task_svc.v1.DeleteWardResponse, + /** + * @param {!proto.services.task_svc.v1.DeleteWardRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.DeleteWardResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.DeleteWardRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.DeleteWardResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.WardServiceClient.prototype.deleteWard = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.WardService/DeleteWard', + request, + metadata || {}, + methodDescriptor_WardService_DeleteWard, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.DeleteWardRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.WardServicePromiseClient.prototype.deleteWard = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.WardService/DeleteWard', + request, + metadata || {}, + methodDescriptor_WardService_DeleteWard); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetWardOverviewsRequest, + * !proto.services.task_svc.v1.GetWardOverviewsResponse>} + */ +const methodDescriptor_WardService_GetWardOverviews = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.WardService/GetWardOverviews', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetWardOverviewsRequest, + proto.services.task_svc.v1.GetWardOverviewsResponse, + /** + * @param {!proto.services.task_svc.v1.GetWardOverviewsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetWardOverviewsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetWardOverviewsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetWardOverviewsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.WardServiceClient.prototype.getWardOverviews = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.WardService/GetWardOverviews', + request, + metadata || {}, + methodDescriptor_WardService_GetWardOverviews, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetWardOverviewsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.WardServicePromiseClient.prototype.getWardOverviews = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.WardService/GetWardOverviews', + request, + metadata || {}, + methodDescriptor_WardService_GetWardOverviews); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.task_svc.v1.GetWardDetailsRequest, + * !proto.services.task_svc.v1.GetWardDetailsResponse>} + */ +const methodDescriptor_WardService_GetWardDetails = new grpc.web.MethodDescriptor( + '/services.task_svc.v1.WardService/GetWardDetails', + grpc.web.MethodType.UNARY, + proto.services.task_svc.v1.GetWardDetailsRequest, + proto.services.task_svc.v1.GetWardDetailsResponse, + /** + * @param {!proto.services.task_svc.v1.GetWardDetailsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.task_svc.v1.GetWardDetailsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.task_svc.v1.GetWardDetailsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.task_svc.v1.GetWardDetailsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.task_svc.v1.WardServiceClient.prototype.getWardDetails = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.task_svc.v1.WardService/GetWardDetails', + request, + metadata || {}, + methodDescriptor_WardService_GetWardDetails, + callback); +}; + + +/** + * @param {!proto.services.task_svc.v1.GetWardDetailsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.task_svc.v1.WardServicePromiseClient.prototype.getWardDetails = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.task_svc.v1.WardService/GetWardDetails', + request, + metadata || {}, + methodDescriptor_WardService_GetWardDetails); +}; + + +module.exports = proto.services.task_svc.v1; + diff --git a/gen/ts/proto/services/task_svc/v1/ward_svc_pb.d.ts b/gen/ts/services/task_svc/v1/ward_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/task_svc/v1/ward_svc_pb.d.ts rename to gen/ts/services/task_svc/v1/ward_svc_pb.d.ts diff --git a/gen/ts/proto/services/task_svc/v1/ward_svc_pb.js b/gen/ts/services/task_svc/v1/ward_svc_pb.js similarity index 59% rename from gen/ts/proto/services/task_svc/v1/ward_svc_pb.js rename to gen/ts/services/task_svc/v1/ward_svc_pb.js index 7e8496b63..3e9c939c5 100644 --- a/gen/ts/proto/services/task_svc/v1/ward_svc_pb.js +++ b/gen/ts/services/task_svc/v1/ward_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/task_svc/v1/ward_svc.proto +// source: services/task_svc/v1/ward_svc.proto /** * @fileoverview * @enhanceable @@ -21,29 +21,29 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateWardRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.CreateWardResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteWardRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.DeleteWardResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRecentWardsRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRecentWardsResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardDetailsRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardDetailsResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardOverviewsRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardOverviewsResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardsRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardsResponse', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.GetWardsResponse.Ward', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateWardRequest', null, global); -goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateWardResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateWardRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.CreateWardResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteWardRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.DeleteWardResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRecentWardsRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRecentWardsResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetRecentWardsResponse.Ward', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardDetailsRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardDetailsResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardDetailsResponse.Bed', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardDetailsResponse.Room', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardDetailsResponse.Subtask', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardOverviewsRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardOverviewsResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardOverviewsResponse.Ward', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardsRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardsResponse', null, global); +goog.exportSymbol('proto.services.task_svc.v1.GetWardsResponse.Ward', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateWardRequest', null, global); +goog.exportSymbol('proto.services.task_svc.v1.UpdateWardResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -54,16 +54,16 @@ goog.exportSymbol('proto.proto.services.task_svc.v1.UpdateWardResponse', null, g * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateWardRequest = function(opt_data) { +proto.services.task_svc.v1.CreateWardRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateWardRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateWardRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateWardRequest.displayName = 'proto.proto.services.task_svc.v1.CreateWardRequest'; + proto.services.task_svc.v1.CreateWardRequest.displayName = 'proto.services.task_svc.v1.CreateWardRequest'; } /** * Generated by JsPbCodeGenerator. @@ -75,16 +75,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.CreateWardResponse = function(opt_data) { +proto.services.task_svc.v1.CreateWardResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.CreateWardResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.CreateWardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.CreateWardResponse.displayName = 'proto.proto.services.task_svc.v1.CreateWardResponse'; + proto.services.task_svc.v1.CreateWardResponse.displayName = 'proto.services.task_svc.v1.CreateWardResponse'; } /** * Generated by JsPbCodeGenerator. @@ -96,16 +96,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardRequest = function(opt_data) { +proto.services.task_svc.v1.GetWardRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardRequest.displayName = 'proto.proto.services.task_svc.v1.GetWardRequest'; + proto.services.task_svc.v1.GetWardRequest.displayName = 'proto.services.task_svc.v1.GetWardRequest'; } /** * Generated by JsPbCodeGenerator. @@ -117,16 +117,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardResponse = function(opt_data) { +proto.services.task_svc.v1.GetWardResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardResponse.displayName = 'proto.proto.services.task_svc.v1.GetWardResponse'; + proto.services.task_svc.v1.GetWardResponse.displayName = 'proto.services.task_svc.v1.GetWardResponse'; } /** * Generated by JsPbCodeGenerator. @@ -138,16 +138,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardsRequest = function(opt_data) { +proto.services.task_svc.v1.GetWardsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardsRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardsRequest.displayName = 'proto.proto.services.task_svc.v1.GetWardsRequest'; + proto.services.task_svc.v1.GetWardsRequest.displayName = 'proto.services.task_svc.v1.GetWardsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -159,16 +159,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetWardsResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetWardsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetWardsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardsResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardsResponse.displayName = 'proto.proto.services.task_svc.v1.GetWardsResponse'; + proto.services.task_svc.v1.GetWardsResponse.displayName = 'proto.services.task_svc.v1.GetWardsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -180,16 +180,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardsResponse.Ward = function(opt_data) { +proto.services.task_svc.v1.GetWardsResponse.Ward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardsResponse.Ward, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardsResponse.Ward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardsResponse.Ward.displayName = 'proto.proto.services.task_svc.v1.GetWardsResponse.Ward'; + proto.services.task_svc.v1.GetWardsResponse.Ward.displayName = 'proto.services.task_svc.v1.GetWardsResponse.Ward'; } /** * Generated by JsPbCodeGenerator. @@ -201,16 +201,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRecentWardsRequest = function(opt_data) { +proto.services.task_svc.v1.GetRecentWardsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRecentWardsRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRecentWardsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRecentWardsRequest.displayName = 'proto.proto.services.task_svc.v1.GetRecentWardsRequest'; + proto.services.task_svc.v1.GetRecentWardsRequest.displayName = 'proto.services.task_svc.v1.GetRecentWardsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -222,16 +222,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetRecentWardsResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetRecentWardsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetRecentWardsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRecentWardsResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRecentWardsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRecentWardsResponse.displayName = 'proto.proto.services.task_svc.v1.GetRecentWardsResponse'; + proto.services.task_svc.v1.GetRecentWardsResponse.displayName = 'proto.services.task_svc.v1.GetRecentWardsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -243,16 +243,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward = function(opt_data) { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetRecentWardsResponse.Ward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.displayName = 'proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward'; + proto.services.task_svc.v1.GetRecentWardsResponse.Ward.displayName = 'proto.services.task_svc.v1.GetRecentWardsResponse.Ward'; } /** * Generated by JsPbCodeGenerator. @@ -264,16 +264,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateWardRequest = function(opt_data) { +proto.services.task_svc.v1.UpdateWardRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateWardRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateWardRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateWardRequest.displayName = 'proto.proto.services.task_svc.v1.UpdateWardRequest'; + proto.services.task_svc.v1.UpdateWardRequest.displayName = 'proto.services.task_svc.v1.UpdateWardRequest'; } /** * Generated by JsPbCodeGenerator. @@ -285,16 +285,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.UpdateWardResponse = function(opt_data) { +proto.services.task_svc.v1.UpdateWardResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.UpdateWardResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.UpdateWardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.UpdateWardResponse.displayName = 'proto.proto.services.task_svc.v1.UpdateWardResponse'; + proto.services.task_svc.v1.UpdateWardResponse.displayName = 'proto.services.task_svc.v1.UpdateWardResponse'; } /** * Generated by JsPbCodeGenerator. @@ -306,16 +306,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteWardRequest = function(opt_data) { +proto.services.task_svc.v1.DeleteWardRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteWardRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteWardRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteWardRequest.displayName = 'proto.proto.services.task_svc.v1.DeleteWardRequest'; + proto.services.task_svc.v1.DeleteWardRequest.displayName = 'proto.services.task_svc.v1.DeleteWardRequest'; } /** * Generated by JsPbCodeGenerator. @@ -327,16 +327,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.DeleteWardResponse = function(opt_data) { +proto.services.task_svc.v1.DeleteWardResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.DeleteWardResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.DeleteWardResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.DeleteWardResponse.displayName = 'proto.proto.services.task_svc.v1.DeleteWardResponse'; + proto.services.task_svc.v1.DeleteWardResponse.displayName = 'proto.services.task_svc.v1.DeleteWardResponse'; } /** * Generated by JsPbCodeGenerator. @@ -348,16 +348,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardDetailsRequest = function(opt_data) { +proto.services.task_svc.v1.GetWardDetailsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardDetailsRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardDetailsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardDetailsRequest.displayName = 'proto.proto.services.task_svc.v1.GetWardDetailsRequest'; + proto.services.task_svc.v1.GetWardDetailsRequest.displayName = 'proto.services.task_svc.v1.GetWardDetailsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -369,16 +369,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetWardDetailsResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetWardDetailsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetWardDetailsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardDetailsResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardDetailsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardDetailsResponse.displayName = 'proto.proto.services.task_svc.v1.GetWardDetailsResponse'; + proto.services.task_svc.v1.GetWardDetailsResponse.displayName = 'proto.services.task_svc.v1.GetWardDetailsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -390,16 +390,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed = function(opt_data) { +proto.services.task_svc.v1.GetWardDetailsResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardDetailsResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.displayName = 'proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed'; + proto.services.task_svc.v1.GetWardDetailsResponse.Bed.displayName = 'proto.services.task_svc.v1.GetWardDetailsResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -411,16 +411,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask = function(opt_data) { +proto.services.task_svc.v1.GetWardDetailsResponse.Subtask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardDetailsResponse.Subtask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.displayName = 'proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask'; + proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.displayName = 'proto.services.task_svc.v1.GetWardDetailsResponse.Subtask'; } /** * Generated by JsPbCodeGenerator. @@ -432,16 +432,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.repeatedFields_, null); +proto.services.task_svc.v1.GetWardDetailsResponse.Room = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetWardDetailsResponse.Room.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardDetailsResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.displayName = 'proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room'; + proto.services.task_svc.v1.GetWardDetailsResponse.Room.displayName = 'proto.services.task_svc.v1.GetWardDetailsResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -453,16 +453,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.repeatedFields_, null); +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.displayName = 'proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate'; + proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.displayName = 'proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate'; } /** * Generated by JsPbCodeGenerator. @@ -474,16 +474,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardOverviewsRequest = function(opt_data) { +proto.services.task_svc.v1.GetWardOverviewsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardOverviewsRequest, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardOverviewsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardOverviewsRequest.displayName = 'proto.proto.services.task_svc.v1.GetWardOverviewsRequest'; + proto.services.task_svc.v1.GetWardOverviewsRequest.displayName = 'proto.services.task_svc.v1.GetWardOverviewsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -495,16 +495,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.task_svc.v1.GetWardOverviewsResponse.repeatedFields_, null); +proto.services.task_svc.v1.GetWardOverviewsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.task_svc.v1.GetWardOverviewsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardOverviewsResponse, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardOverviewsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardOverviewsResponse.displayName = 'proto.proto.services.task_svc.v1.GetWardOverviewsResponse'; + proto.services.task_svc.v1.GetWardOverviewsResponse.displayName = 'proto.services.task_svc.v1.GetWardOverviewsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -516,16 +516,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward = function(opt_data) { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward, jspb.Message); +goog.inherits(proto.services.task_svc.v1.GetWardOverviewsResponse.Ward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.displayName = 'proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward'; + proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.displayName = 'proto.services.task_svc.v1.GetWardOverviewsResponse.Ward'; } @@ -543,8 +543,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateWardRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateWardRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateWardRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateWardRequest.toObject(opt_includeInstance, this); }; @@ -553,11 +553,11 @@ proto.proto.services.task_svc.v1.CreateWardRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateWardRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateWardRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateWardRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateWardRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -573,23 +573,23 @@ proto.proto.services.task_svc.v1.CreateWardRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateWardRequest} + * @return {!proto.services.task_svc.v1.CreateWardRequest} */ -proto.proto.services.task_svc.v1.CreateWardRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateWardRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateWardRequest; - return proto.proto.services.task_svc.v1.CreateWardRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateWardRequest; + return proto.services.task_svc.v1.CreateWardRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateWardRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateWardRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateWardRequest} + * @return {!proto.services.task_svc.v1.CreateWardRequest} */ -proto.proto.services.task_svc.v1.CreateWardRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateWardRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -613,9 +613,9 @@ proto.proto.services.task_svc.v1.CreateWardRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateWardRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateWardRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateWardRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateWardRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -623,11 +623,11 @@ proto.proto.services.task_svc.v1.CreateWardRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateWardRequest} message + * @param {!proto.services.task_svc.v1.CreateWardRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateWardRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateWardRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -643,16 +643,16 @@ proto.proto.services.task_svc.v1.CreateWardRequest.serializeBinaryToWriter = fun * optional string name = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateWardRequest.prototype.getName = function() { +proto.services.task_svc.v1.CreateWardRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateWardRequest} returns this + * @return {!proto.services.task_svc.v1.CreateWardRequest} returns this */ -proto.proto.services.task_svc.v1.CreateWardRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.CreateWardRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -673,8 +673,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.CreateWardResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.CreateWardResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.CreateWardResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.CreateWardResponse.toObject(opt_includeInstance, this); }; @@ -683,11 +683,11 @@ proto.proto.services.task_svc.v1.CreateWardResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.CreateWardResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.CreateWardResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateWardResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.CreateWardResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -703,23 +703,23 @@ proto.proto.services.task_svc.v1.CreateWardResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.CreateWardResponse} + * @return {!proto.services.task_svc.v1.CreateWardResponse} */ -proto.proto.services.task_svc.v1.CreateWardResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.CreateWardResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.CreateWardResponse; - return proto.proto.services.task_svc.v1.CreateWardResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.CreateWardResponse; + return proto.services.task_svc.v1.CreateWardResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.CreateWardResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.CreateWardResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.CreateWardResponse} + * @return {!proto.services.task_svc.v1.CreateWardResponse} */ -proto.proto.services.task_svc.v1.CreateWardResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.CreateWardResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -743,9 +743,9 @@ proto.proto.services.task_svc.v1.CreateWardResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.CreateWardResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.CreateWardResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.CreateWardResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.CreateWardResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -753,11 +753,11 @@ proto.proto.services.task_svc.v1.CreateWardResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.CreateWardResponse} message + * @param {!proto.services.task_svc.v1.CreateWardResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.CreateWardResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.CreateWardResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -773,16 +773,16 @@ proto.proto.services.task_svc.v1.CreateWardResponse.serializeBinaryToWriter = fu * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.CreateWardResponse.prototype.getId = function() { +proto.services.task_svc.v1.CreateWardResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.CreateWardResponse} returns this + * @return {!proto.services.task_svc.v1.CreateWardResponse} returns this */ -proto.proto.services.task_svc.v1.CreateWardResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.CreateWardResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -803,8 +803,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardRequest.toObject(opt_includeInstance, this); }; @@ -813,11 +813,11 @@ proto.proto.services.task_svc.v1.GetWardRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -833,23 +833,23 @@ proto.proto.services.task_svc.v1.GetWardRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardRequest} + * @return {!proto.services.task_svc.v1.GetWardRequest} */ -proto.proto.services.task_svc.v1.GetWardRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardRequest; - return proto.proto.services.task_svc.v1.GetWardRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardRequest; + return proto.services.task_svc.v1.GetWardRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardRequest} + * @return {!proto.services.task_svc.v1.GetWardRequest} */ -proto.proto.services.task_svc.v1.GetWardRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -873,9 +873,9 @@ proto.proto.services.task_svc.v1.GetWardRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -883,11 +883,11 @@ proto.proto.services.task_svc.v1.GetWardRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardRequest} message + * @param {!proto.services.task_svc.v1.GetWardRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -903,16 +903,16 @@ proto.proto.services.task_svc.v1.GetWardRequest.serializeBinaryToWriter = functi * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardRequest.prototype.getId = function() { +proto.services.task_svc.v1.GetWardRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardRequest} returns this + * @return {!proto.services.task_svc.v1.GetWardRequest} returns this */ -proto.proto.services.task_svc.v1.GetWardRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.GetWardRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -933,8 +933,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardResponse.toObject(opt_includeInstance, this); }; @@ -943,11 +943,11 @@ proto.proto.services.task_svc.v1.GetWardResponse.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -965,23 +965,23 @@ proto.proto.services.task_svc.v1.GetWardResponse.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardResponse} + * @return {!proto.services.task_svc.v1.GetWardResponse} */ -proto.proto.services.task_svc.v1.GetWardResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardResponse; - return proto.proto.services.task_svc.v1.GetWardResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardResponse; + return proto.services.task_svc.v1.GetWardResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardResponse} + * @return {!proto.services.task_svc.v1.GetWardResponse} */ -proto.proto.services.task_svc.v1.GetWardResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1013,9 +1013,9 @@ proto.proto.services.task_svc.v1.GetWardResponse.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1023,11 +1023,11 @@ proto.proto.services.task_svc.v1.GetWardResponse.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardResponse} message + * @param {!proto.services.task_svc.v1.GetWardResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1057,16 +1057,16 @@ proto.proto.services.task_svc.v1.GetWardResponse.serializeBinaryToWriter = funct * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardResponse.prototype.getId = function() { +proto.services.task_svc.v1.GetWardResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardResponse} returns this + * @return {!proto.services.task_svc.v1.GetWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.GetWardResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1075,16 +1075,16 @@ proto.proto.services.task_svc.v1.GetWardResponse.prototype.setId = function(valu * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardResponse.prototype.getName = function() { +proto.services.task_svc.v1.GetWardResponse.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardResponse} returns this + * @return {!proto.services.task_svc.v1.GetWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardResponse.prototype.setName = function(value) { +proto.services.task_svc.v1.GetWardResponse.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1093,16 +1093,16 @@ proto.proto.services.task_svc.v1.GetWardResponse.prototype.setName = function(va * optional string organization_id = 3; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardResponse.prototype.getOrganizationId = function() { +proto.services.task_svc.v1.GetWardResponse.prototype.getOrganizationId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardResponse} returns this + * @return {!proto.services.task_svc.v1.GetWardResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardResponse.prototype.setOrganizationId = function(value) { +proto.services.task_svc.v1.GetWardResponse.prototype.setOrganizationId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1123,8 +1123,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardsRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardsRequest.toObject(opt_includeInstance, this); }; @@ -1133,11 +1133,11 @@ proto.proto.services.task_svc.v1.GetWardsRequest.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardsRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardsRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardsRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -1153,23 +1153,23 @@ proto.proto.services.task_svc.v1.GetWardsRequest.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardsRequest} + * @return {!proto.services.task_svc.v1.GetWardsRequest} */ -proto.proto.services.task_svc.v1.GetWardsRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardsRequest; - return proto.proto.services.task_svc.v1.GetWardsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardsRequest; + return proto.services.task_svc.v1.GetWardsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardsRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardsRequest} + * @return {!proto.services.task_svc.v1.GetWardsRequest} */ -proto.proto.services.task_svc.v1.GetWardsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1189,9 +1189,9 @@ proto.proto.services.task_svc.v1.GetWardsRequest.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardsRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardsRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1199,11 +1199,11 @@ proto.proto.services.task_svc.v1.GetWardsRequest.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardsRequest} message + * @param {!proto.services.task_svc.v1.GetWardsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -1214,7 +1214,7 @@ proto.proto.services.task_svc.v1.GetWardsRequest.serializeBinaryToWriter = funct * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetWardsResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetWardsResponse.repeatedFields_ = [1]; @@ -1231,8 +1231,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardsResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardsResponse.toObject(opt_includeInstance, this); }; @@ -1241,14 +1241,14 @@ proto.proto.services.task_svc.v1.GetWardsResponse.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardsResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardsResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardsResponse.toObject = function(includeInstance, msg) { var f, obj = { wardsList: jspb.Message.toObjectList(msg.getWardsList(), - proto.proto.services.task_svc.v1.GetWardsResponse.Ward.toObject, includeInstance) + proto.services.task_svc.v1.GetWardsResponse.Ward.toObject, includeInstance) }; if (includeInstance) { @@ -1262,23 +1262,23 @@ proto.proto.services.task_svc.v1.GetWardsResponse.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardsResponse} + * @return {!proto.services.task_svc.v1.GetWardsResponse} */ -proto.proto.services.task_svc.v1.GetWardsResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardsResponse; - return proto.proto.services.task_svc.v1.GetWardsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardsResponse; + return proto.services.task_svc.v1.GetWardsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardsResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardsResponse} + * @return {!proto.services.task_svc.v1.GetWardsResponse} */ -proto.proto.services.task_svc.v1.GetWardsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1286,8 +1286,8 @@ proto.proto.services.task_svc.v1.GetWardsResponse.deserializeBinaryFromReader = var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetWardsResponse.Ward; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetWardsResponse.Ward.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetWardsResponse.Ward; + reader.readMessage(value,proto.services.task_svc.v1.GetWardsResponse.Ward.deserializeBinaryFromReader); msg.addWards(value); break; default: @@ -1303,9 +1303,9 @@ proto.proto.services.task_svc.v1.GetWardsResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardsResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardsResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1313,18 +1313,18 @@ proto.proto.services.task_svc.v1.GetWardsResponse.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardsResponse} message + * @param {!proto.services.task_svc.v1.GetWardsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWardsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetWardsResponse.Ward.serializeBinaryToWriter + proto.services.task_svc.v1.GetWardsResponse.Ward.serializeBinaryToWriter ); } }; @@ -1346,8 +1346,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardsResponse.Ward.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardsResponse.Ward.toObject(opt_includeInstance, this); }; @@ -1356,11 +1356,11 @@ proto.proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardsResponse.Ward} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardsResponse.Ward} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardsResponse.Ward.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardsResponse.Ward.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -1377,23 +1377,23 @@ proto.proto.services.task_svc.v1.GetWardsResponse.Ward.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardsResponse.Ward} + * @return {!proto.services.task_svc.v1.GetWardsResponse.Ward} */ -proto.proto.services.task_svc.v1.GetWardsResponse.Ward.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardsResponse.Ward.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardsResponse.Ward; - return proto.proto.services.task_svc.v1.GetWardsResponse.Ward.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardsResponse.Ward; + return proto.services.task_svc.v1.GetWardsResponse.Ward.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardsResponse.Ward} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardsResponse.Ward} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardsResponse.Ward} + * @return {!proto.services.task_svc.v1.GetWardsResponse.Ward} */ -proto.proto.services.task_svc.v1.GetWardsResponse.Ward.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardsResponse.Ward.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1421,9 +1421,9 @@ proto.proto.services.task_svc.v1.GetWardsResponse.Ward.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardsResponse.Ward.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardsResponse.Ward.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1431,11 +1431,11 @@ proto.proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardsResponse.Ward} message + * @param {!proto.services.task_svc.v1.GetWardsResponse.Ward} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardsResponse.Ward.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardsResponse.Ward.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1458,16 +1458,16 @@ proto.proto.services.task_svc.v1.GetWardsResponse.Ward.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.getId = function() { +proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetWardsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.setId = function(value) { +proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1476,54 +1476,54 @@ proto.proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.setId = functio * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.getName = function() { +proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetWardsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.setName = function(value) { +proto.services.task_svc.v1.GetWardsResponse.Ward.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated Ward wards = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetWardsResponse.prototype.getWardsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetWardsResponse.Ward, 1)); +proto.services.task_svc.v1.GetWardsResponse.prototype.getWardsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetWardsResponse.Ward, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetWardsResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetWardsResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardsResponse.prototype.setWardsList = function(value) { +proto.services.task_svc.v1.GetWardsResponse.prototype.setWardsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetWardsResponse.Ward=} opt_value + * @param {!proto.services.task_svc.v1.GetWardsResponse.Ward=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetWardsResponse.Ward} + * @return {!proto.services.task_svc.v1.GetWardsResponse.Ward} */ -proto.proto.services.task_svc.v1.GetWardsResponse.prototype.addWards = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetWardsResponse.Ward, opt_index); +proto.services.task_svc.v1.GetWardsResponse.prototype.addWards = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetWardsResponse.Ward, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetWardsResponse} returns this + * @return {!proto.services.task_svc.v1.GetWardsResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardsResponse.prototype.clearWardsList = function() { +proto.services.task_svc.v1.GetWardsResponse.prototype.clearWardsList = function() { return this.setWardsList([]); }; @@ -1544,8 +1544,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRecentWardsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRecentWardsRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRecentWardsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRecentWardsRequest.toObject(opt_includeInstance, this); }; @@ -1554,11 +1554,11 @@ proto.proto.services.task_svc.v1.GetRecentWardsRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRecentWardsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentWardsRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRecentWardsRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -1574,23 +1574,23 @@ proto.proto.services.task_svc.v1.GetRecentWardsRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsRequest} + * @return {!proto.services.task_svc.v1.GetRecentWardsRequest} */ -proto.proto.services.task_svc.v1.GetRecentWardsRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRecentWardsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRecentWardsRequest; - return proto.proto.services.task_svc.v1.GetRecentWardsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRecentWardsRequest; + return proto.services.task_svc.v1.GetRecentWardsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRecentWardsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsRequest} + * @return {!proto.services.task_svc.v1.GetRecentWardsRequest} */ -proto.proto.services.task_svc.v1.GetRecentWardsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRecentWardsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1610,9 +1610,9 @@ proto.proto.services.task_svc.v1.GetRecentWardsRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRecentWardsRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRecentWardsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRecentWardsRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRecentWardsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1620,11 +1620,11 @@ proto.proto.services.task_svc.v1.GetRecentWardsRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsRequest} message + * @param {!proto.services.task_svc.v1.GetRecentWardsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentWardsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRecentWardsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -1635,7 +1635,7 @@ proto.proto.services.task_svc.v1.GetRecentWardsRequest.serializeBinaryToWriter = * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetRecentWardsResponse.repeatedFields_ = [1]; @@ -1652,8 +1652,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRecentWardsResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRecentWardsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRecentWardsResponse.toObject(opt_includeInstance, this); }; @@ -1662,14 +1662,14 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRecentWardsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRecentWardsResponse.toObject = function(includeInstance, msg) { var f, obj = { wardsList: jspb.Message.toObjectList(msg.getWardsList(), - proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.toObject, includeInstance) + proto.services.task_svc.v1.GetRecentWardsResponse.Ward.toObject, includeInstance) }; if (includeInstance) { @@ -1683,23 +1683,23 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse} + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRecentWardsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRecentWardsResponse; - return proto.proto.services.task_svc.v1.GetRecentWardsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRecentWardsResponse; + return proto.services.task_svc.v1.GetRecentWardsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRecentWardsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse} + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRecentWardsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1707,8 +1707,8 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.deserializeBinaryFromRea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetRecentWardsResponse.Ward; + reader.readMessage(value,proto.services.task_svc.v1.GetRecentWardsResponse.Ward.deserializeBinaryFromReader); msg.addWards(value); break; default: @@ -1724,9 +1724,9 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRecentWardsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRecentWardsResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRecentWardsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1734,18 +1734,18 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsResponse} message + * @param {!proto.services.task_svc.v1.GetRecentWardsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRecentWardsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWardsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.serializeBinaryToWriter + proto.services.task_svc.v1.GetRecentWardsResponse.Ward.serializeBinaryToWriter ); } }; @@ -1767,8 +1767,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetRecentWardsResponse.Ward.toObject(opt_includeInstance, this); }; @@ -1777,11 +1777,11 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1802,23 +1802,23 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.toObject = function /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward; - return proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetRecentWardsResponse.Ward; + return proto.services.task_svc.v1.GetRecentWardsResponse.Ward.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1862,9 +1862,9 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.deserializeBinaryFr * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetRecentWardsResponse.Ward.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1872,11 +1872,11 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.serialize /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} message + * @param {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1927,16 +1927,16 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.serializeBinaryToWr * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getId = function() { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setId = function(value) { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1945,16 +1945,16 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setId = f * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getName = function() { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setName = function(value) { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1963,16 +1963,16 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setName = * optional uint32 bed_count = 3; * @return {number} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getBedCount = function() { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getBedCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setBedCount = function(value) { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setBedCount = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; @@ -1981,16 +1981,16 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setBedCou * optional uint32 tasks_todo = 4; * @return {number} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getTasksTodo = function() { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getTasksTodo = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setTasksTodo = function(value) { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setTasksTodo = function(value) { return jspb.Message.setProto3IntField(this, 4, value); }; @@ -1999,16 +1999,16 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setTasksT * optional uint32 tasks_in_progress = 5; * @return {number} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getTasksInProgress = function() { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getTasksInProgress = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setTasksInProgress = function(value) { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setTasksInProgress = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; @@ -2017,54 +2017,54 @@ proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setTasksI * optional uint32 tasks_done = 6; * @return {number} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getTasksDone = function() { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.getTasksDone = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setTasksDone = function(value) { +proto.services.task_svc.v1.GetRecentWardsResponse.Ward.prototype.setTasksDone = function(value) { return jspb.Message.setProto3IntField(this, 6, value); }; /** * repeated Ward wards = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.prototype.getWardsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward, 1)); +proto.services.task_svc.v1.GetRecentWardsResponse.prototype.getWardsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetRecentWardsResponse.Ward, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse} returns this */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.prototype.setWardsList = function(value) { +proto.services.task_svc.v1.GetRecentWardsResponse.prototype.setWardsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward=} opt_value + * @param {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward} + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse.Ward} */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.prototype.addWards = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetRecentWardsResponse.Ward, opt_index); +proto.services.task_svc.v1.GetRecentWardsResponse.prototype.addWards = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetRecentWardsResponse.Ward, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetRecentWardsResponse} returns this + * @return {!proto.services.task_svc.v1.GetRecentWardsResponse} returns this */ -proto.proto.services.task_svc.v1.GetRecentWardsResponse.prototype.clearWardsList = function() { +proto.services.task_svc.v1.GetRecentWardsResponse.prototype.clearWardsList = function() { return this.setWardsList([]); }; @@ -2085,8 +2085,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateWardRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateWardRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateWardRequest.toObject(opt_includeInstance, this); }; @@ -2095,11 +2095,11 @@ proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateWardRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateWardRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateWardRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateWardRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2116,23 +2116,23 @@ proto.proto.services.task_svc.v1.UpdateWardRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateWardRequest} + * @return {!proto.services.task_svc.v1.UpdateWardRequest} */ -proto.proto.services.task_svc.v1.UpdateWardRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateWardRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateWardRequest; - return proto.proto.services.task_svc.v1.UpdateWardRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateWardRequest; + return proto.services.task_svc.v1.UpdateWardRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateWardRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateWardRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateWardRequest} + * @return {!proto.services.task_svc.v1.UpdateWardRequest} */ -proto.proto.services.task_svc.v1.UpdateWardRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateWardRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2160,9 +2160,9 @@ proto.proto.services.task_svc.v1.UpdateWardRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateWardRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateWardRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateWardRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2170,11 +2170,11 @@ proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateWardRequest} message + * @param {!proto.services.task_svc.v1.UpdateWardRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateWardRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateWardRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2197,16 +2197,16 @@ proto.proto.services.task_svc.v1.UpdateWardRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.getId = function() { +proto.services.task_svc.v1.UpdateWardRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateWardRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateWardRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.UpdateWardRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2215,25 +2215,25 @@ proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.setId = function(va * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.getName = function() { +proto.services.task_svc.v1.UpdateWardRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.UpdateWardRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateWardRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.setName = function(value) { +proto.services.task_svc.v1.UpdateWardRequest.prototype.setName = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.task_svc.v1.UpdateWardRequest} returns this + * @return {!proto.services.task_svc.v1.UpdateWardRequest} returns this */ -proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.clearName = function() { +proto.services.task_svc.v1.UpdateWardRequest.prototype.clearName = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -2242,7 +2242,7 @@ proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.clearName = functio * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.task_svc.v1.UpdateWardRequest.prototype.hasName = function() { +proto.services.task_svc.v1.UpdateWardRequest.prototype.hasName = function() { return jspb.Message.getField(this, 2) != null; }; @@ -2263,8 +2263,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.UpdateWardResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.UpdateWardResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.UpdateWardResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.UpdateWardResponse.toObject(opt_includeInstance, this); }; @@ -2273,11 +2273,11 @@ proto.proto.services.task_svc.v1.UpdateWardResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.UpdateWardResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.UpdateWardResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateWardResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.UpdateWardResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2293,23 +2293,23 @@ proto.proto.services.task_svc.v1.UpdateWardResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.UpdateWardResponse} + * @return {!proto.services.task_svc.v1.UpdateWardResponse} */ -proto.proto.services.task_svc.v1.UpdateWardResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.UpdateWardResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.UpdateWardResponse; - return proto.proto.services.task_svc.v1.UpdateWardResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.UpdateWardResponse; + return proto.services.task_svc.v1.UpdateWardResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.UpdateWardResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.UpdateWardResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.UpdateWardResponse} + * @return {!proto.services.task_svc.v1.UpdateWardResponse} */ -proto.proto.services.task_svc.v1.UpdateWardResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.UpdateWardResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2329,9 +2329,9 @@ proto.proto.services.task_svc.v1.UpdateWardResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.UpdateWardResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.UpdateWardResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.UpdateWardResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.UpdateWardResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2339,11 +2339,11 @@ proto.proto.services.task_svc.v1.UpdateWardResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.UpdateWardResponse} message + * @param {!proto.services.task_svc.v1.UpdateWardResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.UpdateWardResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.UpdateWardResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2364,8 +2364,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteWardRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteWardRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteWardRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteWardRequest.toObject(opt_includeInstance, this); }; @@ -2374,11 +2374,11 @@ proto.proto.services.task_svc.v1.DeleteWardRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteWardRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteWardRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteWardRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteWardRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2394,23 +2394,23 @@ proto.proto.services.task_svc.v1.DeleteWardRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteWardRequest} + * @return {!proto.services.task_svc.v1.DeleteWardRequest} */ -proto.proto.services.task_svc.v1.DeleteWardRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteWardRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteWardRequest; - return proto.proto.services.task_svc.v1.DeleteWardRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteWardRequest; + return proto.services.task_svc.v1.DeleteWardRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteWardRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteWardRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteWardRequest} + * @return {!proto.services.task_svc.v1.DeleteWardRequest} */ -proto.proto.services.task_svc.v1.DeleteWardRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteWardRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2434,9 +2434,9 @@ proto.proto.services.task_svc.v1.DeleteWardRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteWardRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteWardRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteWardRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteWardRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2444,11 +2444,11 @@ proto.proto.services.task_svc.v1.DeleteWardRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteWardRequest} message + * @param {!proto.services.task_svc.v1.DeleteWardRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteWardRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteWardRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2464,16 +2464,16 @@ proto.proto.services.task_svc.v1.DeleteWardRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.DeleteWardRequest.prototype.getId = function() { +proto.services.task_svc.v1.DeleteWardRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.DeleteWardRequest} returns this + * @return {!proto.services.task_svc.v1.DeleteWardRequest} returns this */ -proto.proto.services.task_svc.v1.DeleteWardRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.DeleteWardRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2494,8 +2494,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.DeleteWardResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.DeleteWardResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.DeleteWardResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.DeleteWardResponse.toObject(opt_includeInstance, this); }; @@ -2504,11 +2504,11 @@ proto.proto.services.task_svc.v1.DeleteWardResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.DeleteWardResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.DeleteWardResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteWardResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.DeleteWardResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2524,23 +2524,23 @@ proto.proto.services.task_svc.v1.DeleteWardResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.DeleteWardResponse} + * @return {!proto.services.task_svc.v1.DeleteWardResponse} */ -proto.proto.services.task_svc.v1.DeleteWardResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.DeleteWardResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.DeleteWardResponse; - return proto.proto.services.task_svc.v1.DeleteWardResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.DeleteWardResponse; + return proto.services.task_svc.v1.DeleteWardResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.DeleteWardResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.DeleteWardResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.DeleteWardResponse} + * @return {!proto.services.task_svc.v1.DeleteWardResponse} */ -proto.proto.services.task_svc.v1.DeleteWardResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.DeleteWardResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2560,9 +2560,9 @@ proto.proto.services.task_svc.v1.DeleteWardResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.DeleteWardResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.DeleteWardResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.DeleteWardResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.DeleteWardResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2570,11 +2570,11 @@ proto.proto.services.task_svc.v1.DeleteWardResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.DeleteWardResponse} message + * @param {!proto.services.task_svc.v1.DeleteWardResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.DeleteWardResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.DeleteWardResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2595,8 +2595,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardDetailsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardDetailsRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardDetailsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardDetailsRequest.toObject(opt_includeInstance, this); }; @@ -2605,11 +2605,11 @@ proto.proto.services.task_svc.v1.GetWardDetailsRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardDetailsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardDetailsRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2625,23 +2625,23 @@ proto.proto.services.task_svc.v1.GetWardDetailsRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsRequest} + * @return {!proto.services.task_svc.v1.GetWardDetailsRequest} */ -proto.proto.services.task_svc.v1.GetWardDetailsRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardDetailsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardDetailsRequest; - return proto.proto.services.task_svc.v1.GetWardDetailsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardDetailsRequest; + return proto.services.task_svc.v1.GetWardDetailsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardDetailsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsRequest} + * @return {!proto.services.task_svc.v1.GetWardDetailsRequest} */ -proto.proto.services.task_svc.v1.GetWardDetailsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardDetailsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2665,9 +2665,9 @@ proto.proto.services.task_svc.v1.GetWardDetailsRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardDetailsRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardDetailsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardDetailsRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardDetailsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2675,11 +2675,11 @@ proto.proto.services.task_svc.v1.GetWardDetailsRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsRequest} message + * @param {!proto.services.task_svc.v1.GetWardDetailsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardDetailsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2695,16 +2695,16 @@ proto.proto.services.task_svc.v1.GetWardDetailsRequest.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardDetailsRequest.prototype.getId = function() { +proto.services.task_svc.v1.GetWardDetailsRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsRequest} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsRequest} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsRequest.prototype.setId = function(value) { +proto.services.task_svc.v1.GetWardDetailsRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2715,7 +2715,7 @@ proto.proto.services.task_svc.v1.GetWardDetailsRequest.prototype.setId = functio * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.repeatedFields_ = [3,4]; +proto.services.task_svc.v1.GetWardDetailsResponse.repeatedFields_ = [3,4]; @@ -2732,8 +2732,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardDetailsResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardDetailsResponse.toObject(opt_includeInstance, this); }; @@ -2742,18 +2742,18 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardDetailsResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), roomsList: jspb.Message.toObjectList(msg.getRoomsList(), - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.toObject, includeInstance), + proto.services.task_svc.v1.GetWardDetailsResponse.Room.toObject, includeInstance), taskTemplatesList: jspb.Message.toObjectList(msg.getTaskTemplatesList(), - proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.toObject, includeInstance) + proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.toObject, includeInstance) }; if (includeInstance) { @@ -2767,23 +2767,23 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardDetailsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardDetailsResponse; - return proto.proto.services.task_svc.v1.GetWardDetailsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardDetailsResponse; + return proto.services.task_svc.v1.GetWardDetailsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardDetailsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2799,13 +2799,13 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.deserializeBinaryFromRea msg.setName(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetWardDetailsResponse.Room; + reader.readMessage(value,proto.services.task_svc.v1.GetWardDetailsResponse.Room.deserializeBinaryFromReader); msg.addRooms(value); break; case 4: - var value = new proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate; + reader.readMessage(value,proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.deserializeBinaryFromReader); msg.addTaskTemplates(value); break; default: @@ -2821,9 +2821,9 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardDetailsResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardDetailsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2831,11 +2831,11 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse} message + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardDetailsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2856,7 +2856,7 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.serializeBinaryToWriter writer.writeRepeatedMessage( 3, f, - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.serializeBinaryToWriter + proto.services.task_svc.v1.GetWardDetailsResponse.Room.serializeBinaryToWriter ); } f = message.getTaskTemplatesList(); @@ -2864,7 +2864,7 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.serializeBinaryToWriter writer.writeRepeatedMessage( 4, f, - proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.serializeBinaryToWriter + proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.serializeBinaryToWriter ); } }; @@ -2886,8 +2886,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardDetailsResponse.Bed.toObject(opt_includeInstance, this); }; @@ -2896,11 +2896,11 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardDetailsResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2917,23 +2917,23 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardDetailsResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed; - return proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardDetailsResponse.Bed; + return proto.services.task_svc.v1.GetWardDetailsResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardDetailsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2961,9 +2961,9 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardDetailsResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2971,11 +2971,11 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed} message + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardDetailsResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2998,16 +2998,16 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.serializeBinaryToWri * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.getId = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.setId = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3016,16 +3016,16 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.setId = fu * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.getName = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Bed} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.setName = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3046,8 +3046,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.toObject(opt_includeInstance, this); }; @@ -3056,11 +3056,11 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -3077,23 +3077,23 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask; - return proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardDetailsResponse.Subtask; + return proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3121,9 +3121,9 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3131,11 +3131,11 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} message + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3158,16 +3158,16 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.serializeBinaryT * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.getId = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.setId = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3176,16 +3176,16 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.setId * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.getName = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.setName = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3196,7 +3196,7 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.prototype.setNam * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.repeatedFields_ = [3]; +proto.services.task_svc.v1.GetWardDetailsResponse.Room.repeatedFields_ = [3]; @@ -3213,8 +3213,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardDetailsResponse.Room.toObject(opt_includeInstance, this); }; @@ -3223,16 +3223,16 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardDetailsResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), bedsList: jspb.Message.toObjectList(msg.getBedsList(), - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.toObject, includeInstance) + proto.services.task_svc.v1.GetWardDetailsResponse.Bed.toObject, includeInstance) }; if (includeInstance) { @@ -3246,23 +3246,23 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.toObject = function /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Room} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardDetailsResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room; - return proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardDetailsResponse.Room; + return proto.services.task_svc.v1.GetWardDetailsResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Room} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardDetailsResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3278,8 +3278,8 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.deserializeBinaryFr msg.setName(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetWardDetailsResponse.Bed; + reader.readMessage(value,proto.services.task_svc.v1.GetWardDetailsResponse.Bed.deserializeBinaryFromReader); msg.addBeds(value); break; default: @@ -3295,9 +3295,9 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.deserializeBinaryFr * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardDetailsResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3305,11 +3305,11 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.serialize /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room} message + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardDetailsResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3330,7 +3330,7 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.serializeBinaryToWr writer.writeRepeatedMessage( 3, f, - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed.serializeBinaryToWriter + proto.services.task_svc.v1.GetWardDetailsResponse.Bed.serializeBinaryToWriter ); } }; @@ -3340,16 +3340,16 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.serializeBinaryToWr * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.getId = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.setId = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3358,54 +3358,54 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.setId = f * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.getName = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.setName = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated Bed beds = 3; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.getBedsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed, 3)); +proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.getBedsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetWardDetailsResponse.Bed, 3)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.setBedsList = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.setBedsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed=} opt_value + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Bed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Bed} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.addBeds = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.task_svc.v1.GetWardDetailsResponse.Bed, opt_index); +proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.addBeds = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.task_svc.v1.GetWardDetailsResponse.Bed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Room} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.clearBedsList = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.clearBedsList = function() { return this.setBedsList([]); }; @@ -3416,7 +3416,7 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room.prototype.clearBeds * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.repeatedFields_ = [3]; +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.repeatedFields_ = [3]; @@ -3433,8 +3433,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.toObject(opt_includeInstance, this); }; @@ -3443,16 +3443,16 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.t * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.toObject, includeInstance) + proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.toObject, includeInstance) }; if (includeInstance) { @@ -3466,23 +3466,23 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.toObject = /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate; - return proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate; + return proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3498,8 +3498,8 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.deserialize msg.setName(value); break; case 3: - var value = new proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetWardDetailsResponse.Subtask; + reader.readMessage(value,proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.deserializeBinaryFromReader); msg.addSubtasks(value); break; default: @@ -3515,9 +3515,9 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.deserialize * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3525,11 +3525,11 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.s /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} message + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3550,7 +3550,7 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.serializeBi writer.writeRepeatedMessage( 3, f, - proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.serializeBinaryToWriter + proto.services.task_svc.v1.GetWardDetailsResponse.Subtask.serializeBinaryToWriter ); } }; @@ -3560,16 +3560,16 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.serializeBi * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.getId = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.setId = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3578,54 +3578,54 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.s * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.getName = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.setName = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated Subtask subtasks = 3; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask, 3)); +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetWardDetailsResponse.Subtask, 3)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.setSubtasksList = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask=} opt_value + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Subtask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Subtask} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.task_svc.v1.GetWardDetailsResponse.Subtask, opt_index); +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.task_svc.v1.GetWardDetailsResponse.Subtask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.clearSubtasksList = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; @@ -3634,16 +3634,16 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate.prototype.c * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.getId = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.setId = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3652,92 +3652,92 @@ proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.setId = functi * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.getName = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.setName = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated Room rooms = 3; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.getRoomsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room, 3)); +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.getRoomsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetWardDetailsResponse.Room, 3)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.setRoomsList = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.setRoomsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room=} opt_value + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.Room=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.Room} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.addRooms = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.proto.services.task_svc.v1.GetWardDetailsResponse.Room, opt_index); +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.addRooms = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.services.task_svc.v1.GetWardDetailsResponse.Room, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.clearRoomsList = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.clearRoomsList = function() { return this.setRoomsList([]); }; /** * repeated TaskTemplate task_templates = 4; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.getTaskTemplatesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate, 4)); +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.getTaskTemplatesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate, 4)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.setTaskTemplatesList = function(value) { +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.setTaskTemplatesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 4, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate=} opt_value + * @param {!proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate} */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.addTaskTemplates = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate, opt_index); +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.addTaskTemplates = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplate, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetWardDetailsResponse} returns this + * @return {!proto.services.task_svc.v1.GetWardDetailsResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardDetailsResponse.prototype.clearTaskTemplatesList = function() { +proto.services.task_svc.v1.GetWardDetailsResponse.prototype.clearTaskTemplatesList = function() { return this.setTaskTemplatesList([]); }; @@ -3758,8 +3758,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardOverviewsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardOverviewsRequest.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardOverviewsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardOverviewsRequest.toObject(opt_includeInstance, this); }; @@ -3768,11 +3768,11 @@ proto.proto.services.task_svc.v1.GetWardOverviewsRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsRequest} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardOverviewsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardOverviewsRequest.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardOverviewsRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3788,23 +3788,23 @@ proto.proto.services.task_svc.v1.GetWardOverviewsRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsRequest} + * @return {!proto.services.task_svc.v1.GetWardOverviewsRequest} */ -proto.proto.services.task_svc.v1.GetWardOverviewsRequest.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardOverviewsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardOverviewsRequest; - return proto.proto.services.task_svc.v1.GetWardOverviewsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardOverviewsRequest; + return proto.services.task_svc.v1.GetWardOverviewsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsRequest} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardOverviewsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsRequest} + * @return {!proto.services.task_svc.v1.GetWardOverviewsRequest} */ -proto.proto.services.task_svc.v1.GetWardOverviewsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardOverviewsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3824,9 +3824,9 @@ proto.proto.services.task_svc.v1.GetWardOverviewsRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardOverviewsRequest.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardOverviewsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardOverviewsRequest.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardOverviewsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3834,11 +3834,11 @@ proto.proto.services.task_svc.v1.GetWardOverviewsRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsRequest} message + * @param {!proto.services.task_svc.v1.GetWardOverviewsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardOverviewsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardOverviewsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -3849,7 +3849,7 @@ proto.proto.services.task_svc.v1.GetWardOverviewsRequest.serializeBinaryToWriter * @private {!Array} * @const */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.repeatedFields_ = [1]; +proto.services.task_svc.v1.GetWardOverviewsResponse.repeatedFields_ = [1]; @@ -3866,8 +3866,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardOverviewsResponse.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardOverviewsResponse.toObject(opt_includeInstance, this); }; @@ -3876,14 +3876,14 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardOverviewsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardOverviewsResponse.toObject = function(includeInstance, msg) { var f, obj = { wardsList: jspb.Message.toObjectList(msg.getWardsList(), - proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.toObject, includeInstance) + proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.toObject, includeInstance) }; if (includeInstance) { @@ -3897,23 +3897,23 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse} + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardOverviewsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardOverviewsResponse; - return proto.proto.services.task_svc.v1.GetWardOverviewsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardOverviewsResponse; + return proto.services.task_svc.v1.GetWardOverviewsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardOverviewsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse} + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardOverviewsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3921,8 +3921,8 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.deserializeBinaryFromR var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward; - reader.readMessage(value,proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.deserializeBinaryFromReader); + var value = new proto.services.task_svc.v1.GetWardOverviewsResponse.Ward; + reader.readMessage(value,proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.deserializeBinaryFromReader); msg.addWards(value); break; default: @@ -3938,9 +3938,9 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardOverviewsResponse.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardOverviewsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3948,18 +3948,18 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse} message + * @param {!proto.services.task_svc.v1.GetWardOverviewsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardOverviewsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWardsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.serializeBinaryToWriter + proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.serializeBinaryToWriter ); } }; @@ -3981,8 +3981,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.toObject(opt_includeInstance, this); +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.toObject = function(opt_includeInstance) { + return proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.toObject(opt_includeInstance, this); }; @@ -3991,11 +3991,11 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.toObjec * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} msg The msg instance to transform. + * @param {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.toObject = function(includeInstance, msg) { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -4016,23 +4016,23 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.toObject = functi /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.deserializeBinary = function(bytes) { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward; - return proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.task_svc.v1.GetWardOverviewsResponse.Ward; + return proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} msg The message object to deserialize into. + * @param {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.deserializeBinaryFromReader = function(msg, reader) { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4076,9 +4076,9 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.deserializeBinary * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.serializeBinary = function() { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.serializeBinaryToWriter(this, writer); + proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4086,11 +4086,11 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.seriali /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} message + * @param {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.serializeBinaryToWriter = function(message, writer) { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4141,16 +4141,16 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.serializeBinaryTo * optional string id = 1; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getId = function() { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setId = function(value) { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4159,16 +4159,16 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setId = * optional string name = 2; * @return {string} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getName = function() { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setName = function(value) { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4177,16 +4177,16 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setName * optional uint32 bed_count = 3; * @return {number} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getBedCount = function() { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getBedCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setBedCount = function(value) { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setBedCount = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; @@ -4195,16 +4195,16 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setBedC * optional uint32 tasks_todo = 4; * @return {number} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getTasksTodo = function() { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getTasksTodo = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setTasksTodo = function(value) { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setTasksTodo = function(value) { return jspb.Message.setProto3IntField(this, 4, value); }; @@ -4213,16 +4213,16 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setTask * optional uint32 tasks_in_progress = 5; * @return {number} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getTasksInProgress = function() { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getTasksInProgress = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setTasksInProgress = function(value) { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setTasksInProgress = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; @@ -4231,56 +4231,56 @@ proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setTask * optional uint32 tasks_done = 6; * @return {number} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getTasksDone = function() { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.getTasksDone = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} returns this */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setTasksDone = function(value) { +proto.services.task_svc.v1.GetWardOverviewsResponse.Ward.prototype.setTasksDone = function(value) { return jspb.Message.setProto3IntField(this, 6, value); }; /** * repeated Ward wards = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.getWardsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward, 1)); +proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.getWardsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.task_svc.v1.GetWardOverviewsResponse.Ward, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse} returns this + * @param {!Array} value + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.setWardsList = function(value) { +proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.setWardsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward=} opt_value + * @param {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse.Ward} */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.addWards = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.task_svc.v1.GetWardOverviewsResponse.Ward, opt_index); +proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.addWards = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.task_svc.v1.GetWardOverviewsResponse.Ward, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.task_svc.v1.GetWardOverviewsResponse} returns this + * @return {!proto.services.task_svc.v1.GetWardOverviewsResponse} returns this */ -proto.proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.clearWardsList = function() { +proto.services.task_svc.v1.GetWardOverviewsResponse.prototype.clearWardsList = function() { return this.setWardsList([]); }; -goog.object.extend(exports, proto.proto.services.task_svc.v1); +goog.object.extend(exports, proto.services.task_svc.v1); diff --git a/gen/ts/services/tasks_svc/v1/patient_svc_grpc_web_pb.d.ts b/gen/ts/services/tasks_svc/v1/patient_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..8214eeb54 --- /dev/null +++ b/gen/ts/services/tasks_svc/v1/patient_svc_grpc_web_pb.d.ts @@ -0,0 +1,115 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_tasks_svc_v1_patient_svc_pb from '../../../services/tasks_svc/v1/patient_svc_pb'; // proto import: "services/tasks_svc/v1/patient_svc.proto" + + +export class PatientServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createPatient( + request: services_tasks_svc_v1_patient_svc_pb.CreatePatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_patient_svc_pb.CreatePatientResponse) => void + ): grpcWeb.ClientReadableStream; + + getPatient( + request: services_tasks_svc_v1_patient_svc_pb.GetPatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_patient_svc_pb.GetPatientResponse) => void + ): grpcWeb.ClientReadableStream; + + getRecentPatients( + request: services_tasks_svc_v1_patient_svc_pb.GetRecentPatientsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_patient_svc_pb.GetRecentPatientsResponse) => void + ): grpcWeb.ClientReadableStream; + + updatePatient( + request: services_tasks_svc_v1_patient_svc_pb.UpdatePatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_patient_svc_pb.UpdatePatientResponse) => void + ): grpcWeb.ClientReadableStream; + + assignBed( + request: services_tasks_svc_v1_patient_svc_pb.AssignBedRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_patient_svc_pb.AssignBedResponse) => void + ): grpcWeb.ClientReadableStream; + + unassignBed( + request: services_tasks_svc_v1_patient_svc_pb.UnassignBedRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_patient_svc_pb.UnassignBedResponse) => void + ): grpcWeb.ClientReadableStream; + + dischargePatient( + request: services_tasks_svc_v1_patient_svc_pb.DischargePatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_patient_svc_pb.DischargePatientResponse) => void + ): grpcWeb.ClientReadableStream; + + readmitPatient( + request: services_tasks_svc_v1_patient_svc_pb.ReadmitPatientRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_patient_svc_pb.ReadmitPatientResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class PatientServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createPatient( + request: services_tasks_svc_v1_patient_svc_pb.CreatePatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getPatient( + request: services_tasks_svc_v1_patient_svc_pb.GetPatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getRecentPatients( + request: services_tasks_svc_v1_patient_svc_pb.GetRecentPatientsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updatePatient( + request: services_tasks_svc_v1_patient_svc_pb.UpdatePatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + assignBed( + request: services_tasks_svc_v1_patient_svc_pb.AssignBedRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + unassignBed( + request: services_tasks_svc_v1_patient_svc_pb.UnassignBedRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + dischargePatient( + request: services_tasks_svc_v1_patient_svc_pb.DischargePatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + readmitPatient( + request: services_tasks_svc_v1_patient_svc_pb.ReadmitPatientRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/services/tasks_svc/v1/patient_svc_grpc_web_pb.js b/gen/ts/services/tasks_svc/v1/patient_svc_grpc_web_pb.js new file mode 100644 index 000000000..414e39666 --- /dev/null +++ b/gen/ts/services/tasks_svc/v1/patient_svc_grpc_web_pb.js @@ -0,0 +1,568 @@ +/** + * @fileoverview gRPC-Web generated client stub for services.tasks_svc.v1 + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.5.0 +// protoc v0.0.0 +// source: services/tasks_svc/v1/patient_svc.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + +const proto = {}; +proto.services = {}; +proto.services.tasks_svc = {}; +proto.services.tasks_svc.v1 = require('./patient_svc_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.tasks_svc.v1.PatientServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.tasks_svc.v1.PatientServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.CreatePatientRequest, + * !proto.services.tasks_svc.v1.CreatePatientResponse>} + */ +const methodDescriptor_PatientService_CreatePatient = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.PatientService/CreatePatient', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.CreatePatientRequest, + proto.services.tasks_svc.v1.CreatePatientResponse, + /** + * @param {!proto.services.tasks_svc.v1.CreatePatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.CreatePatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.CreatePatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.CreatePatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.PatientServiceClient.prototype.createPatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/CreatePatient', + request, + metadata || {}, + methodDescriptor_PatientService_CreatePatient, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.CreatePatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.createPatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/CreatePatient', + request, + metadata || {}, + methodDescriptor_PatientService_CreatePatient); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.GetPatientRequest, + * !proto.services.tasks_svc.v1.GetPatientResponse>} + */ +const methodDescriptor_PatientService_GetPatient = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.PatientService/GetPatient', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.GetPatientRequest, + proto.services.tasks_svc.v1.GetPatientResponse, + /** + * @param {!proto.services.tasks_svc.v1.GetPatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.GetPatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.GetPatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.GetPatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.PatientServiceClient.prototype.getPatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/GetPatient', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatient, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.GetPatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.getPatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/GetPatient', + request, + metadata || {}, + methodDescriptor_PatientService_GetPatient); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.GetRecentPatientsRequest, + * !proto.services.tasks_svc.v1.GetRecentPatientsResponse>} + */ +const methodDescriptor_PatientService_GetRecentPatients = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.PatientService/GetRecentPatients', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.GetRecentPatientsRequest, + proto.services.tasks_svc.v1.GetRecentPatientsResponse, + /** + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.GetRecentPatientsResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.GetRecentPatientsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.PatientServiceClient.prototype.getRecentPatients = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/GetRecentPatients', + request, + metadata || {}, + methodDescriptor_PatientService_GetRecentPatients, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.getRecentPatients = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/GetRecentPatients', + request, + metadata || {}, + methodDescriptor_PatientService_GetRecentPatients); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.UpdatePatientRequest, + * !proto.services.tasks_svc.v1.UpdatePatientResponse>} + */ +const methodDescriptor_PatientService_UpdatePatient = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.PatientService/UpdatePatient', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.UpdatePatientRequest, + proto.services.tasks_svc.v1.UpdatePatientResponse, + /** + * @param {!proto.services.tasks_svc.v1.UpdatePatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.UpdatePatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.UpdatePatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.UpdatePatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.PatientServiceClient.prototype.updatePatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/UpdatePatient', + request, + metadata || {}, + methodDescriptor_PatientService_UpdatePatient, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.UpdatePatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.updatePatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/UpdatePatient', + request, + metadata || {}, + methodDescriptor_PatientService_UpdatePatient); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.AssignBedRequest, + * !proto.services.tasks_svc.v1.AssignBedResponse>} + */ +const methodDescriptor_PatientService_AssignBed = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.PatientService/AssignBed', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.AssignBedRequest, + proto.services.tasks_svc.v1.AssignBedResponse, + /** + * @param {!proto.services.tasks_svc.v1.AssignBedRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.AssignBedResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.AssignBedRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.AssignBedResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.PatientServiceClient.prototype.assignBed = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/AssignBed', + request, + metadata || {}, + methodDescriptor_PatientService_AssignBed, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.AssignBedRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.assignBed = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/AssignBed', + request, + metadata || {}, + methodDescriptor_PatientService_AssignBed); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.UnassignBedRequest, + * !proto.services.tasks_svc.v1.UnassignBedResponse>} + */ +const methodDescriptor_PatientService_UnassignBed = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.PatientService/UnassignBed', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.UnassignBedRequest, + proto.services.tasks_svc.v1.UnassignBedResponse, + /** + * @param {!proto.services.tasks_svc.v1.UnassignBedRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.UnassignBedResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.UnassignBedRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.UnassignBedResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.PatientServiceClient.prototype.unassignBed = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/UnassignBed', + request, + metadata || {}, + methodDescriptor_PatientService_UnassignBed, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.UnassignBedRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.unassignBed = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/UnassignBed', + request, + metadata || {}, + methodDescriptor_PatientService_UnassignBed); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.DischargePatientRequest, + * !proto.services.tasks_svc.v1.DischargePatientResponse>} + */ +const methodDescriptor_PatientService_DischargePatient = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.PatientService/DischargePatient', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.DischargePatientRequest, + proto.services.tasks_svc.v1.DischargePatientResponse, + /** + * @param {!proto.services.tasks_svc.v1.DischargePatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.DischargePatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.DischargePatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.DischargePatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.PatientServiceClient.prototype.dischargePatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/DischargePatient', + request, + metadata || {}, + methodDescriptor_PatientService_DischargePatient, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.DischargePatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.dischargePatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/DischargePatient', + request, + metadata || {}, + methodDescriptor_PatientService_DischargePatient); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.ReadmitPatientRequest, + * !proto.services.tasks_svc.v1.ReadmitPatientResponse>} + */ +const methodDescriptor_PatientService_ReadmitPatient = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.PatientService/ReadmitPatient', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.ReadmitPatientRequest, + proto.services.tasks_svc.v1.ReadmitPatientResponse, + /** + * @param {!proto.services.tasks_svc.v1.ReadmitPatientRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.ReadmitPatientResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.ReadmitPatientRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.ReadmitPatientResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.PatientServiceClient.prototype.readmitPatient = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/ReadmitPatient', + request, + metadata || {}, + methodDescriptor_PatientService_ReadmitPatient, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.ReadmitPatientRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.PatientServicePromiseClient.prototype.readmitPatient = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.PatientService/ReadmitPatient', + request, + metadata || {}, + methodDescriptor_PatientService_ReadmitPatient); +}; + + +module.exports = proto.services.tasks_svc.v1; + diff --git a/gen/ts/proto/services/tasks_svc/v1/patient_svc_pb.d.ts b/gen/ts/services/tasks_svc/v1/patient_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/tasks_svc/v1/patient_svc_pb.d.ts rename to gen/ts/services/tasks_svc/v1/patient_svc_pb.d.ts diff --git a/gen/ts/proto/services/tasks_svc/v1/patient_svc_pb.js b/gen/ts/services/tasks_svc/v1/patient_svc_pb.js similarity index 59% rename from gen/ts/proto/services/tasks_svc/v1/patient_svc_pb.js rename to gen/ts/services/tasks_svc/v1/patient_svc_pb.js index 2f64d28ef..cbaae1b27 100644 --- a/gen/ts/proto/services/tasks_svc/v1/patient_svc_pb.js +++ b/gen/ts/services/tasks_svc/v1/patient_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/tasks_svc/v1/patient_svc.proto +// source: services/tasks_svc/v1/patient_svc.proto /** * @fileoverview * @enhanceable @@ -21,27 +21,27 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.AssignBedRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.AssignBedResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.CreatePatientRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.CreatePatientResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.DischargePatientRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.DischargePatientResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetPatientRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetPatientResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetPatientResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.ReadmitPatientRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.ReadmitPatientResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UnassignBedRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UnassignBedResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UpdatePatientRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UpdatePatientResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.AssignBedRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.AssignBedResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.CreatePatientRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.CreatePatientResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.DischargePatientRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.DischargePatientResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetPatientRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetPatientResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetPatientResponse.Bed', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetPatientResponse.Room', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetRecentPatientsRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetRecentPatientsResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.ReadmitPatientRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.ReadmitPatientResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UnassignBedRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UnassignBedResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UpdatePatientRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UpdatePatientResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -52,16 +52,16 @@ goog.exportSymbol('proto.proto.services.tasks_svc.v1.UpdatePatientResponse', nul * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest = function(opt_data) { +proto.services.tasks_svc.v1.CreatePatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.CreatePatientRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.CreatePatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.CreatePatientRequest.displayName = 'proto.proto.services.tasks_svc.v1.CreatePatientRequest'; + proto.services.tasks_svc.v1.CreatePatientRequest.displayName = 'proto.services.tasks_svc.v1.CreatePatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -73,16 +73,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.CreatePatientResponse = function(opt_data) { +proto.services.tasks_svc.v1.CreatePatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.CreatePatientResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.CreatePatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.CreatePatientResponse.displayName = 'proto.proto.services.tasks_svc.v1.CreatePatientResponse'; + proto.services.tasks_svc.v1.CreatePatientResponse.displayName = 'proto.services.tasks_svc.v1.CreatePatientResponse'; } /** * Generated by JsPbCodeGenerator. @@ -94,16 +94,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetPatientRequest = function(opt_data) { +proto.services.tasks_svc.v1.GetPatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetPatientRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetPatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetPatientRequest.displayName = 'proto.proto.services.tasks_svc.v1.GetPatientRequest'; + proto.services.tasks_svc.v1.GetPatientRequest.displayName = 'proto.services.tasks_svc.v1.GetPatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -115,16 +115,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetPatientResponse = function(opt_data) { +proto.services.tasks_svc.v1.GetPatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetPatientResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetPatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetPatientResponse.displayName = 'proto.proto.services.tasks_svc.v1.GetPatientResponse'; + proto.services.tasks_svc.v1.GetPatientResponse.displayName = 'proto.services.tasks_svc.v1.GetPatientResponse'; } /** * Generated by JsPbCodeGenerator. @@ -136,16 +136,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room = function(opt_data) { +proto.services.tasks_svc.v1.GetPatientResponse.Room = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetPatientResponse.Room, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetPatientResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.displayName = 'proto.proto.services.tasks_svc.v1.GetPatientResponse.Room'; + proto.services.tasks_svc.v1.GetPatientResponse.Room.displayName = 'proto.services.tasks_svc.v1.GetPatientResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -157,16 +157,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed = function(opt_data) { +proto.services.tasks_svc.v1.GetPatientResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetPatientResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.displayName = 'proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed'; + proto.services.tasks_svc.v1.GetPatientResponse.Bed.displayName = 'proto.services.tasks_svc.v1.GetPatientResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -178,16 +178,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest = function(opt_data) { +proto.services.tasks_svc.v1.GetRecentPatientsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetRecentPatientsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.displayName = 'proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest'; + proto.services.tasks_svc.v1.GetRecentPatientsRequest.displayName = 'proto.services.tasks_svc.v1.GetRecentPatientsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -199,16 +199,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.repeatedFields_, null); +proto.services.tasks_svc.v1.GetRecentPatientsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.tasks_svc.v1.GetRecentPatientsResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetRecentPatientsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.displayName = 'proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse'; + proto.services.tasks_svc.v1.GetRecentPatientsResponse.displayName = 'proto.services.tasks_svc.v1.GetRecentPatientsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -220,16 +220,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed = function(opt_data) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.displayName = 'proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed'; + proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.displayName = 'proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed'; } /** * Generated by JsPbCodeGenerator. @@ -241,16 +241,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room = function(opt_data) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.displayName = 'proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room'; + proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.displayName = 'proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room'; } /** * Generated by JsPbCodeGenerator. @@ -262,16 +262,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed = function(opt_data) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.displayName = 'proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed'; + proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.displayName = 'proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed'; } /** * Generated by JsPbCodeGenerator. @@ -283,16 +283,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest = function(opt_data) { +proto.services.tasks_svc.v1.UpdatePatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UpdatePatientRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UpdatePatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UpdatePatientRequest.displayName = 'proto.proto.services.tasks_svc.v1.UpdatePatientRequest'; + proto.services.tasks_svc.v1.UpdatePatientRequest.displayName = 'proto.services.tasks_svc.v1.UpdatePatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -304,16 +304,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UpdatePatientResponse = function(opt_data) { +proto.services.tasks_svc.v1.UpdatePatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UpdatePatientResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UpdatePatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UpdatePatientResponse.displayName = 'proto.proto.services.tasks_svc.v1.UpdatePatientResponse'; + proto.services.tasks_svc.v1.UpdatePatientResponse.displayName = 'proto.services.tasks_svc.v1.UpdatePatientResponse'; } /** * Generated by JsPbCodeGenerator. @@ -325,16 +325,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.AssignBedRequest = function(opt_data) { +proto.services.tasks_svc.v1.AssignBedRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.AssignBedRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.AssignBedRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.AssignBedRequest.displayName = 'proto.proto.services.tasks_svc.v1.AssignBedRequest'; + proto.services.tasks_svc.v1.AssignBedRequest.displayName = 'proto.services.tasks_svc.v1.AssignBedRequest'; } /** * Generated by JsPbCodeGenerator. @@ -346,16 +346,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.AssignBedResponse = function(opt_data) { +proto.services.tasks_svc.v1.AssignBedResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.AssignBedResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.AssignBedResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.AssignBedResponse.displayName = 'proto.proto.services.tasks_svc.v1.AssignBedResponse'; + proto.services.tasks_svc.v1.AssignBedResponse.displayName = 'proto.services.tasks_svc.v1.AssignBedResponse'; } /** * Generated by JsPbCodeGenerator. @@ -367,16 +367,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UnassignBedRequest = function(opt_data) { +proto.services.tasks_svc.v1.UnassignBedRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UnassignBedRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UnassignBedRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UnassignBedRequest.displayName = 'proto.proto.services.tasks_svc.v1.UnassignBedRequest'; + proto.services.tasks_svc.v1.UnassignBedRequest.displayName = 'proto.services.tasks_svc.v1.UnassignBedRequest'; } /** * Generated by JsPbCodeGenerator. @@ -388,16 +388,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UnassignBedResponse = function(opt_data) { +proto.services.tasks_svc.v1.UnassignBedResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UnassignBedResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UnassignBedResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UnassignBedResponse.displayName = 'proto.proto.services.tasks_svc.v1.UnassignBedResponse'; + proto.services.tasks_svc.v1.UnassignBedResponse.displayName = 'proto.services.tasks_svc.v1.UnassignBedResponse'; } /** * Generated by JsPbCodeGenerator. @@ -409,16 +409,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.DischargePatientRequest = function(opt_data) { +proto.services.tasks_svc.v1.DischargePatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.DischargePatientRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.DischargePatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.DischargePatientRequest.displayName = 'proto.proto.services.tasks_svc.v1.DischargePatientRequest'; + proto.services.tasks_svc.v1.DischargePatientRequest.displayName = 'proto.services.tasks_svc.v1.DischargePatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -430,16 +430,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.DischargePatientResponse = function(opt_data) { +proto.services.tasks_svc.v1.DischargePatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.DischargePatientResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.DischargePatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.DischargePatientResponse.displayName = 'proto.proto.services.tasks_svc.v1.DischargePatientResponse'; + proto.services.tasks_svc.v1.DischargePatientResponse.displayName = 'proto.services.tasks_svc.v1.DischargePatientResponse'; } /** * Generated by JsPbCodeGenerator. @@ -451,16 +451,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.ReadmitPatientRequest = function(opt_data) { +proto.services.tasks_svc.v1.ReadmitPatientRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.ReadmitPatientRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.ReadmitPatientRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.displayName = 'proto.proto.services.tasks_svc.v1.ReadmitPatientRequest'; + proto.services.tasks_svc.v1.ReadmitPatientRequest.displayName = 'proto.services.tasks_svc.v1.ReadmitPatientRequest'; } /** * Generated by JsPbCodeGenerator. @@ -472,16 +472,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.ReadmitPatientResponse = function(opt_data) { +proto.services.tasks_svc.v1.ReadmitPatientResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.ReadmitPatientResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.ReadmitPatientResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.displayName = 'proto.proto.services.tasks_svc.v1.ReadmitPatientResponse'; + proto.services.tasks_svc.v1.ReadmitPatientResponse.displayName = 'proto.services.tasks_svc.v1.ReadmitPatientResponse'; } @@ -499,8 +499,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.CreatePatientRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.CreatePatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.CreatePatientRequest.toObject(opt_includeInstance, this); }; @@ -509,11 +509,11 @@ proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.CreatePatientRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.CreatePatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.CreatePatientRequest.toObject = function(includeInstance, msg) { var f, obj = { humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 1, ""), notes: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -530,23 +530,23 @@ proto.proto.services.tasks_svc.v1.CreatePatientRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.CreatePatientRequest} + * @return {!proto.services.tasks_svc.v1.CreatePatientRequest} */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.CreatePatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.CreatePatientRequest; - return proto.proto.services.tasks_svc.v1.CreatePatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.CreatePatientRequest; + return proto.services.tasks_svc.v1.CreatePatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.CreatePatientRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.CreatePatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.CreatePatientRequest} + * @return {!proto.services.tasks_svc.v1.CreatePatientRequest} */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.CreatePatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -574,9 +574,9 @@ proto.proto.services.tasks_svc.v1.CreatePatientRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.CreatePatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.CreatePatientRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.CreatePatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -584,11 +584,11 @@ proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.CreatePatientRequest} message + * @param {!proto.services.tasks_svc.v1.CreatePatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.CreatePatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHumanReadableIdentifier(); if (f.length > 0) { @@ -611,16 +611,16 @@ proto.proto.services.tasks_svc.v1.CreatePatientRequest.serializeBinaryToWriter = * optional string human_readable_identifier = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.getHumanReadableIdentifier = function() { +proto.services.tasks_svc.v1.CreatePatientRequest.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CreatePatientRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreatePatientRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.setHumanReadableIdentifier = function(value) { +proto.services.tasks_svc.v1.CreatePatientRequest.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -629,25 +629,25 @@ proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.setHumanReadabl * optional string notes = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.getNotes = function() { +proto.services.tasks_svc.v1.CreatePatientRequest.prototype.getNotes = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CreatePatientRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreatePatientRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.setNotes = function(value) { +proto.services.tasks_svc.v1.CreatePatientRequest.prototype.setNotes = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.CreatePatientRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreatePatientRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.clearNotes = function() { +proto.services.tasks_svc.v1.CreatePatientRequest.prototype.clearNotes = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -656,7 +656,7 @@ proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.clearNotes = fu * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.CreatePatientRequest.prototype.hasNotes = function() { +proto.services.tasks_svc.v1.CreatePatientRequest.prototype.hasNotes = function() { return jspb.Message.getField(this, 2) != null; }; @@ -677,8 +677,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.CreatePatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.CreatePatientResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.CreatePatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.CreatePatientResponse.toObject(opt_includeInstance, this); }; @@ -687,11 +687,11 @@ proto.proto.services.tasks_svc.v1.CreatePatientResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.CreatePatientResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.CreatePatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreatePatientResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.CreatePatientResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -707,23 +707,23 @@ proto.proto.services.tasks_svc.v1.CreatePatientResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.CreatePatientResponse} + * @return {!proto.services.tasks_svc.v1.CreatePatientResponse} */ -proto.proto.services.tasks_svc.v1.CreatePatientResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.CreatePatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.CreatePatientResponse; - return proto.proto.services.tasks_svc.v1.CreatePatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.CreatePatientResponse; + return proto.services.tasks_svc.v1.CreatePatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.CreatePatientResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.CreatePatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.CreatePatientResponse} + * @return {!proto.services.tasks_svc.v1.CreatePatientResponse} */ -proto.proto.services.tasks_svc.v1.CreatePatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.CreatePatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -747,9 +747,9 @@ proto.proto.services.tasks_svc.v1.CreatePatientResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.CreatePatientResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.CreatePatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.CreatePatientResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.CreatePatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -757,11 +757,11 @@ proto.proto.services.tasks_svc.v1.CreatePatientResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.CreatePatientResponse} message + * @param {!proto.services.tasks_svc.v1.CreatePatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreatePatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.CreatePatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -777,16 +777,16 @@ proto.proto.services.tasks_svc.v1.CreatePatientResponse.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.CreatePatientResponse.prototype.getId = function() { +proto.services.tasks_svc.v1.CreatePatientResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CreatePatientResponse} returns this + * @return {!proto.services.tasks_svc.v1.CreatePatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.CreatePatientResponse.prototype.setId = function(value) { +proto.services.tasks_svc.v1.CreatePatientResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -807,8 +807,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetPatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetPatientRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetPatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetPatientRequest.toObject(opt_includeInstance, this); }; @@ -817,11 +817,11 @@ proto.proto.services.tasks_svc.v1.GetPatientRequest.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetPatientRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetPatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetPatientRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetPatientRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -837,23 +837,23 @@ proto.proto.services.tasks_svc.v1.GetPatientRequest.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientRequest} + * @return {!proto.services.tasks_svc.v1.GetPatientRequest} */ -proto.proto.services.tasks_svc.v1.GetPatientRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetPatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetPatientRequest; - return proto.proto.services.tasks_svc.v1.GetPatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetPatientRequest; + return proto.services.tasks_svc.v1.GetPatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetPatientRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetPatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientRequest} + * @return {!proto.services.tasks_svc.v1.GetPatientRequest} */ -proto.proto.services.tasks_svc.v1.GetPatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetPatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -877,9 +877,9 @@ proto.proto.services.tasks_svc.v1.GetPatientRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetPatientRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetPatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetPatientRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetPatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -887,11 +887,11 @@ proto.proto.services.tasks_svc.v1.GetPatientRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetPatientRequest} message + * @param {!proto.services.tasks_svc.v1.GetPatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetPatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetPatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -907,16 +907,16 @@ proto.proto.services.tasks_svc.v1.GetPatientRequest.serializeBinaryToWriter = fu * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetPatientRequest.prototype.getId = function() { +proto.services.tasks_svc.v1.GetPatientRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientRequest} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientRequest} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientRequest.prototype.setId = function(value) { +proto.services.tasks_svc.v1.GetPatientRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -937,8 +937,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetPatientResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetPatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetPatientResponse.toObject(opt_includeInstance, this); }; @@ -947,19 +947,19 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetPatientResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetPatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetPatientResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), notes: jspb.Message.getFieldWithDefault(msg, 3, ""), bedId: jspb.Message.getFieldWithDefault(msg, 4, ""), wardId: jspb.Message.getFieldWithDefault(msg, 5, ""), - room: (f = msg.getRoom()) && proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.toObject(includeInstance, f), - bed: (f = msg.getBed()) && proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.toObject(includeInstance, f) + room: (f = msg.getRoom()) && proto.services.tasks_svc.v1.GetPatientResponse.Room.toObject(includeInstance, f), + bed: (f = msg.getBed()) && proto.services.tasks_svc.v1.GetPatientResponse.Bed.toObject(includeInstance, f) }; if (includeInstance) { @@ -973,23 +973,23 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetPatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetPatientResponse; - return proto.proto.services.tasks_svc.v1.GetPatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetPatientResponse; + return proto.services.tasks_svc.v1.GetPatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetPatientResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetPatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetPatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1017,13 +1017,13 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.deserializeBinaryFromReader msg.setWardId(value); break; case 7: - var value = new proto.proto.services.tasks_svc.v1.GetPatientResponse.Room; - reader.readMessage(value,proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.tasks_svc.v1.GetPatientResponse.Room; + reader.readMessage(value,proto.services.tasks_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader); msg.setRoom(value); break; case 8: - var value = new proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed; - reader.readMessage(value,proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.tasks_svc.v1.GetPatientResponse.Bed; + reader.readMessage(value,proto.services.tasks_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader); msg.setBed(value); break; default: @@ -1039,9 +1039,9 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetPatientResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetPatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1049,11 +1049,11 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetPatientResponse} message + * @param {!proto.services.tasks_svc.v1.GetPatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetPatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1095,7 +1095,7 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.serializeBinaryToWriter = f writer.writeMessage( 7, f, - proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter + proto.services.tasks_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter ); } f = message.getBed(); @@ -1103,7 +1103,7 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.serializeBinaryToWriter = f writer.writeMessage( 8, f, - proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter + proto.services.tasks_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter ); } }; @@ -1125,8 +1125,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetPatientResponse.Room.toObject(opt_includeInstance, this); }; @@ -1135,11 +1135,11 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Room} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetPatientResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetPatientResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1157,23 +1157,23 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Room} + * @return {!proto.services.tasks_svc.v1.GetPatientResponse.Room} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetPatientResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetPatientResponse.Room; - return proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetPatientResponse.Room; + return proto.services.tasks_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetPatientResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Room} + * @return {!proto.services.tasks_svc.v1.GetPatientResponse.Room} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetPatientResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1205,9 +1205,9 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1215,11 +1215,11 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Room} message + * @param {!proto.services.tasks_svc.v1.GetPatientResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetPatientResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1249,16 +1249,16 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.serializeBinaryToWrite * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.getId = function() { +proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Room} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse.Room} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.setId = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1267,16 +1267,16 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.setId = func * optional string name = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.getName = function() { +proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Room} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse.Room} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.setName = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1285,16 +1285,16 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.setName = fu * optional string ward_id = 3; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.getWardId = function() { +proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Room} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse.Room} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.setWardId = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.Room.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1315,8 +1315,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetPatientResponse.Bed.toObject(opt_includeInstance, this); }; @@ -1325,11 +1325,11 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetPatientResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetPatientResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -1346,23 +1346,23 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed} + * @return {!proto.services.tasks_svc.v1.GetPatientResponse.Bed} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetPatientResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed; - return proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetPatientResponse.Bed; + return proto.services.tasks_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetPatientResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed} + * @return {!proto.services.tasks_svc.v1.GetPatientResponse.Bed} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1390,9 +1390,9 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1400,11 +1400,11 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed} message + * @param {!proto.services.tasks_svc.v1.GetPatientResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1427,16 +1427,16 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.getId = function() { +proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse.Bed} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.setId = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1445,16 +1445,16 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.setId = funct * optional string name = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.getName = function() { +proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse.Bed} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.setName = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1463,16 +1463,16 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed.prototype.setName = fun * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.getId = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.setId = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1481,16 +1481,16 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.setId = function( * optional string human_readable_identifier = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.getHumanReadableIdentifier = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.setHumanReadableIdentifier = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1499,16 +1499,16 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.setHumanReadableI * optional string notes = 3; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.getNotes = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.getNotes = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.setNotes = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.setNotes = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1517,25 +1517,25 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.setNotes = functi * optional string bed_id = 4; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.getBedId = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.getBedId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.setBedId = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.setBedId = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearBedId = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearBedId = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -1544,7 +1544,7 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearBedId = func * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.hasBedId = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.hasBedId = function() { return jspb.Message.getField(this, 4) != null; }; @@ -1553,25 +1553,25 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.hasBedId = functi * optional string ward_id = 5; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.getWardId = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.setWardId = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.setWardId = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearWardId = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearWardId = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -1580,35 +1580,35 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearWardId = fun * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.hasWardId = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.hasWardId = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional Room room = 7; - * @return {?proto.proto.services.tasks_svc.v1.GetPatientResponse.Room} + * @return {?proto.services.tasks_svc.v1.GetPatientResponse.Room} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.getRoom = function() { - return /** @type{?proto.proto.services.tasks_svc.v1.GetPatientResponse.Room} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.tasks_svc.v1.GetPatientResponse.Room, 7)); +proto.services.tasks_svc.v1.GetPatientResponse.prototype.getRoom = function() { + return /** @type{?proto.services.tasks_svc.v1.GetPatientResponse.Room} */ ( + jspb.Message.getWrapperField(this, proto.services.tasks_svc.v1.GetPatientResponse.Room, 7)); }; /** - * @param {?proto.proto.services.tasks_svc.v1.GetPatientResponse.Room|undefined} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} returns this + * @param {?proto.services.tasks_svc.v1.GetPatientResponse.Room|undefined} value + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.setRoom = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.setRoom = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearRoom = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearRoom = function() { return this.setRoom(undefined); }; @@ -1617,35 +1617,35 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearRoom = funct * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.hasRoom = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.hasRoom = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional Bed bed = 8; - * @return {?proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed} + * @return {?proto.services.tasks_svc.v1.GetPatientResponse.Bed} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.getBed = function() { - return /** @type{?proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed, 8)); +proto.services.tasks_svc.v1.GetPatientResponse.prototype.getBed = function() { + return /** @type{?proto.services.tasks_svc.v1.GetPatientResponse.Bed} */ ( + jspb.Message.getWrapperField(this, proto.services.tasks_svc.v1.GetPatientResponse.Bed, 8)); }; /** - * @param {?proto.proto.services.tasks_svc.v1.GetPatientResponse.Bed|undefined} value - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} returns this + * @param {?proto.services.tasks_svc.v1.GetPatientResponse.Bed|undefined} value + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.setBed = function(value) { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.setBed = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.GetPatientResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetPatientResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearBed = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearBed = function() { return this.setBed(undefined); }; @@ -1654,7 +1654,7 @@ proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.clearBed = functi * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.GetPatientResponse.prototype.hasBed = function() { +proto.services.tasks_svc.v1.GetPatientResponse.prototype.hasBed = function() { return jspb.Message.getField(this, 8) != null; }; @@ -1675,8 +1675,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetRecentPatientsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetRecentPatientsRequest.toObject(opt_includeInstance, this); }; @@ -1685,11 +1685,11 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetRecentPatientsRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -1705,23 +1705,23 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest} + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsRequest} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetRecentPatientsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest; - return proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetRecentPatientsRequest; + return proto.services.tasks_svc.v1.GetRecentPatientsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest} + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsRequest} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetRecentPatientsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1741,9 +1741,9 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetRecentPatientsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetRecentPatientsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1751,11 +1751,11 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest} message + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetRecentPatientsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -1766,7 +1766,7 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsRequest.serializeBinaryToWrit * @private {!Array} * @const */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.repeatedFields_ = [1]; +proto.services.tasks_svc.v1.GetRecentPatientsResponse.repeatedFields_ = [1]; @@ -1783,8 +1783,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetRecentPatientsResponse.toObject(opt_includeInstance, this); }; @@ -1793,14 +1793,14 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.toObject = function(includeInstance, msg) { var f, obj = { recentPatientsList: jspb.Message.toObjectList(msg.getRecentPatientsList(), - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject, includeInstance) + proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject, includeInstance) }; if (includeInstance) { @@ -1814,23 +1814,23 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse} + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse; - return proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetRecentPatientsResponse; + return proto.services.tasks_svc.v1.GetRecentPatientsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse} + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1838,8 +1838,8 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.deserializeBinaryFro var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed; - reader.readMessage(value,proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader); + var value = new proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed; + reader.readMessage(value,proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader); msg.addRecentPatients(value); break; default: @@ -1855,9 +1855,9 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetRecentPatientsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1865,18 +1865,18 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse} message + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRecentPatientsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter + proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter ); } }; @@ -1898,8 +1898,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.toObject(opt_includeInstance, this); }; @@ -1908,11 +1908,11 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -1929,23 +1929,23 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed; - return proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed; + return proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1973,9 +1973,9 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1983,11 +1983,11 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} message + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2010,16 +2010,16 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryT * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.getId = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} returns this + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.setId = function(value) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2028,16 +2028,16 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.setId * optional string name = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.getName = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} returns this + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.setName = function(value) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2058,8 +2058,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.toObject(opt_includeInstance, this); }; @@ -2068,11 +2068,11 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.toObj * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2090,23 +2090,23 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.toObject = func /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room; - return proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room; + return proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2138,9 +2138,9 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.deserializeBina * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2148,11 +2148,11 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.seria /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} message + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2182,16 +2182,16 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.serializeBinary * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.getId = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} returns this + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.setId = function(value) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2200,16 +2200,16 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.setId * optional string name = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.getName = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} returns this + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.setName = function(value) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2218,16 +2218,16 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.setNa * optional string ward_id = 3; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.getWardId = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.getWardId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} returns this + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.setWardId = function(value) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.prototype.setWardId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -2248,8 +2248,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject(opt_includeInstance, this); }; @@ -2258,16 +2258,16 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBe * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), - room: (f = msg.getRoom()) && proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.toObject(includeInstance, f), - bed: (f = msg.getBed()) && proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.toObject(includeInstance, f) + room: (f = msg.getRoom()) && proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.toObject(includeInstance, f), + bed: (f = msg.getBed()) && proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.toObject(includeInstance, f) }; if (includeInstance) { @@ -2281,23 +2281,23 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBe /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed; - return proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed; + return proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2313,13 +2313,13 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBe msg.setHumanReadableIdentifier(value); break; case 3: - var value = new proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room; - reader.readMessage(value,proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader); + var value = new proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room; + reader.readMessage(value,proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.deserializeBinaryFromReader); msg.setRoom(value); break; case 4: - var value = new proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed; - reader.readMessage(value,proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader); + var value = new proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed; + reader.readMessage(value,proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.deserializeBinaryFromReader); msg.setBed(value); break; default: @@ -2335,9 +2335,9 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2345,11 +2345,11 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBe /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} message + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2370,7 +2370,7 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBe writer.writeMessage( 3, f, - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter + proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room.serializeBinaryToWriter ); } f = message.getBed(); @@ -2378,7 +2378,7 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBe writer.writeMessage( 4, f, - proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter + proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed.serializeBinaryToWriter ); } }; @@ -2388,16 +2388,16 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBe * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getId = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setId = function(value) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2406,44 +2406,44 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBe * optional string human_readable_identifier = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getHumanReadableIdentifier = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setHumanReadableIdentifier = function(value) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional Room room = 3; - * @return {?proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} + * @return {?proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getRoom = function() { - return /** @type{?proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room, 3)); +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getRoom = function() { + return /** @type{?proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room} */ ( + jspb.Message.getWrapperField(this, proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room, 3)); }; /** - * @param {?proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room|undefined} value - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @param {?proto.services.tasks_svc.v1.GetRecentPatientsResponse.Room|undefined} value + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setRoom = function(value) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setRoom = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.clearRoom = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.clearRoom = function() { return this.setRoom(undefined); }; @@ -2452,35 +2452,35 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBe * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.hasRoom = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.hasRoom = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional Bed bed = 4; - * @return {?proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} + * @return {?proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getBed = function() { - return /** @type{?proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed, 4)); +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.getBed = function() { + return /** @type{?proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed} */ ( + jspb.Message.getWrapperField(this, proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed, 4)); }; /** - * @param {?proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed|undefined} value - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @param {?proto.services.tasks_svc.v1.GetRecentPatientsResponse.Bed|undefined} value + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setBed = function(value) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.setBed = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.clearBed = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.clearBed = function() { return this.setBed(undefined); }; @@ -2489,45 +2489,45 @@ proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBe * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.hasBed = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed.prototype.hasBed = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated PatientWithRoomAndBed recent_patients = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.getRecentPatientsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, 1)); +proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.getRecentPatientsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse} returns this + * @param {!Array} value + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.setRecentPatientsList = function(value) { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.setRecentPatientsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed=} opt_value + * @param {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed} */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.addRecentPatients = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, opt_index); +proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.addRecentPatients = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBed, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetRecentPatientsResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.clearRecentPatientsList = function() { +proto.services.tasks_svc.v1.GetRecentPatientsResponse.prototype.clearRecentPatientsList = function() { return this.setRecentPatientsList([]); }; @@ -2548,8 +2548,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UpdatePatientRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UpdatePatientRequest.toObject(opt_includeInstance, this); }; @@ -2558,11 +2558,11 @@ proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UpdatePatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UpdatePatientRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), humanReadableIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2580,23 +2580,23 @@ proto.proto.services.tasks_svc.v1.UpdatePatientRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} + * @return {!proto.services.tasks_svc.v1.UpdatePatientRequest} */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UpdatePatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UpdatePatientRequest; - return proto.proto.services.tasks_svc.v1.UpdatePatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UpdatePatientRequest; + return proto.services.tasks_svc.v1.UpdatePatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UpdatePatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} + * @return {!proto.services.tasks_svc.v1.UpdatePatientRequest} */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UpdatePatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2628,9 +2628,9 @@ proto.proto.services.tasks_svc.v1.UpdatePatientRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UpdatePatientRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UpdatePatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2638,11 +2638,11 @@ proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} message + * @param {!proto.services.tasks_svc.v1.UpdatePatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UpdatePatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2672,16 +2672,16 @@ proto.proto.services.tasks_svc.v1.UpdatePatientRequest.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.getId = function() { +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdatePatientRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.setId = function(value) { +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2690,25 +2690,25 @@ proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.setId = functio * optional string human_readable_identifier = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.getHumanReadableIdentifier = function() { +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.getHumanReadableIdentifier = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdatePatientRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.setHumanReadableIdentifier = function(value) { +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.setHumanReadableIdentifier = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdatePatientRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.clearHumanReadableIdentifier = function() { +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.clearHumanReadableIdentifier = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -2717,7 +2717,7 @@ proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.clearHumanReada * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.hasHumanReadableIdentifier = function() { +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.hasHumanReadableIdentifier = function() { return jspb.Message.getField(this, 2) != null; }; @@ -2726,25 +2726,25 @@ proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.hasHumanReadabl * optional string notes = 3; * @return {string} */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.getNotes = function() { +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.getNotes = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdatePatientRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.setNotes = function(value) { +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.setNotes = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.UpdatePatientRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdatePatientRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.clearNotes = function() { +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.clearNotes = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -2753,7 +2753,7 @@ proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.clearNotes = fu * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.hasNotes = function() { +proto.services.tasks_svc.v1.UpdatePatientRequest.prototype.hasNotes = function() { return jspb.Message.getField(this, 3) != null; }; @@ -2774,8 +2774,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UpdatePatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UpdatePatientResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UpdatePatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UpdatePatientResponse.toObject(opt_includeInstance, this); }; @@ -2784,11 +2784,11 @@ proto.proto.services.tasks_svc.v1.UpdatePatientResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UpdatePatientResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UpdatePatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdatePatientResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UpdatePatientResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2804,23 +2804,23 @@ proto.proto.services.tasks_svc.v1.UpdatePatientResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UpdatePatientResponse} + * @return {!proto.services.tasks_svc.v1.UpdatePatientResponse} */ -proto.proto.services.tasks_svc.v1.UpdatePatientResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UpdatePatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UpdatePatientResponse; - return proto.proto.services.tasks_svc.v1.UpdatePatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UpdatePatientResponse; + return proto.services.tasks_svc.v1.UpdatePatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UpdatePatientResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UpdatePatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UpdatePatientResponse} + * @return {!proto.services.tasks_svc.v1.UpdatePatientResponse} */ -proto.proto.services.tasks_svc.v1.UpdatePatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UpdatePatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2840,9 +2840,9 @@ proto.proto.services.tasks_svc.v1.UpdatePatientResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UpdatePatientResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UpdatePatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UpdatePatientResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UpdatePatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2850,11 +2850,11 @@ proto.proto.services.tasks_svc.v1.UpdatePatientResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UpdatePatientResponse} message + * @param {!proto.services.tasks_svc.v1.UpdatePatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdatePatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UpdatePatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2875,8 +2875,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.AssignBedRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.AssignBedRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.AssignBedRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.AssignBedRequest.toObject(opt_includeInstance, this); }; @@ -2885,11 +2885,11 @@ proto.proto.services.tasks_svc.v1.AssignBedRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.AssignBedRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.AssignBedRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.AssignBedRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.AssignBedRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), bedId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2906,23 +2906,23 @@ proto.proto.services.tasks_svc.v1.AssignBedRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.AssignBedRequest} + * @return {!proto.services.tasks_svc.v1.AssignBedRequest} */ -proto.proto.services.tasks_svc.v1.AssignBedRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.AssignBedRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.AssignBedRequest; - return proto.proto.services.tasks_svc.v1.AssignBedRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.AssignBedRequest; + return proto.services.tasks_svc.v1.AssignBedRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.AssignBedRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.AssignBedRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.AssignBedRequest} + * @return {!proto.services.tasks_svc.v1.AssignBedRequest} */ -proto.proto.services.tasks_svc.v1.AssignBedRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.AssignBedRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2950,9 +2950,9 @@ proto.proto.services.tasks_svc.v1.AssignBedRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.AssignBedRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.AssignBedRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.AssignBedRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.AssignBedRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2960,11 +2960,11 @@ proto.proto.services.tasks_svc.v1.AssignBedRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.AssignBedRequest} message + * @param {!proto.services.tasks_svc.v1.AssignBedRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.AssignBedRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.AssignBedRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2987,16 +2987,16 @@ proto.proto.services.tasks_svc.v1.AssignBedRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.AssignBedRequest.prototype.getId = function() { +proto.services.tasks_svc.v1.AssignBedRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.AssignBedRequest} returns this + * @return {!proto.services.tasks_svc.v1.AssignBedRequest} returns this */ -proto.proto.services.tasks_svc.v1.AssignBedRequest.prototype.setId = function(value) { +proto.services.tasks_svc.v1.AssignBedRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3005,16 +3005,16 @@ proto.proto.services.tasks_svc.v1.AssignBedRequest.prototype.setId = function(va * optional string bed_id = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.AssignBedRequest.prototype.getBedId = function() { +proto.services.tasks_svc.v1.AssignBedRequest.prototype.getBedId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.AssignBedRequest} returns this + * @return {!proto.services.tasks_svc.v1.AssignBedRequest} returns this */ -proto.proto.services.tasks_svc.v1.AssignBedRequest.prototype.setBedId = function(value) { +proto.services.tasks_svc.v1.AssignBedRequest.prototype.setBedId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3035,8 +3035,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.AssignBedResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.AssignBedResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.AssignBedResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.AssignBedResponse.toObject(opt_includeInstance, this); }; @@ -3045,11 +3045,11 @@ proto.proto.services.tasks_svc.v1.AssignBedResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.AssignBedResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.AssignBedResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.AssignBedResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.AssignBedResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3065,23 +3065,23 @@ proto.proto.services.tasks_svc.v1.AssignBedResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.AssignBedResponse} + * @return {!proto.services.tasks_svc.v1.AssignBedResponse} */ -proto.proto.services.tasks_svc.v1.AssignBedResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.AssignBedResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.AssignBedResponse; - return proto.proto.services.tasks_svc.v1.AssignBedResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.AssignBedResponse; + return proto.services.tasks_svc.v1.AssignBedResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.AssignBedResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.AssignBedResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.AssignBedResponse} + * @return {!proto.services.tasks_svc.v1.AssignBedResponse} */ -proto.proto.services.tasks_svc.v1.AssignBedResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.AssignBedResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3101,9 +3101,9 @@ proto.proto.services.tasks_svc.v1.AssignBedResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.AssignBedResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.AssignBedResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.AssignBedResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.AssignBedResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3111,11 +3111,11 @@ proto.proto.services.tasks_svc.v1.AssignBedResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.AssignBedResponse} message + * @param {!proto.services.tasks_svc.v1.AssignBedResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.AssignBedResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.AssignBedResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -3136,8 +3136,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UnassignBedRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UnassignBedRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UnassignBedRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UnassignBedRequest.toObject(opt_includeInstance, this); }; @@ -3146,11 +3146,11 @@ proto.proto.services.tasks_svc.v1.UnassignBedRequest.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UnassignBedRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UnassignBedRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UnassignBedRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UnassignBedRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -3166,23 +3166,23 @@ proto.proto.services.tasks_svc.v1.UnassignBedRequest.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UnassignBedRequest} + * @return {!proto.services.tasks_svc.v1.UnassignBedRequest} */ -proto.proto.services.tasks_svc.v1.UnassignBedRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UnassignBedRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UnassignBedRequest; - return proto.proto.services.tasks_svc.v1.UnassignBedRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UnassignBedRequest; + return proto.services.tasks_svc.v1.UnassignBedRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UnassignBedRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UnassignBedRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UnassignBedRequest} + * @return {!proto.services.tasks_svc.v1.UnassignBedRequest} */ -proto.proto.services.tasks_svc.v1.UnassignBedRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UnassignBedRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3206,9 +3206,9 @@ proto.proto.services.tasks_svc.v1.UnassignBedRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UnassignBedRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UnassignBedRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UnassignBedRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UnassignBedRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3216,11 +3216,11 @@ proto.proto.services.tasks_svc.v1.UnassignBedRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UnassignBedRequest} message + * @param {!proto.services.tasks_svc.v1.UnassignBedRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UnassignBedRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UnassignBedRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3236,16 +3236,16 @@ proto.proto.services.tasks_svc.v1.UnassignBedRequest.serializeBinaryToWriter = f * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.UnassignBedRequest.prototype.getId = function() { +proto.services.tasks_svc.v1.UnassignBedRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UnassignBedRequest} returns this + * @return {!proto.services.tasks_svc.v1.UnassignBedRequest} returns this */ -proto.proto.services.tasks_svc.v1.UnassignBedRequest.prototype.setId = function(value) { +proto.services.tasks_svc.v1.UnassignBedRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3266,8 +3266,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UnassignBedResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UnassignBedResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UnassignBedResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UnassignBedResponse.toObject(opt_includeInstance, this); }; @@ -3276,11 +3276,11 @@ proto.proto.services.tasks_svc.v1.UnassignBedResponse.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UnassignBedResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UnassignBedResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UnassignBedResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UnassignBedResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3296,23 +3296,23 @@ proto.proto.services.tasks_svc.v1.UnassignBedResponse.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UnassignBedResponse} + * @return {!proto.services.tasks_svc.v1.UnassignBedResponse} */ -proto.proto.services.tasks_svc.v1.UnassignBedResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UnassignBedResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UnassignBedResponse; - return proto.proto.services.tasks_svc.v1.UnassignBedResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UnassignBedResponse; + return proto.services.tasks_svc.v1.UnassignBedResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UnassignBedResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UnassignBedResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UnassignBedResponse} + * @return {!proto.services.tasks_svc.v1.UnassignBedResponse} */ -proto.proto.services.tasks_svc.v1.UnassignBedResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UnassignBedResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3332,9 +3332,9 @@ proto.proto.services.tasks_svc.v1.UnassignBedResponse.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UnassignBedResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UnassignBedResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UnassignBedResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UnassignBedResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3342,11 +3342,11 @@ proto.proto.services.tasks_svc.v1.UnassignBedResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UnassignBedResponse} message + * @param {!proto.services.tasks_svc.v1.UnassignBedResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UnassignBedResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UnassignBedResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -3367,8 +3367,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.DischargePatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.DischargePatientRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.DischargePatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.DischargePatientRequest.toObject(opt_includeInstance, this); }; @@ -3377,11 +3377,11 @@ proto.proto.services.tasks_svc.v1.DischargePatientRequest.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.DischargePatientRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.DischargePatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.DischargePatientRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.DischargePatientRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -3397,23 +3397,23 @@ proto.proto.services.tasks_svc.v1.DischargePatientRequest.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.DischargePatientRequest} + * @return {!proto.services.tasks_svc.v1.DischargePatientRequest} */ -proto.proto.services.tasks_svc.v1.DischargePatientRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.DischargePatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.DischargePatientRequest; - return proto.proto.services.tasks_svc.v1.DischargePatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.DischargePatientRequest; + return proto.services.tasks_svc.v1.DischargePatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.DischargePatientRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.DischargePatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.DischargePatientRequest} + * @return {!proto.services.tasks_svc.v1.DischargePatientRequest} */ -proto.proto.services.tasks_svc.v1.DischargePatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.DischargePatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3437,9 +3437,9 @@ proto.proto.services.tasks_svc.v1.DischargePatientRequest.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.DischargePatientRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.DischargePatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.DischargePatientRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.DischargePatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3447,11 +3447,11 @@ proto.proto.services.tasks_svc.v1.DischargePatientRequest.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.DischargePatientRequest} message + * @param {!proto.services.tasks_svc.v1.DischargePatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.DischargePatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.DischargePatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3467,16 +3467,16 @@ proto.proto.services.tasks_svc.v1.DischargePatientRequest.serializeBinaryToWrite * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.DischargePatientRequest.prototype.getId = function() { +proto.services.tasks_svc.v1.DischargePatientRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.DischargePatientRequest} returns this + * @return {!proto.services.tasks_svc.v1.DischargePatientRequest} returns this */ -proto.proto.services.tasks_svc.v1.DischargePatientRequest.prototype.setId = function(value) { +proto.services.tasks_svc.v1.DischargePatientRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3497,8 +3497,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.DischargePatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.DischargePatientResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.DischargePatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.DischargePatientResponse.toObject(opt_includeInstance, this); }; @@ -3507,11 +3507,11 @@ proto.proto.services.tasks_svc.v1.DischargePatientResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.DischargePatientResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.DischargePatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.DischargePatientResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.DischargePatientResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3527,23 +3527,23 @@ proto.proto.services.tasks_svc.v1.DischargePatientResponse.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.DischargePatientResponse} + * @return {!proto.services.tasks_svc.v1.DischargePatientResponse} */ -proto.proto.services.tasks_svc.v1.DischargePatientResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.DischargePatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.DischargePatientResponse; - return proto.proto.services.tasks_svc.v1.DischargePatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.DischargePatientResponse; + return proto.services.tasks_svc.v1.DischargePatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.DischargePatientResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.DischargePatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.DischargePatientResponse} + * @return {!proto.services.tasks_svc.v1.DischargePatientResponse} */ -proto.proto.services.tasks_svc.v1.DischargePatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.DischargePatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3563,9 +3563,9 @@ proto.proto.services.tasks_svc.v1.DischargePatientResponse.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.DischargePatientResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.DischargePatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.DischargePatientResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.DischargePatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3573,11 +3573,11 @@ proto.proto.services.tasks_svc.v1.DischargePatientResponse.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.DischargePatientResponse} message + * @param {!proto.services.tasks_svc.v1.DischargePatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.DischargePatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.DischargePatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -3598,8 +3598,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.ReadmitPatientRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.ReadmitPatientRequest.toObject(opt_includeInstance, this); }; @@ -3608,11 +3608,11 @@ proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.ReadmitPatientRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.ReadmitPatientRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.ReadmitPatientRequest.toObject = function(includeInstance, msg) { var f, obj = { patientId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -3628,23 +3628,23 @@ proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.ReadmitPatientRequest} + * @return {!proto.services.tasks_svc.v1.ReadmitPatientRequest} */ -proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.ReadmitPatientRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.ReadmitPatientRequest; - return proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.ReadmitPatientRequest; + return proto.services.tasks_svc.v1.ReadmitPatientRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.ReadmitPatientRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.ReadmitPatientRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.ReadmitPatientRequest} + * @return {!proto.services.tasks_svc.v1.ReadmitPatientRequest} */ -proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.ReadmitPatientRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3668,9 +3668,9 @@ proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.ReadmitPatientRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.ReadmitPatientRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3678,11 +3678,11 @@ proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.ReadmitPatientRequest} message + * @param {!proto.services.tasks_svc.v1.ReadmitPatientRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.ReadmitPatientRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPatientId(); if (f.length > 0) { @@ -3698,16 +3698,16 @@ proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.serializeBinaryToWriter * optional string patient_id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.prototype.getPatientId = function() { +proto.services.tasks_svc.v1.ReadmitPatientRequest.prototype.getPatientId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.ReadmitPatientRequest} returns this + * @return {!proto.services.tasks_svc.v1.ReadmitPatientRequest} returns this */ -proto.proto.services.tasks_svc.v1.ReadmitPatientRequest.prototype.setPatientId = function(value) { +proto.services.tasks_svc.v1.ReadmitPatientRequest.prototype.setPatientId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3728,8 +3728,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.ReadmitPatientResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.ReadmitPatientResponse.toObject(opt_includeInstance, this); }; @@ -3738,11 +3738,11 @@ proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.ReadmitPatientResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.ReadmitPatientResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.ReadmitPatientResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3758,23 +3758,23 @@ proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.ReadmitPatientResponse} + * @return {!proto.services.tasks_svc.v1.ReadmitPatientResponse} */ -proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.ReadmitPatientResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.ReadmitPatientResponse; - return proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.ReadmitPatientResponse; + return proto.services.tasks_svc.v1.ReadmitPatientResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.ReadmitPatientResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.ReadmitPatientResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.ReadmitPatientResponse} + * @return {!proto.services.tasks_svc.v1.ReadmitPatientResponse} */ -proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.ReadmitPatientResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3794,9 +3794,9 @@ proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.ReadmitPatientResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.ReadmitPatientResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3804,13 +3804,13 @@ proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.ReadmitPatientResponse} message + * @param {!proto.services.tasks_svc.v1.ReadmitPatientResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.ReadmitPatientResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.ReadmitPatientResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; -goog.object.extend(exports, proto.proto.services.tasks_svc.v1); +goog.object.extend(exports, proto.services.tasks_svc.v1); diff --git a/gen/ts/services/tasks_svc/v1/task_svc_grpc_web_pb.d.ts b/gen/ts/services/tasks_svc/v1/task_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..726e468e9 --- /dev/null +++ b/gen/ts/services/tasks_svc/v1/task_svc_grpc_web_pb.d.ts @@ -0,0 +1,139 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_tasks_svc_v1_task_svc_pb from '../../../services/tasks_svc/v1/task_svc_pb'; // proto import: "services/tasks_svc/v1/task_svc.proto" + + +export class TaskServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createTask( + request: services_tasks_svc_v1_task_svc_pb.CreateTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_task_svc_pb.CreateTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + updateTask( + request: services_tasks_svc_v1_task_svc_pb.UpdateTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_task_svc_pb.UpdateTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + getTask( + request: services_tasks_svc_v1_task_svc_pb.GetTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_task_svc_pb.GetTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + assignTask( + request: services_tasks_svc_v1_task_svc_pb.AssignTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_task_svc_pb.AssignTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + unassignTask( + request: services_tasks_svc_v1_task_svc_pb.UnassignTaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_task_svc_pb.UnassignTaskResponse) => void + ): grpcWeb.ClientReadableStream; + + createSubtask( + request: services_tasks_svc_v1_task_svc_pb.CreateSubtaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_task_svc_pb.CreateSubtaskResponse) => void + ): grpcWeb.ClientReadableStream; + + updateSubtask( + request: services_tasks_svc_v1_task_svc_pb.UpdateSubtaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_task_svc_pb.UpdateSubtaskResponse) => void + ): grpcWeb.ClientReadableStream; + + completeSubtask( + request: services_tasks_svc_v1_task_svc_pb.CompleteSubtaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_task_svc_pb.CompleteSubtaskResponse) => void + ): grpcWeb.ClientReadableStream; + + uncompleteSubtask( + request: services_tasks_svc_v1_task_svc_pb.UncompleteSubtaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_task_svc_pb.UncompleteSubtaskResponse) => void + ): grpcWeb.ClientReadableStream; + + deleteSubtask( + request: services_tasks_svc_v1_task_svc_pb.DeleteSubtaskRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_tasks_svc_v1_task_svc_pb.DeleteSubtaskResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class TaskServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createTask( + request: services_tasks_svc_v1_task_svc_pb.CreateTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateTask( + request: services_tasks_svc_v1_task_svc_pb.UpdateTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getTask( + request: services_tasks_svc_v1_task_svc_pb.GetTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + assignTask( + request: services_tasks_svc_v1_task_svc_pb.AssignTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + unassignTask( + request: services_tasks_svc_v1_task_svc_pb.UnassignTaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + createSubtask( + request: services_tasks_svc_v1_task_svc_pb.CreateSubtaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateSubtask( + request: services_tasks_svc_v1_task_svc_pb.UpdateSubtaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + completeSubtask( + request: services_tasks_svc_v1_task_svc_pb.CompleteSubtaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + uncompleteSubtask( + request: services_tasks_svc_v1_task_svc_pb.UncompleteSubtaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + deleteSubtask( + request: services_tasks_svc_v1_task_svc_pb.DeleteSubtaskRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/services/tasks_svc/v1/task_svc_grpc_web_pb.js b/gen/ts/services/tasks_svc/v1/task_svc_grpc_web_pb.js new file mode 100644 index 000000000..a47538e21 --- /dev/null +++ b/gen/ts/services/tasks_svc/v1/task_svc_grpc_web_pb.js @@ -0,0 +1,692 @@ +/** + * @fileoverview gRPC-Web generated client stub for services.tasks_svc.v1 + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.5.0 +// protoc v0.0.0 +// source: services/tasks_svc/v1/task_svc.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + + +var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js') +const proto = {}; +proto.services = {}; +proto.services.tasks_svc = {}; +proto.services.tasks_svc.v1 = require('./task_svc_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.tasks_svc.v1.TaskServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.tasks_svc.v1.TaskServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.CreateTaskRequest, + * !proto.services.tasks_svc.v1.CreateTaskResponse>} + */ +const methodDescriptor_TaskService_CreateTask = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.TaskService/CreateTask', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.CreateTaskRequest, + proto.services.tasks_svc.v1.CreateTaskResponse, + /** + * @param {!proto.services.tasks_svc.v1.CreateTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.CreateTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.CreateTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.CreateTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.TaskServiceClient.prototype.createTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/CreateTask', + request, + metadata || {}, + methodDescriptor_TaskService_CreateTask, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.CreateTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.createTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/CreateTask', + request, + metadata || {}, + methodDescriptor_TaskService_CreateTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.UpdateTaskRequest, + * !proto.services.tasks_svc.v1.UpdateTaskResponse>} + */ +const methodDescriptor_TaskService_UpdateTask = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.TaskService/UpdateTask', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.UpdateTaskRequest, + proto.services.tasks_svc.v1.UpdateTaskResponse, + /** + * @param {!proto.services.tasks_svc.v1.UpdateTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.UpdateTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.UpdateTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.UpdateTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.TaskServiceClient.prototype.updateTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/UpdateTask', + request, + metadata || {}, + methodDescriptor_TaskService_UpdateTask, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.UpdateTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.updateTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/UpdateTask', + request, + metadata || {}, + methodDescriptor_TaskService_UpdateTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.GetTaskRequest, + * !proto.services.tasks_svc.v1.GetTaskResponse>} + */ +const methodDescriptor_TaskService_GetTask = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.TaskService/GetTask', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.GetTaskRequest, + proto.services.tasks_svc.v1.GetTaskResponse, + /** + * @param {!proto.services.tasks_svc.v1.GetTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.GetTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.GetTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.GetTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.TaskServiceClient.prototype.getTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/GetTask', + request, + metadata || {}, + methodDescriptor_TaskService_GetTask, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.GetTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.getTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/GetTask', + request, + metadata || {}, + methodDescriptor_TaskService_GetTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.AssignTaskRequest, + * !proto.services.tasks_svc.v1.AssignTaskResponse>} + */ +const methodDescriptor_TaskService_AssignTask = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.TaskService/AssignTask', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.AssignTaskRequest, + proto.services.tasks_svc.v1.AssignTaskResponse, + /** + * @param {!proto.services.tasks_svc.v1.AssignTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.AssignTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.AssignTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.AssignTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.TaskServiceClient.prototype.assignTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/AssignTask', + request, + metadata || {}, + methodDescriptor_TaskService_AssignTask, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.AssignTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.assignTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/AssignTask', + request, + metadata || {}, + methodDescriptor_TaskService_AssignTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.UnassignTaskRequest, + * !proto.services.tasks_svc.v1.UnassignTaskResponse>} + */ +const methodDescriptor_TaskService_UnassignTask = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.TaskService/UnassignTask', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.UnassignTaskRequest, + proto.services.tasks_svc.v1.UnassignTaskResponse, + /** + * @param {!proto.services.tasks_svc.v1.UnassignTaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.UnassignTaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.UnassignTaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.UnassignTaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.TaskServiceClient.prototype.unassignTask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/UnassignTask', + request, + metadata || {}, + methodDescriptor_TaskService_UnassignTask, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.UnassignTaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.unassignTask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/UnassignTask', + request, + metadata || {}, + methodDescriptor_TaskService_UnassignTask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.CreateSubtaskRequest, + * !proto.services.tasks_svc.v1.CreateSubtaskResponse>} + */ +const methodDescriptor_TaskService_CreateSubtask = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.TaskService/CreateSubtask', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.CreateSubtaskRequest, + proto.services.tasks_svc.v1.CreateSubtaskResponse, + /** + * @param {!proto.services.tasks_svc.v1.CreateSubtaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.CreateSubtaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.CreateSubtaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.CreateSubtaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.TaskServiceClient.prototype.createSubtask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/CreateSubtask', + request, + metadata || {}, + methodDescriptor_TaskService_CreateSubtask, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.CreateSubtaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.createSubtask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/CreateSubtask', + request, + metadata || {}, + methodDescriptor_TaskService_CreateSubtask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.UpdateSubtaskRequest, + * !proto.services.tasks_svc.v1.UpdateSubtaskResponse>} + */ +const methodDescriptor_TaskService_UpdateSubtask = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.TaskService/UpdateSubtask', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.UpdateSubtaskRequest, + proto.services.tasks_svc.v1.UpdateSubtaskResponse, + /** + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.UpdateSubtaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.UpdateSubtaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.TaskServiceClient.prototype.updateSubtask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/UpdateSubtask', + request, + metadata || {}, + methodDescriptor_TaskService_UpdateSubtask, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.updateSubtask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/UpdateSubtask', + request, + metadata || {}, + methodDescriptor_TaskService_UpdateSubtask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.CompleteSubtaskRequest, + * !proto.services.tasks_svc.v1.CompleteSubtaskResponse>} + */ +const methodDescriptor_TaskService_CompleteSubtask = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.TaskService/CompleteSubtask', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.CompleteSubtaskRequest, + proto.services.tasks_svc.v1.CompleteSubtaskResponse, + /** + * @param {!proto.services.tasks_svc.v1.CompleteSubtaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.CompleteSubtaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.CompleteSubtaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.CompleteSubtaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.TaskServiceClient.prototype.completeSubtask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/CompleteSubtask', + request, + metadata || {}, + methodDescriptor_TaskService_CompleteSubtask, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.CompleteSubtaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.completeSubtask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/CompleteSubtask', + request, + metadata || {}, + methodDescriptor_TaskService_CompleteSubtask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.UncompleteSubtaskRequest, + * !proto.services.tasks_svc.v1.UncompleteSubtaskResponse>} + */ +const methodDescriptor_TaskService_UncompleteSubtask = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.TaskService/UncompleteSubtask', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.UncompleteSubtaskRequest, + proto.services.tasks_svc.v1.UncompleteSubtaskResponse, + /** + * @param {!proto.services.tasks_svc.v1.UncompleteSubtaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.UncompleteSubtaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.UncompleteSubtaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.UncompleteSubtaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.TaskServiceClient.prototype.uncompleteSubtask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/UncompleteSubtask', + request, + metadata || {}, + methodDescriptor_TaskService_UncompleteSubtask, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.UncompleteSubtaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.uncompleteSubtask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/UncompleteSubtask', + request, + metadata || {}, + methodDescriptor_TaskService_UncompleteSubtask); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.tasks_svc.v1.DeleteSubtaskRequest, + * !proto.services.tasks_svc.v1.DeleteSubtaskResponse>} + */ +const methodDescriptor_TaskService_DeleteSubtask = new grpc.web.MethodDescriptor( + '/services.tasks_svc.v1.TaskService/DeleteSubtask', + grpc.web.MethodType.UNARY, + proto.services.tasks_svc.v1.DeleteSubtaskRequest, + proto.services.tasks_svc.v1.DeleteSubtaskResponse, + /** + * @param {!proto.services.tasks_svc.v1.DeleteSubtaskRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.tasks_svc.v1.DeleteSubtaskResponse.deserializeBinary +); + + +/** + * @param {!proto.services.tasks_svc.v1.DeleteSubtaskRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.tasks_svc.v1.DeleteSubtaskResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.tasks_svc.v1.TaskServiceClient.prototype.deleteSubtask = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/DeleteSubtask', + request, + metadata || {}, + methodDescriptor_TaskService_DeleteSubtask, + callback); +}; + + +/** + * @param {!proto.services.tasks_svc.v1.DeleteSubtaskRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.tasks_svc.v1.TaskServicePromiseClient.prototype.deleteSubtask = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.tasks_svc.v1.TaskService/DeleteSubtask', + request, + metadata || {}, + methodDescriptor_TaskService_DeleteSubtask); +}; + + +module.exports = proto.services.tasks_svc.v1; + diff --git a/gen/ts/proto/services/tasks_svc/v1/task_svc_pb.d.ts b/gen/ts/services/tasks_svc/v1/task_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/tasks_svc/v1/task_svc_pb.d.ts rename to gen/ts/services/tasks_svc/v1/task_svc_pb.d.ts diff --git a/gen/ts/proto/services/tasks_svc/v1/task_svc_pb.js b/gen/ts/services/tasks_svc/v1/task_svc_pb.js similarity index 60% rename from gen/ts/proto/services/tasks_svc/v1/task_svc_pb.js rename to gen/ts/services/tasks_svc/v1/task_svc_pb.js index 9ef0007b5..1beeb8c26 100644 --- a/gen/ts/proto/services/tasks_svc/v1/task_svc_pb.js +++ b/gen/ts/services/tasks_svc/v1/task_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/tasks_svc/v1/task_svc.proto +// source: services/tasks_svc/v1/task_svc.proto /** * @fileoverview * @enhanceable @@ -23,30 +23,30 @@ var global = var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.AssignTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.AssignTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.CreateSubtaskRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.CreateSubtaskResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.CreateTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.CreateTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.TaskStatus', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UnassignTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UnassignTaskResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UpdateTaskRequest', null, global); -goog.exportSymbol('proto.proto.services.tasks_svc.v1.UpdateTaskResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.AssignTaskRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.AssignTaskResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.CompleteSubtaskRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.CompleteSubtaskResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.CreateSubtaskRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.CreateSubtaskResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.CreateTaskRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.CreateTaskResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.DeleteSubtaskRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.DeleteSubtaskResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetTaskRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetTaskResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.GetTaskResponse.Subtask', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.TaskStatus', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UnassignTaskRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UnassignTaskResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UncompleteSubtaskRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UncompleteSubtaskResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UpdateSubtaskRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UpdateSubtaskResponse', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UpdateTaskRequest', null, global); +goog.exportSymbol('proto.services.tasks_svc.v1.UpdateTaskResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -57,16 +57,16 @@ goog.exportSymbol('proto.proto.services.tasks_svc.v1.UpdateTaskResponse', null, * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest = function(opt_data) { +proto.services.tasks_svc.v1.CreateTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.CreateTaskRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.CreateTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.CreateTaskRequest.displayName = 'proto.proto.services.tasks_svc.v1.CreateTaskRequest'; + proto.services.tasks_svc.v1.CreateTaskRequest.displayName = 'proto.services.tasks_svc.v1.CreateTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -78,16 +78,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.CreateTaskResponse = function(opt_data) { +proto.services.tasks_svc.v1.CreateTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.CreateTaskResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.CreateTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.CreateTaskResponse.displayName = 'proto.proto.services.tasks_svc.v1.CreateTaskResponse'; + proto.services.tasks_svc.v1.CreateTaskResponse.displayName = 'proto.services.tasks_svc.v1.CreateTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -99,16 +99,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest = function(opt_data) { +proto.services.tasks_svc.v1.UpdateTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UpdateTaskRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UpdateTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UpdateTaskRequest.displayName = 'proto.proto.services.tasks_svc.v1.UpdateTaskRequest'; + proto.services.tasks_svc.v1.UpdateTaskRequest.displayName = 'proto.services.tasks_svc.v1.UpdateTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -120,16 +120,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UpdateTaskResponse = function(opt_data) { +proto.services.tasks_svc.v1.UpdateTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UpdateTaskResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UpdateTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UpdateTaskResponse.displayName = 'proto.proto.services.tasks_svc.v1.UpdateTaskResponse'; + proto.services.tasks_svc.v1.UpdateTaskResponse.displayName = 'proto.services.tasks_svc.v1.UpdateTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -141,16 +141,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetTaskRequest = function(opt_data) { +proto.services.tasks_svc.v1.GetTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetTaskRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetTaskRequest.displayName = 'proto.proto.services.tasks_svc.v1.GetTaskRequest'; + proto.services.tasks_svc.v1.GetTaskRequest.displayName = 'proto.services.tasks_svc.v1.GetTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -162,16 +162,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetTaskResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.tasks_svc.v1.GetTaskResponse.repeatedFields_, null); +proto.services.tasks_svc.v1.GetTaskResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.tasks_svc.v1.GetTaskResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetTaskResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetTaskResponse.displayName = 'proto.proto.services.tasks_svc.v1.GetTaskResponse'; + proto.services.tasks_svc.v1.GetTaskResponse.displayName = 'proto.services.tasks_svc.v1.GetTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -183,16 +183,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask = function(opt_data) { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.GetTaskResponse.Subtask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.displayName = 'proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask'; + proto.services.tasks_svc.v1.GetTaskResponse.Subtask.displayName = 'proto.services.tasks_svc.v1.GetTaskResponse.Subtask'; } /** * Generated by JsPbCodeGenerator. @@ -204,16 +204,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.AssignTaskRequest = function(opt_data) { +proto.services.tasks_svc.v1.AssignTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.AssignTaskRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.AssignTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.AssignTaskRequest.displayName = 'proto.proto.services.tasks_svc.v1.AssignTaskRequest'; + proto.services.tasks_svc.v1.AssignTaskRequest.displayName = 'proto.services.tasks_svc.v1.AssignTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -225,16 +225,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.AssignTaskResponse = function(opt_data) { +proto.services.tasks_svc.v1.AssignTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.AssignTaskResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.AssignTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.AssignTaskResponse.displayName = 'proto.proto.services.tasks_svc.v1.AssignTaskResponse'; + proto.services.tasks_svc.v1.AssignTaskResponse.displayName = 'proto.services.tasks_svc.v1.AssignTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -246,16 +246,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UnassignTaskRequest = function(opt_data) { +proto.services.tasks_svc.v1.UnassignTaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UnassignTaskRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UnassignTaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UnassignTaskRequest.displayName = 'proto.proto.services.tasks_svc.v1.UnassignTaskRequest'; + proto.services.tasks_svc.v1.UnassignTaskRequest.displayName = 'proto.services.tasks_svc.v1.UnassignTaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -267,16 +267,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UnassignTaskResponse = function(opt_data) { +proto.services.tasks_svc.v1.UnassignTaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UnassignTaskResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UnassignTaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UnassignTaskResponse.displayName = 'proto.proto.services.tasks_svc.v1.UnassignTaskResponse'; + proto.services.tasks_svc.v1.UnassignTaskResponse.displayName = 'proto.services.tasks_svc.v1.UnassignTaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -288,16 +288,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest = function(opt_data) { +proto.services.tasks_svc.v1.CreateSubtaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.CreateSubtaskRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.CreateSubtaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.displayName = 'proto.proto.services.tasks_svc.v1.CreateSubtaskRequest'; + proto.services.tasks_svc.v1.CreateSubtaskRequest.displayName = 'proto.services.tasks_svc.v1.CreateSubtaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -309,16 +309,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask = function(opt_data) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.displayName = 'proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask'; + proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.displayName = 'proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask'; } /** * Generated by JsPbCodeGenerator. @@ -330,16 +330,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.CreateSubtaskResponse = function(opt_data) { +proto.services.tasks_svc.v1.CreateSubtaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.CreateSubtaskResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.CreateSubtaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.displayName = 'proto.proto.services.tasks_svc.v1.CreateSubtaskResponse'; + proto.services.tasks_svc.v1.CreateSubtaskResponse.displayName = 'proto.services.tasks_svc.v1.CreateSubtaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -351,16 +351,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest = function(opt_data) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UpdateSubtaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.displayName = 'proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest'; + proto.services.tasks_svc.v1.UpdateSubtaskRequest.displayName = 'proto.services.tasks_svc.v1.UpdateSubtaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -372,16 +372,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask = function(opt_data) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.displayName = 'proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask'; + proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.displayName = 'proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask'; } /** * Generated by JsPbCodeGenerator. @@ -393,16 +393,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse = function(opt_data) { +proto.services.tasks_svc.v1.UpdateSubtaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UpdateSubtaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.displayName = 'proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse'; + proto.services.tasks_svc.v1.UpdateSubtaskResponse.displayName = 'proto.services.tasks_svc.v1.UpdateSubtaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -414,16 +414,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest = function(opt_data) { +proto.services.tasks_svc.v1.CompleteSubtaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.CompleteSubtaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.displayName = 'proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest'; + proto.services.tasks_svc.v1.CompleteSubtaskRequest.displayName = 'proto.services.tasks_svc.v1.CompleteSubtaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -435,16 +435,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse = function(opt_data) { +proto.services.tasks_svc.v1.CompleteSubtaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.CompleteSubtaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.displayName = 'proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse'; + proto.services.tasks_svc.v1.CompleteSubtaskResponse.displayName = 'proto.services.tasks_svc.v1.CompleteSubtaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -456,16 +456,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest = function(opt_data) { +proto.services.tasks_svc.v1.UncompleteSubtaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UncompleteSubtaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.displayName = 'proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest'; + proto.services.tasks_svc.v1.UncompleteSubtaskRequest.displayName = 'proto.services.tasks_svc.v1.UncompleteSubtaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -477,16 +477,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse = function(opt_data) { +proto.services.tasks_svc.v1.UncompleteSubtaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.UncompleteSubtaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.displayName = 'proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse'; + proto.services.tasks_svc.v1.UncompleteSubtaskResponse.displayName = 'proto.services.tasks_svc.v1.UncompleteSubtaskResponse'; } /** * Generated by JsPbCodeGenerator. @@ -498,16 +498,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest = function(opt_data) { +proto.services.tasks_svc.v1.DeleteSubtaskRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.DeleteSubtaskRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.displayName = 'proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest'; + proto.services.tasks_svc.v1.DeleteSubtaskRequest.displayName = 'proto.services.tasks_svc.v1.DeleteSubtaskRequest'; } /** * Generated by JsPbCodeGenerator. @@ -519,16 +519,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse = function(opt_data) { +proto.services.tasks_svc.v1.DeleteSubtaskResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse, jspb.Message); +goog.inherits(proto.services.tasks_svc.v1.DeleteSubtaskResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.displayName = 'proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse'; + proto.services.tasks_svc.v1.DeleteSubtaskResponse.displayName = 'proto.services.tasks_svc.v1.DeleteSubtaskResponse'; } @@ -546,8 +546,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.CreateTaskRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.CreateTaskRequest.toObject(opt_includeInstance, this); }; @@ -556,11 +556,11 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.CreateTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.CreateTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), description: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -581,23 +581,23 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.CreateTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.CreateTaskRequest; - return proto.proto.services.tasks_svc.v1.CreateTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.CreateTaskRequest; + return proto.services.tasks_svc.v1.CreateTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.CreateTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.CreateTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -626,7 +626,7 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.deserializeBinaryFromReader msg.setDueAt(value); break; case 6: - var value = /** @type {!proto.proto.services.tasks_svc.v1.TaskStatus} */ (reader.readEnum()); + var value = /** @type {!proto.services.tasks_svc.v1.TaskStatus} */ (reader.readEnum()); msg.setInitialStatus(value); break; default: @@ -642,9 +642,9 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.CreateTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.CreateTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -652,11 +652,11 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} message + * @param {!proto.services.tasks_svc.v1.CreateTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.CreateTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -694,7 +694,7 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.serializeBinaryToWriter = fu google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter ); } - f = /** @type {!proto.proto.services.tasks_svc.v1.TaskStatus} */ (jspb.Message.getField(message, 6)); + f = /** @type {!proto.services.tasks_svc.v1.TaskStatus} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeEnum( 6, @@ -708,16 +708,16 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.serializeBinaryToWriter = fu * optional string name = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getName = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setName = function(value) { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -726,25 +726,25 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setName = function * optional string description = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getDescription = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setDescription = function(value) { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setDescription = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearDescription = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearDescription = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -753,7 +753,7 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearDescription = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.hasDescription = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.hasDescription = function() { return jspb.Message.getField(this, 2) != null; }; @@ -762,16 +762,16 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.hasDescription = f * optional string patient_id = 3; * @return {string} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getPatientId = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getPatientId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setPatientId = function(value) { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setPatientId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -780,25 +780,25 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setPatientId = fun * optional bool public = 4; * @return {boolean} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getPublic = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getPublic = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setPublic = function(value) { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setPublic = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearPublic = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearPublic = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -807,7 +807,7 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearPublic = func * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.hasPublic = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.hasPublic = function() { return jspb.Message.getField(this, 4) != null; }; @@ -816,7 +816,7 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.hasPublic = functi * optional google.protobuf.Timestamp due_at = 5; * @return {?proto.google.protobuf.Timestamp} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getDueAt = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getDueAt = function() { return /** @type{?proto.google.protobuf.Timestamp} */ ( jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); }; @@ -824,18 +824,18 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getDueAt = functio /** * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setDueAt = function(value) { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setDueAt = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearDueAt = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearDueAt = function() { return this.setDueAt(undefined); }; @@ -844,34 +844,34 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearDueAt = funct * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.hasDueAt = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.hasDueAt = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional TaskStatus initial_status = 6; - * @return {!proto.proto.services.tasks_svc.v1.TaskStatus} + * @return {!proto.services.tasks_svc.v1.TaskStatus} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getInitialStatus = function() { - return /** @type {!proto.proto.services.tasks_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.getInitialStatus = function() { + return /** @type {!proto.services.tasks_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** - * @param {!proto.proto.services.tasks_svc.v1.TaskStatus} value - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} returns this + * @param {!proto.services.tasks_svc.v1.TaskStatus} value + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setInitialStatus = function(value) { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.setInitialStatus = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearInitialStatus = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearInitialStatus = function() { return jspb.Message.setField(this, 6, undefined); }; @@ -880,7 +880,7 @@ proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.clearInitialStatus * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.CreateTaskRequest.prototype.hasInitialStatus = function() { +proto.services.tasks_svc.v1.CreateTaskRequest.prototype.hasInitialStatus = function() { return jspb.Message.getField(this, 6) != null; }; @@ -901,8 +901,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.CreateTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.CreateTaskResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.CreateTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.CreateTaskResponse.toObject(opt_includeInstance, this); }; @@ -911,11 +911,11 @@ proto.proto.services.tasks_svc.v1.CreateTaskResponse.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.CreateTaskResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.CreateTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreateTaskResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.CreateTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -931,23 +931,23 @@ proto.proto.services.tasks_svc.v1.CreateTaskResponse.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskResponse} + * @return {!proto.services.tasks_svc.v1.CreateTaskResponse} */ -proto.proto.services.tasks_svc.v1.CreateTaskResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.CreateTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.CreateTaskResponse; - return proto.proto.services.tasks_svc.v1.CreateTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.CreateTaskResponse; + return proto.services.tasks_svc.v1.CreateTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.CreateTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.CreateTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskResponse} + * @return {!proto.services.tasks_svc.v1.CreateTaskResponse} */ -proto.proto.services.tasks_svc.v1.CreateTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.CreateTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -971,9 +971,9 @@ proto.proto.services.tasks_svc.v1.CreateTaskResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.CreateTaskResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.CreateTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.CreateTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.CreateTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -981,11 +981,11 @@ proto.proto.services.tasks_svc.v1.CreateTaskResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.CreateTaskResponse} message + * @param {!proto.services.tasks_svc.v1.CreateTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreateTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.CreateTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1001,16 +1001,16 @@ proto.proto.services.tasks_svc.v1.CreateTaskResponse.serializeBinaryToWriter = f * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.CreateTaskResponse.prototype.getId = function() { +proto.services.tasks_svc.v1.CreateTaskResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CreateTaskResponse} returns this + * @return {!proto.services.tasks_svc.v1.CreateTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.CreateTaskResponse.prototype.setId = function(value) { +proto.services.tasks_svc.v1.CreateTaskResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1031,8 +1031,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UpdateTaskRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UpdateTaskRequest.toObject(opt_includeInstance, this); }; @@ -1041,11 +1041,11 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UpdateTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UpdateTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1064,23 +1064,23 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} + * @return {!proto.services.tasks_svc.v1.UpdateTaskRequest} */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UpdateTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UpdateTaskRequest; - return proto.proto.services.tasks_svc.v1.UpdateTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UpdateTaskRequest; + return proto.services.tasks_svc.v1.UpdateTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UpdateTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} + * @return {!proto.services.tasks_svc.v1.UpdateTaskRequest} */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UpdateTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1117,9 +1117,9 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UpdateTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UpdateTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1127,11 +1127,11 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} message + * @param {!proto.services.tasks_svc.v1.UpdateTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UpdateTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1169,16 +1169,16 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.serializeBinaryToWriter = fu * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.getId = function() { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.setId = function(value) { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1187,25 +1187,25 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.setId = function(v * optional string name = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.getName = function() { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.setName = function(value) { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.setName = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.clearName = function() { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.clearName = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -1214,7 +1214,7 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.clearName = functi * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.hasName = function() { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.hasName = function() { return jspb.Message.getField(this, 2) != null; }; @@ -1223,25 +1223,25 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.hasName = function * optional string description = 3; * @return {string} */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.getDescription = function() { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.setDescription = function(value) { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.setDescription = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.clearDescription = function() { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.clearDescription = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -1250,7 +1250,7 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.clearDescription = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.hasDescription = function() { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.hasDescription = function() { return jspb.Message.getField(this, 3) != null; }; @@ -1259,7 +1259,7 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.hasDescription = f * optional google.protobuf.Timestamp due_at = 4; * @return {?proto.google.protobuf.Timestamp} */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.getDueAt = function() { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.getDueAt = function() { return /** @type{?proto.google.protobuf.Timestamp} */ ( jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)); }; @@ -1267,18 +1267,18 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.getDueAt = functio /** * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.setDueAt = function(value) { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.setDueAt = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.UpdateTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdateTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.clearDueAt = function() { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.clearDueAt = function() { return this.setDueAt(undefined); }; @@ -1287,7 +1287,7 @@ proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.clearDueAt = funct * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.hasDueAt = function() { +proto.services.tasks_svc.v1.UpdateTaskRequest.prototype.hasDueAt = function() { return jspb.Message.getField(this, 4) != null; }; @@ -1308,8 +1308,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UpdateTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UpdateTaskResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UpdateTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UpdateTaskResponse.toObject(opt_includeInstance, this); }; @@ -1318,11 +1318,11 @@ proto.proto.services.tasks_svc.v1.UpdateTaskResponse.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UpdateTaskResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UpdateTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdateTaskResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UpdateTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -1338,23 +1338,23 @@ proto.proto.services.tasks_svc.v1.UpdateTaskResponse.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UpdateTaskResponse} + * @return {!proto.services.tasks_svc.v1.UpdateTaskResponse} */ -proto.proto.services.tasks_svc.v1.UpdateTaskResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UpdateTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UpdateTaskResponse; - return proto.proto.services.tasks_svc.v1.UpdateTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UpdateTaskResponse; + return proto.services.tasks_svc.v1.UpdateTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UpdateTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UpdateTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UpdateTaskResponse} + * @return {!proto.services.tasks_svc.v1.UpdateTaskResponse} */ -proto.proto.services.tasks_svc.v1.UpdateTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UpdateTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1374,9 +1374,9 @@ proto.proto.services.tasks_svc.v1.UpdateTaskResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UpdateTaskResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UpdateTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UpdateTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UpdateTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1384,11 +1384,11 @@ proto.proto.services.tasks_svc.v1.UpdateTaskResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UpdateTaskResponse} message + * @param {!proto.services.tasks_svc.v1.UpdateTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdateTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UpdateTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -1409,8 +1409,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetTaskRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetTaskRequest.toObject(opt_includeInstance, this); }; @@ -1419,11 +1419,11 @@ proto.proto.services.tasks_svc.v1.GetTaskRequest.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetTaskRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetTaskRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1439,23 +1439,23 @@ proto.proto.services.tasks_svc.v1.GetTaskRequest.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetTaskRequest} + * @return {!proto.services.tasks_svc.v1.GetTaskRequest} */ -proto.proto.services.tasks_svc.v1.GetTaskRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetTaskRequest; - return proto.proto.services.tasks_svc.v1.GetTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetTaskRequest; + return proto.services.tasks_svc.v1.GetTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetTaskRequest} + * @return {!proto.services.tasks_svc.v1.GetTaskRequest} */ -proto.proto.services.tasks_svc.v1.GetTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1479,9 +1479,9 @@ proto.proto.services.tasks_svc.v1.GetTaskRequest.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetTaskRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1489,11 +1489,11 @@ proto.proto.services.tasks_svc.v1.GetTaskRequest.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetTaskRequest} message + * @param {!proto.services.tasks_svc.v1.GetTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1509,16 +1509,16 @@ proto.proto.services.tasks_svc.v1.GetTaskRequest.serializeBinaryToWriter = funct * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetTaskRequest.prototype.getId = function() { +proto.services.tasks_svc.v1.GetTaskRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskRequest.prototype.setId = function(value) { +proto.services.tasks_svc.v1.GetTaskRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1529,7 +1529,7 @@ proto.proto.services.tasks_svc.v1.GetTaskRequest.prototype.setId = function(valu * @private {!Array} * @const */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.repeatedFields_ = [4,5]; +proto.services.tasks_svc.v1.GetTaskResponse.repeatedFields_ = [4,5]; @@ -1546,8 +1546,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetTaskResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetTaskResponse.toObject(opt_includeInstance, this); }; @@ -1556,18 +1556,18 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetTaskResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), description: jspb.Message.getFieldWithDefault(msg, 3, ""), assignedUsersList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, subtasksList: jspb.Message.toObjectList(msg.getSubtasksList(), - proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.toObject, includeInstance), + proto.services.tasks_svc.v1.GetTaskResponse.Subtask.toObject, includeInstance), status: jspb.Message.getFieldWithDefault(msg, 6, 0), createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; @@ -1583,23 +1583,23 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetTaskResponse; - return proto.proto.services.tasks_svc.v1.GetTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetTaskResponse; + return proto.services.tasks_svc.v1.GetTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1623,12 +1623,12 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.deserializeBinaryFromReader = msg.addAssignedUsers(value); break; case 5: - var value = new proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask; - reader.readMessage(value,proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.deserializeBinaryFromReader); + var value = new proto.services.tasks_svc.v1.GetTaskResponse.Subtask; + reader.readMessage(value,proto.services.tasks_svc.v1.GetTaskResponse.Subtask.deserializeBinaryFromReader); msg.addSubtasks(value); break; case 6: - var value = /** @type {!proto.proto.services.tasks_svc.v1.TaskStatus} */ (reader.readEnum()); + var value = /** @type {!proto.services.tasks_svc.v1.TaskStatus} */ (reader.readEnum()); msg.setStatus(value); break; case 7: @@ -1649,9 +1649,9 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1659,11 +1659,11 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetTaskResponse} message + * @param {!proto.services.tasks_svc.v1.GetTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1698,7 +1698,7 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.serializeBinaryToWriter = func writer.writeRepeatedMessage( 5, f, - proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.serializeBinaryToWriter + proto.services.tasks_svc.v1.GetTaskResponse.Subtask.serializeBinaryToWriter ); } f = message.getStatus(); @@ -1735,8 +1735,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.GetTaskResponse.Subtask.toObject(opt_includeInstance, this); }; @@ -1745,11 +1745,11 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.GetTaskResponse.Subtask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1767,23 +1767,23 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask} + * @return {!proto.services.tasks_svc.v1.GetTaskResponse.Subtask} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask; - return proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.GetTaskResponse.Subtask; + return proto.services.tasks_svc.v1.GetTaskResponse.Subtask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.GetTaskResponse.Subtask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask} + * @return {!proto.services.tasks_svc.v1.GetTaskResponse.Subtask} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1815,9 +1815,9 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.GetTaskResponse.Subtask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1825,11 +1825,11 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask} message + * @param {!proto.services.tasks_svc.v1.GetTaskResponse.Subtask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1859,16 +1859,16 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.serializeBinaryToWrite * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.getId = function() { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse.Subtask} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.setId = function(value) { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1877,16 +1877,16 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.setId = func * optional string name = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.getName = function() { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse.Subtask} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.setName = function(value) { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1895,16 +1895,16 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.setName = fu * optional bool done = 3; * @return {boolean} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.getDone = function() { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.getDone = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse.Subtask} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.setDone = function(value) { +proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.setDone = function(value) { return jspb.Message.setProto3BooleanField(this, 3, value); }; @@ -1913,16 +1913,16 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask.prototype.setDone = fu * optional string id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.getId = function() { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setId = function(value) { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1931,16 +1931,16 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setId = function(val * optional string name = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.getName = function() { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setName = function(value) { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1949,16 +1949,16 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setName = function(v * optional string description = 3; * @return {string} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.getDescription = function() { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.getDescription = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setDescription = function(value) { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.setDescription = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1967,16 +1967,16 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setDescription = fun * repeated string assigned_users = 4; * @return {!Array} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.getAssignedUsersList = function() { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.getAssignedUsersList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); }; /** * @param {!Array} value - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setAssignedUsersList = function(value) { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.setAssignedUsersList = function(value) { return jspb.Message.setField(this, 4, value || []); }; @@ -1984,74 +1984,74 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setAssignedUsersList /** * @param {string} value * @param {number=} opt_index - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.addAssignedUsers = function(value, opt_index) { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.addAssignedUsers = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 4, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.clearAssignedUsersList = function() { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.clearAssignedUsersList = function() { return this.setAssignedUsersList([]); }; /** * repeated Subtask subtasks = 5; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.getSubtasksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask, 5)); +proto.services.tasks_svc.v1.GetTaskResponse.prototype.getSubtasksList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.tasks_svc.v1.GetTaskResponse.Subtask, 5)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} returns this + * @param {!Array} value + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setSubtasksList = function(value) { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.setSubtasksList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 5, value); }; /** - * @param {!proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask=} opt_value + * @param {!proto.services.tasks_svc.v1.GetTaskResponse.Subtask=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask} + * @return {!proto.services.tasks_svc.v1.GetTaskResponse.Subtask} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.addSubtasks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.proto.services.tasks_svc.v1.GetTaskResponse.Subtask, opt_index); +proto.services.tasks_svc.v1.GetTaskResponse.prototype.addSubtasks = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.services.tasks_svc.v1.GetTaskResponse.Subtask, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.clearSubtasksList = function() { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.clearSubtasksList = function() { return this.setSubtasksList([]); }; /** * optional TaskStatus status = 6; - * @return {!proto.proto.services.tasks_svc.v1.TaskStatus} + * @return {!proto.services.tasks_svc.v1.TaskStatus} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.getStatus = function() { - return /** @type {!proto.proto.services.tasks_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +proto.services.tasks_svc.v1.GetTaskResponse.prototype.getStatus = function() { + return /** @type {!proto.services.tasks_svc.v1.TaskStatus} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** - * @param {!proto.proto.services.tasks_svc.v1.TaskStatus} value - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} returns this + * @param {!proto.services.tasks_svc.v1.TaskStatus} value + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setStatus = function(value) { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.setStatus = function(value) { return jspb.Message.setProto3EnumField(this, 6, value); }; @@ -2060,7 +2060,7 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setStatus = function * optional google.protobuf.Timestamp created_at = 7; * @return {?proto.google.protobuf.Timestamp} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.getCreatedAt = function() { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.getCreatedAt = function() { return /** @type{?proto.google.protobuf.Timestamp} */ ( jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7)); }; @@ -2068,18 +2068,18 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.getCreatedAt = funct /** * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.setCreatedAt = function(value) { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.setCreatedAt = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.GetTaskResponse} returns this + * @return {!proto.services.tasks_svc.v1.GetTaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.clearCreatedAt = function() { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.clearCreatedAt = function() { return this.setCreatedAt(undefined); }; @@ -2088,7 +2088,7 @@ proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.clearCreatedAt = fun * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.GetTaskResponse.prototype.hasCreatedAt = function() { +proto.services.tasks_svc.v1.GetTaskResponse.prototype.hasCreatedAt = function() { return jspb.Message.getField(this, 7) != null; }; @@ -2109,8 +2109,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.AssignTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.AssignTaskRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.AssignTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.AssignTaskRequest.toObject(opt_includeInstance, this); }; @@ -2119,11 +2119,11 @@ proto.proto.services.tasks_svc.v1.AssignTaskRequest.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.AssignTaskRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.AssignTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.AssignTaskRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.AssignTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { taskId: jspb.Message.getFieldWithDefault(msg, 1, ""), userId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2140,23 +2140,23 @@ proto.proto.services.tasks_svc.v1.AssignTaskRequest.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.AssignTaskRequest} + * @return {!proto.services.tasks_svc.v1.AssignTaskRequest} */ -proto.proto.services.tasks_svc.v1.AssignTaskRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.AssignTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.AssignTaskRequest; - return proto.proto.services.tasks_svc.v1.AssignTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.AssignTaskRequest; + return proto.services.tasks_svc.v1.AssignTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.AssignTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.AssignTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.AssignTaskRequest} + * @return {!proto.services.tasks_svc.v1.AssignTaskRequest} */ -proto.proto.services.tasks_svc.v1.AssignTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.AssignTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2184,9 +2184,9 @@ proto.proto.services.tasks_svc.v1.AssignTaskRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.AssignTaskRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.AssignTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.AssignTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.AssignTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2194,11 +2194,11 @@ proto.proto.services.tasks_svc.v1.AssignTaskRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.AssignTaskRequest} message + * @param {!proto.services.tasks_svc.v1.AssignTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.AssignTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.AssignTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTaskId(); if (f.length > 0) { @@ -2221,16 +2221,16 @@ proto.proto.services.tasks_svc.v1.AssignTaskRequest.serializeBinaryToWriter = fu * optional string task_id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.AssignTaskRequest.prototype.getTaskId = function() { +proto.services.tasks_svc.v1.AssignTaskRequest.prototype.getTaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.AssignTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.AssignTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.AssignTaskRequest.prototype.setTaskId = function(value) { +proto.services.tasks_svc.v1.AssignTaskRequest.prototype.setTaskId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2239,16 +2239,16 @@ proto.proto.services.tasks_svc.v1.AssignTaskRequest.prototype.setTaskId = functi * optional string user_id = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.AssignTaskRequest.prototype.getUserId = function() { +proto.services.tasks_svc.v1.AssignTaskRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.AssignTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.AssignTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.AssignTaskRequest.prototype.setUserId = function(value) { +proto.services.tasks_svc.v1.AssignTaskRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2269,8 +2269,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.AssignTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.AssignTaskResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.AssignTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.AssignTaskResponse.toObject(opt_includeInstance, this); }; @@ -2279,11 +2279,11 @@ proto.proto.services.tasks_svc.v1.AssignTaskResponse.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.AssignTaskResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.AssignTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.AssignTaskResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.AssignTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2299,23 +2299,23 @@ proto.proto.services.tasks_svc.v1.AssignTaskResponse.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.AssignTaskResponse} + * @return {!proto.services.tasks_svc.v1.AssignTaskResponse} */ -proto.proto.services.tasks_svc.v1.AssignTaskResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.AssignTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.AssignTaskResponse; - return proto.proto.services.tasks_svc.v1.AssignTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.AssignTaskResponse; + return proto.services.tasks_svc.v1.AssignTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.AssignTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.AssignTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.AssignTaskResponse} + * @return {!proto.services.tasks_svc.v1.AssignTaskResponse} */ -proto.proto.services.tasks_svc.v1.AssignTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.AssignTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2335,9 +2335,9 @@ proto.proto.services.tasks_svc.v1.AssignTaskResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.AssignTaskResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.AssignTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.AssignTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.AssignTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2345,11 +2345,11 @@ proto.proto.services.tasks_svc.v1.AssignTaskResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.AssignTaskResponse} message + * @param {!proto.services.tasks_svc.v1.AssignTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.AssignTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.AssignTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2370,8 +2370,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UnassignTaskRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UnassignTaskRequest.toObject(opt_includeInstance, this); }; @@ -2380,11 +2380,11 @@ proto.proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UnassignTaskRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UnassignTaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UnassignTaskRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UnassignTaskRequest.toObject = function(includeInstance, msg) { var f, obj = { taskId: jspb.Message.getFieldWithDefault(msg, 1, ""), userId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -2401,23 +2401,23 @@ proto.proto.services.tasks_svc.v1.UnassignTaskRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UnassignTaskRequest} + * @return {!proto.services.tasks_svc.v1.UnassignTaskRequest} */ -proto.proto.services.tasks_svc.v1.UnassignTaskRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UnassignTaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UnassignTaskRequest; - return proto.proto.services.tasks_svc.v1.UnassignTaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UnassignTaskRequest; + return proto.services.tasks_svc.v1.UnassignTaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UnassignTaskRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UnassignTaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UnassignTaskRequest} + * @return {!proto.services.tasks_svc.v1.UnassignTaskRequest} */ -proto.proto.services.tasks_svc.v1.UnassignTaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UnassignTaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2445,9 +2445,9 @@ proto.proto.services.tasks_svc.v1.UnassignTaskRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UnassignTaskRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UnassignTaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2455,11 +2455,11 @@ proto.proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UnassignTaskRequest} message + * @param {!proto.services.tasks_svc.v1.UnassignTaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UnassignTaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UnassignTaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTaskId(); if (f.length > 0) { @@ -2482,16 +2482,16 @@ proto.proto.services.tasks_svc.v1.UnassignTaskRequest.serializeBinaryToWriter = * optional string task_id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.getTaskId = function() { +proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.getTaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UnassignTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UnassignTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.setTaskId = function(value) { +proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.setTaskId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2500,16 +2500,16 @@ proto.proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.setTaskId = func * optional string user_id = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.getUserId = function() { +proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UnassignTaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UnassignTaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.setUserId = function(value) { +proto.services.tasks_svc.v1.UnassignTaskRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2530,8 +2530,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UnassignTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UnassignTaskResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UnassignTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UnassignTaskResponse.toObject(opt_includeInstance, this); }; @@ -2540,11 +2540,11 @@ proto.proto.services.tasks_svc.v1.UnassignTaskResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UnassignTaskResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UnassignTaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UnassignTaskResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UnassignTaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -2560,23 +2560,23 @@ proto.proto.services.tasks_svc.v1.UnassignTaskResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UnassignTaskResponse} + * @return {!proto.services.tasks_svc.v1.UnassignTaskResponse} */ -proto.proto.services.tasks_svc.v1.UnassignTaskResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UnassignTaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UnassignTaskResponse; - return proto.proto.services.tasks_svc.v1.UnassignTaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UnassignTaskResponse; + return proto.services.tasks_svc.v1.UnassignTaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UnassignTaskResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UnassignTaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UnassignTaskResponse} + * @return {!proto.services.tasks_svc.v1.UnassignTaskResponse} */ -proto.proto.services.tasks_svc.v1.UnassignTaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UnassignTaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2596,9 +2596,9 @@ proto.proto.services.tasks_svc.v1.UnassignTaskResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UnassignTaskResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UnassignTaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UnassignTaskResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UnassignTaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2606,11 +2606,11 @@ proto.proto.services.tasks_svc.v1.UnassignTaskResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UnassignTaskResponse} message + * @param {!proto.services.tasks_svc.v1.UnassignTaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UnassignTaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UnassignTaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -2631,8 +2631,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.CreateSubtaskRequest.toObject(opt_includeInstance, this); }; @@ -2641,14 +2641,14 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.CreateSubtaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.toObject = function(includeInstance, msg) { var f, obj = { taskId: jspb.Message.getFieldWithDefault(msg, 1, ""), - subtask: (f = msg.getSubtask()) && proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.toObject(includeInstance, f) + subtask: (f = msg.getSubtask()) && proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.toObject(includeInstance, f) }; if (includeInstance) { @@ -2662,23 +2662,23 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest} + * @return {!proto.services.tasks_svc.v1.CreateSubtaskRequest} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.CreateSubtaskRequest; - return proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.CreateSubtaskRequest; + return proto.services.tasks_svc.v1.CreateSubtaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.CreateSubtaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest} + * @return {!proto.services.tasks_svc.v1.CreateSubtaskRequest} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2690,8 +2690,8 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.deserializeBinaryFromRead msg.setTaskId(value); break; case 2: - var value = new proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask; - reader.readMessage(value,proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.deserializeBinaryFromReader); + var value = new proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask; + reader.readMessage(value,proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.deserializeBinaryFromReader); msg.setSubtask(value); break; default: @@ -2707,9 +2707,9 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.CreateSubtaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2717,11 +2717,11 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest} message + * @param {!proto.services.tasks_svc.v1.CreateSubtaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTaskId(); if (f.length > 0) { @@ -2735,7 +2735,7 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.serializeBinaryToWriter = writer.writeMessage( 2, f, - proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.serializeBinaryToWriter + proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.serializeBinaryToWriter ); } }; @@ -2757,8 +2757,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.toObject(opt_includeInstance, this); }; @@ -2767,11 +2767,11 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.prototype.toObjec * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2787,23 +2787,23 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.toObject = functi /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} + * @return {!proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask; - return proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask; + return proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} + * @return {!proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2827,9 +2827,9 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.deserializeBinary * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2837,11 +2837,11 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.prototype.seriali /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} message + * @param {!proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { @@ -2857,16 +2857,16 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.serializeBinaryTo * optional string name = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.prototype.getName = function() { +proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} returns this + * @return {!proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} returns this */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.prototype.setName = function(value) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2875,44 +2875,44 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask.prototype.setName * optional string task_id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.getTaskId = function() { +proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.getTaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreateSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.setTaskId = function(value) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.setTaskId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional Subtask subtask = 2; - * @return {?proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} + * @return {?proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.getSubtask = function() { - return /** @type{?proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask, 2)); +proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.getSubtask = function() { + return /** @type{?proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask} */ ( + jspb.Message.getWrapperField(this, proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask, 2)); }; /** - * @param {?proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask|undefined} value - * @return {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest} returns this + * @param {?proto.services.tasks_svc.v1.CreateSubtaskRequest.Subtask|undefined} value + * @return {!proto.services.tasks_svc.v1.CreateSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.setSubtask = function(value) { +proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.setSubtask = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.CreateSubtaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CreateSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.clearSubtask = function() { +proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.clearSubtask = function() { return this.setSubtask(undefined); }; @@ -2921,7 +2921,7 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.clearSubtask = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.hasSubtask = function() { +proto.services.tasks_svc.v1.CreateSubtaskRequest.prototype.hasSubtask = function() { return jspb.Message.getField(this, 2) != null; }; @@ -2942,8 +2942,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.CreateSubtaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.CreateSubtaskResponse.toObject(opt_includeInstance, this); }; @@ -2952,11 +2952,11 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.CreateSubtaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.CreateSubtaskResponse.toObject = function(includeInstance, msg) { var f, obj = { subtaskId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2972,23 +2972,23 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.CreateSubtaskResponse} + * @return {!proto.services.tasks_svc.v1.CreateSubtaskResponse} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.CreateSubtaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.CreateSubtaskResponse; - return proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.CreateSubtaskResponse; + return proto.services.tasks_svc.v1.CreateSubtaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.CreateSubtaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.CreateSubtaskResponse} + * @return {!proto.services.tasks_svc.v1.CreateSubtaskResponse} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.CreateSubtaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3012,9 +3012,9 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.CreateSubtaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.CreateSubtaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3022,11 +3022,11 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.CreateSubtaskResponse} message + * @param {!proto.services.tasks_svc.v1.CreateSubtaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.CreateSubtaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSubtaskId(); if (f.length > 0) { @@ -3042,16 +3042,16 @@ proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.serializeBinaryToWriter * optional string subtask_id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.prototype.getSubtaskId = function() { +proto.services.tasks_svc.v1.CreateSubtaskResponse.prototype.getSubtaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CreateSubtaskResponse} returns this + * @return {!proto.services.tasks_svc.v1.CreateSubtaskResponse} returns this */ -proto.proto.services.tasks_svc.v1.CreateSubtaskResponse.prototype.setSubtaskId = function(value) { +proto.services.tasks_svc.v1.CreateSubtaskResponse.prototype.setSubtaskId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3072,8 +3072,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UpdateSubtaskRequest.toObject(opt_includeInstance, this); }; @@ -3082,15 +3082,15 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.toObject = function(includeInstance, msg) { var f, obj = { taskId: jspb.Message.getFieldWithDefault(msg, 1, ""), subtaskId: jspb.Message.getFieldWithDefault(msg, 2, ""), - subtask: (f = msg.getSubtask()) && proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.toObject(includeInstance, f) + subtask: (f = msg.getSubtask()) && proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.toObject(includeInstance, f) }; if (includeInstance) { @@ -3104,23 +3104,23 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest; - return proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UpdateSubtaskRequest; + return proto.services.tasks_svc.v1.UpdateSubtaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3136,8 +3136,8 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.deserializeBinaryFromRead msg.setSubtaskId(value); break; case 3: - var value = new proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask; - reader.readMessage(value,proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.deserializeBinaryFromReader); + var value = new proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask; + reader.readMessage(value,proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.deserializeBinaryFromReader); msg.setSubtask(value); break; default: @@ -3153,9 +3153,9 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UpdateSubtaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3163,11 +3163,11 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} message + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTaskId(); if (f.length > 0) { @@ -3188,7 +3188,7 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.serializeBinaryToWriter = writer.writeMessage( 3, f, - proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.serializeBinaryToWriter + proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.serializeBinaryToWriter ); } }; @@ -3210,8 +3210,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.toObject(opt_includeInstance, this); }; @@ -3220,11 +3220,11 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.toObjec * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -3240,23 +3240,23 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.toObject = functi /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask; - return proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask; + return proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3280,9 +3280,9 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.deserializeBinary * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3290,11 +3290,11 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.seriali /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} message + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { @@ -3310,25 +3310,25 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.serializeBinaryTo * optional string name = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.getName = function() { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} returns this + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} returns this */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.setName = function(value) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.setName = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} returns this + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} returns this */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.clearName = function() { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.clearName = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -3337,7 +3337,7 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.clearNa * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.hasName = function() { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.hasName = function() { return jspb.Message.getField(this, 1) != null; }; @@ -3346,16 +3346,16 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask.prototype.hasName * optional string task_id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.getTaskId = function() { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.getTaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.setTaskId = function(value) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.setTaskId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3364,44 +3364,44 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.setTaskId = fun * optional string subtask_id = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.getSubtaskId = function() { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.getSubtaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.setSubtaskId = function(value) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.setSubtaskId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional Subtask subtask = 3; - * @return {?proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} + * @return {?proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.getSubtask = function() { - return /** @type{?proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask, 3)); +proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.getSubtask = function() { + return /** @type{?proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask} */ ( + jspb.Message.getWrapperField(this, proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask, 3)); }; /** - * @param {?proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask|undefined} value - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} returns this + * @param {?proto.services.tasks_svc.v1.UpdateSubtaskRequest.Subtask|undefined} value + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.setSubtask = function(value) { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.setSubtask = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.clearSubtask = function() { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.clearSubtask = function() { return this.setSubtask(undefined); }; @@ -3410,7 +3410,7 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.clearSubtask = * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.hasSubtask = function() { +proto.services.tasks_svc.v1.UpdateSubtaskRequest.prototype.hasSubtask = function() { return jspb.Message.getField(this, 3) != null; }; @@ -3431,8 +3431,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UpdateSubtaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UpdateSubtaskResponse.toObject(opt_includeInstance, this); }; @@ -3441,11 +3441,11 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UpdateSubtaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3461,23 +3461,23 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse} + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskResponse} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UpdateSubtaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse; - return proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UpdateSubtaskResponse; + return proto.services.tasks_svc.v1.UpdateSubtaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse} + * @return {!proto.services.tasks_svc.v1.UpdateSubtaskResponse} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UpdateSubtaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3497,9 +3497,9 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UpdateSubtaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UpdateSubtaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3507,11 +3507,11 @@ proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse} message + * @param {!proto.services.tasks_svc.v1.UpdateSubtaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UpdateSubtaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UpdateSubtaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -3532,8 +3532,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.CompleteSubtaskRequest.toObject(opt_includeInstance, this); }; @@ -3542,11 +3542,11 @@ proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.CompleteSubtaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.CompleteSubtaskRequest.toObject = function(includeInstance, msg) { var f, obj = { taskId: jspb.Message.getFieldWithDefault(msg, 1, ""), subtaskId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -3563,23 +3563,23 @@ proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest} + * @return {!proto.services.tasks_svc.v1.CompleteSubtaskRequest} */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.CompleteSubtaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest; - return proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.CompleteSubtaskRequest; + return proto.services.tasks_svc.v1.CompleteSubtaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.CompleteSubtaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest} + * @return {!proto.services.tasks_svc.v1.CompleteSubtaskRequest} */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.CompleteSubtaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3607,9 +3607,9 @@ proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.CompleteSubtaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3617,11 +3617,11 @@ proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest} message + * @param {!proto.services.tasks_svc.v1.CompleteSubtaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.CompleteSubtaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTaskId(); if (f.length > 0) { @@ -3644,16 +3644,16 @@ proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.serializeBinaryToWriter * optional string task_id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.getTaskId = function() { +proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.getTaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CompleteSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.setTaskId = function(value) { +proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.setTaskId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3662,16 +3662,16 @@ proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.setTaskId = f * optional string subtask_id = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.getSubtaskId = function() { +proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.getSubtaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.CompleteSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.setSubtaskId = function(value) { +proto.services.tasks_svc.v1.CompleteSubtaskRequest.prototype.setSubtaskId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3692,8 +3692,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.CompleteSubtaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.CompleteSubtaskResponse.toObject(opt_includeInstance, this); }; @@ -3702,11 +3702,11 @@ proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.CompleteSubtaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.CompleteSubtaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3722,23 +3722,23 @@ proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse} + * @return {!proto.services.tasks_svc.v1.CompleteSubtaskResponse} */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.CompleteSubtaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse; - return proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.CompleteSubtaskResponse; + return proto.services.tasks_svc.v1.CompleteSubtaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.CompleteSubtaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse} + * @return {!proto.services.tasks_svc.v1.CompleteSubtaskResponse} */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.CompleteSubtaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3758,9 +3758,9 @@ proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.CompleteSubtaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.CompleteSubtaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3768,11 +3768,11 @@ proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse} message + * @param {!proto.services.tasks_svc.v1.CompleteSubtaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.CompleteSubtaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.CompleteSubtaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -3793,8 +3793,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UncompleteSubtaskRequest.toObject(opt_includeInstance, this); }; @@ -3803,11 +3803,11 @@ proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UncompleteSubtaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UncompleteSubtaskRequest.toObject = function(includeInstance, msg) { var f, obj = { taskId: jspb.Message.getFieldWithDefault(msg, 1, ""), subtaskId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -3824,23 +3824,23 @@ proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest} + * @return {!proto.services.tasks_svc.v1.UncompleteSubtaskRequest} */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UncompleteSubtaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest; - return proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UncompleteSubtaskRequest; + return proto.services.tasks_svc.v1.UncompleteSubtaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UncompleteSubtaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest} + * @return {!proto.services.tasks_svc.v1.UncompleteSubtaskRequest} */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UncompleteSubtaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3868,9 +3868,9 @@ proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UncompleteSubtaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3878,11 +3878,11 @@ proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest} message + * @param {!proto.services.tasks_svc.v1.UncompleteSubtaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UncompleteSubtaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTaskId(); if (f.length > 0) { @@ -3905,16 +3905,16 @@ proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.serializeBinaryToWrit * optional string task_id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.getTaskId = function() { +proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.getTaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UncompleteSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.setTaskId = function(value) { +proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.setTaskId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3923,16 +3923,16 @@ proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.setTaskId = * optional string subtask_id = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.getSubtaskId = function() { +proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.getSubtaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.UncompleteSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.setSubtaskId = function(value) { +proto.services.tasks_svc.v1.UncompleteSubtaskRequest.prototype.setSubtaskId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3953,8 +3953,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.UncompleteSubtaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.UncompleteSubtaskResponse.toObject(opt_includeInstance, this); }; @@ -3963,11 +3963,11 @@ proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.UncompleteSubtaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.UncompleteSubtaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3983,23 +3983,23 @@ proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse} + * @return {!proto.services.tasks_svc.v1.UncompleteSubtaskResponse} */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.UncompleteSubtaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse; - return proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.UncompleteSubtaskResponse; + return proto.services.tasks_svc.v1.UncompleteSubtaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.UncompleteSubtaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse} + * @return {!proto.services.tasks_svc.v1.UncompleteSubtaskResponse} */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.UncompleteSubtaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4019,9 +4019,9 @@ proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.UncompleteSubtaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.UncompleteSubtaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4029,11 +4029,11 @@ proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse} message + * @param {!proto.services.tasks_svc.v1.UncompleteSubtaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.UncompleteSubtaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.UncompleteSubtaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -4054,8 +4054,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.DeleteSubtaskRequest.toObject(opt_includeInstance, this); }; @@ -4064,11 +4064,11 @@ proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.DeleteSubtaskRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.DeleteSubtaskRequest.toObject = function(includeInstance, msg) { var f, obj = { taskId: jspb.Message.getFieldWithDefault(msg, 1, ""), subtaskId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -4085,23 +4085,23 @@ proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest} + * @return {!proto.services.tasks_svc.v1.DeleteSubtaskRequest} */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.DeleteSubtaskRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest; - return proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.DeleteSubtaskRequest; + return proto.services.tasks_svc.v1.DeleteSubtaskRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.DeleteSubtaskRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest} + * @return {!proto.services.tasks_svc.v1.DeleteSubtaskRequest} */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.DeleteSubtaskRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4129,9 +4129,9 @@ proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.DeleteSubtaskRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4139,11 +4139,11 @@ proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest} message + * @param {!proto.services.tasks_svc.v1.DeleteSubtaskRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.DeleteSubtaskRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTaskId(); if (f.length > 0) { @@ -4166,16 +4166,16 @@ proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.serializeBinaryToWriter = * optional string task_id = 1; * @return {string} */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.getTaskId = function() { +proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.getTaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.DeleteSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.setTaskId = function(value) { +proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.setTaskId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4184,16 +4184,16 @@ proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.setTaskId = fun * optional string subtask_id = 2; * @return {string} */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.getSubtaskId = function() { +proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.getSubtaskId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest} returns this + * @return {!proto.services.tasks_svc.v1.DeleteSubtaskRequest} returns this */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.setSubtaskId = function(value) { +proto.services.tasks_svc.v1.DeleteSubtaskRequest.prototype.setSubtaskId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4214,8 +4214,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.toObject(opt_includeInstance, this); +proto.services.tasks_svc.v1.DeleteSubtaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.tasks_svc.v1.DeleteSubtaskResponse.toObject(opt_includeInstance, this); }; @@ -4224,11 +4224,11 @@ proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse} msg The msg instance to transform. + * @param {!proto.services.tasks_svc.v1.DeleteSubtaskResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.toObject = function(includeInstance, msg) { +proto.services.tasks_svc.v1.DeleteSubtaskResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -4244,23 +4244,23 @@ proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse} + * @return {!proto.services.tasks_svc.v1.DeleteSubtaskResponse} */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.deserializeBinary = function(bytes) { +proto.services.tasks_svc.v1.DeleteSubtaskResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse; - return proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.tasks_svc.v1.DeleteSubtaskResponse; + return proto.services.tasks_svc.v1.DeleteSubtaskResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse} msg The message object to deserialize into. + * @param {!proto.services.tasks_svc.v1.DeleteSubtaskResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse} + * @return {!proto.services.tasks_svc.v1.DeleteSubtaskResponse} */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.tasks_svc.v1.DeleteSubtaskResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4280,9 +4280,9 @@ proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.prototype.serializeBinary = function() { +proto.services.tasks_svc.v1.DeleteSubtaskResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.serializeBinaryToWriter(this, writer); + proto.services.tasks_svc.v1.DeleteSubtaskResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4290,11 +4290,11 @@ proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse} message + * @param {!proto.services.tasks_svc.v1.DeleteSubtaskResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.tasks_svc.v1.DeleteSubtaskResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -4302,11 +4302,11 @@ proto.proto.services.tasks_svc.v1.DeleteSubtaskResponse.serializeBinaryToWriter /** * @enum {number} */ -proto.proto.services.tasks_svc.v1.TaskStatus = { +proto.services.tasks_svc.v1.TaskStatus = { TASK_STATUS_UNSPECIFIED: 0, TASK_STATUS_TODO: 1, TASK_STATUS_IN_PROGRESS: 2, TASK_STATUS_DONE: 3 }; -goog.object.extend(exports, proto.proto.services.tasks_svc.v1); +goog.object.extend(exports, proto.services.tasks_svc.v1); diff --git a/gen/ts/services/user_svc/v1/organization_svc_grpc_web_pb.d.ts b/gen/ts/services/user_svc/v1/organization_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..752d6e7bf --- /dev/null +++ b/gen/ts/services/user_svc/v1/organization_svc_grpc_web_pb.d.ts @@ -0,0 +1,211 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_user_svc_v1_organization_svc_pb from '../../../services/user_svc/v1/organization_svc_pb'; // proto import: "services/user_svc/v1/organization_svc.proto" + + +export class OrganizationServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createOrganization( + request: services_user_svc_v1_organization_svc_pb.CreateOrganizationRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.CreateOrganizationResponse) => void + ): grpcWeb.ClientReadableStream; + + createOrganizationForUser( + request: services_user_svc_v1_organization_svc_pb.CreateOrganizationForUserRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.CreateOrganizationForUserResponse) => void + ): grpcWeb.ClientReadableStream; + + getOrganization( + request: services_user_svc_v1_organization_svc_pb.GetOrganizationRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.GetOrganizationResponse) => void + ): grpcWeb.ClientReadableStream; + + getOrganizationsByUser( + request: services_user_svc_v1_organization_svc_pb.GetOrganizationsByUserRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.GetOrganizationsByUserResponse) => void + ): grpcWeb.ClientReadableStream; + + getOrganizationsForUser( + request: services_user_svc_v1_organization_svc_pb.GetOrganizationsForUserRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.GetOrganizationsForUserResponse) => void + ): grpcWeb.ClientReadableStream; + + updateOrganization( + request: services_user_svc_v1_organization_svc_pb.UpdateOrganizationRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.UpdateOrganizationResponse) => void + ): grpcWeb.ClientReadableStream; + + deleteOrganization( + request: services_user_svc_v1_organization_svc_pb.DeleteOrganizationRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.DeleteOrganizationResponse) => void + ): grpcWeb.ClientReadableStream; + + getMembersByOrganization( + request: services_user_svc_v1_organization_svc_pb.GetMembersByOrganizationRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.GetMembersByOrganizationResponse) => void + ): grpcWeb.ClientReadableStream; + + addMember( + request: services_user_svc_v1_organization_svc_pb.AddMemberRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.AddMemberResponse) => void + ): grpcWeb.ClientReadableStream; + + removeMember( + request: services_user_svc_v1_organization_svc_pb.RemoveMemberRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.RemoveMemberResponse) => void + ): grpcWeb.ClientReadableStream; + + inviteMember( + request: services_user_svc_v1_organization_svc_pb.InviteMemberRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.InviteMemberResponse) => void + ): grpcWeb.ClientReadableStream; + + getInvitationsByOrganization( + request: services_user_svc_v1_organization_svc_pb.GetInvitationsByOrganizationRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.GetInvitationsByOrganizationResponse) => void + ): grpcWeb.ClientReadableStream; + + getInvitationsByUser( + request: services_user_svc_v1_organization_svc_pb.GetInvitationsByUserRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.GetInvitationsByUserResponse) => void + ): grpcWeb.ClientReadableStream; + + acceptInvitation( + request: services_user_svc_v1_organization_svc_pb.AcceptInvitationRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.AcceptInvitationResponse) => void + ): grpcWeb.ClientReadableStream; + + declineInvitation( + request: services_user_svc_v1_organization_svc_pb.DeclineInvitationRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.DeclineInvitationResponse) => void + ): grpcWeb.ClientReadableStream; + + revokeInvitation( + request: services_user_svc_v1_organization_svc_pb.RevokeInvitationRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_organization_svc_pb.RevokeInvitationResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class OrganizationServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createOrganization( + request: services_user_svc_v1_organization_svc_pb.CreateOrganizationRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + createOrganizationForUser( + request: services_user_svc_v1_organization_svc_pb.CreateOrganizationForUserRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getOrganization( + request: services_user_svc_v1_organization_svc_pb.GetOrganizationRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getOrganizationsByUser( + request: services_user_svc_v1_organization_svc_pb.GetOrganizationsByUserRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getOrganizationsForUser( + request: services_user_svc_v1_organization_svc_pb.GetOrganizationsForUserRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateOrganization( + request: services_user_svc_v1_organization_svc_pb.UpdateOrganizationRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + deleteOrganization( + request: services_user_svc_v1_organization_svc_pb.DeleteOrganizationRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getMembersByOrganization( + request: services_user_svc_v1_organization_svc_pb.GetMembersByOrganizationRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + addMember( + request: services_user_svc_v1_organization_svc_pb.AddMemberRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + removeMember( + request: services_user_svc_v1_organization_svc_pb.RemoveMemberRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + inviteMember( + request: services_user_svc_v1_organization_svc_pb.InviteMemberRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getInvitationsByOrganization( + request: services_user_svc_v1_organization_svc_pb.GetInvitationsByOrganizationRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getInvitationsByUser( + request: services_user_svc_v1_organization_svc_pb.GetInvitationsByUserRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + acceptInvitation( + request: services_user_svc_v1_organization_svc_pb.AcceptInvitationRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + declineInvitation( + request: services_user_svc_v1_organization_svc_pb.DeclineInvitationRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + revokeInvitation( + request: services_user_svc_v1_organization_svc_pb.RevokeInvitationRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/services/user_svc/v1/organization_svc_grpc_web_pb.js b/gen/ts/services/user_svc/v1/organization_svc_grpc_web_pb.js new file mode 100644 index 000000000..3528ef758 --- /dev/null +++ b/gen/ts/services/user_svc/v1/organization_svc_grpc_web_pb.js @@ -0,0 +1,1056 @@ +/** + * @fileoverview gRPC-Web generated client stub for services.user_svc.v1 + * @enhanceable + * @public + */ + +// Code generated by protoc-gen-grpc-web. DO NOT EDIT. +// versions: +// protoc-gen-grpc-web v1.5.0 +// protoc v0.0.0 +// source: services/user_svc/v1/organization_svc.proto + + +/* eslint-disable */ +// @ts-nocheck + + + +const grpc = {}; +grpc.web = require('grpc-web'); + +const proto = {}; +proto.services = {}; +proto.services.user_svc = {}; +proto.services.user_svc.v1 = require('./organization_svc_pb.js'); + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.user_svc.v1.OrganizationServiceClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @param {string} hostname + * @param {?Object} credentials + * @param {?grpc.web.ClientOptions} options + * @constructor + * @struct + * @final + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient = + function(hostname, credentials, options) { + if (!options) options = {}; + options.format = 'text'; + + /** + * @private @const {!grpc.web.GrpcWebClientBase} The client + */ + this.client_ = new grpc.web.GrpcWebClientBase(options); + + /** + * @private @const {string} The hostname + */ + this.hostname_ = hostname.replace(/\/+$/, ''); + +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.CreateOrganizationRequest, + * !proto.services.user_svc.v1.CreateOrganizationResponse>} + */ +const methodDescriptor_OrganizationService_CreateOrganization = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/CreateOrganization', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.CreateOrganizationRequest, + proto.services.user_svc.v1.CreateOrganizationResponse, + /** + * @param {!proto.services.user_svc.v1.CreateOrganizationRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.CreateOrganizationResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.CreateOrganizationRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.CreateOrganizationResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.createOrganization = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/CreateOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_CreateOrganization, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.CreateOrganizationRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.createOrganization = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/CreateOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_CreateOrganization); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.CreateOrganizationForUserRequest, + * !proto.services.user_svc.v1.CreateOrganizationForUserResponse>} + */ +const methodDescriptor_OrganizationService_CreateOrganizationForUser = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/CreateOrganizationForUser', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.CreateOrganizationForUserRequest, + proto.services.user_svc.v1.CreateOrganizationForUserResponse, + /** + * @param {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.CreateOrganizationForUserResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.CreateOrganizationForUserResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.createOrganizationForUser = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/CreateOrganizationForUser', + request, + metadata || {}, + methodDescriptor_OrganizationService_CreateOrganizationForUser, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.createOrganizationForUser = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/CreateOrganizationForUser', + request, + metadata || {}, + methodDescriptor_OrganizationService_CreateOrganizationForUser); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.GetOrganizationRequest, + * !proto.services.user_svc.v1.GetOrganizationResponse>} + */ +const methodDescriptor_OrganizationService_GetOrganization = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/GetOrganization', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.GetOrganizationRequest, + proto.services.user_svc.v1.GetOrganizationResponse, + /** + * @param {!proto.services.user_svc.v1.GetOrganizationRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.GetOrganizationResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.GetOrganizationRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.GetOrganizationResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.getOrganization = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetOrganization, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.GetOrganizationRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getOrganization = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetOrganization); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.GetOrganizationsByUserRequest, + * !proto.services.user_svc.v1.GetOrganizationsByUserResponse>} + */ +const methodDescriptor_OrganizationService_GetOrganizationsByUser = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/GetOrganizationsByUser', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.GetOrganizationsByUserRequest, + proto.services.user_svc.v1.GetOrganizationsByUserResponse, + /** + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.GetOrganizationsByUserResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.GetOrganizationsByUserResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.getOrganizationsByUser = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetOrganizationsByUser', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetOrganizationsByUser, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getOrganizationsByUser = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetOrganizationsByUser', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetOrganizationsByUser); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.GetOrganizationsForUserRequest, + * !proto.services.user_svc.v1.GetOrganizationsForUserResponse>} + */ +const methodDescriptor_OrganizationService_GetOrganizationsForUser = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/GetOrganizationsForUser', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.GetOrganizationsForUserRequest, + proto.services.user_svc.v1.GetOrganizationsForUserResponse, + /** + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.GetOrganizationsForUserResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.GetOrganizationsForUserResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.getOrganizationsForUser = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetOrganizationsForUser', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetOrganizationsForUser, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getOrganizationsForUser = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetOrganizationsForUser', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetOrganizationsForUser); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.UpdateOrganizationRequest, + * !proto.services.user_svc.v1.UpdateOrganizationResponse>} + */ +const methodDescriptor_OrganizationService_UpdateOrganization = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/UpdateOrganization', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.UpdateOrganizationRequest, + proto.services.user_svc.v1.UpdateOrganizationResponse, + /** + * @param {!proto.services.user_svc.v1.UpdateOrganizationRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.UpdateOrganizationResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.UpdateOrganizationRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.UpdateOrganizationResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.updateOrganization = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/UpdateOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_UpdateOrganization, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.UpdateOrganizationRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.updateOrganization = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/UpdateOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_UpdateOrganization); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.DeleteOrganizationRequest, + * !proto.services.user_svc.v1.DeleteOrganizationResponse>} + */ +const methodDescriptor_OrganizationService_DeleteOrganization = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/DeleteOrganization', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.DeleteOrganizationRequest, + proto.services.user_svc.v1.DeleteOrganizationResponse, + /** + * @param {!proto.services.user_svc.v1.DeleteOrganizationRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.DeleteOrganizationResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.DeleteOrganizationRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.DeleteOrganizationResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.deleteOrganization = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/DeleteOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_DeleteOrganization, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.DeleteOrganizationRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.deleteOrganization = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/DeleteOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_DeleteOrganization); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.GetMembersByOrganizationRequest, + * !proto.services.user_svc.v1.GetMembersByOrganizationResponse>} + */ +const methodDescriptor_OrganizationService_GetMembersByOrganization = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/GetMembersByOrganization', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.GetMembersByOrganizationRequest, + proto.services.user_svc.v1.GetMembersByOrganizationResponse, + /** + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.GetMembersByOrganizationResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.GetMembersByOrganizationResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.getMembersByOrganization = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetMembersByOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetMembersByOrganization, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getMembersByOrganization = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetMembersByOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetMembersByOrganization); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.AddMemberRequest, + * !proto.services.user_svc.v1.AddMemberResponse>} + */ +const methodDescriptor_OrganizationService_AddMember = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/AddMember', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.AddMemberRequest, + proto.services.user_svc.v1.AddMemberResponse, + /** + * @param {!proto.services.user_svc.v1.AddMemberRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.AddMemberResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.AddMemberRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.AddMemberResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.addMember = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/AddMember', + request, + metadata || {}, + methodDescriptor_OrganizationService_AddMember, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.AddMemberRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.addMember = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/AddMember', + request, + metadata || {}, + methodDescriptor_OrganizationService_AddMember); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.RemoveMemberRequest, + * !proto.services.user_svc.v1.RemoveMemberResponse>} + */ +const methodDescriptor_OrganizationService_RemoveMember = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/RemoveMember', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.RemoveMemberRequest, + proto.services.user_svc.v1.RemoveMemberResponse, + /** + * @param {!proto.services.user_svc.v1.RemoveMemberRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.RemoveMemberResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.RemoveMemberRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.RemoveMemberResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.removeMember = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/RemoveMember', + request, + metadata || {}, + methodDescriptor_OrganizationService_RemoveMember, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.RemoveMemberRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.removeMember = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/RemoveMember', + request, + metadata || {}, + methodDescriptor_OrganizationService_RemoveMember); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.InviteMemberRequest, + * !proto.services.user_svc.v1.InviteMemberResponse>} + */ +const methodDescriptor_OrganizationService_InviteMember = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/InviteMember', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.InviteMemberRequest, + proto.services.user_svc.v1.InviteMemberResponse, + /** + * @param {!proto.services.user_svc.v1.InviteMemberRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.InviteMemberResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.InviteMemberRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.InviteMemberResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.inviteMember = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/InviteMember', + request, + metadata || {}, + methodDescriptor_OrganizationService_InviteMember, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.InviteMemberRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.inviteMember = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/InviteMember', + request, + metadata || {}, + methodDescriptor_OrganizationService_InviteMember); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.GetInvitationsByOrganizationRequest, + * !proto.services.user_svc.v1.GetInvitationsByOrganizationResponse>} + */ +const methodDescriptor_OrganizationService_GetInvitationsByOrganization = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.GetInvitationsByOrganizationRequest, + proto.services.user_svc.v1.GetInvitationsByOrganizationResponse, + /** + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.GetInvitationsByOrganizationResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.getInvitationsByOrganization = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetInvitationsByOrganization, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getInvitationsByOrganization = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetInvitationsByOrganization); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.GetInvitationsByUserRequest, + * !proto.services.user_svc.v1.GetInvitationsByUserResponse>} + */ +const methodDescriptor_OrganizationService_GetInvitationsByUser = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/GetInvitationsByUser', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.GetInvitationsByUserRequest, + proto.services.user_svc.v1.GetInvitationsByUserResponse, + /** + * @param {!proto.services.user_svc.v1.GetInvitationsByUserRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.GetInvitationsByUserResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.GetInvitationsByUserRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.GetInvitationsByUserResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.getInvitationsByUser = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetInvitationsByUser', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetInvitationsByUser, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.GetInvitationsByUserRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.getInvitationsByUser = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/GetInvitationsByUser', + request, + metadata || {}, + methodDescriptor_OrganizationService_GetInvitationsByUser); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.AcceptInvitationRequest, + * !proto.services.user_svc.v1.AcceptInvitationResponse>} + */ +const methodDescriptor_OrganizationService_AcceptInvitation = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/AcceptInvitation', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.AcceptInvitationRequest, + proto.services.user_svc.v1.AcceptInvitationResponse, + /** + * @param {!proto.services.user_svc.v1.AcceptInvitationRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.AcceptInvitationResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.AcceptInvitationRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.AcceptInvitationResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.acceptInvitation = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/AcceptInvitation', + request, + metadata || {}, + methodDescriptor_OrganizationService_AcceptInvitation, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.AcceptInvitationRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.acceptInvitation = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/AcceptInvitation', + request, + metadata || {}, + methodDescriptor_OrganizationService_AcceptInvitation); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.DeclineInvitationRequest, + * !proto.services.user_svc.v1.DeclineInvitationResponse>} + */ +const methodDescriptor_OrganizationService_DeclineInvitation = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/DeclineInvitation', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.DeclineInvitationRequest, + proto.services.user_svc.v1.DeclineInvitationResponse, + /** + * @param {!proto.services.user_svc.v1.DeclineInvitationRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.DeclineInvitationResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.DeclineInvitationRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.DeclineInvitationResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.declineInvitation = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/DeclineInvitation', + request, + metadata || {}, + methodDescriptor_OrganizationService_DeclineInvitation, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.DeclineInvitationRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.declineInvitation = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/DeclineInvitation', + request, + metadata || {}, + methodDescriptor_OrganizationService_DeclineInvitation); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.services.user_svc.v1.RevokeInvitationRequest, + * !proto.services.user_svc.v1.RevokeInvitationResponse>} + */ +const methodDescriptor_OrganizationService_RevokeInvitation = new grpc.web.MethodDescriptor( + '/services.user_svc.v1.OrganizationService/RevokeInvitation', + grpc.web.MethodType.UNARY, + proto.services.user_svc.v1.RevokeInvitationRequest, + proto.services.user_svc.v1.RevokeInvitationResponse, + /** + * @param {!proto.services.user_svc.v1.RevokeInvitationRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.services.user_svc.v1.RevokeInvitationResponse.deserializeBinary +); + + +/** + * @param {!proto.services.user_svc.v1.RevokeInvitationRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.RevokeInvitationResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.services.user_svc.v1.OrganizationServiceClient.prototype.revokeInvitation = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/RevokeInvitation', + request, + metadata || {}, + methodDescriptor_OrganizationService_RevokeInvitation, + callback); +}; + + +/** + * @param {!proto.services.user_svc.v1.RevokeInvitationRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.services.user_svc.v1.OrganizationServicePromiseClient.prototype.revokeInvitation = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/services.user_svc.v1.OrganizationService/RevokeInvitation', + request, + metadata || {}, + methodDescriptor_OrganizationService_RevokeInvitation); +}; + + +module.exports = proto.services.user_svc.v1; + diff --git a/gen/ts/proto/services/user_svc/v1/organization_svc_pb.d.ts b/gen/ts/services/user_svc/v1/organization_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/user_svc/v1/organization_svc_pb.d.ts rename to gen/ts/services/user_svc/v1/organization_svc_pb.d.ts diff --git a/gen/ts/proto/services/user_svc/v1/organization_svc_pb.js b/gen/ts/services/user_svc/v1/organization_svc_pb.js similarity index 58% rename from gen/ts/proto/services/user_svc/v1/organization_svc_pb.js rename to gen/ts/services/user_svc/v1/organization_svc_pb.js index fb223f9ef..2447c1d52 100644 --- a/gen/ts/proto/services/user_svc/v1/organization_svc_pb.js +++ b/gen/ts/services/user_svc/v1/organization_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/user_svc/v1/organization_svc.proto +// source: services/user_svc/v1/organization_svc.proto /** * @fileoverview * @enhanceable @@ -21,48 +21,48 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.user_svc.v1.AcceptInvitationRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.AcceptInvitationResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.AddMemberRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.AddMemberResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.CreateOrganizationRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.CreateOrganizationResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.DeclineInvitationRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.DeclineInvitationResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.DeleteOrganizationRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.DeleteOrganizationResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetInvitationsByUserRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetInvitationsByUserResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetOrganizationMember', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetOrganizationRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetOrganizationResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.InvitationState', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.InviteMemberRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.InviteMemberResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.RemoveMemberRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.RemoveMemberResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.RevokeInvitationRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.RevokeInvitationResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.UpdateOrganizationRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.UpdateOrganizationResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.AcceptInvitationRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.AcceptInvitationResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.AddMemberRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.AddMemberResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.CreateOrganizationForUserRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.CreateOrganizationForUserResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.CreateOrganizationRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.CreateOrganizationResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.DeclineInvitationRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.DeclineInvitationResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.DeleteOrganizationRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.DeleteOrganizationResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetInvitationsByOrganizationRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetInvitationsByOrganizationResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetInvitationsByUserRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetInvitationsByUserResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetMembersByOrganizationRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetMembersByOrganizationResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetOrganizationMember', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetOrganizationRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetOrganizationResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetOrganizationsByUserRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetOrganizationsByUserResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetOrganizationsForUserRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetOrganizationsForUserResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization', null, global); +goog.exportSymbol('proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member', null, global); +goog.exportSymbol('proto.services.user_svc.v1.InvitationState', null, global); +goog.exportSymbol('proto.services.user_svc.v1.InviteMemberRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.InviteMemberResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.RemoveMemberRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.RemoveMemberResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.RevokeInvitationRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.RevokeInvitationResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.UpdateOrganizationRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.UpdateOrganizationResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -73,16 +73,16 @@ goog.exportSymbol('proto.proto.services.user_svc.v1.UpdateOrganizationResponse', * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest = function(opt_data) { +proto.services.user_svc.v1.CreateOrganizationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.CreateOrganizationRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.CreateOrganizationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.CreateOrganizationRequest.displayName = 'proto.proto.services.user_svc.v1.CreateOrganizationRequest'; + proto.services.user_svc.v1.CreateOrganizationRequest.displayName = 'proto.services.user_svc.v1.CreateOrganizationRequest'; } /** * Generated by JsPbCodeGenerator. @@ -94,16 +94,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.CreateOrganizationResponse = function(opt_data) { +proto.services.user_svc.v1.CreateOrganizationResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.CreateOrganizationResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.CreateOrganizationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.CreateOrganizationResponse.displayName = 'proto.proto.services.user_svc.v1.CreateOrganizationResponse'; + proto.services.user_svc.v1.CreateOrganizationResponse.displayName = 'proto.services.user_svc.v1.CreateOrganizationResponse'; } /** * Generated by JsPbCodeGenerator. @@ -115,16 +115,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest = function(opt_data) { +proto.services.user_svc.v1.CreateOrganizationForUserRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.CreateOrganizationForUserRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.displayName = 'proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest'; + proto.services.user_svc.v1.CreateOrganizationForUserRequest.displayName = 'proto.services.user_svc.v1.CreateOrganizationForUserRequest'; } /** * Generated by JsPbCodeGenerator. @@ -136,16 +136,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse = function(opt_data) { +proto.services.user_svc.v1.CreateOrganizationForUserResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.CreateOrganizationForUserResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.displayName = 'proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse'; + proto.services.user_svc.v1.CreateOrganizationForUserResponse.displayName = 'proto.services.user_svc.v1.CreateOrganizationForUserResponse'; } /** * Generated by JsPbCodeGenerator. @@ -157,16 +157,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetOrganizationMember = function(opt_data) { +proto.services.user_svc.v1.GetOrganizationMember = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetOrganizationMember, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetOrganizationMember, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetOrganizationMember.displayName = 'proto.proto.services.user_svc.v1.GetOrganizationMember'; + proto.services.user_svc.v1.GetOrganizationMember.displayName = 'proto.services.user_svc.v1.GetOrganizationMember'; } /** * Generated by JsPbCodeGenerator. @@ -178,16 +178,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetOrganizationRequest = function(opt_data) { +proto.services.user_svc.v1.GetOrganizationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetOrganizationRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetOrganizationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetOrganizationRequest.displayName = 'proto.proto.services.user_svc.v1.GetOrganizationRequest'; + proto.services.user_svc.v1.GetOrganizationRequest.displayName = 'proto.services.user_svc.v1.GetOrganizationRequest'; } /** * Generated by JsPbCodeGenerator. @@ -199,16 +199,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetOrganizationResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.user_svc.v1.GetOrganizationResponse.repeatedFields_, null); +proto.services.user_svc.v1.GetOrganizationResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.user_svc.v1.GetOrganizationResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetOrganizationResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetOrganizationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetOrganizationResponse.displayName = 'proto.proto.services.user_svc.v1.GetOrganizationResponse'; + proto.services.user_svc.v1.GetOrganizationResponse.displayName = 'proto.services.user_svc.v1.GetOrganizationResponse'; } /** * Generated by JsPbCodeGenerator. @@ -220,16 +220,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest = function(opt_data) { +proto.services.user_svc.v1.GetOrganizationsByUserRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetOrganizationsByUserRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.displayName = 'proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest'; + proto.services.user_svc.v1.GetOrganizationsByUserRequest.displayName = 'proto.services.user_svc.v1.GetOrganizationsByUserRequest'; } /** * Generated by JsPbCodeGenerator. @@ -241,16 +241,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.repeatedFields_, null); +proto.services.user_svc.v1.GetOrganizationsByUserResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.user_svc.v1.GetOrganizationsByUserResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetOrganizationsByUserResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.displayName = 'proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse'; + proto.services.user_svc.v1.GetOrganizationsByUserResponse.displayName = 'proto.services.user_svc.v1.GetOrganizationsByUserResponse'; } /** * Generated by JsPbCodeGenerator. @@ -262,16 +262,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.repeatedFields_, null); +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.repeatedFields_, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.displayName = 'proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization'; + proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.displayName = 'proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization'; } /** * Generated by JsPbCodeGenerator. @@ -283,16 +283,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member = function(opt_data) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.displayName = 'proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member'; + proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.displayName = 'proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member'; } /** * Generated by JsPbCodeGenerator. @@ -304,16 +304,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest = function(opt_data) { +proto.services.user_svc.v1.GetOrganizationsForUserRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetOrganizationsForUserRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.displayName = 'proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest'; + proto.services.user_svc.v1.GetOrganizationsForUserRequest.displayName = 'proto.services.user_svc.v1.GetOrganizationsForUserRequest'; } /** * Generated by JsPbCodeGenerator. @@ -325,16 +325,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.repeatedFields_, null); +proto.services.user_svc.v1.GetOrganizationsForUserResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.user_svc.v1.GetOrganizationsForUserResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetOrganizationsForUserResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.displayName = 'proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse'; + proto.services.user_svc.v1.GetOrganizationsForUserResponse.displayName = 'proto.services.user_svc.v1.GetOrganizationsForUserResponse'; } /** * Generated by JsPbCodeGenerator. @@ -346,16 +346,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.repeatedFields_, null); +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.repeatedFields_, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.displayName = 'proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization'; + proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.displayName = 'proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization'; } /** * Generated by JsPbCodeGenerator. @@ -367,16 +367,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member = function(opt_data) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.displayName = 'proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member'; + proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.displayName = 'proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member'; } /** * Generated by JsPbCodeGenerator. @@ -388,16 +388,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest = function(opt_data) { +proto.services.user_svc.v1.UpdateOrganizationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.UpdateOrganizationRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.UpdateOrganizationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.UpdateOrganizationRequest.displayName = 'proto.proto.services.user_svc.v1.UpdateOrganizationRequest'; + proto.services.user_svc.v1.UpdateOrganizationRequest.displayName = 'proto.services.user_svc.v1.UpdateOrganizationRequest'; } /** * Generated by JsPbCodeGenerator. @@ -409,16 +409,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.UpdateOrganizationResponse = function(opt_data) { +proto.services.user_svc.v1.UpdateOrganizationResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.UpdateOrganizationResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.UpdateOrganizationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.UpdateOrganizationResponse.displayName = 'proto.proto.services.user_svc.v1.UpdateOrganizationResponse'; + proto.services.user_svc.v1.UpdateOrganizationResponse.displayName = 'proto.services.user_svc.v1.UpdateOrganizationResponse'; } /** * Generated by JsPbCodeGenerator. @@ -430,16 +430,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.DeleteOrganizationRequest = function(opt_data) { +proto.services.user_svc.v1.DeleteOrganizationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.DeleteOrganizationRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.DeleteOrganizationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.DeleteOrganizationRequest.displayName = 'proto.proto.services.user_svc.v1.DeleteOrganizationRequest'; + proto.services.user_svc.v1.DeleteOrganizationRequest.displayName = 'proto.services.user_svc.v1.DeleteOrganizationRequest'; } /** * Generated by JsPbCodeGenerator. @@ -451,16 +451,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.DeleteOrganizationResponse = function(opt_data) { +proto.services.user_svc.v1.DeleteOrganizationResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.DeleteOrganizationResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.DeleteOrganizationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.DeleteOrganizationResponse.displayName = 'proto.proto.services.user_svc.v1.DeleteOrganizationResponse'; + proto.services.user_svc.v1.DeleteOrganizationResponse.displayName = 'proto.services.user_svc.v1.DeleteOrganizationResponse'; } /** * Generated by JsPbCodeGenerator. @@ -472,16 +472,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest = function(opt_data) { +proto.services.user_svc.v1.GetMembersByOrganizationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetMembersByOrganizationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.displayName = 'proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest'; + proto.services.user_svc.v1.GetMembersByOrganizationRequest.displayName = 'proto.services.user_svc.v1.GetMembersByOrganizationRequest'; } /** * Generated by JsPbCodeGenerator. @@ -493,16 +493,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.repeatedFields_, null); +proto.services.user_svc.v1.GetMembersByOrganizationResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.user_svc.v1.GetMembersByOrganizationResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetMembersByOrganizationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.displayName = 'proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse'; + proto.services.user_svc.v1.GetMembersByOrganizationResponse.displayName = 'proto.services.user_svc.v1.GetMembersByOrganizationResponse'; } /** * Generated by JsPbCodeGenerator. @@ -514,16 +514,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member = function(opt_data) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.displayName = 'proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member'; + proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.displayName = 'proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member'; } /** * Generated by JsPbCodeGenerator. @@ -535,16 +535,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.AddMemberRequest = function(opt_data) { +proto.services.user_svc.v1.AddMemberRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.AddMemberRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.AddMemberRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.AddMemberRequest.displayName = 'proto.proto.services.user_svc.v1.AddMemberRequest'; + proto.services.user_svc.v1.AddMemberRequest.displayName = 'proto.services.user_svc.v1.AddMemberRequest'; } /** * Generated by JsPbCodeGenerator. @@ -556,16 +556,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.AddMemberResponse = function(opt_data) { +proto.services.user_svc.v1.AddMemberResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.AddMemberResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.AddMemberResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.AddMemberResponse.displayName = 'proto.proto.services.user_svc.v1.AddMemberResponse'; + proto.services.user_svc.v1.AddMemberResponse.displayName = 'proto.services.user_svc.v1.AddMemberResponse'; } /** * Generated by JsPbCodeGenerator. @@ -577,16 +577,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.RemoveMemberRequest = function(opt_data) { +proto.services.user_svc.v1.RemoveMemberRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.RemoveMemberRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.RemoveMemberRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.RemoveMemberRequest.displayName = 'proto.proto.services.user_svc.v1.RemoveMemberRequest'; + proto.services.user_svc.v1.RemoveMemberRequest.displayName = 'proto.services.user_svc.v1.RemoveMemberRequest'; } /** * Generated by JsPbCodeGenerator. @@ -598,16 +598,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.RemoveMemberResponse = function(opt_data) { +proto.services.user_svc.v1.RemoveMemberResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.RemoveMemberResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.RemoveMemberResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.RemoveMemberResponse.displayName = 'proto.proto.services.user_svc.v1.RemoveMemberResponse'; + proto.services.user_svc.v1.RemoveMemberResponse.displayName = 'proto.services.user_svc.v1.RemoveMemberResponse'; } /** * Generated by JsPbCodeGenerator. @@ -619,16 +619,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.InviteMemberRequest = function(opt_data) { +proto.services.user_svc.v1.InviteMemberRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.InviteMemberRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.InviteMemberRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.InviteMemberRequest.displayName = 'proto.proto.services.user_svc.v1.InviteMemberRequest'; + proto.services.user_svc.v1.InviteMemberRequest.displayName = 'proto.services.user_svc.v1.InviteMemberRequest'; } /** * Generated by JsPbCodeGenerator. @@ -640,16 +640,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.InviteMemberResponse = function(opt_data) { +proto.services.user_svc.v1.InviteMemberResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.InviteMemberResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.InviteMemberResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.InviteMemberResponse.displayName = 'proto.proto.services.user_svc.v1.InviteMemberResponse'; + proto.services.user_svc.v1.InviteMemberResponse.displayName = 'proto.services.user_svc.v1.InviteMemberResponse'; } /** * Generated by JsPbCodeGenerator. @@ -661,16 +661,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest = function(opt_data) { +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetInvitationsByOrganizationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.displayName = 'proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest'; + proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.displayName = 'proto.services.user_svc.v1.GetInvitationsByOrganizationRequest'; } /** * Generated by JsPbCodeGenerator. @@ -682,16 +682,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.repeatedFields_, null); +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetInvitationsByOrganizationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.displayName = 'proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse'; + proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.displayName = 'proto.services.user_svc.v1.GetInvitationsByOrganizationResponse'; } /** * Generated by JsPbCodeGenerator. @@ -703,16 +703,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation = function(opt_data) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.displayName = 'proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation'; + proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.displayName = 'proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation'; } /** * Generated by JsPbCodeGenerator. @@ -724,16 +724,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetInvitationsByUserRequest = function(opt_data) { +proto.services.user_svc.v1.GetInvitationsByUserRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetInvitationsByUserRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetInvitationsByUserRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.displayName = 'proto.proto.services.user_svc.v1.GetInvitationsByUserRequest'; + proto.services.user_svc.v1.GetInvitationsByUserRequest.displayName = 'proto.services.user_svc.v1.GetInvitationsByUserRequest'; } /** * Generated by JsPbCodeGenerator. @@ -745,16 +745,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.repeatedFields_, null); +proto.services.user_svc.v1.GetInvitationsByUserResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.user_svc.v1.GetInvitationsByUserResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetInvitationsByUserResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetInvitationsByUserResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.displayName = 'proto.proto.services.user_svc.v1.GetInvitationsByUserResponse'; + proto.services.user_svc.v1.GetInvitationsByUserResponse.displayName = 'proto.services.user_svc.v1.GetInvitationsByUserResponse'; } /** * Generated by JsPbCodeGenerator. @@ -766,16 +766,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation = function(opt_data) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.displayName = 'proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation'; + proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.displayName = 'proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation'; } /** * Generated by JsPbCodeGenerator. @@ -787,16 +787,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization = function(opt_data) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization, jspb.Message); +goog.inherits(proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.displayName = 'proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization'; + proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.displayName = 'proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization'; } /** * Generated by JsPbCodeGenerator. @@ -808,16 +808,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.AcceptInvitationRequest = function(opt_data) { +proto.services.user_svc.v1.AcceptInvitationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.AcceptInvitationRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.AcceptInvitationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.AcceptInvitationRequest.displayName = 'proto.proto.services.user_svc.v1.AcceptInvitationRequest'; + proto.services.user_svc.v1.AcceptInvitationRequest.displayName = 'proto.services.user_svc.v1.AcceptInvitationRequest'; } /** * Generated by JsPbCodeGenerator. @@ -829,16 +829,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.AcceptInvitationResponse = function(opt_data) { +proto.services.user_svc.v1.AcceptInvitationResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.AcceptInvitationResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.AcceptInvitationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.AcceptInvitationResponse.displayName = 'proto.proto.services.user_svc.v1.AcceptInvitationResponse'; + proto.services.user_svc.v1.AcceptInvitationResponse.displayName = 'proto.services.user_svc.v1.AcceptInvitationResponse'; } /** * Generated by JsPbCodeGenerator. @@ -850,16 +850,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.DeclineInvitationRequest = function(opt_data) { +proto.services.user_svc.v1.DeclineInvitationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.DeclineInvitationRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.DeclineInvitationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.DeclineInvitationRequest.displayName = 'proto.proto.services.user_svc.v1.DeclineInvitationRequest'; + proto.services.user_svc.v1.DeclineInvitationRequest.displayName = 'proto.services.user_svc.v1.DeclineInvitationRequest'; } /** * Generated by JsPbCodeGenerator. @@ -871,16 +871,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.DeclineInvitationResponse = function(opt_data) { +proto.services.user_svc.v1.DeclineInvitationResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.DeclineInvitationResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.DeclineInvitationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.DeclineInvitationResponse.displayName = 'proto.proto.services.user_svc.v1.DeclineInvitationResponse'; + proto.services.user_svc.v1.DeclineInvitationResponse.displayName = 'proto.services.user_svc.v1.DeclineInvitationResponse'; } /** * Generated by JsPbCodeGenerator. @@ -892,16 +892,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.RevokeInvitationRequest = function(opt_data) { +proto.services.user_svc.v1.RevokeInvitationRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.RevokeInvitationRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.RevokeInvitationRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.RevokeInvitationRequest.displayName = 'proto.proto.services.user_svc.v1.RevokeInvitationRequest'; + proto.services.user_svc.v1.RevokeInvitationRequest.displayName = 'proto.services.user_svc.v1.RevokeInvitationRequest'; } /** * Generated by JsPbCodeGenerator. @@ -913,16 +913,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.RevokeInvitationResponse = function(opt_data) { +proto.services.user_svc.v1.RevokeInvitationResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.RevokeInvitationResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.RevokeInvitationResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.RevokeInvitationResponse.displayName = 'proto.proto.services.user_svc.v1.RevokeInvitationResponse'; + proto.services.user_svc.v1.RevokeInvitationResponse.displayName = 'proto.services.user_svc.v1.RevokeInvitationResponse'; } @@ -940,8 +940,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.CreateOrganizationRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.CreateOrganizationRequest.toObject(opt_includeInstance, this); }; @@ -950,11 +950,11 @@ proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.CreateOrganizationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.CreateOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { longName: jspb.Message.getFieldWithDefault(msg, 1, ""), shortName: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -973,23 +973,23 @@ proto.proto.services.user_svc.v1.CreateOrganizationRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} + * @return {!proto.services.user_svc.v1.CreateOrganizationRequest} */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.CreateOrganizationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.CreateOrganizationRequest; - return proto.proto.services.user_svc.v1.CreateOrganizationRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.CreateOrganizationRequest; + return proto.services.user_svc.v1.CreateOrganizationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.CreateOrganizationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} + * @return {!proto.services.user_svc.v1.CreateOrganizationRequest} */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.CreateOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1025,9 +1025,9 @@ proto.proto.services.user_svc.v1.CreateOrganizationRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.CreateOrganizationRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.CreateOrganizationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1035,11 +1035,11 @@ proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} message + * @param {!proto.services.user_svc.v1.CreateOrganizationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.CreateOrganizationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getLongName(); if (f.length > 0) { @@ -1076,16 +1076,16 @@ proto.proto.services.user_svc.v1.CreateOrganizationRequest.serializeBinaryToWrit * optional string long_name = 1; * @return {string} */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.getLongName = function() { +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.getLongName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.setLongName = function(value) { +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.setLongName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1094,16 +1094,16 @@ proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.setLongName * optional string short_name = 2; * @return {string} */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.getShortName = function() { +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.getShortName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.setShortName = function(value) { +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.setShortName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1112,16 +1112,16 @@ proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.setShortNam * optional string contact_email = 3; * @return {string} */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.getContactEmail = function() { +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.getContactEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.setContactEmail = function(value) { +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.setContactEmail = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1130,25 +1130,25 @@ proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.setContactE * optional bool is_personal = 4; * @return {boolean} */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.getIsPersonal = function() { +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.getIsPersonal = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.setIsPersonal = function(value) { +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.setIsPersonal = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.clearIsPersonal = function() { +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.clearIsPersonal = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -1157,7 +1157,7 @@ proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.clearIsPers * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.CreateOrganizationRequest.prototype.hasIsPersonal = function() { +proto.services.user_svc.v1.CreateOrganizationRequest.prototype.hasIsPersonal = function() { return jspb.Message.getField(this, 4) != null; }; @@ -1178,8 +1178,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.CreateOrganizationResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.CreateOrganizationResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.CreateOrganizationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.CreateOrganizationResponse.toObject(opt_includeInstance, this); }; @@ -1188,11 +1188,11 @@ proto.proto.services.user_svc.v1.CreateOrganizationResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.CreateOrganizationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateOrganizationResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.CreateOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1208,23 +1208,23 @@ proto.proto.services.user_svc.v1.CreateOrganizationResponse.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationResponse} + * @return {!proto.services.user_svc.v1.CreateOrganizationResponse} */ -proto.proto.services.user_svc.v1.CreateOrganizationResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.CreateOrganizationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.CreateOrganizationResponse; - return proto.proto.services.user_svc.v1.CreateOrganizationResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.CreateOrganizationResponse; + return proto.services.user_svc.v1.CreateOrganizationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.CreateOrganizationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationResponse} + * @return {!proto.services.user_svc.v1.CreateOrganizationResponse} */ -proto.proto.services.user_svc.v1.CreateOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.CreateOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1248,9 +1248,9 @@ proto.proto.services.user_svc.v1.CreateOrganizationResponse.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.CreateOrganizationResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.CreateOrganizationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.CreateOrganizationResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.CreateOrganizationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1258,11 +1258,11 @@ proto.proto.services.user_svc.v1.CreateOrganizationResponse.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationResponse} message + * @param {!proto.services.user_svc.v1.CreateOrganizationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateOrganizationResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.CreateOrganizationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1278,16 +1278,16 @@ proto.proto.services.user_svc.v1.CreateOrganizationResponse.serializeBinaryToWri * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.CreateOrganizationResponse.prototype.getId = function() { +proto.services.user_svc.v1.CreateOrganizationResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationResponse} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationResponse.prototype.setId = function(value) { +proto.services.user_svc.v1.CreateOrganizationResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1308,8 +1308,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.CreateOrganizationForUserRequest.toObject(opt_includeInstance, this); }; @@ -1318,11 +1318,11 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.toOb * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.toObject = function(includeInstance, msg) { var f, obj = { longName: jspb.Message.getFieldWithDefault(msg, 1, ""), shortName: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1342,23 +1342,23 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.toObject = fun /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} + * @return {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest; - return proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.CreateOrganizationForUserRequest; + return proto.services.user_svc.v1.CreateOrganizationForUserRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} + * @return {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1398,9 +1398,9 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.deserializeBin * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.CreateOrganizationForUserRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1408,11 +1408,11 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.seri /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} message + * @param {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getLongName(); if (f.length > 0) { @@ -1456,16 +1456,16 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.serializeBinar * optional string long_name = 1; * @return {string} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.getLongName = function() { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.getLongName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setLongName = function(value) { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setLongName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1474,16 +1474,16 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setL * optional string short_name = 2; * @return {string} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.getShortName = function() { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.getShortName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setShortName = function(value) { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setShortName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1492,16 +1492,16 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setS * optional string contact_email = 3; * @return {string} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.getContactEmail = function() { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.getContactEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setContactEmail = function(value) { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setContactEmail = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1510,25 +1510,25 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setC * optional bool is_personal = 4; * @return {boolean} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.getIsPersonal = function() { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.getIsPersonal = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setIsPersonal = function(value) { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setIsPersonal = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.clearIsPersonal = function() { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.clearIsPersonal = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -1537,7 +1537,7 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.clea * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.hasIsPersonal = function() { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.hasIsPersonal = function() { return jspb.Message.getField(this, 4) != null; }; @@ -1546,16 +1546,16 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.hasI * optional string user_id = 5; * @return {string} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.getUserId = function() { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationForUserRequest} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setUserId = function(value) { +proto.services.user_svc.v1.CreateOrganizationForUserRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 5, value); }; @@ -1576,8 +1576,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.CreateOrganizationForUserResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.CreateOrganizationForUserResponse.toObject(opt_includeInstance, this); }; @@ -1586,11 +1586,11 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.prototype.toO * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.CreateOrganizationForUserResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.CreateOrganizationForUserResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1606,23 +1606,23 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.toObject = fu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse} + * @return {!proto.services.user_svc.v1.CreateOrganizationForUserResponse} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.CreateOrganizationForUserResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse; - return proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.CreateOrganizationForUserResponse; + return proto.services.user_svc.v1.CreateOrganizationForUserResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.CreateOrganizationForUserResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse} + * @return {!proto.services.user_svc.v1.CreateOrganizationForUserResponse} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.CreateOrganizationForUserResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1646,9 +1646,9 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.deserializeBi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.CreateOrganizationForUserResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.CreateOrganizationForUserResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1656,11 +1656,11 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.prototype.ser /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse} message + * @param {!proto.services.user_svc.v1.CreateOrganizationForUserResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.CreateOrganizationForUserResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1676,16 +1676,16 @@ proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.serializeBina * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.prototype.getId = function() { +proto.services.user_svc.v1.CreateOrganizationForUserResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse} returns this + * @return {!proto.services.user_svc.v1.CreateOrganizationForUserResponse} returns this */ -proto.proto.services.user_svc.v1.CreateOrganizationForUserResponse.prototype.setId = function(value) { +proto.services.user_svc.v1.CreateOrganizationForUserResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1706,8 +1706,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetOrganizationMember.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetOrganizationMember.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetOrganizationMember.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetOrganizationMember.toObject(opt_includeInstance, this); }; @@ -1716,11 +1716,11 @@ proto.proto.services.user_svc.v1.GetOrganizationMember.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetOrganizationMember} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetOrganizationMember} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationMember.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetOrganizationMember.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1736,23 +1736,23 @@ proto.proto.services.user_svc.v1.GetOrganizationMember.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationMember} + * @return {!proto.services.user_svc.v1.GetOrganizationMember} */ -proto.proto.services.user_svc.v1.GetOrganizationMember.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetOrganizationMember.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetOrganizationMember; - return proto.proto.services.user_svc.v1.GetOrganizationMember.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetOrganizationMember; + return proto.services.user_svc.v1.GetOrganizationMember.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationMember} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetOrganizationMember} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationMember} + * @return {!proto.services.user_svc.v1.GetOrganizationMember} */ -proto.proto.services.user_svc.v1.GetOrganizationMember.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetOrganizationMember.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1776,9 +1776,9 @@ proto.proto.services.user_svc.v1.GetOrganizationMember.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetOrganizationMember.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetOrganizationMember.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetOrganizationMember.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetOrganizationMember.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1786,11 +1786,11 @@ proto.proto.services.user_svc.v1.GetOrganizationMember.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationMember} message + * @param {!proto.services.user_svc.v1.GetOrganizationMember} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationMember.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetOrganizationMember.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -1806,16 +1806,16 @@ proto.proto.services.user_svc.v1.GetOrganizationMember.serializeBinaryToWriter = * optional string user_id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationMember.prototype.getUserId = function() { +proto.services.user_svc.v1.GetOrganizationMember.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationMember} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationMember} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationMember.prototype.setUserId = function(value) { +proto.services.user_svc.v1.GetOrganizationMember.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1836,8 +1836,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetOrganizationRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetOrganizationRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetOrganizationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetOrganizationRequest.toObject(opt_includeInstance, this); }; @@ -1846,11 +1846,11 @@ proto.proto.services.user_svc.v1.GetOrganizationRequest.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetOrganizationRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetOrganizationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1866,23 +1866,23 @@ proto.proto.services.user_svc.v1.GetOrganizationRequest.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationRequest} + * @return {!proto.services.user_svc.v1.GetOrganizationRequest} */ -proto.proto.services.user_svc.v1.GetOrganizationRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetOrganizationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetOrganizationRequest; - return proto.proto.services.user_svc.v1.GetOrganizationRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetOrganizationRequest; + return proto.services.user_svc.v1.GetOrganizationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetOrganizationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationRequest} + * @return {!proto.services.user_svc.v1.GetOrganizationRequest} */ -proto.proto.services.user_svc.v1.GetOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1906,9 +1906,9 @@ proto.proto.services.user_svc.v1.GetOrganizationRequest.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetOrganizationRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetOrganizationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetOrganizationRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetOrganizationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1916,11 +1916,11 @@ proto.proto.services.user_svc.v1.GetOrganizationRequest.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationRequest} message + * @param {!proto.services.user_svc.v1.GetOrganizationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetOrganizationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1936,16 +1936,16 @@ proto.proto.services.user_svc.v1.GetOrganizationRequest.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationRequest.prototype.getId = function() { +proto.services.user_svc.v1.GetOrganizationRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationRequest.prototype.setId = function(value) { +proto.services.user_svc.v1.GetOrganizationRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1956,7 +1956,7 @@ proto.proto.services.user_svc.v1.GetOrganizationRequest.prototype.setId = functi * @private {!Array} * @const */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.repeatedFields_ = [7]; +proto.services.user_svc.v1.GetOrganizationResponse.repeatedFields_ = [7]; @@ -1973,8 +1973,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetOrganizationResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetOrganizationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetOrganizationResponse.toObject(opt_includeInstance, this); }; @@ -1983,11 +1983,11 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetOrganizationResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetOrganizationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), longName: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1996,7 +1996,7 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.toObject = function(inc avatarUrl: jspb.Message.getFieldWithDefault(msg, 5, ""), isPersonal: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), membersList: jspb.Message.toObjectList(msg.getMembersList(), - proto.proto.services.user_svc.v1.GetOrganizationMember.toObject, includeInstance) + proto.services.user_svc.v1.GetOrganizationMember.toObject, includeInstance) }; if (includeInstance) { @@ -2010,23 +2010,23 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationResponse} + * @return {!proto.services.user_svc.v1.GetOrganizationResponse} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetOrganizationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetOrganizationResponse; - return proto.proto.services.user_svc.v1.GetOrganizationResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetOrganizationResponse; + return proto.services.user_svc.v1.GetOrganizationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetOrganizationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationResponse} + * @return {!proto.services.user_svc.v1.GetOrganizationResponse} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2058,8 +2058,8 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.deserializeBinaryFromRe msg.setIsPersonal(value); break; case 7: - var value = new proto.proto.services.user_svc.v1.GetOrganizationMember; - reader.readMessage(value,proto.proto.services.user_svc.v1.GetOrganizationMember.deserializeBinaryFromReader); + var value = new proto.services.user_svc.v1.GetOrganizationMember; + reader.readMessage(value,proto.services.user_svc.v1.GetOrganizationMember.deserializeBinaryFromReader); msg.addMembers(value); break; default: @@ -2075,9 +2075,9 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetOrganizationResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetOrganizationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2085,11 +2085,11 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationResponse} message + * @param {!proto.services.user_svc.v1.GetOrganizationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetOrganizationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2138,7 +2138,7 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.serializeBinaryToWriter writer.writeRepeatedMessage( 7, f, - proto.proto.services.user_svc.v1.GetOrganizationMember.serializeBinaryToWriter + proto.services.user_svc.v1.GetOrganizationMember.serializeBinaryToWriter ); } }; @@ -2148,16 +2148,16 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.serializeBinaryToWriter * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.getId = function() { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationResponse} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.setId = function(value) { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2166,16 +2166,16 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.setId = funct * optional string long_name = 2; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.getLongName = function() { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.getLongName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationResponse} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.setLongName = function(value) { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.setLongName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2184,16 +2184,16 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.setLongName = * optional string short_name = 3; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.getShortName = function() { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.getShortName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationResponse} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.setShortName = function(value) { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.setShortName = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -2202,16 +2202,16 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.setShortName * optional string contact_email = 4; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.getContactEmail = function() { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.getContactEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationResponse} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.setContactEmail = function(value) { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.setContactEmail = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -2220,25 +2220,25 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.setContactEma * optional string avatar_url = 5; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.getAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.getAvatarUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationResponse} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.setAvatarUrl = function(value) { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.setAvatarUrl = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationResponse} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.clearAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.clearAvatarUrl = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -2247,7 +2247,7 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.clearAvatarUr * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.hasAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.hasAvatarUrl = function() { return jspb.Message.getField(this, 5) != null; }; @@ -2256,54 +2256,54 @@ proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.hasAvatarUrl * optional bool is_personal = 6; * @return {boolean} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.getIsPersonal = function() { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.getIsPersonal = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationResponse} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.setIsPersonal = function(value) { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.setIsPersonal = function(value) { return jspb.Message.setProto3BooleanField(this, 6, value); }; /** * repeated GetOrganizationMember members = 7; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.getMembersList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.user_svc.v1.GetOrganizationMember, 7)); +proto.services.user_svc.v1.GetOrganizationResponse.prototype.getMembersList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.user_svc.v1.GetOrganizationMember, 7)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationResponse} returns this + * @param {!Array} value + * @return {!proto.services.user_svc.v1.GetOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.setMembersList = function(value) { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.setMembersList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 7, value); }; /** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationMember=} opt_value + * @param {!proto.services.user_svc.v1.GetOrganizationMember=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.user_svc.v1.GetOrganizationMember} + * @return {!proto.services.user_svc.v1.GetOrganizationMember} */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.addMembers = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.proto.services.user_svc.v1.GetOrganizationMember, opt_index); +proto.services.user_svc.v1.GetOrganizationResponse.prototype.addMembers = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.services.user_svc.v1.GetOrganizationMember, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationResponse} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationResponse.prototype.clearMembersList = function() { +proto.services.user_svc.v1.GetOrganizationResponse.prototype.clearMembersList = function() { return this.setMembersList([]); }; @@ -2324,8 +2324,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetOrganizationsByUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetOrganizationsByUserRequest.toObject(opt_includeInstance, this); }; @@ -2334,11 +2334,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.prototype.toObjec * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetOrganizationsByUserRequest.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -2354,23 +2354,23 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.toObject = functi /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest} + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserRequest} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetOrganizationsByUserRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest; - return proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetOrganizationsByUserRequest; + return proto.services.user_svc.v1.GetOrganizationsByUserRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest} + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserRequest} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetOrganizationsByUserRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2394,9 +2394,9 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.deserializeBinary * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetOrganizationsByUserRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetOrganizationsByUserRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2404,11 +2404,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.prototype.seriali /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest} message + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetOrganizationsByUserRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -2424,16 +2424,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.serializeBinaryTo * optional string user_id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.prototype.getUserId = function() { +proto.services.user_svc.v1.GetOrganizationsByUserRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserRequest} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.prototype.setUserId = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2444,7 +2444,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserRequest.prototype.setUser * @private {!Array} * @const */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.repeatedFields_ = [1]; +proto.services.user_svc.v1.GetOrganizationsByUserResponse.repeatedFields_ = [1]; @@ -2461,8 +2461,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetOrganizationsByUserResponse.toObject(opt_includeInstance, this); }; @@ -2471,14 +2471,14 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.toObject = function(includeInstance, msg) { var f, obj = { organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(), - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.toObject, includeInstance) + proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.toObject, includeInstance) }; if (includeInstance) { @@ -2492,23 +2492,23 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse} + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse; - return proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetOrganizationsByUserResponse; + return proto.services.user_svc.v1.GetOrganizationsByUserResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse} + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2516,8 +2516,8 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.deserializeBinar var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization; - reader.readMessage(value,proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.deserializeBinaryFromReader); + var value = new proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization; + reader.readMessage(value,proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.deserializeBinaryFromReader); msg.addOrganizations(value); break; default: @@ -2533,9 +2533,9 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetOrganizationsByUserResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2543,18 +2543,18 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse} message + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getOrganizationsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.serializeBinaryToWriter + proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.serializeBinaryToWriter ); } }; @@ -2566,7 +2566,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.serializeBinaryT * @private {!Array} * @const */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.repeatedFields_ = [7]; +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.repeatedFields_ = [7]; @@ -2583,8 +2583,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.toObject(opt_includeInstance, this); }; @@ -2593,11 +2593,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.pro * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), longName: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2606,7 +2606,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.toO avatarUrl: jspb.Message.getFieldWithDefault(msg, 5, ""), isPersonal: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), membersList: jspb.Message.toObjectList(msg.getMembersList(), - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.toObject, includeInstance) + proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.toObject, includeInstance) }; if (includeInstance) { @@ -2620,23 +2620,23 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.toO /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization; - return proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization; + return proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2668,8 +2668,8 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.des msg.setIsPersonal(value); break; case 7: - var value = new proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member; - reader.readMessage(value,proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.deserializeBinaryFromReader); + var value = new proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member; + reader.readMessage(value,proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.deserializeBinaryFromReader); msg.addMembers(value); break; default: @@ -2685,9 +2685,9 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.des * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2695,11 +2695,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.pro /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} message + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -2748,7 +2748,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.ser writer.writeRepeatedMessage( 7, f, - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.serializeBinaryToWriter + proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.serializeBinaryToWriter ); } }; @@ -2770,8 +2770,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.toObject(opt_includeInstance, this); }; @@ -2780,11 +2780,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Mem * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -2803,23 +2803,23 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Mem /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member; - return proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member; + return proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2855,9 +2855,9 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Mem * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2865,11 +2865,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Mem /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} message + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -2906,16 +2906,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Mem * optional string user_id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.getUserId = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.setUserId = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -2924,16 +2924,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Mem * optional string email = 2; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.getEmail = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.setEmail = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.setEmail = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -2942,16 +2942,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Mem * optional string nickname = 3; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.getNickname = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.getNickname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.setNickname = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.setNickname = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -2960,25 +2960,25 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Mem * optional string avatar_url = 4; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.getAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.getAvatarUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.setAvatarUrl = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.setAvatarUrl = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.clearAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.clearAvatarUrl = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -2987,7 +2987,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Mem * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.hasAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member.prototype.hasAvatarUrl = function() { return jspb.Message.getField(this, 4) != null; }; @@ -2996,16 +2996,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Mem * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getId = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setId = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3014,16 +3014,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.pro * optional string long_name = 2; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getLongName = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getLongName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setLongName = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setLongName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3032,16 +3032,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.pro * optional string short_name = 3; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getShortName = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getShortName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setShortName = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setShortName = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -3050,16 +3050,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.pro * optional string contact_email = 4; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getContactEmail = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getContactEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setContactEmail = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setContactEmail = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -3068,25 +3068,25 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.pro * optional string avatar_url = 5; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getAvatarUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setAvatarUrl = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setAvatarUrl = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.clearAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.clearAvatarUrl = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -3095,7 +3095,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.pro * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.hasAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.hasAvatarUrl = function() { return jspb.Message.getField(this, 5) != null; }; @@ -3104,92 +3104,92 @@ proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.pro * optional bool is_personal = 6; * @return {boolean} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getIsPersonal = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getIsPersonal = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setIsPersonal = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setIsPersonal = function(value) { return jspb.Message.setProto3BooleanField(this, 6, value); }; /** * repeated Member members = 7; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getMembersList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member, 7)); +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.getMembersList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member, 7)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this + * @param {!Array} value + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setMembersList = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.setMembersList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 7, value); }; /** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member=} opt_value + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.addMembers = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member, opt_index); +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.addMembers = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.Member, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.clearMembersList = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.prototype.clearMembersList = function() { return this.setMembersList([]); }; /** * repeated Organization organizations = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.getOrganizationsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization, 1)); +proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.getOrganizationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse} returns this + * @param {!Array} value + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.setOrganizationsList = function(value) { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.setOrganizationsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization=} opt_value + * @param {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization} */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.addOrganizations = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization, opt_index); +proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.addOrganizations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsByUserResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.clearOrganizationsList = function() { +proto.services.user_svc.v1.GetOrganizationsByUserResponse.prototype.clearOrganizationsList = function() { return this.setOrganizationsList([]); }; @@ -3210,8 +3210,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetOrganizationsForUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetOrganizationsForUserRequest.toObject(opt_includeInstance, this); }; @@ -3220,11 +3220,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetOrganizationsForUserRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3240,23 +3240,23 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest} + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserRequest} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetOrganizationsForUserRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest; - return proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetOrganizationsForUserRequest; + return proto.services.user_svc.v1.GetOrganizationsForUserRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest} + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserRequest} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetOrganizationsForUserRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3276,9 +3276,9 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetOrganizationsForUserRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetOrganizationsForUserRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3286,11 +3286,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest} message + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetOrganizationsForUserRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -3301,7 +3301,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserRequest.serializeBinaryT * @private {!Array} * @const */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.repeatedFields_ = [1]; +proto.services.user_svc.v1.GetOrganizationsForUserResponse.repeatedFields_ = [1]; @@ -3318,8 +3318,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetOrganizationsForUserResponse.toObject(opt_includeInstance, this); }; @@ -3328,14 +3328,14 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.toObj * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.toObject = function(includeInstance, msg) { var f, obj = { organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(), - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.toObject, includeInstance) + proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.toObject, includeInstance) }; if (includeInstance) { @@ -3349,23 +3349,23 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.toObject = func /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse} + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse; - return proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetOrganizationsForUserResponse; + return proto.services.user_svc.v1.GetOrganizationsForUserResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse} + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3373,8 +3373,8 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.deserializeBina var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization; - reader.readMessage(value,proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.deserializeBinaryFromReader); + var value = new proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization; + reader.readMessage(value,proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.deserializeBinaryFromReader); msg.addOrganizations(value); break; default: @@ -3390,9 +3390,9 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.deserializeBina * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetOrganizationsForUserResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3400,18 +3400,18 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.seria /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse} message + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getOrganizationsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.serializeBinaryToWriter + proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.serializeBinaryToWriter ); } }; @@ -3423,7 +3423,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.serializeBinary * @private {!Array} * @const */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.repeatedFields_ = [7]; +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.repeatedFields_ = [7]; @@ -3440,8 +3440,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.toObject(opt_includeInstance, this); }; @@ -3450,11 +3450,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.pr * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), longName: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -3463,7 +3463,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.to avatarUrl: jspb.Message.getFieldWithDefault(msg, 5, ""), isPersonal: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), membersList: jspb.Message.toObjectList(msg.getMembersList(), - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.toObject, includeInstance) + proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.toObject, includeInstance) }; if (includeInstance) { @@ -3477,23 +3477,23 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.to /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization; - return proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization; + return proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3525,8 +3525,8 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.de msg.setIsPersonal(value); break; case 7: - var value = new proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member; - reader.readMessage(value,proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.deserializeBinaryFromReader); + var value = new proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member; + reader.readMessage(value,proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.deserializeBinaryFromReader); msg.addMembers(value); break; default: @@ -3542,9 +3542,9 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.de * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3552,11 +3552,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.pr /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} message + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -3605,7 +3605,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.se writer.writeRepeatedMessage( 7, f, - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.serializeBinaryToWriter + proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.serializeBinaryToWriter ); } }; @@ -3627,8 +3627,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.toObject(opt_includeInstance, this); }; @@ -3637,11 +3637,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Me * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -3660,23 +3660,23 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Me /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member; - return proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member; + return proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3712,9 +3712,9 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Me * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3722,11 +3722,11 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Me /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} message + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -3763,16 +3763,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Me * optional string user_id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.getUserId = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.setUserId = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3781,16 +3781,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Me * optional string email = 2; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.getEmail = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.setEmail = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.setEmail = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3799,16 +3799,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Me * optional string nickname = 3; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.getNickname = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.getNickname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.setNickname = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.setNickname = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -3817,25 +3817,25 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Me * optional string avatar_url = 4; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.getAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.getAvatarUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.setAvatarUrl = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.setAvatarUrl = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.clearAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.clearAvatarUrl = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -3844,7 +3844,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Me * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.hasAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member.prototype.hasAvatarUrl = function() { return jspb.Message.getField(this, 4) != null; }; @@ -3853,16 +3853,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Me * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getId = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setId = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3871,16 +3871,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.pr * optional string long_name = 2; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getLongName = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getLongName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setLongName = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setLongName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -3889,16 +3889,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.pr * optional string short_name = 3; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getShortName = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getShortName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setShortName = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setShortName = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -3907,16 +3907,16 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.pr * optional string contact_email = 4; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getContactEmail = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getContactEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setContactEmail = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setContactEmail = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -3925,25 +3925,25 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.pr * optional string avatar_url = 5; * @return {string} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getAvatarUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setAvatarUrl = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setAvatarUrl = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.clearAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.clearAvatarUrl = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -3952,7 +3952,7 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.pr * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.hasAvatarUrl = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.hasAvatarUrl = function() { return jspb.Message.getField(this, 5) != null; }; @@ -3961,92 +3961,92 @@ proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.pr * optional bool is_personal = 6; * @return {boolean} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getIsPersonal = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getIsPersonal = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setIsPersonal = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setIsPersonal = function(value) { return jspb.Message.setProto3BooleanField(this, 6, value); }; /** * repeated Member members = 7; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getMembersList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member, 7)); +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.getMembersList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member, 7)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this + * @param {!Array} value + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setMembersList = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.setMembersList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 7, value); }; /** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member=} opt_value + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.addMembers = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member, opt_index); +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.addMembers = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.Member, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.clearMembersList = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.prototype.clearMembersList = function() { return this.setMembersList([]); }; /** * repeated Organization organizations = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.getOrganizationsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization, 1)); +proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.getOrganizationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse} returns this + * @param {!Array} value + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.setOrganizationsList = function(value) { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.setOrganizationsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization=} opt_value + * @param {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization} */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.addOrganizations = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization, opt_index); +proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.addOrganizations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse} returns this + * @return {!proto.services.user_svc.v1.GetOrganizationsForUserResponse} returns this */ -proto.proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.clearOrganizationsList = function() { +proto.services.user_svc.v1.GetOrganizationsForUserResponse.prototype.clearOrganizationsList = function() { return this.setOrganizationsList([]); }; @@ -4067,8 +4067,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.UpdateOrganizationRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.UpdateOrganizationRequest.toObject(opt_includeInstance, this); }; @@ -4077,11 +4077,11 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.UpdateOrganizationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.UpdateOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), longName: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -4102,23 +4102,23 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.UpdateOrganizationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.UpdateOrganizationRequest; - return proto.proto.services.user_svc.v1.UpdateOrganizationRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.UpdateOrganizationRequest; + return proto.services.user_svc.v1.UpdateOrganizationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.UpdateOrganizationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.UpdateOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4162,9 +4162,9 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.UpdateOrganizationRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.UpdateOrganizationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4172,11 +4172,11 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} message + * @param {!proto.services.user_svc.v1.UpdateOrganizationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.UpdateOrganizationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4227,16 +4227,16 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.serializeBinaryToWrit * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getId = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setId = function(value) { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4245,25 +4245,25 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setId = fun * optional string long_name = 2; * @return {string} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getLongName = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getLongName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setLongName = function(value) { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setLongName = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearLongName = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearLongName = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -4272,7 +4272,7 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearLongNa * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasLongName = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasLongName = function() { return jspb.Message.getField(this, 2) != null; }; @@ -4281,25 +4281,25 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasLongName * optional string short_name = 3; * @return {string} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getShortName = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getShortName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setShortName = function(value) { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setShortName = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearShortName = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearShortName = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -4308,7 +4308,7 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearShortN * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasShortName = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasShortName = function() { return jspb.Message.getField(this, 3) != null; }; @@ -4317,25 +4317,25 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasShortNam * optional string contact_email = 4; * @return {string} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getContactEmail = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getContactEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setContactEmail = function(value) { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setContactEmail = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearContactEmail = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearContactEmail = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -4344,7 +4344,7 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearContac * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasContactEmail = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasContactEmail = function() { return jspb.Message.getField(this, 4) != null; }; @@ -4353,25 +4353,25 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasContactE * optional string avatar_url = 5; * @return {string} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getAvatarUrl = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getAvatarUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setAvatarUrl = function(value) { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setAvatarUrl = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearAvatarUrl = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearAvatarUrl = function() { return jspb.Message.setField(this, 5, undefined); }; @@ -4380,7 +4380,7 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearAvatar * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasAvatarUrl = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasAvatarUrl = function() { return jspb.Message.getField(this, 5) != null; }; @@ -4389,25 +4389,25 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasAvatarUr * optional bool is_personal = 6; * @return {boolean} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getIsPersonal = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.getIsPersonal = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); }; /** * @param {boolean} value - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setIsPersonal = function(value) { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.setIsPersonal = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearIsPersonal = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearIsPersonal = function() { return jspb.Message.setField(this, 6, undefined); }; @@ -4416,7 +4416,7 @@ proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.clearIsPers * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasIsPersonal = function() { +proto.services.user_svc.v1.UpdateOrganizationRequest.prototype.hasIsPersonal = function() { return jspb.Message.getField(this, 6) != null; }; @@ -4437,8 +4437,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.UpdateOrganizationResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.UpdateOrganizationResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.UpdateOrganizationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.UpdateOrganizationResponse.toObject(opt_includeInstance, this); }; @@ -4447,11 +4447,11 @@ proto.proto.services.user_svc.v1.UpdateOrganizationResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.UpdateOrganizationResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.UpdateOrganizationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.UpdateOrganizationResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.UpdateOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -4467,23 +4467,23 @@ proto.proto.services.user_svc.v1.UpdateOrganizationResponse.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationResponse} + * @return {!proto.services.user_svc.v1.UpdateOrganizationResponse} */ -proto.proto.services.user_svc.v1.UpdateOrganizationResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.UpdateOrganizationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.UpdateOrganizationResponse; - return proto.proto.services.user_svc.v1.UpdateOrganizationResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.UpdateOrganizationResponse; + return proto.services.user_svc.v1.UpdateOrganizationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.UpdateOrganizationResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.UpdateOrganizationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.UpdateOrganizationResponse} + * @return {!proto.services.user_svc.v1.UpdateOrganizationResponse} */ -proto.proto.services.user_svc.v1.UpdateOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.UpdateOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4503,9 +4503,9 @@ proto.proto.services.user_svc.v1.UpdateOrganizationResponse.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.UpdateOrganizationResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.UpdateOrganizationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.UpdateOrganizationResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.UpdateOrganizationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4513,11 +4513,11 @@ proto.proto.services.user_svc.v1.UpdateOrganizationResponse.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.UpdateOrganizationResponse} message + * @param {!proto.services.user_svc.v1.UpdateOrganizationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.UpdateOrganizationResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.UpdateOrganizationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -4538,8 +4538,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.DeleteOrganizationRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.DeleteOrganizationRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.DeleteOrganizationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.DeleteOrganizationRequest.toObject(opt_includeInstance, this); }; @@ -4548,11 +4548,11 @@ proto.proto.services.user_svc.v1.DeleteOrganizationRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.DeleteOrganizationRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.DeleteOrganizationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.DeleteOrganizationRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.DeleteOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -4568,23 +4568,23 @@ proto.proto.services.user_svc.v1.DeleteOrganizationRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.DeleteOrganizationRequest} + * @return {!proto.services.user_svc.v1.DeleteOrganizationRequest} */ -proto.proto.services.user_svc.v1.DeleteOrganizationRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.DeleteOrganizationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.DeleteOrganizationRequest; - return proto.proto.services.user_svc.v1.DeleteOrganizationRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.DeleteOrganizationRequest; + return proto.services.user_svc.v1.DeleteOrganizationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.DeleteOrganizationRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.DeleteOrganizationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.DeleteOrganizationRequest} + * @return {!proto.services.user_svc.v1.DeleteOrganizationRequest} */ -proto.proto.services.user_svc.v1.DeleteOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.DeleteOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4608,9 +4608,9 @@ proto.proto.services.user_svc.v1.DeleteOrganizationRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.DeleteOrganizationRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.DeleteOrganizationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.DeleteOrganizationRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.DeleteOrganizationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4618,11 +4618,11 @@ proto.proto.services.user_svc.v1.DeleteOrganizationRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.DeleteOrganizationRequest} message + * @param {!proto.services.user_svc.v1.DeleteOrganizationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.DeleteOrganizationRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.DeleteOrganizationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4638,16 +4638,16 @@ proto.proto.services.user_svc.v1.DeleteOrganizationRequest.serializeBinaryToWrit * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.DeleteOrganizationRequest.prototype.getId = function() { +proto.services.user_svc.v1.DeleteOrganizationRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.DeleteOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.DeleteOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.DeleteOrganizationRequest.prototype.setId = function(value) { +proto.services.user_svc.v1.DeleteOrganizationRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4668,8 +4668,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.DeleteOrganizationResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.DeleteOrganizationResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.DeleteOrganizationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.DeleteOrganizationResponse.toObject(opt_includeInstance, this); }; @@ -4678,11 +4678,11 @@ proto.proto.services.user_svc.v1.DeleteOrganizationResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.DeleteOrganizationResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.DeleteOrganizationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.DeleteOrganizationResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.DeleteOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -4698,23 +4698,23 @@ proto.proto.services.user_svc.v1.DeleteOrganizationResponse.toObject = function( /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.DeleteOrganizationResponse} + * @return {!proto.services.user_svc.v1.DeleteOrganizationResponse} */ -proto.proto.services.user_svc.v1.DeleteOrganizationResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.DeleteOrganizationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.DeleteOrganizationResponse; - return proto.proto.services.user_svc.v1.DeleteOrganizationResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.DeleteOrganizationResponse; + return proto.services.user_svc.v1.DeleteOrganizationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.DeleteOrganizationResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.DeleteOrganizationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.DeleteOrganizationResponse} + * @return {!proto.services.user_svc.v1.DeleteOrganizationResponse} */ -proto.proto.services.user_svc.v1.DeleteOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.DeleteOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4734,9 +4734,9 @@ proto.proto.services.user_svc.v1.DeleteOrganizationResponse.deserializeBinaryFro * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.DeleteOrganizationResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.DeleteOrganizationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.DeleteOrganizationResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.DeleteOrganizationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4744,11 +4744,11 @@ proto.proto.services.user_svc.v1.DeleteOrganizationResponse.prototype.serializeB /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.DeleteOrganizationResponse} message + * @param {!proto.services.user_svc.v1.DeleteOrganizationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.DeleteOrganizationResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.DeleteOrganizationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -4769,8 +4769,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetMembersByOrganizationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetMembersByOrganizationRequest.toObject(opt_includeInstance, this); }; @@ -4779,11 +4779,11 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.prototype.toObj * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetMembersByOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -4799,23 +4799,23 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.toObject = func /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest} + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationRequest} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetMembersByOrganizationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest; - return proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetMembersByOrganizationRequest; + return proto.services.user_svc.v1.GetMembersByOrganizationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest} + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationRequest} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetMembersByOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4839,9 +4839,9 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.deserializeBina * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetMembersByOrganizationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetMembersByOrganizationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4849,11 +4849,11 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.prototype.seria /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest} message + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetMembersByOrganizationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -4869,16 +4869,16 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.serializeBinary * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.prototype.getId = function() { +proto.services.user_svc.v1.GetMembersByOrganizationRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.prototype.setId = function(value) { +proto.services.user_svc.v1.GetMembersByOrganizationRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4889,7 +4889,7 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationRequest.prototype.setId * @private {!Array} * @const */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.repeatedFields_ = [1]; +proto.services.user_svc.v1.GetMembersByOrganizationResponse.repeatedFields_ = [1]; @@ -4906,8 +4906,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetMembersByOrganizationResponse.toObject(opt_includeInstance, this); }; @@ -4916,14 +4916,14 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.toOb * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { membersList: jspb.Message.toObjectList(msg.getMembersList(), - proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.toObject, includeInstance) + proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.toObject, includeInstance) }; if (includeInstance) { @@ -4937,23 +4937,23 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.toObject = fun /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse} + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse; - return proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetMembersByOrganizationResponse; + return proto.services.user_svc.v1.GetMembersByOrganizationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse} + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4961,8 +4961,8 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.deserializeBin var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member; - reader.readMessage(value,proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.deserializeBinaryFromReader); + var value = new proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member; + reader.readMessage(value,proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.deserializeBinaryFromReader); msg.addMembers(value); break; default: @@ -4978,9 +4978,9 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.deserializeBin * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetMembersByOrganizationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4988,18 +4988,18 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.seri /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse} message + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMembersList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.serializeBinaryToWriter + proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.serializeBinaryToWriter ); } }; @@ -5021,8 +5021,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.toObject(opt_includeInstance, this); }; @@ -5031,11 +5031,11 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototy * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.toObject = function(includeInstance, msg) { var f, obj = { userId: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -5054,23 +5054,23 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.toObjec /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member; - return proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member; + return proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5106,9 +5106,9 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.deseria * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5116,11 +5116,11 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototy /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} message + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUserId(); if (f.length > 0) { @@ -5157,16 +5157,16 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.seriali * optional string user_id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.getUserId = function() { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} returns this + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} returns this */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.setUserId = function(value) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5175,16 +5175,16 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototy * optional string email = 2; * @return {string} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.getEmail = function() { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} returns this + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} returns this */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.setEmail = function(value) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.setEmail = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -5193,16 +5193,16 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototy * optional string nickname = 3; * @return {string} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.getNickname = function() { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.getNickname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} returns this + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} returns this */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.setNickname = function(value) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.setNickname = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -5211,25 +5211,25 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototy * optional string avatar_url = 4; * @return {string} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.getAvatarUrl = function() { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.getAvatarUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} returns this + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} returns this */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.setAvatarUrl = function(value) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.setAvatarUrl = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} returns this + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} returns this */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.clearAvatarUrl = function() { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.clearAvatarUrl = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -5238,45 +5238,45 @@ proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototy * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.hasAvatarUrl = function() { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member.prototype.hasAvatarUrl = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated Member members = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.getMembersList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member, 1)); +proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.getMembersList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse} returns this + * @param {!Array} value + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.setMembersList = function(value) { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.setMembersList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member=} opt_value + * @param {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member} */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.addMembers = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member, opt_index); +proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.addMembers = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.user_svc.v1.GetMembersByOrganizationResponse.Member, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse} returns this + * @return {!proto.services.user_svc.v1.GetMembersByOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.clearMembersList = function() { +proto.services.user_svc.v1.GetMembersByOrganizationResponse.prototype.clearMembersList = function() { return this.setMembersList([]); }; @@ -5297,8 +5297,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.AddMemberRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.AddMemberRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.AddMemberRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.AddMemberRequest.toObject(opt_includeInstance, this); }; @@ -5307,11 +5307,11 @@ proto.proto.services.user_svc.v1.AddMemberRequest.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.AddMemberRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.AddMemberRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.AddMemberRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.AddMemberRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), userId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -5328,23 +5328,23 @@ proto.proto.services.user_svc.v1.AddMemberRequest.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.AddMemberRequest} + * @return {!proto.services.user_svc.v1.AddMemberRequest} */ -proto.proto.services.user_svc.v1.AddMemberRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.AddMemberRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.AddMemberRequest; - return proto.proto.services.user_svc.v1.AddMemberRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.AddMemberRequest; + return proto.services.user_svc.v1.AddMemberRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.AddMemberRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.AddMemberRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.AddMemberRequest} + * @return {!proto.services.user_svc.v1.AddMemberRequest} */ -proto.proto.services.user_svc.v1.AddMemberRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.AddMemberRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5372,9 +5372,9 @@ proto.proto.services.user_svc.v1.AddMemberRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.AddMemberRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.AddMemberRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.AddMemberRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.AddMemberRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5382,11 +5382,11 @@ proto.proto.services.user_svc.v1.AddMemberRequest.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.AddMemberRequest} message + * @param {!proto.services.user_svc.v1.AddMemberRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.AddMemberRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.AddMemberRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -5409,16 +5409,16 @@ proto.proto.services.user_svc.v1.AddMemberRequest.serializeBinaryToWriter = func * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.AddMemberRequest.prototype.getId = function() { +proto.services.user_svc.v1.AddMemberRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.AddMemberRequest} returns this + * @return {!proto.services.user_svc.v1.AddMemberRequest} returns this */ -proto.proto.services.user_svc.v1.AddMemberRequest.prototype.setId = function(value) { +proto.services.user_svc.v1.AddMemberRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5427,16 +5427,16 @@ proto.proto.services.user_svc.v1.AddMemberRequest.prototype.setId = function(val * optional string user_id = 2; * @return {string} */ -proto.proto.services.user_svc.v1.AddMemberRequest.prototype.getUserId = function() { +proto.services.user_svc.v1.AddMemberRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.AddMemberRequest} returns this + * @return {!proto.services.user_svc.v1.AddMemberRequest} returns this */ -proto.proto.services.user_svc.v1.AddMemberRequest.prototype.setUserId = function(value) { +proto.services.user_svc.v1.AddMemberRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -5457,8 +5457,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.AddMemberResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.AddMemberResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.AddMemberResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.AddMemberResponse.toObject(opt_includeInstance, this); }; @@ -5467,11 +5467,11 @@ proto.proto.services.user_svc.v1.AddMemberResponse.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.AddMemberResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.AddMemberResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.AddMemberResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.AddMemberResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -5487,23 +5487,23 @@ proto.proto.services.user_svc.v1.AddMemberResponse.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.AddMemberResponse} + * @return {!proto.services.user_svc.v1.AddMemberResponse} */ -proto.proto.services.user_svc.v1.AddMemberResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.AddMemberResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.AddMemberResponse; - return proto.proto.services.user_svc.v1.AddMemberResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.AddMemberResponse; + return proto.services.user_svc.v1.AddMemberResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.AddMemberResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.AddMemberResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.AddMemberResponse} + * @return {!proto.services.user_svc.v1.AddMemberResponse} */ -proto.proto.services.user_svc.v1.AddMemberResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.AddMemberResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5523,9 +5523,9 @@ proto.proto.services.user_svc.v1.AddMemberResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.AddMemberResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.AddMemberResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.AddMemberResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.AddMemberResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5533,11 +5533,11 @@ proto.proto.services.user_svc.v1.AddMemberResponse.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.AddMemberResponse} message + * @param {!proto.services.user_svc.v1.AddMemberResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.AddMemberResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.AddMemberResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -5558,8 +5558,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.RemoveMemberRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.RemoveMemberRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.RemoveMemberRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.RemoveMemberRequest.toObject(opt_includeInstance, this); }; @@ -5568,11 +5568,11 @@ proto.proto.services.user_svc.v1.RemoveMemberRequest.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.RemoveMemberRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.RemoveMemberRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.RemoveMemberRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.RemoveMemberRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), userId: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -5589,23 +5589,23 @@ proto.proto.services.user_svc.v1.RemoveMemberRequest.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.RemoveMemberRequest} + * @return {!proto.services.user_svc.v1.RemoveMemberRequest} */ -proto.proto.services.user_svc.v1.RemoveMemberRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.RemoveMemberRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.RemoveMemberRequest; - return proto.proto.services.user_svc.v1.RemoveMemberRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.RemoveMemberRequest; + return proto.services.user_svc.v1.RemoveMemberRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.RemoveMemberRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.RemoveMemberRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.RemoveMemberRequest} + * @return {!proto.services.user_svc.v1.RemoveMemberRequest} */ -proto.proto.services.user_svc.v1.RemoveMemberRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.RemoveMemberRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5633,9 +5633,9 @@ proto.proto.services.user_svc.v1.RemoveMemberRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.RemoveMemberRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.RemoveMemberRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.RemoveMemberRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.RemoveMemberRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5643,11 +5643,11 @@ proto.proto.services.user_svc.v1.RemoveMemberRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.RemoveMemberRequest} message + * @param {!proto.services.user_svc.v1.RemoveMemberRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.RemoveMemberRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.RemoveMemberRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -5670,16 +5670,16 @@ proto.proto.services.user_svc.v1.RemoveMemberRequest.serializeBinaryToWriter = f * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.RemoveMemberRequest.prototype.getId = function() { +proto.services.user_svc.v1.RemoveMemberRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.RemoveMemberRequest} returns this + * @return {!proto.services.user_svc.v1.RemoveMemberRequest} returns this */ -proto.proto.services.user_svc.v1.RemoveMemberRequest.prototype.setId = function(value) { +proto.services.user_svc.v1.RemoveMemberRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5688,16 +5688,16 @@ proto.proto.services.user_svc.v1.RemoveMemberRequest.prototype.setId = function( * optional string user_id = 2; * @return {string} */ -proto.proto.services.user_svc.v1.RemoveMemberRequest.prototype.getUserId = function() { +proto.services.user_svc.v1.RemoveMemberRequest.prototype.getUserId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.RemoveMemberRequest} returns this + * @return {!proto.services.user_svc.v1.RemoveMemberRequest} returns this */ -proto.proto.services.user_svc.v1.RemoveMemberRequest.prototype.setUserId = function(value) { +proto.services.user_svc.v1.RemoveMemberRequest.prototype.setUserId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -5718,8 +5718,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.RemoveMemberResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.RemoveMemberResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.RemoveMemberResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.RemoveMemberResponse.toObject(opt_includeInstance, this); }; @@ -5728,11 +5728,11 @@ proto.proto.services.user_svc.v1.RemoveMemberResponse.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.RemoveMemberResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.RemoveMemberResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.RemoveMemberResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.RemoveMemberResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -5748,23 +5748,23 @@ proto.proto.services.user_svc.v1.RemoveMemberResponse.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.RemoveMemberResponse} + * @return {!proto.services.user_svc.v1.RemoveMemberResponse} */ -proto.proto.services.user_svc.v1.RemoveMemberResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.RemoveMemberResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.RemoveMemberResponse; - return proto.proto.services.user_svc.v1.RemoveMemberResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.RemoveMemberResponse; + return proto.services.user_svc.v1.RemoveMemberResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.RemoveMemberResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.RemoveMemberResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.RemoveMemberResponse} + * @return {!proto.services.user_svc.v1.RemoveMemberResponse} */ -proto.proto.services.user_svc.v1.RemoveMemberResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.RemoveMemberResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5784,9 +5784,9 @@ proto.proto.services.user_svc.v1.RemoveMemberResponse.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.RemoveMemberResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.RemoveMemberResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.RemoveMemberResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.RemoveMemberResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5794,11 +5794,11 @@ proto.proto.services.user_svc.v1.RemoveMemberResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.RemoveMemberResponse} message + * @param {!proto.services.user_svc.v1.RemoveMemberResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.RemoveMemberResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.RemoveMemberResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -5819,8 +5819,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.InviteMemberRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.InviteMemberRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.InviteMemberRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.InviteMemberRequest.toObject(opt_includeInstance, this); }; @@ -5829,11 +5829,11 @@ proto.proto.services.user_svc.v1.InviteMemberRequest.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.InviteMemberRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.InviteMemberRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.InviteMemberRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.InviteMemberRequest.toObject = function(includeInstance, msg) { var f, obj = { organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -5850,23 +5850,23 @@ proto.proto.services.user_svc.v1.InviteMemberRequest.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.InviteMemberRequest} + * @return {!proto.services.user_svc.v1.InviteMemberRequest} */ -proto.proto.services.user_svc.v1.InviteMemberRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.InviteMemberRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.InviteMemberRequest; - return proto.proto.services.user_svc.v1.InviteMemberRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.InviteMemberRequest; + return proto.services.user_svc.v1.InviteMemberRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.InviteMemberRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.InviteMemberRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.InviteMemberRequest} + * @return {!proto.services.user_svc.v1.InviteMemberRequest} */ -proto.proto.services.user_svc.v1.InviteMemberRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.InviteMemberRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5894,9 +5894,9 @@ proto.proto.services.user_svc.v1.InviteMemberRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.InviteMemberRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.InviteMemberRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.InviteMemberRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.InviteMemberRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5904,11 +5904,11 @@ proto.proto.services.user_svc.v1.InviteMemberRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.InviteMemberRequest} message + * @param {!proto.services.user_svc.v1.InviteMemberRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.InviteMemberRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.InviteMemberRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getOrganizationId(); if (f.length > 0) { @@ -5931,16 +5931,16 @@ proto.proto.services.user_svc.v1.InviteMemberRequest.serializeBinaryToWriter = f * optional string organization_id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.InviteMemberRequest.prototype.getOrganizationId = function() { +proto.services.user_svc.v1.InviteMemberRequest.prototype.getOrganizationId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.InviteMemberRequest} returns this + * @return {!proto.services.user_svc.v1.InviteMemberRequest} returns this */ -proto.proto.services.user_svc.v1.InviteMemberRequest.prototype.setOrganizationId = function(value) { +proto.services.user_svc.v1.InviteMemberRequest.prototype.setOrganizationId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5949,16 +5949,16 @@ proto.proto.services.user_svc.v1.InviteMemberRequest.prototype.setOrganizationId * optional string email = 2; * @return {string} */ -proto.proto.services.user_svc.v1.InviteMemberRequest.prototype.getEmail = function() { +proto.services.user_svc.v1.InviteMemberRequest.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.InviteMemberRequest} returns this + * @return {!proto.services.user_svc.v1.InviteMemberRequest} returns this */ -proto.proto.services.user_svc.v1.InviteMemberRequest.prototype.setEmail = function(value) { +proto.services.user_svc.v1.InviteMemberRequest.prototype.setEmail = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -5979,8 +5979,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.InviteMemberResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.InviteMemberResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.InviteMemberResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.InviteMemberResponse.toObject(opt_includeInstance, this); }; @@ -5989,11 +5989,11 @@ proto.proto.services.user_svc.v1.InviteMemberResponse.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.InviteMemberResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.InviteMemberResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.InviteMemberResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.InviteMemberResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -6009,23 +6009,23 @@ proto.proto.services.user_svc.v1.InviteMemberResponse.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.InviteMemberResponse} + * @return {!proto.services.user_svc.v1.InviteMemberResponse} */ -proto.proto.services.user_svc.v1.InviteMemberResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.InviteMemberResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.InviteMemberResponse; - return proto.proto.services.user_svc.v1.InviteMemberResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.InviteMemberResponse; + return proto.services.user_svc.v1.InviteMemberResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.InviteMemberResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.InviteMemberResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.InviteMemberResponse} + * @return {!proto.services.user_svc.v1.InviteMemberResponse} */ -proto.proto.services.user_svc.v1.InviteMemberResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.InviteMemberResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6049,9 +6049,9 @@ proto.proto.services.user_svc.v1.InviteMemberResponse.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.InviteMemberResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.InviteMemberResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.InviteMemberResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.InviteMemberResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6059,11 +6059,11 @@ proto.proto.services.user_svc.v1.InviteMemberResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.InviteMemberResponse} message + * @param {!proto.services.user_svc.v1.InviteMemberResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.InviteMemberResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.InviteMemberResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -6079,16 +6079,16 @@ proto.proto.services.user_svc.v1.InviteMemberResponse.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.InviteMemberResponse.prototype.getId = function() { +proto.services.user_svc.v1.InviteMemberResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.InviteMemberResponse} returns this + * @return {!proto.services.user_svc.v1.InviteMemberResponse} returns this */ -proto.proto.services.user_svc.v1.InviteMemberResponse.prototype.setId = function(value) { +proto.services.user_svc.v1.InviteMemberResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -6109,8 +6109,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.toObject(opt_includeInstance, this); }; @@ -6119,11 +6119,11 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.t * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), state: jspb.Message.getFieldWithDefault(msg, 2, 0) @@ -6140,23 +6140,23 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.toObject = /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest; - return proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetInvitationsByOrganizationRequest; + return proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6168,7 +6168,7 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.deserialize msg.setOrganizationId(value); break; case 2: - var value = /** @type {!proto.proto.services.user_svc.v1.InvitationState} */ (reader.readEnum()); + var value = /** @type {!proto.services.user_svc.v1.InvitationState} */ (reader.readEnum()); msg.setState(value); break; default: @@ -6184,9 +6184,9 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.deserialize * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6194,11 +6194,11 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.s /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} message + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getOrganizationId(); if (f.length > 0) { @@ -6207,7 +6207,7 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.serializeBi f ); } - f = /** @type {!proto.proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getField(message, 2)); + f = /** @type {!proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, @@ -6221,43 +6221,43 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.serializeBi * optional string organization_id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.getOrganizationId = function() { +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.getOrganizationId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.setOrganizationId = function(value) { +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.setOrganizationId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional InvitationState state = 2; - * @return {!proto.proto.services.user_svc.v1.InvitationState} + * @return {!proto.services.user_svc.v1.InvitationState} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.getState = function() { - return /** @type {!proto.proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.getState = function() { + return /** @type {!proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {!proto.proto.services.user_svc.v1.InvitationState} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} returns this + * @param {!proto.services.user_svc.v1.InvitationState} value + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.setState = function(value) { +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.setState = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationRequest} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.clearState = function() { +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.clearState = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -6266,7 +6266,7 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.c * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.hasState = function() { +proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.hasState = function() { return jspb.Message.getField(this, 2) != null; }; @@ -6277,7 +6277,7 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest.prototype.h * @private {!Array} * @const */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.repeatedFields_ = [1]; +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.repeatedFields_ = [1]; @@ -6294,8 +6294,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.toObject(opt_includeInstance, this); }; @@ -6304,14 +6304,14 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { invitationsList: jspb.Message.toObjectList(msg.getInvitationsList(), - proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.toObject, includeInstance) + proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.toObject, includeInstance) }; if (includeInstance) { @@ -6325,23 +6325,23 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.toObject = /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse; - return proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetInvitationsByOrganizationResponse; + return proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6349,8 +6349,8 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.deserializ var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation; - reader.readMessage(value,proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.deserializeBinaryFromReader); + var value = new proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation; + reader.readMessage(value,proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.deserializeBinaryFromReader); msg.addInvitations(value); break; default: @@ -6366,9 +6366,9 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.deserializ * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6376,18 +6376,18 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype. /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} message + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getInvitationsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.serializeBinaryToWriter + proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.serializeBinaryToWriter ); } }; @@ -6409,8 +6409,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.toObject(opt_includeInstance, this); }; @@ -6419,11 +6419,11 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -6442,23 +6442,23 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation; - return proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation; + return proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6478,7 +6478,7 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation msg.setOrganizationId(value); break; case 4: - var value = /** @type {!proto.proto.services.user_svc.v1.InvitationState} */ (reader.readEnum()); + var value = /** @type {!proto.services.user_svc.v1.InvitationState} */ (reader.readEnum()); msg.setState(value); break; default: @@ -6494,9 +6494,9 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6504,11 +6504,11 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} message + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -6545,16 +6545,16 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.getId = function() { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.setId = function(value) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -6563,16 +6563,16 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation * optional string email = 2; * @return {string} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.getEmail = function() { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.setEmail = function(value) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.setEmail = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -6581,72 +6581,72 @@ proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation * optional string organization_id = 3; * @return {string} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.getOrganizationId = function() { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.getOrganizationId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.setOrganizationId = function(value) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.setOrganizationId = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional InvitationState state = 4; - * @return {!proto.proto.services.user_svc.v1.InvitationState} + * @return {!proto.services.user_svc.v1.InvitationState} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.getState = function() { - return /** @type {!proto.proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.getState = function() { + return /** @type {!proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** - * @param {!proto.proto.services.user_svc.v1.InvitationState} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} returns this + * @param {!proto.services.user_svc.v1.InvitationState} value + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.setState = function(value) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation.prototype.setState = function(value) { return jspb.Message.setProto3EnumField(this, 4, value); }; /** * repeated Invitation invitations = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.getInvitationsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation, 1)); +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.getInvitationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} returns this + * @param {!Array} value + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.setInvitationsList = function(value) { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.setInvitationsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation=} opt_value + * @param {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation} */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.addInvitations = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation, opt_index); +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.addInvitations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.Invitation, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByOrganizationResponse} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.clearInvitationsList = function() { +proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.prototype.clearInvitationsList = function() { return this.setInvitationsList([]); }; @@ -6667,8 +6667,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetInvitationsByUserRequest.toObject(opt_includeInstance, this); }; @@ -6677,11 +6677,11 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetInvitationsByUserRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetInvitationsByUserRequest.toObject = function(includeInstance, msg) { var f, obj = { state: jspb.Message.getFieldWithDefault(msg, 1, 0) }; @@ -6697,23 +6697,23 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.toObject = function /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserRequest} + * @return {!proto.services.user_svc.v1.GetInvitationsByUserRequest} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetInvitationsByUserRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetInvitationsByUserRequest; - return proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetInvitationsByUserRequest; + return proto.services.user_svc.v1.GetInvitationsByUserRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetInvitationsByUserRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserRequest} + * @return {!proto.services.user_svc.v1.GetInvitationsByUserRequest} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetInvitationsByUserRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6721,7 +6721,7 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.deserializeBinaryFr var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!proto.proto.services.user_svc.v1.InvitationState} */ (reader.readEnum()); + var value = /** @type {!proto.services.user_svc.v1.InvitationState} */ (reader.readEnum()); msg.setState(value); break; default: @@ -6737,9 +6737,9 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.deserializeBinaryFr * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetInvitationsByUserRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6747,13 +6747,13 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.serialize /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserRequest} message + * @param {!proto.services.user_svc.v1.GetInvitationsByUserRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetInvitationsByUserRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {!proto.proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getField(message, 1)); + f = /** @type {!proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, @@ -6765,27 +6765,27 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.serializeBinaryToWr /** * optional InvitationState state = 1; - * @return {!proto.proto.services.user_svc.v1.InvitationState} + * @return {!proto.services.user_svc.v1.InvitationState} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.getState = function() { - return /** @type {!proto.proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.getState = function() { + return /** @type {!proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {!proto.proto.services.user_svc.v1.InvitationState} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserRequest} returns this + * @param {!proto.services.user_svc.v1.InvitationState} value + * @return {!proto.services.user_svc.v1.GetInvitationsByUserRequest} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.setState = function(value) { +proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.setState = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserRequest} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByUserRequest} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.clearState = function() { +proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.clearState = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -6794,7 +6794,7 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.clearStat * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.hasState = function() { +proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.hasState = function() { return jspb.Message.getField(this, 1) != null; }; @@ -6805,7 +6805,7 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserRequest.prototype.hasState * @private {!Array} * @const */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.repeatedFields_ = [1]; +proto.services.user_svc.v1.GetInvitationsByUserResponse.repeatedFields_ = [1]; @@ -6822,8 +6822,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetInvitationsByUserResponse.toObject(opt_includeInstance, this); }; @@ -6832,14 +6832,14 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetInvitationsByUserResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.toObject = function(includeInstance, msg) { var f, obj = { invitationsList: jspb.Message.toObjectList(msg.getInvitationsList(), - proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.toObject, includeInstance) + proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.toObject, includeInstance) }; if (includeInstance) { @@ -6853,23 +6853,23 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.toObject = functio /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse} + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetInvitationsByUserResponse; - return proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetInvitationsByUserResponse; + return proto.services.user_svc.v1.GetInvitationsByUserResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetInvitationsByUserResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse} + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6877,8 +6877,8 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.deserializeBinaryF var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation; - reader.readMessage(value,proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.deserializeBinaryFromReader); + var value = new proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation; + reader.readMessage(value,proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.deserializeBinaryFromReader); msg.addInvitations(value); break; default: @@ -6894,9 +6894,9 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.deserializeBinaryF * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetInvitationsByUserResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6904,18 +6904,18 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.serializ /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse} message + * @param {!proto.services.user_svc.v1.GetInvitationsByUserResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getInvitationsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.serializeBinaryToWriter + proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.serializeBinaryToWriter ); } }; @@ -6937,8 +6937,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.toObject(opt_includeInstance, this); }; @@ -6947,15 +6947,15 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototy * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, ""), - organization: (f = msg.getOrganization()) && proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.toObject(includeInstance, f), + organization: (f = msg.getOrganization()) && proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.toObject(includeInstance, f), state: jspb.Message.getFieldWithDefault(msg, 4, 0) }; @@ -6970,23 +6970,23 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.toObjec /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation; - return proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation; + return proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7002,12 +7002,12 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.deseria msg.setEmail(value); break; case 3: - var value = new proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization; - reader.readMessage(value,proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.deserializeBinaryFromReader); + var value = new proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization; + reader.readMessage(value,proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.deserializeBinaryFromReader); msg.setOrganization(value); break; case 4: - var value = /** @type {!proto.proto.services.user_svc.v1.InvitationState} */ (reader.readEnum()); + var value = /** @type {!proto.services.user_svc.v1.InvitationState} */ (reader.readEnum()); msg.setState(value); break; default: @@ -7023,9 +7023,9 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.deseria * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7033,11 +7033,11 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototy /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} message + * @param {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -7058,7 +7058,7 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.seriali writer.writeMessage( 3, f, - proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.serializeBinaryToWriter + proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.serializeBinaryToWriter ); } f = message.getState(); @@ -7087,8 +7087,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.toObject(opt_includeInstance, this); }; @@ -7097,11 +7097,11 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organiz * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), longName: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -7119,23 +7119,23 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organiz /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization; - return proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization; + return proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7167,9 +7167,9 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organiz * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.serializeBinary = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7177,11 +7177,11 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organiz /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} message + * @param {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -7211,16 +7211,16 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organiz * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.getId = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.setId = function(value) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -7229,16 +7229,16 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organiz * optional string long_name = 2; * @return {string} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.getLongName = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.getLongName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.setLongName = function(value) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.setLongName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -7247,25 +7247,25 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organiz * optional string avatar_url = 3; * @return {string} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.getAvatarUrl = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.getAvatarUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.setAvatarUrl = function(value) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.setAvatarUrl = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.clearAvatarUrl = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.clearAvatarUrl = function() { return jspb.Message.setField(this, 3, undefined); }; @@ -7274,7 +7274,7 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organiz * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.hasAvatarUrl = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization.prototype.hasAvatarUrl = function() { return jspb.Message.getField(this, 3) != null; }; @@ -7283,16 +7283,16 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organiz * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.getId = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.setId = function(value) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -7301,44 +7301,44 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototy * optional string email = 2; * @return {string} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.getEmail = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.setEmail = function(value) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.setEmail = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * optional Organization organization = 3; - * @return {?proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} + * @return {?proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.getOrganization = function() { - return /** @type{?proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} */ ( - jspb.Message.getWrapperField(this, proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization, 3)); +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.getOrganization = function() { + return /** @type{?proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization} */ ( + jspb.Message.getWrapperField(this, proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization, 3)); }; /** - * @param {?proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization|undefined} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} returns this + * @param {?proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.Organization|undefined} value + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.setOrganization = function(value) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.setOrganization = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.clearOrganization = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.clearOrganization = function() { return this.setOrganization(undefined); }; @@ -7347,63 +7347,63 @@ proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototy * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.hasOrganization = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.hasOrganization = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional InvitationState state = 4; - * @return {!proto.proto.services.user_svc.v1.InvitationState} + * @return {!proto.services.user_svc.v1.InvitationState} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.getState = function() { - return /** @type {!proto.proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.getState = function() { + return /** @type {!proto.services.user_svc.v1.InvitationState} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** - * @param {!proto.proto.services.user_svc.v1.InvitationState} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} returns this + * @param {!proto.services.user_svc.v1.InvitationState} value + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.setState = function(value) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.prototype.setState = function(value) { return jspb.Message.setProto3EnumField(this, 4, value); }; /** * repeated Invitation invitations = 1; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.getInvitationsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation, 1)); +proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.getInvitationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation, 1)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse} returns this + * @param {!Array} value + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.setInvitationsList = function(value) { +proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.setInvitationsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation=} opt_value + * @param {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation} */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.addInvitations = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation, opt_index); +proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.addInvitations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.user_svc.v1.GetInvitationsByUserResponse} returns this + * @return {!proto.services.user_svc.v1.GetInvitationsByUserResponse} returns this */ -proto.proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.clearInvitationsList = function() { +proto.services.user_svc.v1.GetInvitationsByUserResponse.prototype.clearInvitationsList = function() { return this.setInvitationsList([]); }; @@ -7424,8 +7424,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.AcceptInvitationRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.AcceptInvitationRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.AcceptInvitationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.AcceptInvitationRequest.toObject(opt_includeInstance, this); }; @@ -7434,11 +7434,11 @@ proto.proto.services.user_svc.v1.AcceptInvitationRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.AcceptInvitationRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.AcceptInvitationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.AcceptInvitationRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.AcceptInvitationRequest.toObject = function(includeInstance, msg) { var f, obj = { invitationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -7454,23 +7454,23 @@ proto.proto.services.user_svc.v1.AcceptInvitationRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.AcceptInvitationRequest} + * @return {!proto.services.user_svc.v1.AcceptInvitationRequest} */ -proto.proto.services.user_svc.v1.AcceptInvitationRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.AcceptInvitationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.AcceptInvitationRequest; - return proto.proto.services.user_svc.v1.AcceptInvitationRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.AcceptInvitationRequest; + return proto.services.user_svc.v1.AcceptInvitationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.AcceptInvitationRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.AcceptInvitationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.AcceptInvitationRequest} + * @return {!proto.services.user_svc.v1.AcceptInvitationRequest} */ -proto.proto.services.user_svc.v1.AcceptInvitationRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.AcceptInvitationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7494,9 +7494,9 @@ proto.proto.services.user_svc.v1.AcceptInvitationRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.AcceptInvitationRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.AcceptInvitationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.AcceptInvitationRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.AcceptInvitationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7504,11 +7504,11 @@ proto.proto.services.user_svc.v1.AcceptInvitationRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.AcceptInvitationRequest} message + * @param {!proto.services.user_svc.v1.AcceptInvitationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.AcceptInvitationRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.AcceptInvitationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getInvitationId(); if (f.length > 0) { @@ -7524,16 +7524,16 @@ proto.proto.services.user_svc.v1.AcceptInvitationRequest.serializeBinaryToWriter * optional string invitation_id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.AcceptInvitationRequest.prototype.getInvitationId = function() { +proto.services.user_svc.v1.AcceptInvitationRequest.prototype.getInvitationId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.AcceptInvitationRequest} returns this + * @return {!proto.services.user_svc.v1.AcceptInvitationRequest} returns this */ -proto.proto.services.user_svc.v1.AcceptInvitationRequest.prototype.setInvitationId = function(value) { +proto.services.user_svc.v1.AcceptInvitationRequest.prototype.setInvitationId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -7554,8 +7554,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.AcceptInvitationResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.AcceptInvitationResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.AcceptInvitationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.AcceptInvitationResponse.toObject(opt_includeInstance, this); }; @@ -7564,11 +7564,11 @@ proto.proto.services.user_svc.v1.AcceptInvitationResponse.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.AcceptInvitationResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.AcceptInvitationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.AcceptInvitationResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.AcceptInvitationResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -7584,23 +7584,23 @@ proto.proto.services.user_svc.v1.AcceptInvitationResponse.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.AcceptInvitationResponse} + * @return {!proto.services.user_svc.v1.AcceptInvitationResponse} */ -proto.proto.services.user_svc.v1.AcceptInvitationResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.AcceptInvitationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.AcceptInvitationResponse; - return proto.proto.services.user_svc.v1.AcceptInvitationResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.AcceptInvitationResponse; + return proto.services.user_svc.v1.AcceptInvitationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.AcceptInvitationResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.AcceptInvitationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.AcceptInvitationResponse} + * @return {!proto.services.user_svc.v1.AcceptInvitationResponse} */ -proto.proto.services.user_svc.v1.AcceptInvitationResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.AcceptInvitationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7620,9 +7620,9 @@ proto.proto.services.user_svc.v1.AcceptInvitationResponse.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.AcceptInvitationResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.AcceptInvitationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.AcceptInvitationResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.AcceptInvitationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7630,11 +7630,11 @@ proto.proto.services.user_svc.v1.AcceptInvitationResponse.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.AcceptInvitationResponse} message + * @param {!proto.services.user_svc.v1.AcceptInvitationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.AcceptInvitationResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.AcceptInvitationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -7655,8 +7655,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.DeclineInvitationRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.DeclineInvitationRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.DeclineInvitationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.DeclineInvitationRequest.toObject(opt_includeInstance, this); }; @@ -7665,11 +7665,11 @@ proto.proto.services.user_svc.v1.DeclineInvitationRequest.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.DeclineInvitationRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.DeclineInvitationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.DeclineInvitationRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.DeclineInvitationRequest.toObject = function(includeInstance, msg) { var f, obj = { invitationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -7685,23 +7685,23 @@ proto.proto.services.user_svc.v1.DeclineInvitationRequest.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.DeclineInvitationRequest} + * @return {!proto.services.user_svc.v1.DeclineInvitationRequest} */ -proto.proto.services.user_svc.v1.DeclineInvitationRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.DeclineInvitationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.DeclineInvitationRequest; - return proto.proto.services.user_svc.v1.DeclineInvitationRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.DeclineInvitationRequest; + return proto.services.user_svc.v1.DeclineInvitationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.DeclineInvitationRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.DeclineInvitationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.DeclineInvitationRequest} + * @return {!proto.services.user_svc.v1.DeclineInvitationRequest} */ -proto.proto.services.user_svc.v1.DeclineInvitationRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.DeclineInvitationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7725,9 +7725,9 @@ proto.proto.services.user_svc.v1.DeclineInvitationRequest.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.DeclineInvitationRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.DeclineInvitationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.DeclineInvitationRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.DeclineInvitationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7735,11 +7735,11 @@ proto.proto.services.user_svc.v1.DeclineInvitationRequest.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.DeclineInvitationRequest} message + * @param {!proto.services.user_svc.v1.DeclineInvitationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.DeclineInvitationRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.DeclineInvitationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getInvitationId(); if (f.length > 0) { @@ -7755,16 +7755,16 @@ proto.proto.services.user_svc.v1.DeclineInvitationRequest.serializeBinaryToWrite * optional string invitation_id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.DeclineInvitationRequest.prototype.getInvitationId = function() { +proto.services.user_svc.v1.DeclineInvitationRequest.prototype.getInvitationId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.DeclineInvitationRequest} returns this + * @return {!proto.services.user_svc.v1.DeclineInvitationRequest} returns this */ -proto.proto.services.user_svc.v1.DeclineInvitationRequest.prototype.setInvitationId = function(value) { +proto.services.user_svc.v1.DeclineInvitationRequest.prototype.setInvitationId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -7785,8 +7785,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.DeclineInvitationResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.DeclineInvitationResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.DeclineInvitationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.DeclineInvitationResponse.toObject(opt_includeInstance, this); }; @@ -7795,11 +7795,11 @@ proto.proto.services.user_svc.v1.DeclineInvitationResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.DeclineInvitationResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.DeclineInvitationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.DeclineInvitationResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.DeclineInvitationResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -7815,23 +7815,23 @@ proto.proto.services.user_svc.v1.DeclineInvitationResponse.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.DeclineInvitationResponse} + * @return {!proto.services.user_svc.v1.DeclineInvitationResponse} */ -proto.proto.services.user_svc.v1.DeclineInvitationResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.DeclineInvitationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.DeclineInvitationResponse; - return proto.proto.services.user_svc.v1.DeclineInvitationResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.DeclineInvitationResponse; + return proto.services.user_svc.v1.DeclineInvitationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.DeclineInvitationResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.DeclineInvitationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.DeclineInvitationResponse} + * @return {!proto.services.user_svc.v1.DeclineInvitationResponse} */ -proto.proto.services.user_svc.v1.DeclineInvitationResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.DeclineInvitationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7851,9 +7851,9 @@ proto.proto.services.user_svc.v1.DeclineInvitationResponse.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.DeclineInvitationResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.DeclineInvitationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.DeclineInvitationResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.DeclineInvitationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7861,11 +7861,11 @@ proto.proto.services.user_svc.v1.DeclineInvitationResponse.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.DeclineInvitationResponse} message + * @param {!proto.services.user_svc.v1.DeclineInvitationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.DeclineInvitationResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.DeclineInvitationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -7886,8 +7886,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.RevokeInvitationRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.RevokeInvitationRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.RevokeInvitationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.RevokeInvitationRequest.toObject(opt_includeInstance, this); }; @@ -7896,11 +7896,11 @@ proto.proto.services.user_svc.v1.RevokeInvitationRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.RevokeInvitationRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.RevokeInvitationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.RevokeInvitationRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.RevokeInvitationRequest.toObject = function(includeInstance, msg) { var f, obj = { invitationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -7916,23 +7916,23 @@ proto.proto.services.user_svc.v1.RevokeInvitationRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.RevokeInvitationRequest} + * @return {!proto.services.user_svc.v1.RevokeInvitationRequest} */ -proto.proto.services.user_svc.v1.RevokeInvitationRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.RevokeInvitationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.RevokeInvitationRequest; - return proto.proto.services.user_svc.v1.RevokeInvitationRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.RevokeInvitationRequest; + return proto.services.user_svc.v1.RevokeInvitationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.RevokeInvitationRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.RevokeInvitationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.RevokeInvitationRequest} + * @return {!proto.services.user_svc.v1.RevokeInvitationRequest} */ -proto.proto.services.user_svc.v1.RevokeInvitationRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.RevokeInvitationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7956,9 +7956,9 @@ proto.proto.services.user_svc.v1.RevokeInvitationRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.RevokeInvitationRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.RevokeInvitationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.RevokeInvitationRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.RevokeInvitationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7966,11 +7966,11 @@ proto.proto.services.user_svc.v1.RevokeInvitationRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.RevokeInvitationRequest} message + * @param {!proto.services.user_svc.v1.RevokeInvitationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.RevokeInvitationRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.RevokeInvitationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getInvitationId(); if (f.length > 0) { @@ -7986,16 +7986,16 @@ proto.proto.services.user_svc.v1.RevokeInvitationRequest.serializeBinaryToWriter * optional string invitation_id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.RevokeInvitationRequest.prototype.getInvitationId = function() { +proto.services.user_svc.v1.RevokeInvitationRequest.prototype.getInvitationId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.RevokeInvitationRequest} returns this + * @return {!proto.services.user_svc.v1.RevokeInvitationRequest} returns this */ -proto.proto.services.user_svc.v1.RevokeInvitationRequest.prototype.setInvitationId = function(value) { +proto.services.user_svc.v1.RevokeInvitationRequest.prototype.setInvitationId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -8016,8 +8016,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.RevokeInvitationResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.RevokeInvitationResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.RevokeInvitationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.RevokeInvitationResponse.toObject(opt_includeInstance, this); }; @@ -8026,11 +8026,11 @@ proto.proto.services.user_svc.v1.RevokeInvitationResponse.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.RevokeInvitationResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.RevokeInvitationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.RevokeInvitationResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.RevokeInvitationResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -8046,23 +8046,23 @@ proto.proto.services.user_svc.v1.RevokeInvitationResponse.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.RevokeInvitationResponse} + * @return {!proto.services.user_svc.v1.RevokeInvitationResponse} */ -proto.proto.services.user_svc.v1.RevokeInvitationResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.RevokeInvitationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.RevokeInvitationResponse; - return proto.proto.services.user_svc.v1.RevokeInvitationResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.RevokeInvitationResponse; + return proto.services.user_svc.v1.RevokeInvitationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.RevokeInvitationResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.RevokeInvitationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.RevokeInvitationResponse} + * @return {!proto.services.user_svc.v1.RevokeInvitationResponse} */ -proto.proto.services.user_svc.v1.RevokeInvitationResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.RevokeInvitationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8082,9 +8082,9 @@ proto.proto.services.user_svc.v1.RevokeInvitationResponse.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.RevokeInvitationResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.RevokeInvitationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.RevokeInvitationResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.RevokeInvitationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8092,11 +8092,11 @@ proto.proto.services.user_svc.v1.RevokeInvitationResponse.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.RevokeInvitationResponse} message + * @param {!proto.services.user_svc.v1.RevokeInvitationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.RevokeInvitationResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.RevokeInvitationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -8104,7 +8104,7 @@ proto.proto.services.user_svc.v1.RevokeInvitationResponse.serializeBinaryToWrite /** * @enum {number} */ -proto.proto.services.user_svc.v1.InvitationState = { +proto.services.user_svc.v1.InvitationState = { INVITATION_STATE_UNSPECIFIED: 0, INVITATION_STATE_PENDING: 1, INVITATION_STATE_ACCEPTED: 2, @@ -8112,4 +8112,4 @@ proto.proto.services.user_svc.v1.InvitationState = { INVITATION_STATE_REVOKED: 4 }; -goog.object.extend(exports, proto.proto.services.user_svc.v1); +goog.object.extend(exports, proto.services.user_svc.v1); diff --git a/gen/ts/services/user_svc/v1/user_svc_grpc_web_pb.d.ts b/gen/ts/services/user_svc/v1/user_svc_grpc_web_pb.d.ts new file mode 100644 index 000000000..11bb5edcc --- /dev/null +++ b/gen/ts/services/user_svc/v1/user_svc_grpc_web_pb.d.ts @@ -0,0 +1,67 @@ +import * as grpcWeb from 'grpc-web'; + +import * as services_user_svc_v1_user_svc_pb from '../../../services/user_svc/v1/user_svc_pb'; // proto import: "services/user_svc/v1/user_svc.proto" + + +export class UserServiceClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createUser( + request: services_user_svc_v1_user_svc_pb.CreateUserRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_user_svc_pb.CreateUserResponse) => void + ): grpcWeb.ClientReadableStream; + + readSelf( + request: services_user_svc_v1_user_svc_pb.ReadSelfRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_user_svc_pb.ReadSelfResponse) => void + ): grpcWeb.ClientReadableStream; + + readPublicProfile( + request: services_user_svc_v1_user_svc_pb.ReadPublicProfileRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_user_svc_pb.ReadPublicProfileResponse) => void + ): grpcWeb.ClientReadableStream; + + updateUser( + request: services_user_svc_v1_user_svc_pb.UpdateUserRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: services_user_svc_v1_user_svc_pb.UpdateUserResponse) => void + ): grpcWeb.ClientReadableStream; + +} + +export class UserServicePromiseClient { + constructor (hostname: string, + credentials?: null | { [index: string]: string; }, + options?: null | { [index: string]: any; }); + + createUser( + request: services_user_svc_v1_user_svc_pb.CreateUserRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + readSelf( + request: services_user_svc_v1_user_svc_pb.ReadSelfRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + readPublicProfile( + request: services_user_svc_v1_user_svc_pb.ReadPublicProfileRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + updateUser( + request: services_user_svc_v1_user_svc_pb.UpdateUserRequest, + metadata?: grpcWeb.Metadata + ): Promise; + +} + diff --git a/gen/ts/proto/services/user_svc/v1/user_svc_grpc_web_pb.js b/gen/ts/services/user_svc/v1/user_svc_grpc_web_pb.js similarity index 51% rename from gen/ts/proto/services/user_svc/v1/user_svc_grpc_web_pb.js rename to gen/ts/services/user_svc/v1/user_svc_grpc_web_pb.js index 051f46fe3..ebfb220db 100644 --- a/gen/ts/proto/services/user_svc/v1/user_svc_grpc_web_pb.js +++ b/gen/ts/services/user_svc/v1/user_svc_grpc_web_pb.js @@ -1,5 +1,5 @@ /** - * @fileoverview gRPC-Web generated client stub for proto.services.user_svc.v1 + * @fileoverview gRPC-Web generated client stub for services.user_svc.v1 * @enhanceable * @public */ @@ -8,7 +8,7 @@ // versions: // protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 -// source: proto/services/user_svc/v1/user_svc.proto +// source: services/user_svc/v1/user_svc.proto /* eslint-disable */ @@ -20,10 +20,9 @@ const grpc = {}; grpc.web = require('grpc-web'); const proto = {}; -proto.proto = {}; -proto.proto.services = {}; -proto.proto.services.user_svc = {}; -proto.proto.services.user_svc.v1 = require('./user_svc_pb.js'); +proto.services = {}; +proto.services.user_svc = {}; +proto.services.user_svc.v1 = require('./user_svc_pb.js'); /** * @param {string} hostname @@ -33,7 +32,7 @@ proto.proto.services.user_svc.v1 = require('./user_svc_pb.js'); * @struct * @final */ -proto.proto.services.user_svc.v1.UserServiceClient = +proto.services.user_svc.v1.UserServiceClient = function(hostname, credentials, options) { if (!options) options = {}; options.format = 'text'; @@ -59,7 +58,7 @@ proto.proto.services.user_svc.v1.UserServiceClient = * @struct * @final */ -proto.proto.services.user_svc.v1.UserServicePromiseClient = +proto.services.user_svc.v1.UserServicePromiseClient = function(hostname, credentials, options) { if (!options) options = {}; options.format = 'text'; @@ -80,39 +79,39 @@ proto.proto.services.user_svc.v1.UserServicePromiseClient = /** * @const * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.CreateUserRequest, - * !proto.proto.services.user_svc.v1.CreateUserResponse>} + * !proto.services.user_svc.v1.CreateUserRequest, + * !proto.services.user_svc.v1.CreateUserResponse>} */ const methodDescriptor_UserService_CreateUser = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.UserService/CreateUser', + '/services.user_svc.v1.UserService/CreateUser', grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.CreateUserRequest, - proto.proto.services.user_svc.v1.CreateUserResponse, + proto.services.user_svc.v1.CreateUserRequest, + proto.services.user_svc.v1.CreateUserResponse, /** - * @param {!proto.proto.services.user_svc.v1.CreateUserRequest} request + * @param {!proto.services.user_svc.v1.CreateUserRequest} request * @return {!Uint8Array} */ function(request) { return request.serializeBinary(); }, - proto.proto.services.user_svc.v1.CreateUserResponse.deserializeBinary + proto.services.user_svc.v1.CreateUserResponse.deserializeBinary ); /** - * @param {!proto.proto.services.user_svc.v1.CreateUserRequest} request The + * @param {!proto.services.user_svc.v1.CreateUserRequest} request The * request proto * @param {?Object} metadata User defined * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.CreateUserResponse)} + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.CreateUserResponse)} * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} + * @return {!grpc.web.ClientReadableStream|undefined} * The XHR Node Readable Stream */ -proto.proto.services.user_svc.v1.UserServiceClient.prototype.createUser = +proto.services.user_svc.v1.UserServiceClient.prototype.createUser = function(request, metadata, callback) { return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.UserService/CreateUser', + '/services.user_svc.v1.UserService/CreateUser', request, metadata || {}, methodDescriptor_UserService_CreateUser, @@ -121,17 +120,17 @@ proto.proto.services.user_svc.v1.UserServiceClient.prototype.createUser = /** - * @param {!proto.proto.services.user_svc.v1.CreateUserRequest} request The + * @param {!proto.services.user_svc.v1.CreateUserRequest} request The * request proto * @param {?Object=} metadata User defined * call metadata - * @return {!Promise} + * @return {!Promise} * Promise that resolves to the response */ -proto.proto.services.user_svc.v1.UserServicePromiseClient.prototype.createUser = +proto.services.user_svc.v1.UserServicePromiseClient.prototype.createUser = function(request, metadata) { return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.UserService/CreateUser', + '/services.user_svc.v1.UserService/CreateUser', request, metadata || {}, methodDescriptor_UserService_CreateUser); @@ -141,39 +140,39 @@ proto.proto.services.user_svc.v1.UserServicePromiseClient.prototype.createUser = /** * @const * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.ReadSelfRequest, - * !proto.proto.services.user_svc.v1.ReadSelfResponse>} + * !proto.services.user_svc.v1.ReadSelfRequest, + * !proto.services.user_svc.v1.ReadSelfResponse>} */ const methodDescriptor_UserService_ReadSelf = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.UserService/ReadSelf', + '/services.user_svc.v1.UserService/ReadSelf', grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.ReadSelfRequest, - proto.proto.services.user_svc.v1.ReadSelfResponse, + proto.services.user_svc.v1.ReadSelfRequest, + proto.services.user_svc.v1.ReadSelfResponse, /** - * @param {!proto.proto.services.user_svc.v1.ReadSelfRequest} request + * @param {!proto.services.user_svc.v1.ReadSelfRequest} request * @return {!Uint8Array} */ function(request) { return request.serializeBinary(); }, - proto.proto.services.user_svc.v1.ReadSelfResponse.deserializeBinary + proto.services.user_svc.v1.ReadSelfResponse.deserializeBinary ); /** - * @param {!proto.proto.services.user_svc.v1.ReadSelfRequest} request The + * @param {!proto.services.user_svc.v1.ReadSelfRequest} request The * request proto * @param {?Object} metadata User defined * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.ReadSelfResponse)} + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.ReadSelfResponse)} * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} + * @return {!grpc.web.ClientReadableStream|undefined} * The XHR Node Readable Stream */ -proto.proto.services.user_svc.v1.UserServiceClient.prototype.readSelf = +proto.services.user_svc.v1.UserServiceClient.prototype.readSelf = function(request, metadata, callback) { return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.UserService/ReadSelf', + '/services.user_svc.v1.UserService/ReadSelf', request, metadata || {}, methodDescriptor_UserService_ReadSelf, @@ -182,17 +181,17 @@ proto.proto.services.user_svc.v1.UserServiceClient.prototype.readSelf = /** - * @param {!proto.proto.services.user_svc.v1.ReadSelfRequest} request The + * @param {!proto.services.user_svc.v1.ReadSelfRequest} request The * request proto * @param {?Object=} metadata User defined * call metadata - * @return {!Promise} + * @return {!Promise} * Promise that resolves to the response */ -proto.proto.services.user_svc.v1.UserServicePromiseClient.prototype.readSelf = +proto.services.user_svc.v1.UserServicePromiseClient.prototype.readSelf = function(request, metadata) { return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.UserService/ReadSelf', + '/services.user_svc.v1.UserService/ReadSelf', request, metadata || {}, methodDescriptor_UserService_ReadSelf); @@ -202,39 +201,39 @@ proto.proto.services.user_svc.v1.UserServicePromiseClient.prototype.readSelf = /** * @const * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.ReadPublicProfileRequest, - * !proto.proto.services.user_svc.v1.ReadPublicProfileResponse>} + * !proto.services.user_svc.v1.ReadPublicProfileRequest, + * !proto.services.user_svc.v1.ReadPublicProfileResponse>} */ const methodDescriptor_UserService_ReadPublicProfile = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.UserService/ReadPublicProfile', + '/services.user_svc.v1.UserService/ReadPublicProfile', grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.ReadPublicProfileRequest, - proto.proto.services.user_svc.v1.ReadPublicProfileResponse, + proto.services.user_svc.v1.ReadPublicProfileRequest, + proto.services.user_svc.v1.ReadPublicProfileResponse, /** - * @param {!proto.proto.services.user_svc.v1.ReadPublicProfileRequest} request + * @param {!proto.services.user_svc.v1.ReadPublicProfileRequest} request * @return {!Uint8Array} */ function(request) { return request.serializeBinary(); }, - proto.proto.services.user_svc.v1.ReadPublicProfileResponse.deserializeBinary + proto.services.user_svc.v1.ReadPublicProfileResponse.deserializeBinary ); /** - * @param {!proto.proto.services.user_svc.v1.ReadPublicProfileRequest} request The + * @param {!proto.services.user_svc.v1.ReadPublicProfileRequest} request The * request proto * @param {?Object} metadata User defined * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.ReadPublicProfileResponse)} + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.ReadPublicProfileResponse)} * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} + * @return {!grpc.web.ClientReadableStream|undefined} * The XHR Node Readable Stream */ -proto.proto.services.user_svc.v1.UserServiceClient.prototype.readPublicProfile = +proto.services.user_svc.v1.UserServiceClient.prototype.readPublicProfile = function(request, metadata, callback) { return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.UserService/ReadPublicProfile', + '/services.user_svc.v1.UserService/ReadPublicProfile', request, metadata || {}, methodDescriptor_UserService_ReadPublicProfile, @@ -243,17 +242,17 @@ proto.proto.services.user_svc.v1.UserServiceClient.prototype.readPublicProfile = /** - * @param {!proto.proto.services.user_svc.v1.ReadPublicProfileRequest} request The + * @param {!proto.services.user_svc.v1.ReadPublicProfileRequest} request The * request proto * @param {?Object=} metadata User defined * call metadata - * @return {!Promise} + * @return {!Promise} * Promise that resolves to the response */ -proto.proto.services.user_svc.v1.UserServicePromiseClient.prototype.readPublicProfile = +proto.services.user_svc.v1.UserServicePromiseClient.prototype.readPublicProfile = function(request, metadata) { return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.UserService/ReadPublicProfile', + '/services.user_svc.v1.UserService/ReadPublicProfile', request, metadata || {}, methodDescriptor_UserService_ReadPublicProfile); @@ -263,39 +262,39 @@ proto.proto.services.user_svc.v1.UserServicePromiseClient.prototype.readPublicPr /** * @const * @type {!grpc.web.MethodDescriptor< - * !proto.proto.services.user_svc.v1.UpdateUserRequest, - * !proto.proto.services.user_svc.v1.UpdateUserResponse>} + * !proto.services.user_svc.v1.UpdateUserRequest, + * !proto.services.user_svc.v1.UpdateUserResponse>} */ const methodDescriptor_UserService_UpdateUser = new grpc.web.MethodDescriptor( - '/proto.services.user_svc.v1.UserService/UpdateUser', + '/services.user_svc.v1.UserService/UpdateUser', grpc.web.MethodType.UNARY, - proto.proto.services.user_svc.v1.UpdateUserRequest, - proto.proto.services.user_svc.v1.UpdateUserResponse, + proto.services.user_svc.v1.UpdateUserRequest, + proto.services.user_svc.v1.UpdateUserResponse, /** - * @param {!proto.proto.services.user_svc.v1.UpdateUserRequest} request + * @param {!proto.services.user_svc.v1.UpdateUserRequest} request * @return {!Uint8Array} */ function(request) { return request.serializeBinary(); }, - proto.proto.services.user_svc.v1.UpdateUserResponse.deserializeBinary + proto.services.user_svc.v1.UpdateUserResponse.deserializeBinary ); /** - * @param {!proto.proto.services.user_svc.v1.UpdateUserRequest} request The + * @param {!proto.services.user_svc.v1.UpdateUserRequest} request The * request proto * @param {?Object} metadata User defined * call metadata - * @param {function(?grpc.web.RpcError, ?proto.proto.services.user_svc.v1.UpdateUserResponse)} + * @param {function(?grpc.web.RpcError, ?proto.services.user_svc.v1.UpdateUserResponse)} * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} + * @return {!grpc.web.ClientReadableStream|undefined} * The XHR Node Readable Stream */ -proto.proto.services.user_svc.v1.UserServiceClient.prototype.updateUser = +proto.services.user_svc.v1.UserServiceClient.prototype.updateUser = function(request, metadata, callback) { return this.client_.rpcCall(this.hostname_ + - '/proto.services.user_svc.v1.UserService/UpdateUser', + '/services.user_svc.v1.UserService/UpdateUser', request, metadata || {}, methodDescriptor_UserService_UpdateUser, @@ -304,22 +303,22 @@ proto.proto.services.user_svc.v1.UserServiceClient.prototype.updateUser = /** - * @param {!proto.proto.services.user_svc.v1.UpdateUserRequest} request The + * @param {!proto.services.user_svc.v1.UpdateUserRequest} request The * request proto * @param {?Object=} metadata User defined * call metadata - * @return {!Promise} + * @return {!Promise} * Promise that resolves to the response */ -proto.proto.services.user_svc.v1.UserServicePromiseClient.prototype.updateUser = +proto.services.user_svc.v1.UserServicePromiseClient.prototype.updateUser = function(request, metadata) { return this.client_.unaryCall(this.hostname_ + - '/proto.services.user_svc.v1.UserService/UpdateUser', + '/services.user_svc.v1.UserService/UpdateUser', request, metadata || {}, methodDescriptor_UserService_UpdateUser); }; -module.exports = proto.proto.services.user_svc.v1; +module.exports = proto.services.user_svc.v1; diff --git a/gen/ts/proto/services/user_svc/v1/user_svc_pb.d.ts b/gen/ts/services/user_svc/v1/user_svc_pb.d.ts similarity index 100% rename from gen/ts/proto/services/user_svc/v1/user_svc_pb.d.ts rename to gen/ts/services/user_svc/v1/user_svc_pb.d.ts diff --git a/gen/ts/proto/services/user_svc/v1/user_svc_pb.js b/gen/ts/services/user_svc/v1/user_svc_pb.js similarity index 60% rename from gen/ts/proto/services/user_svc/v1/user_svc_pb.js rename to gen/ts/services/user_svc/v1/user_svc_pb.js index b74143dea..48f3642e4 100644 --- a/gen/ts/proto/services/user_svc/v1/user_svc_pb.js +++ b/gen/ts/services/user_svc/v1/user_svc_pb.js @@ -1,4 +1,4 @@ -// source: proto/services/user_svc/v1/user_svc.proto +// source: services/user_svc/v1/user_svc.proto /** * @fileoverview * @enhanceable @@ -21,15 +21,15 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.proto.services.user_svc.v1.CreateUserRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.CreateUserResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.ReadPublicProfileRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.ReadPublicProfileResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.ReadSelfOrganization', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.ReadSelfRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.ReadSelfResponse', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.UpdateUserRequest', null, global); -goog.exportSymbol('proto.proto.services.user_svc.v1.UpdateUserResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.CreateUserRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.CreateUserResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.ReadPublicProfileRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.ReadPublicProfileResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.ReadSelfOrganization', null, global); +goog.exportSymbol('proto.services.user_svc.v1.ReadSelfRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.ReadSelfResponse', null, global); +goog.exportSymbol('proto.services.user_svc.v1.UpdateUserRequest', null, global); +goog.exportSymbol('proto.services.user_svc.v1.UpdateUserResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -40,16 +40,16 @@ goog.exportSymbol('proto.proto.services.user_svc.v1.UpdateUserResponse', null, g * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.CreateUserRequest = function(opt_data) { +proto.services.user_svc.v1.CreateUserRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.CreateUserRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.CreateUserRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.CreateUserRequest.displayName = 'proto.proto.services.user_svc.v1.CreateUserRequest'; + proto.services.user_svc.v1.CreateUserRequest.displayName = 'proto.services.user_svc.v1.CreateUserRequest'; } /** * Generated by JsPbCodeGenerator. @@ -61,16 +61,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.CreateUserResponse = function(opt_data) { +proto.services.user_svc.v1.CreateUserResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.CreateUserResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.CreateUserResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.CreateUserResponse.displayName = 'proto.proto.services.user_svc.v1.CreateUserResponse'; + proto.services.user_svc.v1.CreateUserResponse.displayName = 'proto.services.user_svc.v1.CreateUserResponse'; } /** * Generated by JsPbCodeGenerator. @@ -82,16 +82,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.ReadSelfOrganization = function(opt_data) { +proto.services.user_svc.v1.ReadSelfOrganization = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.ReadSelfOrganization, jspb.Message); +goog.inherits(proto.services.user_svc.v1.ReadSelfOrganization, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.ReadSelfOrganization.displayName = 'proto.proto.services.user_svc.v1.ReadSelfOrganization'; + proto.services.user_svc.v1.ReadSelfOrganization.displayName = 'proto.services.user_svc.v1.ReadSelfOrganization'; } /** * Generated by JsPbCodeGenerator. @@ -103,16 +103,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.ReadSelfRequest = function(opt_data) { +proto.services.user_svc.v1.ReadSelfRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.ReadSelfRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.ReadSelfRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.ReadSelfRequest.displayName = 'proto.proto.services.user_svc.v1.ReadSelfRequest'; + proto.services.user_svc.v1.ReadSelfRequest.displayName = 'proto.services.user_svc.v1.ReadSelfRequest'; } /** * Generated by JsPbCodeGenerator. @@ -124,16 +124,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.ReadSelfResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.proto.services.user_svc.v1.ReadSelfResponse.repeatedFields_, null); +proto.services.user_svc.v1.ReadSelfResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.services.user_svc.v1.ReadSelfResponse.repeatedFields_, null); }; -goog.inherits(proto.proto.services.user_svc.v1.ReadSelfResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.ReadSelfResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.ReadSelfResponse.displayName = 'proto.proto.services.user_svc.v1.ReadSelfResponse'; + proto.services.user_svc.v1.ReadSelfResponse.displayName = 'proto.services.user_svc.v1.ReadSelfResponse'; } /** * Generated by JsPbCodeGenerator. @@ -145,16 +145,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.ReadPublicProfileRequest = function(opt_data) { +proto.services.user_svc.v1.ReadPublicProfileRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.ReadPublicProfileRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.ReadPublicProfileRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.ReadPublicProfileRequest.displayName = 'proto.proto.services.user_svc.v1.ReadPublicProfileRequest'; + proto.services.user_svc.v1.ReadPublicProfileRequest.displayName = 'proto.services.user_svc.v1.ReadPublicProfileRequest'; } /** * Generated by JsPbCodeGenerator. @@ -166,16 +166,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse = function(opt_data) { +proto.services.user_svc.v1.ReadPublicProfileResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.ReadPublicProfileResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.ReadPublicProfileResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.ReadPublicProfileResponse.displayName = 'proto.proto.services.user_svc.v1.ReadPublicProfileResponse'; + proto.services.user_svc.v1.ReadPublicProfileResponse.displayName = 'proto.services.user_svc.v1.ReadPublicProfileResponse'; } /** * Generated by JsPbCodeGenerator. @@ -187,16 +187,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.UpdateUserRequest = function(opt_data) { +proto.services.user_svc.v1.UpdateUserRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.UpdateUserRequest, jspb.Message); +goog.inherits(proto.services.user_svc.v1.UpdateUserRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.UpdateUserRequest.displayName = 'proto.proto.services.user_svc.v1.UpdateUserRequest'; + proto.services.user_svc.v1.UpdateUserRequest.displayName = 'proto.services.user_svc.v1.UpdateUserRequest'; } /** * Generated by JsPbCodeGenerator. @@ -208,16 +208,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.proto.services.user_svc.v1.UpdateUserResponse = function(opt_data) { +proto.services.user_svc.v1.UpdateUserResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.proto.services.user_svc.v1.UpdateUserResponse, jspb.Message); +goog.inherits(proto.services.user_svc.v1.UpdateUserResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.proto.services.user_svc.v1.UpdateUserResponse.displayName = 'proto.proto.services.user_svc.v1.UpdateUserResponse'; + proto.services.user_svc.v1.UpdateUserResponse.displayName = 'proto.services.user_svc.v1.UpdateUserResponse'; } @@ -235,8 +235,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.CreateUserRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.CreateUserRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.CreateUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.CreateUserRequest.toObject(opt_includeInstance, this); }; @@ -245,11 +245,11 @@ proto.proto.services.user_svc.v1.CreateUserRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.CreateUserRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.CreateUserRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateUserRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.CreateUserRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), email: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -268,23 +268,23 @@ proto.proto.services.user_svc.v1.CreateUserRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.CreateUserRequest} + * @return {!proto.services.user_svc.v1.CreateUserRequest} */ -proto.proto.services.user_svc.v1.CreateUserRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.CreateUserRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.CreateUserRequest; - return proto.proto.services.user_svc.v1.CreateUserRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.CreateUserRequest; + return proto.services.user_svc.v1.CreateUserRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.CreateUserRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.CreateUserRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.CreateUserRequest} + * @return {!proto.services.user_svc.v1.CreateUserRequest} */ -proto.proto.services.user_svc.v1.CreateUserRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.CreateUserRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -320,9 +320,9 @@ proto.proto.services.user_svc.v1.CreateUserRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.CreateUserRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.CreateUserRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.CreateUserRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.CreateUserRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -330,11 +330,11 @@ proto.proto.services.user_svc.v1.CreateUserRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.CreateUserRequest} message + * @param {!proto.services.user_svc.v1.CreateUserRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateUserRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.CreateUserRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -371,16 +371,16 @@ proto.proto.services.user_svc.v1.CreateUserRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.CreateUserRequest.prototype.getId = function() { +proto.services.user_svc.v1.CreateUserRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateUserRequest} returns this + * @return {!proto.services.user_svc.v1.CreateUserRequest} returns this */ -proto.proto.services.user_svc.v1.CreateUserRequest.prototype.setId = function(value) { +proto.services.user_svc.v1.CreateUserRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -389,16 +389,16 @@ proto.proto.services.user_svc.v1.CreateUserRequest.prototype.setId = function(va * optional string email = 2; * @return {string} */ -proto.proto.services.user_svc.v1.CreateUserRequest.prototype.getEmail = function() { +proto.services.user_svc.v1.CreateUserRequest.prototype.getEmail = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateUserRequest} returns this + * @return {!proto.services.user_svc.v1.CreateUserRequest} returns this */ -proto.proto.services.user_svc.v1.CreateUserRequest.prototype.setEmail = function(value) { +proto.services.user_svc.v1.CreateUserRequest.prototype.setEmail = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -407,16 +407,16 @@ proto.proto.services.user_svc.v1.CreateUserRequest.prototype.setEmail = function * optional string nickname = 3; * @return {string} */ -proto.proto.services.user_svc.v1.CreateUserRequest.prototype.getNickname = function() { +proto.services.user_svc.v1.CreateUserRequest.prototype.getNickname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateUserRequest} returns this + * @return {!proto.services.user_svc.v1.CreateUserRequest} returns this */ -proto.proto.services.user_svc.v1.CreateUserRequest.prototype.setNickname = function(value) { +proto.services.user_svc.v1.CreateUserRequest.prototype.setNickname = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -425,16 +425,16 @@ proto.proto.services.user_svc.v1.CreateUserRequest.prototype.setNickname = funct * optional string name = 4; * @return {string} */ -proto.proto.services.user_svc.v1.CreateUserRequest.prototype.getName = function() { +proto.services.user_svc.v1.CreateUserRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateUserRequest} returns this + * @return {!proto.services.user_svc.v1.CreateUserRequest} returns this */ -proto.proto.services.user_svc.v1.CreateUserRequest.prototype.setName = function(value) { +proto.services.user_svc.v1.CreateUserRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; @@ -455,8 +455,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.CreateUserResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.CreateUserResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.CreateUserResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.CreateUserResponse.toObject(opt_includeInstance, this); }; @@ -465,11 +465,11 @@ proto.proto.services.user_svc.v1.CreateUserResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.CreateUserResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.CreateUserResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateUserResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.CreateUserResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -485,23 +485,23 @@ proto.proto.services.user_svc.v1.CreateUserResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.CreateUserResponse} + * @return {!proto.services.user_svc.v1.CreateUserResponse} */ -proto.proto.services.user_svc.v1.CreateUserResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.CreateUserResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.CreateUserResponse; - return proto.proto.services.user_svc.v1.CreateUserResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.CreateUserResponse; + return proto.services.user_svc.v1.CreateUserResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.CreateUserResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.CreateUserResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.CreateUserResponse} + * @return {!proto.services.user_svc.v1.CreateUserResponse} */ -proto.proto.services.user_svc.v1.CreateUserResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.CreateUserResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -525,9 +525,9 @@ proto.proto.services.user_svc.v1.CreateUserResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.CreateUserResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.CreateUserResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.CreateUserResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.CreateUserResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -535,11 +535,11 @@ proto.proto.services.user_svc.v1.CreateUserResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.CreateUserResponse} message + * @param {!proto.services.user_svc.v1.CreateUserResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.CreateUserResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.CreateUserResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -555,16 +555,16 @@ proto.proto.services.user_svc.v1.CreateUserResponse.serializeBinaryToWriter = fu * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.CreateUserResponse.prototype.getId = function() { +proto.services.user_svc.v1.CreateUserResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.CreateUserResponse} returns this + * @return {!proto.services.user_svc.v1.CreateUserResponse} returns this */ -proto.proto.services.user_svc.v1.CreateUserResponse.prototype.setId = function(value) { +proto.services.user_svc.v1.CreateUserResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -585,8 +585,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.ReadSelfOrganization.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.ReadSelfOrganization.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.ReadSelfOrganization.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.ReadSelfOrganization.toObject(opt_includeInstance, this); }; @@ -595,11 +595,11 @@ proto.proto.services.user_svc.v1.ReadSelfOrganization.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.ReadSelfOrganization} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.ReadSelfOrganization} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.ReadSelfOrganization.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.ReadSelfOrganization.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -615,23 +615,23 @@ proto.proto.services.user_svc.v1.ReadSelfOrganization.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.ReadSelfOrganization} + * @return {!proto.services.user_svc.v1.ReadSelfOrganization} */ -proto.proto.services.user_svc.v1.ReadSelfOrganization.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.ReadSelfOrganization.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.ReadSelfOrganization; - return proto.proto.services.user_svc.v1.ReadSelfOrganization.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.ReadSelfOrganization; + return proto.services.user_svc.v1.ReadSelfOrganization.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.ReadSelfOrganization} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.ReadSelfOrganization} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.ReadSelfOrganization} + * @return {!proto.services.user_svc.v1.ReadSelfOrganization} */ -proto.proto.services.user_svc.v1.ReadSelfOrganization.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.ReadSelfOrganization.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -655,9 +655,9 @@ proto.proto.services.user_svc.v1.ReadSelfOrganization.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.ReadSelfOrganization.prototype.serializeBinary = function() { +proto.services.user_svc.v1.ReadSelfOrganization.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.ReadSelfOrganization.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.ReadSelfOrganization.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -665,11 +665,11 @@ proto.proto.services.user_svc.v1.ReadSelfOrganization.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.ReadSelfOrganization} message + * @param {!proto.services.user_svc.v1.ReadSelfOrganization} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.ReadSelfOrganization.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.ReadSelfOrganization.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -685,16 +685,16 @@ proto.proto.services.user_svc.v1.ReadSelfOrganization.serializeBinaryToWriter = * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.ReadSelfOrganization.prototype.getId = function() { +proto.services.user_svc.v1.ReadSelfOrganization.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.ReadSelfOrganization} returns this + * @return {!proto.services.user_svc.v1.ReadSelfOrganization} returns this */ -proto.proto.services.user_svc.v1.ReadSelfOrganization.prototype.setId = function(value) { +proto.services.user_svc.v1.ReadSelfOrganization.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -715,8 +715,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.ReadSelfRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.ReadSelfRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.ReadSelfRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.ReadSelfRequest.toObject(opt_includeInstance, this); }; @@ -725,11 +725,11 @@ proto.proto.services.user_svc.v1.ReadSelfRequest.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.ReadSelfRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.ReadSelfRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.ReadSelfRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.ReadSelfRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -745,23 +745,23 @@ proto.proto.services.user_svc.v1.ReadSelfRequest.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.ReadSelfRequest} + * @return {!proto.services.user_svc.v1.ReadSelfRequest} */ -proto.proto.services.user_svc.v1.ReadSelfRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.ReadSelfRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.ReadSelfRequest; - return proto.proto.services.user_svc.v1.ReadSelfRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.ReadSelfRequest; + return proto.services.user_svc.v1.ReadSelfRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.ReadSelfRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.ReadSelfRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.ReadSelfRequest} + * @return {!proto.services.user_svc.v1.ReadSelfRequest} */ -proto.proto.services.user_svc.v1.ReadSelfRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.ReadSelfRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -781,9 +781,9 @@ proto.proto.services.user_svc.v1.ReadSelfRequest.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.ReadSelfRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.ReadSelfRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.ReadSelfRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.ReadSelfRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -791,11 +791,11 @@ proto.proto.services.user_svc.v1.ReadSelfRequest.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.ReadSelfRequest} message + * @param {!proto.services.user_svc.v1.ReadSelfRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.ReadSelfRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.ReadSelfRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -806,7 +806,7 @@ proto.proto.services.user_svc.v1.ReadSelfRequest.serializeBinaryToWriter = funct * @private {!Array} * @const */ -proto.proto.services.user_svc.v1.ReadSelfResponse.repeatedFields_ = [5]; +proto.services.user_svc.v1.ReadSelfResponse.repeatedFields_ = [5]; @@ -823,8 +823,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.ReadSelfResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.ReadSelfResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.ReadSelfResponse.toObject(opt_includeInstance, this); }; @@ -833,18 +833,18 @@ proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.ReadSelfResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.ReadSelfResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.ReadSelfResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.ReadSelfResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), nickname: jspb.Message.getFieldWithDefault(msg, 3, ""), avatarUrl: jspb.Message.getFieldWithDefault(msg, 4, ""), organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(), - proto.proto.services.user_svc.v1.ReadSelfOrganization.toObject, includeInstance) + proto.services.user_svc.v1.ReadSelfOrganization.toObject, includeInstance) }; if (includeInstance) { @@ -858,23 +858,23 @@ proto.proto.services.user_svc.v1.ReadSelfResponse.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.ReadSelfResponse} + * @return {!proto.services.user_svc.v1.ReadSelfResponse} */ -proto.proto.services.user_svc.v1.ReadSelfResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.ReadSelfResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.ReadSelfResponse; - return proto.proto.services.user_svc.v1.ReadSelfResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.ReadSelfResponse; + return proto.services.user_svc.v1.ReadSelfResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.ReadSelfResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.ReadSelfResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.ReadSelfResponse} + * @return {!proto.services.user_svc.v1.ReadSelfResponse} */ -proto.proto.services.user_svc.v1.ReadSelfResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.ReadSelfResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -898,8 +898,8 @@ proto.proto.services.user_svc.v1.ReadSelfResponse.deserializeBinaryFromReader = msg.setAvatarUrl(value); break; case 5: - var value = new proto.proto.services.user_svc.v1.ReadSelfOrganization; - reader.readMessage(value,proto.proto.services.user_svc.v1.ReadSelfOrganization.deserializeBinaryFromReader); + var value = new proto.services.user_svc.v1.ReadSelfOrganization; + reader.readMessage(value,proto.services.user_svc.v1.ReadSelfOrganization.deserializeBinaryFromReader); msg.addOrganizations(value); break; default: @@ -915,9 +915,9 @@ proto.proto.services.user_svc.v1.ReadSelfResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.ReadSelfResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.ReadSelfResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.ReadSelfResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -925,11 +925,11 @@ proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.ReadSelfResponse} message + * @param {!proto.services.user_svc.v1.ReadSelfResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.ReadSelfResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.ReadSelfResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -964,7 +964,7 @@ proto.proto.services.user_svc.v1.ReadSelfResponse.serializeBinaryToWriter = func writer.writeRepeatedMessage( 5, f, - proto.proto.services.user_svc.v1.ReadSelfOrganization.serializeBinaryToWriter + proto.services.user_svc.v1.ReadSelfOrganization.serializeBinaryToWriter ); } }; @@ -974,16 +974,16 @@ proto.proto.services.user_svc.v1.ReadSelfResponse.serializeBinaryToWriter = func * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.getId = function() { +proto.services.user_svc.v1.ReadSelfResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.ReadSelfResponse} returns this + * @return {!proto.services.user_svc.v1.ReadSelfResponse} returns this */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.setId = function(value) { +proto.services.user_svc.v1.ReadSelfResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -992,16 +992,16 @@ proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.setId = function(val * optional string name = 2; * @return {string} */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.getName = function() { +proto.services.user_svc.v1.ReadSelfResponse.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.ReadSelfResponse} returns this + * @return {!proto.services.user_svc.v1.ReadSelfResponse} returns this */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.setName = function(value) { +proto.services.user_svc.v1.ReadSelfResponse.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1010,16 +1010,16 @@ proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.setName = function(v * optional string nickname = 3; * @return {string} */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.getNickname = function() { +proto.services.user_svc.v1.ReadSelfResponse.prototype.getNickname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.ReadSelfResponse} returns this + * @return {!proto.services.user_svc.v1.ReadSelfResponse} returns this */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.setNickname = function(value) { +proto.services.user_svc.v1.ReadSelfResponse.prototype.setNickname = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1028,25 +1028,25 @@ proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.setNickname = functi * optional string avatar_url = 4; * @return {string} */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.getAvatarUrl = function() { +proto.services.user_svc.v1.ReadSelfResponse.prototype.getAvatarUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.ReadSelfResponse} returns this + * @return {!proto.services.user_svc.v1.ReadSelfResponse} returns this */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.setAvatarUrl = function(value) { +proto.services.user_svc.v1.ReadSelfResponse.prototype.setAvatarUrl = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.ReadSelfResponse} returns this + * @return {!proto.services.user_svc.v1.ReadSelfResponse} returns this */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.clearAvatarUrl = function() { +proto.services.user_svc.v1.ReadSelfResponse.prototype.clearAvatarUrl = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -1055,45 +1055,45 @@ proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.clearAvatarUrl = fun * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.hasAvatarUrl = function() { +proto.services.user_svc.v1.ReadSelfResponse.prototype.hasAvatarUrl = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated ReadSelfOrganization organizations = 5; - * @return {!Array} + * @return {!Array} */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.getOrganizationsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.proto.services.user_svc.v1.ReadSelfOrganization, 5)); +proto.services.user_svc.v1.ReadSelfResponse.prototype.getOrganizationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.services.user_svc.v1.ReadSelfOrganization, 5)); }; /** - * @param {!Array} value - * @return {!proto.proto.services.user_svc.v1.ReadSelfResponse} returns this + * @param {!Array} value + * @return {!proto.services.user_svc.v1.ReadSelfResponse} returns this */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.setOrganizationsList = function(value) { +proto.services.user_svc.v1.ReadSelfResponse.prototype.setOrganizationsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 5, value); }; /** - * @param {!proto.proto.services.user_svc.v1.ReadSelfOrganization=} opt_value + * @param {!proto.services.user_svc.v1.ReadSelfOrganization=} opt_value * @param {number=} opt_index - * @return {!proto.proto.services.user_svc.v1.ReadSelfOrganization} + * @return {!proto.services.user_svc.v1.ReadSelfOrganization} */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.addOrganizations = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.proto.services.user_svc.v1.ReadSelfOrganization, opt_index); +proto.services.user_svc.v1.ReadSelfResponse.prototype.addOrganizations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.services.user_svc.v1.ReadSelfOrganization, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.proto.services.user_svc.v1.ReadSelfResponse} returns this + * @return {!proto.services.user_svc.v1.ReadSelfResponse} returns this */ -proto.proto.services.user_svc.v1.ReadSelfResponse.prototype.clearOrganizationsList = function() { +proto.services.user_svc.v1.ReadSelfResponse.prototype.clearOrganizationsList = function() { return this.setOrganizationsList([]); }; @@ -1114,8 +1114,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.ReadPublicProfileRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.ReadPublicProfileRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.ReadPublicProfileRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.ReadPublicProfileRequest.toObject(opt_includeInstance, this); }; @@ -1124,11 +1124,11 @@ proto.proto.services.user_svc.v1.ReadPublicProfileRequest.prototype.toObject = f * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.ReadPublicProfileRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.ReadPublicProfileRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.ReadPublicProfileRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.ReadPublicProfileRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1144,23 +1144,23 @@ proto.proto.services.user_svc.v1.ReadPublicProfileRequest.toObject = function(in /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.ReadPublicProfileRequest} + * @return {!proto.services.user_svc.v1.ReadPublicProfileRequest} */ -proto.proto.services.user_svc.v1.ReadPublicProfileRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.ReadPublicProfileRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.ReadPublicProfileRequest; - return proto.proto.services.user_svc.v1.ReadPublicProfileRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.ReadPublicProfileRequest; + return proto.services.user_svc.v1.ReadPublicProfileRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.ReadPublicProfileRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.ReadPublicProfileRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.ReadPublicProfileRequest} + * @return {!proto.services.user_svc.v1.ReadPublicProfileRequest} */ -proto.proto.services.user_svc.v1.ReadPublicProfileRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.ReadPublicProfileRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1184,9 +1184,9 @@ proto.proto.services.user_svc.v1.ReadPublicProfileRequest.deserializeBinaryFromR * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.ReadPublicProfileRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.ReadPublicProfileRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.ReadPublicProfileRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.ReadPublicProfileRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1194,11 +1194,11 @@ proto.proto.services.user_svc.v1.ReadPublicProfileRequest.prototype.serializeBin /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.ReadPublicProfileRequest} message + * @param {!proto.services.user_svc.v1.ReadPublicProfileRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.ReadPublicProfileRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.ReadPublicProfileRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1214,16 +1214,16 @@ proto.proto.services.user_svc.v1.ReadPublicProfileRequest.serializeBinaryToWrite * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.ReadPublicProfileRequest.prototype.getId = function() { +proto.services.user_svc.v1.ReadPublicProfileRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.ReadPublicProfileRequest} returns this + * @return {!proto.services.user_svc.v1.ReadPublicProfileRequest} returns this */ -proto.proto.services.user_svc.v1.ReadPublicProfileRequest.prototype.setId = function(value) { +proto.services.user_svc.v1.ReadPublicProfileRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1244,8 +1244,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.ReadPublicProfileResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.ReadPublicProfileResponse.toObject(opt_includeInstance, this); }; @@ -1254,11 +1254,11 @@ proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.ReadPublicProfileResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.ReadPublicProfileResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.ReadPublicProfileResponse.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -1277,23 +1277,23 @@ proto.proto.services.user_svc.v1.ReadPublicProfileResponse.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.ReadPublicProfileResponse} + * @return {!proto.services.user_svc.v1.ReadPublicProfileResponse} */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.ReadPublicProfileResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.ReadPublicProfileResponse; - return proto.proto.services.user_svc.v1.ReadPublicProfileResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.ReadPublicProfileResponse; + return proto.services.user_svc.v1.ReadPublicProfileResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.ReadPublicProfileResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.ReadPublicProfileResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.ReadPublicProfileResponse} + * @return {!proto.services.user_svc.v1.ReadPublicProfileResponse} */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.ReadPublicProfileResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1329,9 +1329,9 @@ proto.proto.services.user_svc.v1.ReadPublicProfileResponse.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.ReadPublicProfileResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.ReadPublicProfileResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1339,11 +1339,11 @@ proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.ReadPublicProfileResponse} message + * @param {!proto.services.user_svc.v1.ReadPublicProfileResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.ReadPublicProfileResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1380,16 +1380,16 @@ proto.proto.services.user_svc.v1.ReadPublicProfileResponse.serializeBinaryToWrit * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.getId = function() { +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.ReadPublicProfileResponse} returns this + * @return {!proto.services.user_svc.v1.ReadPublicProfileResponse} returns this */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.setId = function(value) { +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1398,16 +1398,16 @@ proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.setId = fun * optional string name = 2; * @return {string} */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.getName = function() { +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.ReadPublicProfileResponse} returns this + * @return {!proto.services.user_svc.v1.ReadPublicProfileResponse} returns this */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.setName = function(value) { +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1416,16 +1416,16 @@ proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.setName = f * optional string nickname = 3; * @return {string} */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.getNickname = function() { +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.getNickname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.ReadPublicProfileResponse} returns this + * @return {!proto.services.user_svc.v1.ReadPublicProfileResponse} returns this */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.setNickname = function(value) { +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.setNickname = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1434,25 +1434,25 @@ proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.setNickname * optional string avatar_url = 4; * @return {string} */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.getAvatarUrl = function() { +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.getAvatarUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.ReadPublicProfileResponse} returns this + * @return {!proto.services.user_svc.v1.ReadPublicProfileResponse} returns this */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.setAvatarUrl = function(value) { +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.setAvatarUrl = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. - * @return {!proto.proto.services.user_svc.v1.ReadPublicProfileResponse} returns this + * @return {!proto.services.user_svc.v1.ReadPublicProfileResponse} returns this */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.clearAvatarUrl = function() { +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.clearAvatarUrl = function() { return jspb.Message.setField(this, 4, undefined); }; @@ -1461,7 +1461,7 @@ proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.clearAvatar * Returns whether this field is set. * @return {boolean} */ -proto.proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.hasAvatarUrl = function() { +proto.services.user_svc.v1.ReadPublicProfileResponse.prototype.hasAvatarUrl = function() { return jspb.Message.getField(this, 4) != null; }; @@ -1482,8 +1482,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.UpdateUserRequest.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.UpdateUserRequest.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.UpdateUserRequest.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.UpdateUserRequest.toObject(opt_includeInstance, this); }; @@ -1492,11 +1492,11 @@ proto.proto.services.user_svc.v1.UpdateUserRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.UpdateUserRequest} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.UpdateUserRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.UpdateUserRequest.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.UpdateUserRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; @@ -1512,23 +1512,23 @@ proto.proto.services.user_svc.v1.UpdateUserRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.UpdateUserRequest} + * @return {!proto.services.user_svc.v1.UpdateUserRequest} */ -proto.proto.services.user_svc.v1.UpdateUserRequest.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.UpdateUserRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.UpdateUserRequest; - return proto.proto.services.user_svc.v1.UpdateUserRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.UpdateUserRequest; + return proto.services.user_svc.v1.UpdateUserRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.UpdateUserRequest} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.UpdateUserRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.UpdateUserRequest} + * @return {!proto.services.user_svc.v1.UpdateUserRequest} */ -proto.proto.services.user_svc.v1.UpdateUserRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.UpdateUserRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1552,9 +1552,9 @@ proto.proto.services.user_svc.v1.UpdateUserRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.UpdateUserRequest.prototype.serializeBinary = function() { +proto.services.user_svc.v1.UpdateUserRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.UpdateUserRequest.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.UpdateUserRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1562,11 +1562,11 @@ proto.proto.services.user_svc.v1.UpdateUserRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.UpdateUserRequest} message + * @param {!proto.services.user_svc.v1.UpdateUserRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.UpdateUserRequest.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.UpdateUserRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { @@ -1582,16 +1582,16 @@ proto.proto.services.user_svc.v1.UpdateUserRequest.serializeBinaryToWriter = fun * optional string id = 1; * @return {string} */ -proto.proto.services.user_svc.v1.UpdateUserRequest.prototype.getId = function() { +proto.services.user_svc.v1.UpdateUserRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.proto.services.user_svc.v1.UpdateUserRequest} returns this + * @return {!proto.services.user_svc.v1.UpdateUserRequest} returns this */ -proto.proto.services.user_svc.v1.UpdateUserRequest.prototype.setId = function(value) { +proto.services.user_svc.v1.UpdateUserRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -1612,8 +1612,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.proto.services.user_svc.v1.UpdateUserResponse.prototype.toObject = function(opt_includeInstance) { - return proto.proto.services.user_svc.v1.UpdateUserResponse.toObject(opt_includeInstance, this); +proto.services.user_svc.v1.UpdateUserResponse.prototype.toObject = function(opt_includeInstance) { + return proto.services.user_svc.v1.UpdateUserResponse.toObject(opt_includeInstance, this); }; @@ -1622,11 +1622,11 @@ proto.proto.services.user_svc.v1.UpdateUserResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.proto.services.user_svc.v1.UpdateUserResponse} msg The msg instance to transform. + * @param {!proto.services.user_svc.v1.UpdateUserResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.UpdateUserResponse.toObject = function(includeInstance, msg) { +proto.services.user_svc.v1.UpdateUserResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -1642,23 +1642,23 @@ proto.proto.services.user_svc.v1.UpdateUserResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.proto.services.user_svc.v1.UpdateUserResponse} + * @return {!proto.services.user_svc.v1.UpdateUserResponse} */ -proto.proto.services.user_svc.v1.UpdateUserResponse.deserializeBinary = function(bytes) { +proto.services.user_svc.v1.UpdateUserResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.proto.services.user_svc.v1.UpdateUserResponse; - return proto.proto.services.user_svc.v1.UpdateUserResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.services.user_svc.v1.UpdateUserResponse; + return proto.services.user_svc.v1.UpdateUserResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.proto.services.user_svc.v1.UpdateUserResponse} msg The message object to deserialize into. + * @param {!proto.services.user_svc.v1.UpdateUserResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.proto.services.user_svc.v1.UpdateUserResponse} + * @return {!proto.services.user_svc.v1.UpdateUserResponse} */ -proto.proto.services.user_svc.v1.UpdateUserResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.services.user_svc.v1.UpdateUserResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1678,9 +1678,9 @@ proto.proto.services.user_svc.v1.UpdateUserResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.proto.services.user_svc.v1.UpdateUserResponse.prototype.serializeBinary = function() { +proto.services.user_svc.v1.UpdateUserResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.proto.services.user_svc.v1.UpdateUserResponse.serializeBinaryToWriter(this, writer); + proto.services.user_svc.v1.UpdateUserResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1688,13 +1688,13 @@ proto.proto.services.user_svc.v1.UpdateUserResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.proto.services.user_svc.v1.UpdateUserResponse} message + * @param {!proto.services.user_svc.v1.UpdateUserResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.proto.services.user_svc.v1.UpdateUserResponse.serializeBinaryToWriter = function(message, writer) { +proto.services.user_svc.v1.UpdateUserResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; -goog.object.extend(exports, proto.proto.services.user_svc.v1); +goog.object.extend(exports, proto.services.user_svc.v1); diff --git a/images/dev-go/Dockerfile b/images/dev-go/Dockerfile index 2026f1df5..afe843470 100644 --- a/images/dev-go/Dockerfile +++ b/images/dev-go/Dockerfile @@ -33,7 +33,7 @@ RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \ # install buf # https://buf.build/ # renovate: datasource=github-releases depName=bufbuild/buf -ENV BUF_VERSION=1.31.0 +ENV BUF_VERSION=1.32.2 RUN wget https://github.com/bufbuild/buf/releases/download/v${BUF_VERSION}/buf-Linux-x86_64 -O /usr/local/bin/buf \ && chmod +x /usr/local/bin/buf @@ -61,10 +61,10 @@ USER ${UID}:${GID} ENV HOME="/home/${UNAME}" # install air -# https://github.com/cosmtrek/air -# renovate: datasource=github-releases depName=cosmtrek/air -ENV AIR_VERSION=1.52.0 -RUN curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v${AIR_VERSION} +# https://github.com/air-verse/air +# renovate: datasource=github-releases depName=air-verse/air +ENV AIR_VERSION=1.52.2 +RUN curl -sSfL https://raw.githubusercontent.com/air-verse/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v${AIR_VERSION} # install dapr-cli # https://docs.dapr.io/ @@ -72,7 +72,7 @@ RUN curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh # renovate: datasource=github-releases depName=dapr/cli ENV DAPR_CLI_VERSION=1.13.0 # renovate: datasource=github-releases depName=dapr/dapr -ENV DAPR_RT_VERSION=1.13.2 +ENV DAPR_RT_VERSION=1.13.4 ENV PATH="$PATH:$HOME/dapr" RUN mkdir "$HOME/dapr" \ @@ -116,7 +116,7 @@ RUN go install github.com/favadi/protoc-go-inject-tag@v${GO_INJECT_TAG_VERSION} # install golangci-lint, the linter we also use in the CI # https://golangci-lint.run/ # renovate: datasource=github-releases depName=golangci/golangci-lint -ENV GOLANGCI_LINT_VERSION=1.58.1 +ENV GOLANGCI_LINT_VERSION=1.59.0 RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \ | sh -s -- -b $(go env GOPATH)/bin v${GOLANGCI_LINT_VERSION} diff --git a/images/dev-go/update-dev-tag.sh b/images/dev-go/update-dev-tag.sh index 425aff8e5..4dbf0a170 100755 --- a/images/dev-go/update-dev-tag.sh +++ b/images/dev-go/update-dev-tag.sh @@ -5,7 +5,7 @@ set -e # update this value, when you update the Dockerfile # renovate: dev-tag -TAG='7' +TAG='8' # go to repo root cd $(git rev-parse --show-toplevel) diff --git a/proto/buf.yaml b/proto/buf.yaml deleted file mode 100644 index 1a5194568..000000000 --- a/proto/buf.yaml +++ /dev/null @@ -1,7 +0,0 @@ -version: v1 -breaking: - use: - - FILE -lint: - use: - - DEFAULT diff --git a/proto/libs/events/v1/organization_events.proto b/proto/libs/events/v1/organization_events.proto index 933098a7e..50ad018a4 100644 --- a/proto/libs/events/v1/organization_events.proto +++ b/proto/libs/events/v1/organization_events.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.libs.events.v1; +package libs.events.v1; option go_package = "gen/proto/libs/events"; diff --git a/proto/libs/events/v1/user_events.proto b/proto/libs/events/v1/user_events.proto index bb7bf6e99..71f31c95b 100644 --- a/proto/libs/events/v1/user_events.proto +++ b/proto/libs/events/v1/user_events.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.libs.events.v1; +package libs.events.v1; option go_package = "gen/proto/libs/events"; diff --git a/proto/services/auth_svc/v1/auth_svc.proto b/proto/services/auth_svc/v1/auth_svc.proto index 92987f1c4..19b7b94e6 100644 --- a/proto/services/auth_svc/v1/auth_svc.proto +++ b/proto/services/auth_svc/v1/auth_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.auth_svc.v1; +package services.auth_svc.v1; option go_package = "gen/proto/services/auth-svc"; diff --git a/proto/services/impulse_svc/v1/impulse_svc.proto b/proto/services/impulse_svc/v1/impulse_svc.proto index beb55a75c..86553f78a 100644 --- a/proto/services/impulse_svc/v1/impulse_svc.proto +++ b/proto/services/impulse_svc/v1/impulse_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.impulse_svc.v1; +package services.impulse_svc.v1; option go_package = "gen/proto/services/impulse-svc"; diff --git a/proto/services/ory_svc/v1/ory_svc.proto b/proto/services/ory_svc/v1/ory_svc.proto index 774ede99c..528029c84 100644 --- a/proto/services/ory_svc/v1/ory_svc.proto +++ b/proto/services/ory_svc/v1/ory_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.ory_svc.v1; +package services.ory_svc.v1; option go_package = "gen/proto/services/ory-svc"; diff --git a/proto/services/property_svc/v1/property_set_svc.proto b/proto/services/property_svc/v1/property_set_svc.proto index c81c5a4d1..0f9386b1d 100644 --- a/proto/services/property_svc/v1/property_set_svc.proto +++ b/proto/services/property_svc/v1/property_set_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.property_svc.v1; +package services.property_svc.v1; option go_package = "gen/proto/services/property-svc"; diff --git a/proto/services/property_svc/v1/property_svc.proto b/proto/services/property_svc/v1/property_svc.proto index 7a85d6a1e..83ea08a7d 100644 --- a/proto/services/property_svc/v1/property_svc.proto +++ b/proto/services/property_svc/v1/property_svc.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package proto.services.property_svc.v1; +package services.property_svc.v1; -import "proto/services/property_svc/v1/types.proto"; +import "services/property_svc/v1/types.proto"; option go_package = "gen/proto/services/property-svc"; diff --git a/proto/services/property_svc/v1/property_value_svc.proto b/proto/services/property_svc/v1/property_value_svc.proto index 3d5c41b98..274a333cc 100644 --- a/proto/services/property_svc/v1/property_value_svc.proto +++ b/proto/services/property_svc/v1/property_value_svc.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package proto.services.property_svc.v1; +package services.property_svc.v1; -import "proto/services/property_svc/v1/types.proto"; +import "services/property_svc/v1/types.proto"; import "google/protobuf/timestamp.proto"; option go_package = "gen/proto/services/property-svc"; diff --git a/proto/services/property_svc/v1/property_views_svc.proto b/proto/services/property_svc/v1/property_views_svc.proto index 8960a6f93..e3f592a04 100644 --- a/proto/services/property_svc/v1/property_views_svc.proto +++ b/proto/services/property_svc/v1/property_views_svc.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -import "proto/services/property_svc/v1/property_value_svc.proto"; +import "services/property_svc/v1/property_value_svc.proto"; -package proto.services.property_svc.v1; +package services.property_svc.v1; option go_package = "gen/proto/services/property-svc"; diff --git a/proto/services/property_svc/v1/types.proto b/proto/services/property_svc/v1/types.proto index 3865c8fb0..280d07f79 100644 --- a/proto/services/property_svc/v1/types.proto +++ b/proto/services/property_svc/v1/types.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.property_svc.v1; +package services.property_svc.v1; option go_package = "gen/proto/services/property-svc"; diff --git a/proto/services/task_svc/v1/bed_svc.proto b/proto/services/task_svc/v1/bed_svc.proto index 4d8830e6a..339cd3673 100644 --- a/proto/services/task_svc/v1/bed_svc.proto +++ b/proto/services/task_svc/v1/bed_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.task_svc.v1; +package services.task_svc.v1; option go_package = "gen/proto/services/task-svc"; diff --git a/proto/services/task_svc/v1/patient_svc.proto b/proto/services/task_svc/v1/patient_svc.proto index 76f9b525e..bf57aee3e 100644 --- a/proto/services/task_svc/v1/patient_svc.proto +++ b/proto/services/task_svc/v1/patient_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.task_svc.v1; +package services.task_svc.v1; option go_package = "gen/proto/services/task-svc"; diff --git a/proto/services/task_svc/v1/room_svc.proto b/proto/services/task_svc/v1/room_svc.proto index 27dd0b4b2..20efa8dc6 100644 --- a/proto/services/task_svc/v1/room_svc.proto +++ b/proto/services/task_svc/v1/room_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.task_svc.v1; +package services.task_svc.v1; option go_package = "gen/proto/services/task-svc"; diff --git a/proto/services/task_svc/v1/task_svc.proto b/proto/services/task_svc/v1/task_svc.proto index 3f7b7dd7e..62c2956e0 100644 --- a/proto/services/task_svc/v1/task_svc.proto +++ b/proto/services/task_svc/v1/task_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.task_svc.v1; +package services.task_svc.v1; option go_package = "gen/proto/services/task-svc"; diff --git a/proto/services/task_svc/v1/task_template_svc.proto b/proto/services/task_svc/v1/task_template_svc.proto index cf10466ec..141f48bb7 100644 --- a/proto/services/task_svc/v1/task_template_svc.proto +++ b/proto/services/task_svc/v1/task_template_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.task_svc.v1; +package services.task_svc.v1; option go_package = "gen/proto/services/task-svc"; diff --git a/proto/services/task_svc/v1/ward_svc.proto b/proto/services/task_svc/v1/ward_svc.proto index eb5a3f7e2..63b651eab 100644 --- a/proto/services/task_svc/v1/ward_svc.proto +++ b/proto/services/task_svc/v1/ward_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.task_svc.v1; +package services.task_svc.v1; option go_package = "gen/proto/services/task-svc"; diff --git a/proto/services/tasks_svc/v1/patient_svc.proto b/proto/services/tasks_svc/v1/patient_svc.proto index 445820da1..5a16dfceb 100644 --- a/proto/services/tasks_svc/v1/patient_svc.proto +++ b/proto/services/tasks_svc/v1/patient_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.tasks_svc.v1; +package services.tasks_svc.v1; option go_package = "gen/proto/services/tasks-svc"; diff --git a/proto/services/tasks_svc/v1/task_svc.proto b/proto/services/tasks_svc/v1/task_svc.proto index 0778e61e2..d8b85ff4b 100644 --- a/proto/services/tasks_svc/v1/task_svc.proto +++ b/proto/services/tasks_svc/v1/task_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.tasks_svc.v1; +package services.tasks_svc.v1; option go_package = "gen/proto/services/tasks-svc"; diff --git a/proto/services/user_svc/v1/organization_svc.proto b/proto/services/user_svc/v1/organization_svc.proto index 17deb8f4a..fd61a28c1 100644 --- a/proto/services/user_svc/v1/organization_svc.proto +++ b/proto/services/user_svc/v1/organization_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.user_svc.v1; +package services.user_svc.v1; option go_package = "gen/proto/services/user-svc"; diff --git a/proto/services/user_svc/v1/user_svc.proto b/proto/services/user_svc/v1/user_svc.proto index d96e04a04..ca49c263e 100644 --- a/proto/services/user_svc/v1/user_svc.proto +++ b/proto/services/user_svc/v1/user_svc.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package proto.services.user_svc.v1; +package services.user_svc.v1; option go_package = "gen/proto/services/user-svc"; diff --git a/protos.sh b/protos.sh index 66c93f025..bcd21181d 100755 --- a/protos.sh +++ b/protos.sh @@ -1,8 +1,8 @@ #!/bin/bash set -e -buf lint --path proto -buf generate --path proto --include-imports --include-wkt +buf lint +buf generate --include-imports --include-wkt -protoc-go-inject-tag -input="gen/go/proto/*/*/*/*.pb.go" # Note this only matches exactly three dirs, as go's glob does not support '**' (https://github.com/golang/go/issues/11862) +protoc-go-inject-tag -input="gen/go/*/*/*/*.pb.go" # Note this only matches exactly three dirs, as go's glob does not support '**' (https://github.com/golang/go/issues/11862) gofmt -w gen/go diff --git a/services/impulse_svc/gen/libs/events/v1/organization_events_pb2.py b/services/impulse_svc/gen/libs/events/v1/organization_events_pb2.py new file mode 100644 index 000000000..b4eec7711 --- /dev/null +++ b/services/impulse_svc/gen/libs/events/v1/organization_events_pb2.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: libs/events/v1/organization_events.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(libs/events/v1/organization_events.proto\x12\x0elibs.events.v1\"C\n\x18OrganizationCreatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"*\n\x18OrganizationDeletedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02idB\x9e\x01\n\x12\x63om.libs.events.v1B\x17OrganizationEventsProtoP\x01Z\x15gen/proto/libs/events\xa2\x02\x03LEX\xaa\x02\x0eLibs.Events.V1\xca\x02\x0eLibs\\Events\\V1\xe2\x02\x1aLibs\\Events\\V1\\GPBMetadata\xea\x02\x10Libs::Events::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'libs.events.v1.organization_events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.libs.events.v1B\027OrganizationEventsProtoP\001Z\025gen/proto/libs/events\242\002\003LEX\252\002\016Libs.Events.V1\312\002\016Libs\\Events\\V1\342\002\032Libs\\Events\\V1\\GPBMetadata\352\002\020Libs::Events::V1' + _globals['_ORGANIZATIONCREATEDEVENT']._serialized_start=60 + _globals['_ORGANIZATIONCREATEDEVENT']._serialized_end=127 + _globals['_ORGANIZATIONDELETEDEVENT']._serialized_start=129 + _globals['_ORGANIZATIONDELETEDEVENT']._serialized_end=171 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/libs/events/v1/organization_events_pb2_grpc.py b/services/impulse_svc/gen/libs/events/v1/organization_events_pb2_grpc.py similarity index 100% rename from services/impulse_svc/gen/proto/libs/events/v1/organization_events_pb2_grpc.py rename to services/impulse_svc/gen/libs/events/v1/organization_events_pb2_grpc.py diff --git a/services/impulse_svc/gen/libs/events/v1/user_events_pb2.py b/services/impulse_svc/gen/libs/events/v1/user_events_pb2.py new file mode 100644 index 000000000..6dd9b5f6d --- /dev/null +++ b/services/impulse_svc/gen/libs/events/v1/user_events_pb2.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: libs/events/v1/user_events.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n libs/events/v1/user_events.proto\x12\x0elibs.events.v1\"k\n\x13UserRegisteredEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"h\n\x10UserCreatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"\x97\x01\n\x10UserUpdatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x05\x65mail\x18\x02 \x01(\tH\x00R\x05\x65mail\x88\x01\x01\x12\x1f\n\x08nickname\x18\x03 \x01(\tH\x01R\x08nickname\x88\x01\x01\x12\x17\n\x04name\x18\x04 \x01(\tH\x02R\x04name\x88\x01\x01\x42\x08\n\x06_emailB\x0b\n\t_nicknameB\x07\n\x05_nameB\x96\x01\n\x12\x63om.libs.events.v1B\x0fUserEventsProtoP\x01Z\x15gen/proto/libs/events\xa2\x02\x03LEX\xaa\x02\x0eLibs.Events.V1\xca\x02\x0eLibs\\Events\\V1\xe2\x02\x1aLibs\\Events\\V1\\GPBMetadata\xea\x02\x10Libs::Events::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'libs.events.v1.user_events_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\022com.libs.events.v1B\017UserEventsProtoP\001Z\025gen/proto/libs/events\242\002\003LEX\252\002\016Libs.Events.V1\312\002\016Libs\\Events\\V1\342\002\032Libs\\Events\\V1\\GPBMetadata\352\002\020Libs::Events::V1' + _globals['_USERREGISTEREDEVENT']._serialized_start=52 + _globals['_USERREGISTEREDEVENT']._serialized_end=159 + _globals['_USERCREATEDEVENT']._serialized_start=161 + _globals['_USERCREATEDEVENT']._serialized_end=265 + _globals['_USERUPDATEDEVENT']._serialized_start=268 + _globals['_USERUPDATEDEVENT']._serialized_end=419 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/libs/events/v1/user_events_pb2_grpc.py b/services/impulse_svc/gen/libs/events/v1/user_events_pb2_grpc.py similarity index 100% rename from services/impulse_svc/gen/proto/libs/events/v1/user_events_pb2_grpc.py rename to services/impulse_svc/gen/libs/events/v1/user_events_pb2_grpc.py diff --git a/services/impulse_svc/gen/proto/libs/events/v1/organization_events_pb2.py b/services/impulse_svc/gen/proto/libs/events/v1/organization_events_pb2.py deleted file mode 100644 index cbe470c15..000000000 --- a/services/impulse_svc/gen/proto/libs/events/v1/organization_events_pb2.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/libs/events/v1/organization_events.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.proto/libs/events/v1/organization_events.proto\x12\x14proto.libs.events.v1\"C\n\x18OrganizationCreatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"*\n\x18OrganizationDeletedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02idB\xbd\x01\n\x18\x63om.proto.libs.events.v1B\x17OrganizationEventsProtoP\x01Z\x15gen/proto/libs/events\xa2\x02\x03PLE\xaa\x02\x14Proto.Libs.Events.V1\xca\x02\x14Proto\\Libs\\Events\\V1\xe2\x02 Proto\\Libs\\Events\\V1\\GPBMetadata\xea\x02\x17Proto::Libs::Events::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.libs.events.v1.organization_events_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.proto.libs.events.v1B\027OrganizationEventsProtoP\001Z\025gen/proto/libs/events\242\002\003PLE\252\002\024Proto.Libs.Events.V1\312\002\024Proto\\Libs\\Events\\V1\342\002 Proto\\Libs\\Events\\V1\\GPBMetadata\352\002\027Proto::Libs::Events::V1' - _globals['_ORGANIZATIONCREATEDEVENT']._serialized_start=72 - _globals['_ORGANIZATIONCREATEDEVENT']._serialized_end=139 - _globals['_ORGANIZATIONDELETEDEVENT']._serialized_start=141 - _globals['_ORGANIZATIONDELETEDEVENT']._serialized_end=183 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/libs/events/v1/user_events_pb2.py b/services/impulse_svc/gen/proto/libs/events/v1/user_events_pb2.py deleted file mode 100644 index c90c1524f..000000000 --- a/services/impulse_svc/gen/proto/libs/events/v1/user_events_pb2.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/libs/events/v1/user_events.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&proto/libs/events/v1/user_events.proto\x12\x14proto.libs.events.v1\"k\n\x13UserRegisteredEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"h\n\x10UserCreatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"\x97\x01\n\x10UserUpdatedEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x05\x65mail\x18\x02 \x01(\tH\x00R\x05\x65mail\x88\x01\x01\x12\x1f\n\x08nickname\x18\x03 \x01(\tH\x01R\x08nickname\x88\x01\x01\x12\x17\n\x04name\x18\x04 \x01(\tH\x02R\x04name\x88\x01\x01\x42\x08\n\x06_emailB\x0b\n\t_nicknameB\x07\n\x05_nameB\xb5\x01\n\x18\x63om.proto.libs.events.v1B\x0fUserEventsProtoP\x01Z\x15gen/proto/libs/events\xa2\x02\x03PLE\xaa\x02\x14Proto.Libs.Events.V1\xca\x02\x14Proto\\Libs\\Events\\V1\xe2\x02 Proto\\Libs\\Events\\V1\\GPBMetadata\xea\x02\x17Proto::Libs::Events::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.libs.events.v1.user_events_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\030com.proto.libs.events.v1B\017UserEventsProtoP\001Z\025gen/proto/libs/events\242\002\003PLE\252\002\024Proto.Libs.Events.V1\312\002\024Proto\\Libs\\Events\\V1\342\002 Proto\\Libs\\Events\\V1\\GPBMetadata\352\002\027Proto::Libs::Events::V1' - _globals['_USERREGISTEREDEVENT']._serialized_start=64 - _globals['_USERREGISTEREDEVENT']._serialized_end=171 - _globals['_USERCREATEDEVENT']._serialized_start=173 - _globals['_USERCREATEDEVENT']._serialized_end=277 - _globals['_USERUPDATEDEVENT']._serialized_start=280 - _globals['_USERUPDATEDEVENT']._serialized_end=431 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/auth_svc/v1/auth_svc_pb2.py b/services/impulse_svc/gen/proto/services/auth_svc/v1/auth_svc_pb2.py deleted file mode 100644 index ba8b1d21a..000000000 --- a/services/impulse_svc/gen/proto/services/auth_svc/v1/auth_svc_pb2.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/auth_svc/v1/auth_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)proto/services/auth_svc/v1/auth_svc.proto\x12\x1aproto.services.auth_svc.v1\"\x1a\n\x18PrelimAuthRequestRequest\"-\n\x19PrelimAuthRequestResponse\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url2\x92\x01\n\x0b\x41uthService\x12\x82\x01\n\x11PrelimAuthRequest\x12\x34.proto.services.auth_svc.v1.PrelimAuthRequestRequest\x1a\x35.proto.services.auth_svc.v1.PrelimAuthRequestResponse\"\x00\x42\xd2\x01\n\x1e\x63om.proto.services.auth_svc.v1B\x0c\x41uthSvcProtoP\x01Z\x1bgen/proto/services/auth-svc\xa2\x02\x03PSA\xaa\x02\x19Proto.Services.AuthSvc.V1\xca\x02\x19Proto\\Services\\AuthSvc\\V1\xe2\x02%Proto\\Services\\AuthSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::AuthSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.auth_svc.v1.auth_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.auth_svc.v1B\014AuthSvcProtoP\001Z\033gen/proto/services/auth-svc\242\002\003PSA\252\002\031Proto.Services.AuthSvc.V1\312\002\031Proto\\Services\\AuthSvc\\V1\342\002%Proto\\Services\\AuthSvc\\V1\\GPBMetadata\352\002\034Proto::Services::AuthSvc::V1' - _globals['_PRELIMAUTHREQUESTREQUEST']._serialized_start=73 - _globals['_PRELIMAUTHREQUESTREQUEST']._serialized_end=99 - _globals['_PRELIMAUTHREQUESTRESPONSE']._serialized_start=101 - _globals['_PRELIMAUTHREQUESTRESPONSE']._serialized_end=146 - _globals['_AUTHSERVICE']._serialized_start=149 - _globals['_AUTHSERVICE']._serialized_end=295 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/impulse_svc/v1/impulse_svc_pb2.py b/services/impulse_svc/gen/proto/services/impulse_svc/v1/impulse_svc_pb2.py deleted file mode 100644 index 86f1e4964..000000000 --- a/services/impulse_svc/gen/proto/services/impulse_svc/v1/impulse_svc_pb2.py +++ /dev/null @@ -1,95 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/impulse_svc/v1/impulse_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/proto/services/impulse_svc/v1/impulse_svc.proto\x12\x1dproto.services.impulse_svc.v1\"\xcc\x01\n\x11\x43reateUserRequest\x12\x1a\n\x08username\x18\x01 \x01(\tR\x08username\x12=\n\x06gender\x18\x02 \x01(\x0e\x32%.proto.services.impulse_svc.v1.GenderR\x06gender\x12\x1a\n\x08\x62irthday\x18\x03 \x01(\tR\x08\x62irthday\x12\x10\n\x03pal\x18\x04 \x01(\x02R\x03pal\x12\x16\n\x06length\x18\x05 \x01(\x05R\x06length\x12\x16\n\x06weight\x18\x06 \x01(\x02R\x06weight\"-\n\x12\x43reateUserResponse\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xc2\x02\n\x11UpdateUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x1c\n\x07team_id\x18\x02 \x01(\tH\x00R\x06teamId\x88\x01\x01\x12\x42\n\x06gender\x18\x03 \x01(\x0e\x32%.proto.services.impulse_svc.v1.GenderH\x01R\x06gender\x88\x01\x01\x12\x1f\n\x08\x62irthday\x18\x04 \x01(\tH\x02R\x08\x62irthday\x88\x01\x01\x12\x15\n\x03pal\x18\x05 \x01(\x02H\x03R\x03pal\x88\x01\x01\x12\x1b\n\x06length\x18\x06 \x01(\x05H\x04R\x06length\x88\x01\x01\x12\x1b\n\x06weight\x18\x07 \x01(\x02H\x05R\x06weight\x88\x01\x01\x42\n\n\x08_team_idB\t\n\x07_genderB\x0b\n\t_birthdayB\x06\n\x04_palB\t\n\x07_lengthB\t\n\x07_weight\"\xf4\x01\n\x12UpdateUserResponse\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x1c\n\x07team_id\x18\x02 \x01(\tH\x00R\x06teamId\x88\x01\x01\x12=\n\x06gender\x18\x03 \x01(\x0e\x32%.proto.services.impulse_svc.v1.GenderR\x06gender\x12\x1a\n\x08\x62irthday\x18\x04 \x01(\tR\x08\x62irthday\x12\x10\n\x03pal\x18\x05 \x01(\x02R\x03pal\x12\x16\n\x06length\x18\x06 \x01(\x05R\x06length\x12\x16\n\x06weight\x18\x07 \x01(\x02R\x06weightB\n\n\x08_team_id\"\x14\n\x12GetAllTeamsRequest\"\xbb\x01\n\x13GetAllTeamsResponse\x12M\n\x05teams\x18\x01 \x03(\x0b\x32\x37.proto.services.impulse_svc.v1.GetAllTeamsResponse.TeamR\x05teams\x1aU\n\x04Team\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"\x82\x01\n\x15TrackChallengeRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x14\n\x05score\x18\x03 \x01(\x04R\x05score\x12\x17\n\x07\x64one_at\x18\x04 \x01(\tR\x06\x64oneAt\";\n\x16TrackChallengeResponse\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\"\x1c\n\x1aGetActiveChallengesRequest\"\xf8\x03\n\x1bGetActiveChallengesResponse\x12\x64\n\nchallenges\x18\x01 \x03(\x0b\x32\x44.proto.services.impulse_svc.v1.GetActiveChallengesResponse.ChallengeR\nchallenges\x1a\xf2\x02\n\tChallenge\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x19\n\x08start_at\x18\x04 \x01(\tR\x07startAt\x12\x15\n\x06\x65nd_at\x18\x05 \x01(\tR\x05\x65ndAt\x12L\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32\x30.proto.services.impulse_svc.v1.ChallengeCategoryR\x08\x63\x61tegory\x12@\n\x04type\x18\x07 \x01(\x0e\x32,.proto.services.impulse_svc.v1.ChallengeTypeR\x04type\x12\x1c\n\tthreshold\x18\x08 \x01(\x04R\tthreshold\x12\x16\n\x06points\x18\t \x01(\x04R\x06points\x12\x12\n\x04unit\x18\n \x01(\tR\x04unit\"\xc6\x03\n\x16UpdateChallengeRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x19\n\x05title\x18\x02 \x01(\tH\x00R\x05title\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1e\n\x08start_at\x18\x04 \x01(\tH\x02R\x07startAt\x88\x01\x01\x12\x1a\n\x06\x65nd_at\x18\x05 \x01(\tH\x03R\x05\x65ndAt\x88\x01\x01\x12Q\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32\x30.proto.services.impulse_svc.v1.ChallengeCategoryH\x04R\x08\x63\x61tegory\x88\x01\x01\x12!\n\tthreshold\x18\x07 \x01(\x04H\x05R\tthreshold\x88\x01\x01\x12\x1b\n\x06points\x18\x08 \x01(\x04H\x06R\x06points\x88\x01\x01\x12\x17\n\x04unit\x18\t \x01(\tH\x07R\x04unit\x88\x01\x01\x42\x08\n\x06_titleB\x0e\n\x0c_descriptionB\x0b\n\t_start_atB\t\n\x07_end_atB\x0b\n\t_categoryB\x0c\n\n_thresholdB\t\n\x07_pointsB\x07\n\x05_unit\"\x80\x03\n\x17UpdateChallengeResponse\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x19\n\x08start_at\x18\x04 \x01(\tR\x07startAt\x12\x15\n\x06\x65nd_at\x18\x05 \x01(\tR\x05\x65ndAt\x12L\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32\x30.proto.services.impulse_svc.v1.ChallengeCategoryR\x08\x63\x61tegory\x12@\n\x04type\x18\x07 \x01(\x0e\x32,.proto.services.impulse_svc.v1.ChallengeTypeR\x04type\x12\x1c\n\tthreshold\x18\x08 \x01(\x04R\tthreshold\x12\x16\n\x06points\x18\t \x01(\x04R\x06points\x12\x12\n\x04unit\x18\n \x01(\tR\x04unit\"*\n\x0fGetScoreRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"(\n\x10GetScoreResponse\x12\x14\n\x05score\x18\x01 \x01(\x04R\x05score\",\n\x11GetRewardsRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xdf\x01\n\x12GetRewardsResponse\x12R\n\x07rewards\x18\x01 \x03(\x0b\x32\x38.proto.services.impulse_svc.v1.GetRewardsResponse.RewardR\x07rewards\x1au\n\x06Reward\x12\x1b\n\treward_id\x18\x01 \x01(\tR\x08rewardId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06points\x18\x05 \x01(\x04R\x06points\"\x16\n\x14GetAllRewardsRequest\"\xe5\x01\n\x15GetAllRewardsResponse\x12U\n\x07rewards\x18\x01 \x03(\x0b\x32;.proto.services.impulse_svc.v1.GetAllRewardsResponse.RewardR\x07rewards\x1au\n\x06Reward\x12\x1b\n\treward_id\x18\x01 \x01(\tR\x08rewardId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06points\x18\x05 \x01(\x04R\x06points\"4\n\x19StatsForTeamByUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xd9\x02\n\x1aStatsForTeamByUserResponse\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\x12\x14\n\x05score\x18\x02 \x01(\x04R\x05score\x12h\n\x0cgender_count\x18\x03 \x03(\x0b\x32\x45.proto.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCountR\x0bgenderCount\x12\x1f\n\x0b\x61verage_age\x18\x04 \x01(\x02R\naverageAge\x12\x1d\n\nuser_count\x18\x05 \x01(\x04R\tuserCount\x1a\x62\n\x0bGenderCount\x12=\n\x06gender\x18\x01 \x01(\x0e\x32%.proto.services.impulse_svc.v1.GenderR\x06gender\x12\x14\n\x05\x63ount\x18\x02 \x01(\rR\x05\x63ount\"8\n\x13VerificationRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\"\xad\x04\n\x14VerificationResponse\x12y\n\x14string_verifications\x18\x01 \x03(\x0b\x32\x46.proto.services.impulse_svc.v1.VerificationResponse.StringVerificationR\x13stringVerifications\x12|\n\x15integer_verifications\x18\x02 \x03(\x0b\x32G.proto.services.impulse_svc.v1.VerificationResponse.IntegerVerificationR\x14integerVerifications\x1a\x8b\x01\n\x12StringVerification\x12\x14\n\x05order\x18\x01 \x01(\rR\x05order\x12I\n\x04type\x18\x02 \x01(\x0e\x32\x35.proto.services.impulse_svc.v1.StringVerificationTypeR\x04type\x12\x14\n\x05value\x18\x03 \x01(\tR\x05value\x1a\x8d\x01\n\x13IntegerVerification\x12\x14\n\x05order\x18\x01 \x01(\rR\x05order\x12J\n\x04type\x18\x02 \x01(\x0e\x32\x36.proto.services.impulse_svc.v1.IntegerVerificationTypeR\x04type\x12\x14\n\x05value\x18\x03 \x01(\x04R\x05value*c\n\rChallengeType\x12\x1e\n\x1a\x43HALLENGE_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x43HALLENGE_TYPE_DAILY\x10\x01\x12\x18\n\x14\x43HALLENGE_TYPE_QUEST\x10\x02*t\n\x11\x43hallengeCategory\x12\"\n\x1e\x43HALLENGE_CATEGORY_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43HALLENGE_CATEGORY_FOOD\x10\x01\x12\x1e\n\x1a\x43HALLENGE_CATEGORY_FITNESS\x10\x02*X\n\x06Gender\x12\x16\n\x12GENDER_UNSPECIFIED\x10\x00\x12\x0f\n\x0bGENDER_MALE\x10\x01\x12\x11\n\rGENDER_FEMALE\x10\x02\x12\x12\n\x0eGENDER_DIVERSE\x10\x03*c\n\x16StringVerificationType\x12(\n$STRING_VERIFICATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bSTRING_VERIFICATION_TYPE_QR\x10\x01*\x8f\x01\n\x17IntegerVerificationType\x12)\n%INTEGER_VERIFICATION_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1fINTEGER_VERIFICATION_TYPE_TIMER\x10\x01\x12$\n INTEGER_VERIFICATION_TYPE_NUMBER\x10\x02\x32\xef\t\n\x0eImpulseService\x12s\n\nCreateUser\x12\x30.proto.services.impulse_svc.v1.CreateUserRequest\x1a\x31.proto.services.impulse_svc.v1.CreateUserResponse\"\x00\x12s\n\nUpdateUser\x12\x30.proto.services.impulse_svc.v1.UpdateUserRequest\x1a\x31.proto.services.impulse_svc.v1.UpdateUserResponse\"\x00\x12\x7f\n\x0eTrackChallenge\x12\x34.proto.services.impulse_svc.v1.TrackChallengeRequest\x1a\x35.proto.services.impulse_svc.v1.TrackChallengeResponse\"\x00\x12\x8e\x01\n\x13GetActiveChallenges\x12\x39.proto.services.impulse_svc.v1.GetActiveChallengesRequest\x1a:.proto.services.impulse_svc.v1.GetActiveChallengesResponse\"\x00\x12m\n\x08GetScore\x12..proto.services.impulse_svc.v1.GetScoreRequest\x1a/.proto.services.impulse_svc.v1.GetScoreResponse\"\x00\x12s\n\nGetRewards\x12\x30.proto.services.impulse_svc.v1.GetRewardsRequest\x1a\x31.proto.services.impulse_svc.v1.GetRewardsResponse\"\x00\x12|\n\rGetAllRewards\x12\x33.proto.services.impulse_svc.v1.GetAllRewardsRequest\x1a\x34.proto.services.impulse_svc.v1.GetAllRewardsResponse\"\x00\x12v\n\x0bGetAllTeams\x12\x31.proto.services.impulse_svc.v1.GetAllTeamsRequest\x1a\x32.proto.services.impulse_svc.v1.GetAllTeamsResponse\"\x00\x12\x8b\x01\n\x12StatsForTeamByUser\x12\x38.proto.services.impulse_svc.v1.StatsForTeamByUserRequest\x1a\x39.proto.services.impulse_svc.v1.StatsForTeamByUserResponse\"\x00\x12y\n\x0cVerification\x12\x32.proto.services.impulse_svc.v1.VerificationRequest\x1a\x33.proto.services.impulse_svc.v1.VerificationResponse\"\x00\x42\xe7\x01\n!com.proto.services.impulse_svc.v1B\x0fImpulseSvcProtoP\x01Z\x1egen/proto/services/impulse-svc\xa2\x02\x03PSI\xaa\x02\x1cProto.Services.ImpulseSvc.V1\xca\x02\x1cProto\\Services\\ImpulseSvc\\V1\xe2\x02(Proto\\Services\\ImpulseSvc\\V1\\GPBMetadata\xea\x02\x1fProto::Services::ImpulseSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.impulse_svc.v1.impulse_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n!com.proto.services.impulse_svc.v1B\017ImpulseSvcProtoP\001Z\036gen/proto/services/impulse-svc\242\002\003PSI\252\002\034Proto.Services.ImpulseSvc.V1\312\002\034Proto\\Services\\ImpulseSvc\\V1\342\002(Proto\\Services\\ImpulseSvc\\V1\\GPBMetadata\352\002\037Proto::Services::ImpulseSvc::V1' - _globals['_CHALLENGETYPE']._serialized_start=4329 - _globals['_CHALLENGETYPE']._serialized_end=4428 - _globals['_CHALLENGECATEGORY']._serialized_start=4430 - _globals['_CHALLENGECATEGORY']._serialized_end=4546 - _globals['_GENDER']._serialized_start=4548 - _globals['_GENDER']._serialized_end=4636 - _globals['_STRINGVERIFICATIONTYPE']._serialized_start=4638 - _globals['_STRINGVERIFICATIONTYPE']._serialized_end=4737 - _globals['_INTEGERVERIFICATIONTYPE']._serialized_start=4740 - _globals['_INTEGERVERIFICATIONTYPE']._serialized_end=4883 - _globals['_CREATEUSERREQUEST']._serialized_start=83 - _globals['_CREATEUSERREQUEST']._serialized_end=287 - _globals['_CREATEUSERRESPONSE']._serialized_start=289 - _globals['_CREATEUSERRESPONSE']._serialized_end=334 - _globals['_UPDATEUSERREQUEST']._serialized_start=337 - _globals['_UPDATEUSERREQUEST']._serialized_end=659 - _globals['_UPDATEUSERRESPONSE']._serialized_start=662 - _globals['_UPDATEUSERRESPONSE']._serialized_end=906 - _globals['_GETALLTEAMSREQUEST']._serialized_start=908 - _globals['_GETALLTEAMSREQUEST']._serialized_end=928 - _globals['_GETALLTEAMSRESPONSE']._serialized_start=931 - _globals['_GETALLTEAMSRESPONSE']._serialized_end=1118 - _globals['_GETALLTEAMSRESPONSE_TEAM']._serialized_start=1033 - _globals['_GETALLTEAMSRESPONSE_TEAM']._serialized_end=1118 - _globals['_TRACKCHALLENGEREQUEST']._serialized_start=1121 - _globals['_TRACKCHALLENGEREQUEST']._serialized_end=1251 - _globals['_TRACKCHALLENGERESPONSE']._serialized_start=1253 - _globals['_TRACKCHALLENGERESPONSE']._serialized_end=1312 - _globals['_GETACTIVECHALLENGESREQUEST']._serialized_start=1314 - _globals['_GETACTIVECHALLENGESREQUEST']._serialized_end=1342 - _globals['_GETACTIVECHALLENGESRESPONSE']._serialized_start=1345 - _globals['_GETACTIVECHALLENGESRESPONSE']._serialized_end=1849 - _globals['_GETACTIVECHALLENGESRESPONSE_CHALLENGE']._serialized_start=1479 - _globals['_GETACTIVECHALLENGESRESPONSE_CHALLENGE']._serialized_end=1849 - _globals['_UPDATECHALLENGEREQUEST']._serialized_start=1852 - _globals['_UPDATECHALLENGEREQUEST']._serialized_end=2306 - _globals['_UPDATECHALLENGERESPONSE']._serialized_start=2309 - _globals['_UPDATECHALLENGERESPONSE']._serialized_end=2693 - _globals['_GETSCOREREQUEST']._serialized_start=2695 - _globals['_GETSCOREREQUEST']._serialized_end=2737 - _globals['_GETSCORERESPONSE']._serialized_start=2739 - _globals['_GETSCORERESPONSE']._serialized_end=2779 - _globals['_GETREWARDSREQUEST']._serialized_start=2781 - _globals['_GETREWARDSREQUEST']._serialized_end=2825 - _globals['_GETREWARDSRESPONSE']._serialized_start=2828 - _globals['_GETREWARDSRESPONSE']._serialized_end=3051 - _globals['_GETREWARDSRESPONSE_REWARD']._serialized_start=2934 - _globals['_GETREWARDSRESPONSE_REWARD']._serialized_end=3051 - _globals['_GETALLREWARDSREQUEST']._serialized_start=3053 - _globals['_GETALLREWARDSREQUEST']._serialized_end=3075 - _globals['_GETALLREWARDSRESPONSE']._serialized_start=3078 - _globals['_GETALLREWARDSRESPONSE']._serialized_end=3307 - _globals['_GETALLREWARDSRESPONSE_REWARD']._serialized_start=2934 - _globals['_GETALLREWARDSRESPONSE_REWARD']._serialized_end=3051 - _globals['_STATSFORTEAMBYUSERREQUEST']._serialized_start=3309 - _globals['_STATSFORTEAMBYUSERREQUEST']._serialized_end=3361 - _globals['_STATSFORTEAMBYUSERRESPONSE']._serialized_start=3364 - _globals['_STATSFORTEAMBYUSERRESPONSE']._serialized_end=3709 - _globals['_STATSFORTEAMBYUSERRESPONSE_GENDERCOUNT']._serialized_start=3611 - _globals['_STATSFORTEAMBYUSERRESPONSE_GENDERCOUNT']._serialized_end=3709 - _globals['_VERIFICATIONREQUEST']._serialized_start=3711 - _globals['_VERIFICATIONREQUEST']._serialized_end=3767 - _globals['_VERIFICATIONRESPONSE']._serialized_start=3770 - _globals['_VERIFICATIONRESPONSE']._serialized_end=4327 - _globals['_VERIFICATIONRESPONSE_STRINGVERIFICATION']._serialized_start=4044 - _globals['_VERIFICATIONRESPONSE_STRINGVERIFICATION']._serialized_end=4183 - _globals['_VERIFICATIONRESPONSE_INTEGERVERIFICATION']._serialized_start=4186 - _globals['_VERIFICATIONRESPONSE_INTEGERVERIFICATION']._serialized_end=4327 - _globals['_IMPULSESERVICE']._serialized_start=4886 - _globals['_IMPULSESERVICE']._serialized_end=6149 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/impulse_svc/v1/impulse_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/impulse_svc/v1/impulse_svc_pb2_grpc.py deleted file mode 100644 index 8f7cb83ff..000000000 --- a/services/impulse_svc/gen/proto/services/impulse_svc/v1/impulse_svc_pb2_grpc.py +++ /dev/null @@ -1,375 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.impulse_svc.v1 import impulse_svc_pb2 as proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2 - - -class ImpulseServiceStub(object): - """ - ImpulseService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateUser = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/CreateUser', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.FromString, - ) - self.UpdateUser = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/UpdateUser', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.FromString, - ) - self.TrackChallenge = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/TrackChallenge', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.FromString, - ) - self.GetActiveChallenges = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/GetActiveChallenges', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.FromString, - ) - self.GetScore = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/GetScore', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.FromString, - ) - self.GetRewards = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/GetRewards', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.FromString, - ) - self.GetAllRewards = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/GetAllRewards', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.FromString, - ) - self.GetAllTeams = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/GetAllTeams', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.FromString, - ) - self.StatsForTeamByUser = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.FromString, - ) - self.Verification = channel.unary_unary( - '/proto.services.impulse_svc.v1.ImpulseService/Verification', - request_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.FromString, - ) - - -class ImpulseServiceServicer(object): - """ - ImpulseService - - - """ - - def CreateUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TrackChallenge(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetActiveChallenges(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetScore(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRewards(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAllRewards(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAllTeams(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StatsForTeamByUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Verification(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_ImpulseServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateUser': grpc.unary_unary_rpc_method_handler( - servicer.CreateUser, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.SerializeToString, - ), - 'UpdateUser': grpc.unary_unary_rpc_method_handler( - servicer.UpdateUser, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.SerializeToString, - ), - 'TrackChallenge': grpc.unary_unary_rpc_method_handler( - servicer.TrackChallenge, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.SerializeToString, - ), - 'GetActiveChallenges': grpc.unary_unary_rpc_method_handler( - servicer.GetActiveChallenges, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.SerializeToString, - ), - 'GetScore': grpc.unary_unary_rpc_method_handler( - servicer.GetScore, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.SerializeToString, - ), - 'GetRewards': grpc.unary_unary_rpc_method_handler( - servicer.GetRewards, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.SerializeToString, - ), - 'GetAllRewards': grpc.unary_unary_rpc_method_handler( - servicer.GetAllRewards, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.SerializeToString, - ), - 'GetAllTeams': grpc.unary_unary_rpc_method_handler( - servicer.GetAllTeams, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.SerializeToString, - ), - 'StatsForTeamByUser': grpc.unary_unary_rpc_method_handler( - servicer.StatsForTeamByUser, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.SerializeToString, - ), - 'Verification': grpc.unary_unary_rpc_method_handler( - servicer.Verification, - request_deserializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.FromString, - response_serializer=proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.impulse_svc.v1.ImpulseService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class ImpulseService(object): - """ - ImpulseService - - - """ - - @staticmethod - def CreateUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/CreateUser', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/UpdateUser', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def TrackChallenge(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/TrackChallenge', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetActiveChallenges(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/GetActiveChallenges', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetScore(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/GetScore', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRewards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/GetRewards', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAllRewards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/GetAllRewards', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAllTeams(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/GetAllTeams', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StatsForTeamByUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Verification(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.impulse_svc.v1.ImpulseService/Verification', - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.SerializeToString, - proto_dot_services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/ory_svc/v1/ory_svc_pb2.py b/services/impulse_svc/gen/proto/services/ory_svc/v1/ory_svc_pb2.py deleted file mode 100644 index eda8e12c9..000000000 --- a/services/impulse_svc/gen/proto/services/ory_svc/v1/ory_svc_pb2.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/ory_svc/v1/ory_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'proto/services/ory_svc/v1/ory_svc.proto\x12\x19proto.services.ory_svc.v1\"\x87\x01\n&AfterRegistrationWebhookPayloadRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"|\n\x1b\x41\x66terSettingsWebhookPayload\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04nameB\xcb\x01\n\x1d\x63om.proto.services.ory_svc.v1B\x0bOrySvcProtoP\x01Z\x1agen/proto/services/ory-svc\xa2\x02\x03PSO\xaa\x02\x18Proto.Services.OrySvc.V1\xca\x02\x18Proto\\Services\\OrySvc\\V1\xe2\x02$Proto\\Services\\OrySvc\\V1\\GPBMetadata\xea\x02\x1bProto::Services::OrySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.ory_svc.v1.ory_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\035com.proto.services.ory_svc.v1B\013OrySvcProtoP\001Z\032gen/proto/services/ory-svc\242\002\003PSO\252\002\030Proto.Services.OrySvc.V1\312\002\030Proto\\Services\\OrySvc\\V1\342\002$Proto\\Services\\OrySvc\\V1\\GPBMetadata\352\002\033Proto::Services::OrySvc::V1' - _globals['_AFTERREGISTRATIONWEBHOOKPAYLOADREQUEST']._serialized_start=71 - _globals['_AFTERREGISTRATIONWEBHOOKPAYLOADREQUEST']._serialized_end=206 - _globals['_AFTERSETTINGSWEBHOOKPAYLOAD']._serialized_start=208 - _globals['_AFTERSETTINGSWEBHOOKPAYLOAD']._serialized_end=332 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/property_svc/v1/property_set_svc_pb2.py b/services/impulse_svc/gen/proto/services/property_svc/v1/property_set_svc_pb2.py deleted file mode 100644 index d927c3e26..000000000 --- a/services/impulse_svc/gen/proto/services/property_svc/v1/property_set_svc_pb2.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/property_svc/v1/property_set_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5proto/services/property_svc/v1/property_set_svc.proto\x12\x1eproto.services.property_svc.v1\".\n\x18\x43reatePropertySetRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"+\n\x19\x43reatePropertySetResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\'\n\x15GetPropertySetRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"<\n\x16GetPropertySetResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name2\xa5\x02\n\x12PropertySetService\x12\x8a\x01\n\x11\x43reatePropertySet\x12\x38.proto.services.property_svc.v1.CreatePropertySetRequest\x1a\x39.proto.services.property_svc.v1.CreatePropertySetResponse\"\x00\x12\x81\x01\n\x0eGetPropertySet\x12\x35.proto.services.property_svc.v1.GetPropertySetRequest\x1a\x36.proto.services.property_svc.v1.GetPropertySetResponse\"\x00\x42\xf1\x01\n\"com.proto.services.property_svc.v1B\x13PropertySetSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03PSP\xaa\x02\x1dProto.Services.PropertySvc.V1\xca\x02\x1dProto\\Services\\PropertySvc\\V1\xe2\x02)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\xea\x02 Proto::Services::PropertySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.property_svc.v1.property_set_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.proto.services.property_svc.v1B\023PropertySetSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003PSP\252\002\035Proto.Services.PropertySvc.V1\312\002\035Proto\\Services\\PropertySvc\\V1\342\002)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\352\002 Proto::Services::PropertySvc::V1' - _globals['_CREATEPROPERTYSETREQUEST']._serialized_start=89 - _globals['_CREATEPROPERTYSETREQUEST']._serialized_end=135 - _globals['_CREATEPROPERTYSETRESPONSE']._serialized_start=137 - _globals['_CREATEPROPERTYSETRESPONSE']._serialized_end=180 - _globals['_GETPROPERTYSETREQUEST']._serialized_start=182 - _globals['_GETPROPERTYSETREQUEST']._serialized_end=221 - _globals['_GETPROPERTYSETRESPONSE']._serialized_start=223 - _globals['_GETPROPERTYSETRESPONSE']._serialized_end=283 - _globals['_PROPERTYSETSERVICE']._serialized_start=286 - _globals['_PROPERTYSETSERVICE']._serialized_end=579 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/property_svc/v1/property_set_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/property_svc/v1/property_set_svc_pb2_grpc.py deleted file mode 100644 index b3fa40500..000000000 --- a/services/impulse_svc/gen/proto/services/property_svc/v1/property_set_svc_pb2_grpc.py +++ /dev/null @@ -1,111 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.property_svc.v1 import property_set_svc_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2 - - -class PropertySetServiceStub(object): - """ - PropertySetService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreatePropertySet = channel.unary_unary( - '/proto.services.property_svc.v1.PropertySetService/CreatePropertySet', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.FromString, - ) - self.GetPropertySet = channel.unary_unary( - '/proto.services.property_svc.v1.PropertySetService/GetPropertySet', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.FromString, - ) - - -class PropertySetServiceServicer(object): - """ - PropertySetService - - - """ - - def CreatePropertySet(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPropertySet(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PropertySetServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreatePropertySet': grpc.unary_unary_rpc_method_handler( - servicer.CreatePropertySet, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.SerializeToString, - ), - 'GetPropertySet': grpc.unary_unary_rpc_method_handler( - servicer.GetPropertySet, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.property_svc.v1.PropertySetService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PropertySetService(object): - """ - PropertySetService - - - """ - - @staticmethod - def CreatePropertySet(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertySetService/CreatePropertySet', - proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPropertySet(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertySetService/GetPropertySet', - proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/property_svc/v1/property_svc_pb2.py b/services/impulse_svc/gen/proto/services/property_svc/v1/property_svc_pb2.py deleted file mode 100644 index 9ef810c1c..000000000 --- a/services/impulse_svc/gen/proto/services/property_svc/v1/property_svc_pb2.py +++ /dev/null @@ -1,64 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/property_svc/v1/property_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from proto.services.property_svc.v1 import types_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_types__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1proto/services/property_svc/v1/property_svc.proto\x12\x1eproto.services.property_svc.v1\x1a*proto/services/property_svc/v1/types.proto\"\xad\x05\n\x15\x43reatePropertyRequest\x12N\n\x0csubject_type\x18\x02 \x01(\x0e\x32+.proto.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12H\n\nfield_type\x18\x03 \x01(\x0e\x32).proto.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1a\n\x06set_id\x18\x06 \x01(\tH\x02R\x05setId\x88\x01\x01\x12\x63\n\x0bselect_data\x18\t \x01(\x0b\x32@.proto.services.property_svc.v1.CreatePropertyRequest.SelectDataH\x00R\nselectData\x1a\x8f\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12g\n\x07options\x18\x02 \x03(\x0b\x32M.proto.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOptionR\x07options\x1aY\n\x0cSelectOption\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_id\"9\n\x16\x43reatePropertyResponse\x12\x1f\n\x0bproperty_id\x18\x01 \x01(\tR\npropertyId\"p\n\x12GetPropertyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x1aJ\n\nViewSource\x12\x18\n\x06global\x18\x01 \x01(\x08H\x00R\x06global\x12\x19\n\x07ward_id\x18\x02 \x01(\tH\x00R\x06wardIdB\x07\n\x05value\"\xf2\x06\n\x13GetPropertyResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12N\n\x0csubject_type\x18\x02 \x01(\x0e\x32+.proto.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12H\n\nfield_type\x18\x03 \x01(\x0e\x32).proto.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x06 \x01(\x08R\nisArchived\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x02R\x05setId\x88\x01\x01\x12\x61\n\x0bselect_data\x18\n \x01(\x0b\x32>.proto.services.property_svc.v1.GetPropertyResponse.SelectDataH\x00R\nselectData\x12G\n\x1e\x61lways_include_for_view_source\x18\x0b \x01(\x08H\x03R\x1a\x61lwaysIncludeForViewSource\x88\x01\x01\x1a\xbb\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12\x65\n\x07options\x18\x02 \x03(\x0b\x32K.proto.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOptionR\x07options\x1a\x86\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1b\n\tis_custom\x18\x04 \x01(\x08R\x08isCustomB\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_idB!\n\x1f_always_include_for_view_source\"\xd0\x06\n\x15UpdatePropertyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12S\n\x0csubject_type\x18\x02 \x01(\x0e\x32+.proto.services.property_svc.v1.SubjectTypeH\x01R\x0bsubjectType\x88\x01\x01\x12\x17\n\x04name\x18\x04 \x01(\tH\x02R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x03R\x0b\x64\x65scription\x88\x01\x01\x12$\n\x0bis_archived\x18\x06 \x01(\x08H\x04R\nisArchived\x88\x01\x01\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x05R\x05setId\x88\x01\x01\x12\x63\n\x0bselect_data\x18\n \x01(\x0b\x32@.proto.services.property_svc.v1.UpdatePropertyRequest.SelectDataH\x00R\nselectData\x1a\x92\x03\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12%\n\x0eremove_options\x18\x02 \x03(\tR\rremoveOptions\x12t\n\x0eupsert_options\x18\x03 \x03(\x0b\x32M.proto.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOptionR\rupsertOptions\x1a\xa7\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12 \n\tis_custom\x18\x04 \x01(\x08H\x02R\x08isCustom\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0c\n\n_is_customB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0f\n\r_subject_typeB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0e\n\x0c_is_archivedB\t\n\x07_set_id\"\x18\n\x16UpdatePropertyResponse\"s\n!GetPropertiesBySubjectTypeRequest\x12N\n\x0csubject_type\x18\x01 \x01(\x0e\x32+.proto.services.property_svc.v1.SubjectTypeR\x0bsubjectType\"\xbf\x07\n\"GetPropertiesBySubjectTypeResponse\x12k\n\nproperties\x18\x01 \x03(\x0b\x32K.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.PropertyR\nproperties\x1a\xab\x06\n\x08Property\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12N\n\x0csubject_type\x18\x02 \x01(\x0e\x32+.proto.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12H\n\nfield_type\x18\x03 \x01(\x0e\x32).proto.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x06 \x01(\x08R\nisArchived\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x02R\x05setId\x88\x01\x01\x12y\n\x0bselect_data\x18\n \x01(\x0b\x32V.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectDataH\x00R\nselectData\x1a\xd3\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12}\n\x07options\x18\x02 \x03(\x0b\x32\x63.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOptionR\x07options\x1a\x86\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1b\n\tis_custom\x18\x04 \x01(\x08R\x08isCustomB\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_id2\xbb\x04\n\x0fPropertyService\x12\x81\x01\n\x0e\x43reateProperty\x12\x35.proto.services.property_svc.v1.CreatePropertyRequest\x1a\x36.proto.services.property_svc.v1.CreatePropertyResponse\"\x00\x12x\n\x0bGetProperty\x12\x32.proto.services.property_svc.v1.GetPropertyRequest\x1a\x33.proto.services.property_svc.v1.GetPropertyResponse\"\x00\x12\x81\x01\n\x0eUpdateProperty\x12\x35.proto.services.property_svc.v1.UpdatePropertyRequest\x1a\x36.proto.services.property_svc.v1.UpdatePropertyResponse\"\x00\x12\xa5\x01\n\x1aGetPropertiesBySubjectType\x12\x41.proto.services.property_svc.v1.GetPropertiesBySubjectTypeRequest\x1a\x42.proto.services.property_svc.v1.GetPropertiesBySubjectTypeResponse\"\x00\x42\xee\x01\n\"com.proto.services.property_svc.v1B\x10PropertySvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03PSP\xaa\x02\x1dProto.Services.PropertySvc.V1\xca\x02\x1dProto\\Services\\PropertySvc\\V1\xe2\x02)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\xea\x02 Proto::Services::PropertySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.property_svc.v1.property_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.proto.services.property_svc.v1B\020PropertySvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003PSP\252\002\035Proto.Services.PropertySvc.V1\312\002\035Proto\\Services\\PropertySvc\\V1\342\002)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\352\002 Proto::Services::PropertySvc::V1' - _globals['_CREATEPROPERTYREQUEST']._serialized_start=130 - _globals['_CREATEPROPERTYREQUEST']._serialized_end=815 - _globals['_CREATEPROPERTYREQUEST_SELECTDATA']._serialized_start=498 - _globals['_CREATEPROPERTYREQUEST_SELECTDATA']._serialized_end=769 - _globals['_CREATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_start=661 - _globals['_CREATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_end=750 - _globals['_CREATEPROPERTYRESPONSE']._serialized_start=817 - _globals['_CREATEPROPERTYRESPONSE']._serialized_end=874 - _globals['_GETPROPERTYREQUEST']._serialized_start=876 - _globals['_GETPROPERTYREQUEST']._serialized_end=988 - _globals['_GETPROPERTYREQUEST_VIEWSOURCE']._serialized_start=914 - _globals['_GETPROPERTYREQUEST_VIEWSOURCE']._serialized_end=988 - _globals['_GETPROPERTYRESPONSE']._serialized_start=991 - _globals['_GETPROPERTYRESPONSE']._serialized_end=1873 - _globals['_GETPROPERTYRESPONSE_SELECTDATA']._serialized_start=1477 - _globals['_GETPROPERTYRESPONSE_SELECTDATA']._serialized_end=1792 - _globals['_GETPROPERTYRESPONSE_SELECTDATA_SELECTOPTION']._serialized_start=1639 - _globals['_GETPROPERTYRESPONSE_SELECTDATA_SELECTOPTION']._serialized_end=1773 - _globals['_UPDATEPROPERTYREQUEST']._serialized_start=1876 - _globals['_UPDATEPROPERTYREQUEST']._serialized_end=2724 - _globals['_UPDATEPROPERTYREQUEST_SELECTDATA']._serialized_start=2234 - _globals['_UPDATEPROPERTYREQUEST_SELECTDATA']._serialized_end=2636 - _globals['_UPDATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_start=2450 - _globals['_UPDATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_end=2617 - _globals['_UPDATEPROPERTYRESPONSE']._serialized_start=2726 - _globals['_UPDATEPROPERTYRESPONSE']._serialized_end=2750 - _globals['_GETPROPERTIESBYSUBJECTTYPEREQUEST']._serialized_start=2752 - _globals['_GETPROPERTIESBYSUBJECTTYPEREQUEST']._serialized_end=2867 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE']._serialized_start=2870 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE']._serialized_end=3829 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY']._serialized_start=3018 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY']._serialized_end=3829 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA']._serialized_start=3444 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA']._serialized_end=3783 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA_SELECTOPTION']._serialized_start=1639 - _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA_SELECTOPTION']._serialized_end=1773 - _globals['_PROPERTYSERVICE']._serialized_start=3832 - _globals['_PROPERTYSERVICE']._serialized_end=4403 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/property_svc/v1/property_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/property_svc/v1/property_svc_pb2_grpc.py deleted file mode 100644 index d0db2bf92..000000000 --- a/services/impulse_svc/gen/proto/services/property_svc/v1/property_svc_pb2_grpc.py +++ /dev/null @@ -1,165 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.property_svc.v1 import property_svc_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2 - - -class PropertyServiceStub(object): - """Missing associated documentation comment in .proto file.""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateProperty = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyService/CreateProperty', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.FromString, - ) - self.GetProperty = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyService/GetProperty', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.FromString, - ) - self.UpdateProperty = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyService/UpdateProperty', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.FromString, - ) - self.GetPropertiesBySubjectType = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.FromString, - ) - - -class PropertyServiceServicer(object): - """Missing associated documentation comment in .proto file.""" - - def CreateProperty(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetProperty(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateProperty(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPropertiesBySubjectType(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PropertyServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateProperty': grpc.unary_unary_rpc_method_handler( - servicer.CreateProperty, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.SerializeToString, - ), - 'GetProperty': grpc.unary_unary_rpc_method_handler( - servicer.GetProperty, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.SerializeToString, - ), - 'UpdateProperty': grpc.unary_unary_rpc_method_handler( - servicer.UpdateProperty, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.SerializeToString, - ), - 'GetPropertiesBySubjectType': grpc.unary_unary_rpc_method_handler( - servicer.GetPropertiesBySubjectType, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.property_svc.v1.PropertyService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PropertyService(object): - """Missing associated documentation comment in .proto file.""" - - @staticmethod - def CreateProperty(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyService/CreateProperty', - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetProperty(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyService/GetProperty', - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateProperty(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyService/UpdateProperty', - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPropertiesBySubjectType(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/property_svc/v1/property_value_svc_pb2.py b/services/impulse_svc/gen/proto/services/property_svc/v1/property_value_svc_pb2.py deleted file mode 100644 index 089726219..000000000 --- a/services/impulse_svc/gen/proto/services/property_svc/v1/property_value_svc_pb2.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/property_svc/v1/property_value_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from proto.services.property_svc.v1 import types_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_types__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7proto/services/property_svc/v1/property_value_svc.proto\x12\x1eproto.services.property_svc.v1\x1a*proto/services/property_svc/v1/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfe\x02\n\x1a\x41ttachPropertyValueRequest\x12\x1d\n\nsubject_id\x18\x01 \x01(\tR\tsubjectId\x12\x1f\n\x0bproperty_id\x18\x02 \x01(\tR\npropertyId\x12\x1f\n\ntext_value\x18\x03 \x01(\tH\x00R\ttextValue\x12#\n\x0cnumber_value\x18\x04 \x01(\x01H\x00R\x0bnumberValue\x12\x1f\n\nbool_value\x18\x05 \x01(\x08H\x00R\tboolValue\x12\x45\n\ndate_value\x18\x06 \x01(\x0b\x32$.proto.services.property_svc.v1.DateH\x00R\tdateValue\x12\x44\n\x0f\x64\x61te_time_value\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\rdateTimeValue\x12#\n\x0cselect_value\x18\x08 \x01(\tH\x00R\x0bselectValueB\x07\n\x05value\"I\n\x1b\x41ttachPropertyValueResponse\x12*\n\x11property_value_id\x18\x01 \x01(\tR\x0fpropertyValueId\"i\n\x13TaskPropertyMatcher\x12\x1c\n\x07ward_id\x18\x01 \x01(\tH\x00R\x06wardId\x88\x01\x01\x12\x1c\n\x07task_id\x18\x02 \x01(\tH\x01R\x06taskId\x88\x01\x01\x42\n\n\x08_ward_idB\n\n\x08_task_id\"\x87\x01\n GetAttachedPropertyValuesRequest\x12X\n\x0ctask_matcher\x18\x01 \x01(\x0b\x32\x33.proto.services.property_svc.v1.TaskPropertyMatcherH\x00R\x0btaskMatcherB\t\n\x07matcher\"\x87\x05\n!GetAttachedPropertyValuesResponse\x12_\n\x06values\x18\x01 \x03(\x0b\x32G.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse.ValueR\x06values\x1a\x80\x04\n\x05Value\x12\x1f\n\x0bproperty_id\x18\x01 \x01(\tR\npropertyId\x12H\n\nfield_type\x18\x02 \x01(\x0e\x32).proto.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x05 \x01(\x08R\nisArchived\x12\x1f\n\ntext_value\x18\x06 \x01(\tH\x00R\ttextValue\x12#\n\x0cnumber_value\x18\x07 \x01(\x01H\x00R\x0bnumberValue\x12\x1f\n\nbool_value\x18\x08 \x01(\x08H\x00R\tboolValue\x12\x45\n\ndate_value\x18\t \x01(\x0b\x32$.proto.services.property_svc.v1.DateH\x00R\tdateValue\x12\x44\n\x0f\x64\x61te_time_value\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\rdateTimeValue\x12#\n\x0cselect_value\x18\x0b \x01(\tH\x00R\x0bselectValueB\x07\n\x05valueB\x0e\n\x0c_description2\xce\x02\n\x14PropertyValueService\x12\x90\x01\n\x13\x41ttachPropertyValue\x12:.proto.services.property_svc.v1.AttachPropertyValueRequest\x1a;.proto.services.property_svc.v1.AttachPropertyValueResponse\"\x00\x12\xa2\x01\n\x19GetAttachedPropertyValues\x12@.proto.services.property_svc.v1.GetAttachedPropertyValuesRequest\x1a\x41.proto.services.property_svc.v1.GetAttachedPropertyValuesResponse\"\x00\x42\xf3\x01\n\"com.proto.services.property_svc.v1B\x15PropertyValueSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03PSP\xaa\x02\x1dProto.Services.PropertySvc.V1\xca\x02\x1dProto\\Services\\PropertySvc\\V1\xe2\x02)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\xea\x02 Proto::Services::PropertySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.property_svc.v1.property_value_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.proto.services.property_svc.v1B\025PropertyValueSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003PSP\252\002\035Proto.Services.PropertySvc.V1\312\002\035Proto\\Services\\PropertySvc\\V1\342\002)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\352\002 Proto::Services::PropertySvc::V1' - _globals['_ATTACHPROPERTYVALUEREQUEST']._serialized_start=169 - _globals['_ATTACHPROPERTYVALUEREQUEST']._serialized_end=551 - _globals['_ATTACHPROPERTYVALUERESPONSE']._serialized_start=553 - _globals['_ATTACHPROPERTYVALUERESPONSE']._serialized_end=626 - _globals['_TASKPROPERTYMATCHER']._serialized_start=628 - _globals['_TASKPROPERTYMATCHER']._serialized_end=733 - _globals['_GETATTACHEDPROPERTYVALUESREQUEST']._serialized_start=736 - _globals['_GETATTACHEDPROPERTYVALUESREQUEST']._serialized_end=871 - _globals['_GETATTACHEDPROPERTYVALUESRESPONSE']._serialized_start=874 - _globals['_GETATTACHEDPROPERTYVALUESRESPONSE']._serialized_end=1521 - _globals['_GETATTACHEDPROPERTYVALUESRESPONSE_VALUE']._serialized_start=1009 - _globals['_GETATTACHEDPROPERTYVALUESRESPONSE_VALUE']._serialized_end=1521 - _globals['_PROPERTYVALUESERVICE']._serialized_start=1524 - _globals['_PROPERTYVALUESERVICE']._serialized_end=1858 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/property_svc/v1/property_value_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/property_svc/v1/property_value_svc_pb2_grpc.py deleted file mode 100644 index 3476a9a2f..000000000 --- a/services/impulse_svc/gen/proto/services/property_svc/v1/property_value_svc_pb2_grpc.py +++ /dev/null @@ -1,111 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.property_svc.v1 import property_value_svc_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2 - - -class PropertyValueServiceStub(object): - """ - PropertyValueService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.AttachPropertyValue = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyValueService/AttachPropertyValue', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.FromString, - ) - self.GetAttachedPropertyValues = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.FromString, - ) - - -class PropertyValueServiceServicer(object): - """ - PropertyValueService - - - """ - - def AttachPropertyValue(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAttachedPropertyValues(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PropertyValueServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'AttachPropertyValue': grpc.unary_unary_rpc_method_handler( - servicer.AttachPropertyValue, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.SerializeToString, - ), - 'GetAttachedPropertyValues': grpc.unary_unary_rpc_method_handler( - servicer.GetAttachedPropertyValues, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.property_svc.v1.PropertyValueService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PropertyValueService(object): - """ - PropertyValueService - - - """ - - @staticmethod - def AttachPropertyValue(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyValueService/AttachPropertyValue', - proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAttachedPropertyValues(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', - proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/property_svc/v1/property_views_svc_pb2.py b/services/impulse_svc/gen/proto/services/property_svc/v1/property_views_svc_pb2.py deleted file mode 100644 index 3d739accc..000000000 --- a/services/impulse_svc/gen/proto/services/property_svc/v1/property_views_svc_pb2.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/property_svc/v1/property_views_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from proto.services.property_svc.v1 import property_value_svc_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_property__value__svc__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7proto/services/property_svc/v1/property_views_svc.proto\x12\x1eproto.services.property_svc.v1\x1a\x37proto/services/property_svc/v1/property_value_svc.proto\"\x8c\x02\n\x0c\x46ilterUpdate\x12\x37\n\x18\x61ppend_to_always_include\x18\x01 \x03(\tR\x15\x61ppendToAlwaysInclude\x12;\n\x1aremove_from_always_include\x18\x02 \x03(\tR\x17removeFromAlwaysInclude\x12@\n\x1d\x61ppend_to_dont_always_include\x18\x03 \x03(\tR\x19\x61ppendToDontAlwaysInclude\x12\x44\n\x1fremove_from_dont_always_include\x18\x04 \x03(\tR\x1bremoveFromDontAlwaysInclude\"\xd7\x01\n\x1dUpdatePropertyViewRuleRequest\x12Q\n\rfilter_update\x18\x01 \x01(\x0b\x32,.proto.services.property_svc.v1.FilterUpdateR\x0c\x66ilterUpdate\x12X\n\x0ctask_matcher\x18\x02 \x01(\x0b\x32\x33.proto.services.property_svc.v1.TaskPropertyMatcherH\x00R\x0btaskMatcherB\t\n\x07matcher\" \n\x1eUpdatePropertyViewRuleResponse2\xb2\x01\n\x14PropertyViewsService\x12\x99\x01\n\x16UpdatePropertyViewRule\x12=.proto.services.property_svc.v1.UpdatePropertyViewRuleRequest\x1a>.proto.services.property_svc.v1.UpdatePropertyViewRuleResponse\"\x00\x42\xf3\x01\n\"com.proto.services.property_svc.v1B\x15PropertyViewsSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03PSP\xaa\x02\x1dProto.Services.PropertySvc.V1\xca\x02\x1dProto\\Services\\PropertySvc\\V1\xe2\x02)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\xea\x02 Proto::Services::PropertySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.property_svc.v1.property_views_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.proto.services.property_svc.v1B\025PropertyViewsSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003PSP\252\002\035Proto.Services.PropertySvc.V1\312\002\035Proto\\Services\\PropertySvc\\V1\342\002)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\352\002 Proto::Services::PropertySvc::V1' - _globals['_FILTERUPDATE']._serialized_start=149 - _globals['_FILTERUPDATE']._serialized_end=417 - _globals['_UPDATEPROPERTYVIEWRULEREQUEST']._serialized_start=420 - _globals['_UPDATEPROPERTYVIEWRULEREQUEST']._serialized_end=635 - _globals['_UPDATEPROPERTYVIEWRULERESPONSE']._serialized_start=637 - _globals['_UPDATEPROPERTYVIEWRULERESPONSE']._serialized_end=669 - _globals['_PROPERTYVIEWSSERVICE']._serialized_start=672 - _globals['_PROPERTYVIEWSSERVICE']._serialized_end=850 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/property_svc/v1/property_views_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/property_svc/v1/property_views_svc_pb2_grpc.py deleted file mode 100644 index 36bd44957..000000000 --- a/services/impulse_svc/gen/proto/services/property_svc/v1/property_views_svc_pb2_grpc.py +++ /dev/null @@ -1,66 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.property_svc.v1 import property_views_svc_pb2 as proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2 - - -class PropertyViewsServiceStub(object): - """Missing associated documentation comment in .proto file.""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UpdatePropertyViewRule = channel.unary_unary( - '/proto.services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', - request_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.FromString, - ) - - -class PropertyViewsServiceServicer(object): - """Missing associated documentation comment in .proto file.""" - - def UpdatePropertyViewRule(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PropertyViewsServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'UpdatePropertyViewRule': grpc.unary_unary_rpc_method_handler( - servicer.UpdatePropertyViewRule, - request_deserializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.FromString, - response_serializer=proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.property_svc.v1.PropertyViewsService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PropertyViewsService(object): - """Missing associated documentation comment in .proto file.""" - - @staticmethod - def UpdatePropertyViewRule(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', - proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.SerializeToString, - proto_dot_services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/property_svc/v1/types_pb2.py b/services/impulse_svc/gen/proto/services/property_svc/v1/types_pb2.py deleted file mode 100644 index 7467c1c08..000000000 --- a/services/impulse_svc/gen/proto/services/property_svc/v1/types_pb2.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/property_svc/v1/types.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*proto/services/property_svc/v1/types.proto\x12\x1eproto.services.property_svc.v1\"B\n\x04\x44\x61te\x12\x10\n\x03\x64\x61y\x18\x01 \x01(\x05R\x03\x64\x61y\x12\x14\n\x05month\x18\x02 \x01(\x05R\x05month\x12\x12\n\x04year\x18\x03 \x01(\x05R\x04year*\\\n\x0bSubjectType\x12\x1c\n\x18SUBJECT_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14SUBJECT_TYPE_PATIENT\x10\x01\x12\x15\n\x11SUBJECT_TYPE_TASK\x10\x02*\xb2\x01\n\tFieldType\x12\x1a\n\x16\x46IELD_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x46IELD_TYPE_TEXT\x10\x01\x12\x15\n\x11\x46IELD_TYPE_NUMBER\x10\x02\x12\x17\n\x13\x46IELD_TYPE_CHECKBOX\x10\x03\x12\x13\n\x0f\x46IELD_TYPE_DATE\x10\x04\x12\x18\n\x14\x46IELD_TYPE_DATE_TIME\x10\x05\x12\x15\n\x11\x46IELD_TYPE_SELECT\x10\x06\x42\xe8\x01\n\"com.proto.services.property_svc.v1B\nTypesProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03PSP\xaa\x02\x1dProto.Services.PropertySvc.V1\xca\x02\x1dProto\\Services\\PropertySvc\\V1\xe2\x02)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\xea\x02 Proto::Services::PropertySvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.property_svc.v1.types_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\"com.proto.services.property_svc.v1B\nTypesProtoP\001Z\037gen/proto/services/property-svc\242\002\003PSP\252\002\035Proto.Services.PropertySvc.V1\312\002\035Proto\\Services\\PropertySvc\\V1\342\002)Proto\\Services\\PropertySvc\\V1\\GPBMetadata\352\002 Proto::Services::PropertySvc::V1' - _globals['_SUBJECTTYPE']._serialized_start=146 - _globals['_SUBJECTTYPE']._serialized_end=238 - _globals['_FIELDTYPE']._serialized_start=241 - _globals['_FIELDTYPE']._serialized_end=419 - _globals['_DATE']._serialized_start=78 - _globals['_DATE']._serialized_end=144 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/bed_svc_pb2.py b/services/impulse_svc/gen/proto/services/task_svc/v1/bed_svc_pb2.py deleted file mode 100644 index f2d5a7bba..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/bed_svc_pb2.py +++ /dev/null @@ -1,69 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/bed_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(proto/services/task_svc/v1/bed_svc.proto\x12\x1aproto.services.task_svc.v1\"?\n\x10\x43reateBedRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"#\n\x11\x43reateBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"V\n\x15\x42ulkCreateBedsRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\x12$\n\x0e\x61mount_of_beds\x18\x02 \x01(\rR\x0c\x61mountOfBeds\"\x8f\x01\n\x16\x42ulkCreateBedsResponse\x12J\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32\x36.proto.services.task_svc.v1.BulkCreateBedsResponse.BedR\x04\x62\x65\x64s\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x1f\n\rGetBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"M\n\x0eGetBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07room_id\x18\x02 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"7\n\x16GetBedByPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\xbd\x02\n\x17GetBedByPatientResponse\x12Q\n\x04room\x18\x01 \x01(\x0b\x32\x38.proto.services.task_svc.v1.GetBedByPatientResponse.RoomH\x00R\x04room\x88\x01\x01\x12N\n\x03\x62\x65\x64\x18\x02 \x01(\x0b\x32\x37.proto.services.task_svc.v1.GetBedByPatientResponse.BedH\x01R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\x07\n\x05_roomB\x06\n\x04_bed\"\x10\n\x0eGetBedsRequest\"\x9a\x01\n\x0fGetBedsResponse\x12\x43\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32/.proto.services.task_svc.v1.GetBedsResponse.BedR\x04\x62\x65\x64s\x1a\x42\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07room_id\x18\x02 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"/\n\x14GetBedsByRoomRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\"\x8d\x01\n\x15GetBedsByRoomResponse\x12I\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32\x35.proto.services.task_svc.v1.GetBedsByRoomResponse.BedR\x04\x62\x65\x64s\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"n\n\x10UpdateBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n\x07room_id\x18\x02 \x01(\tH\x00R\x06roomId\x88\x01\x01\x12\x17\n\x04name\x18\x03 \x01(\tH\x01R\x04name\x88\x01\x01\x42\n\n\x08_room_idB\x07\n\x05_name\"\x13\n\x11UpdateBedResponse\"\"\n\x10\x44\x65leteBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x13\n\x11\x44\x65leteBedResponse2\x8a\x07\n\nBedService\x12j\n\tCreateBed\x12,.proto.services.task_svc.v1.CreateBedRequest\x1a-.proto.services.task_svc.v1.CreateBedResponse\"\x00\x12y\n\x0e\x42ulkCreateBeds\x12\x31.proto.services.task_svc.v1.BulkCreateBedsRequest\x1a\x32.proto.services.task_svc.v1.BulkCreateBedsResponse\"\x00\x12\x61\n\x06GetBed\x12).proto.services.task_svc.v1.GetBedRequest\x1a*.proto.services.task_svc.v1.GetBedResponse\"\x00\x12|\n\x0fGetBedByPatient\x12\x32.proto.services.task_svc.v1.GetBedByPatientRequest\x1a\x33.proto.services.task_svc.v1.GetBedByPatientResponse\"\x00\x12\x64\n\x07GetBeds\x12*.proto.services.task_svc.v1.GetBedsRequest\x1a+.proto.services.task_svc.v1.GetBedsResponse\"\x00\x12v\n\rGetBedsByRoom\x12\x30.proto.services.task_svc.v1.GetBedsByRoomRequest\x1a\x31.proto.services.task_svc.v1.GetBedsByRoomResponse\"\x00\x12j\n\tUpdateBed\x12,.proto.services.task_svc.v1.UpdateBedRequest\x1a-.proto.services.task_svc.v1.UpdateBedResponse\"\x00\x12j\n\tDeleteBed\x12,.proto.services.task_svc.v1.DeleteBedRequest\x1a-.proto.services.task_svc.v1.DeleteBedResponse\"\x00\x42\xd1\x01\n\x1e\x63om.proto.services.task_svc.v1B\x0b\x42\x65\x64SvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.bed_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\013BedSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_CREATEBEDREQUEST']._serialized_start=72 - _globals['_CREATEBEDREQUEST']._serialized_end=135 - _globals['_CREATEBEDRESPONSE']._serialized_start=137 - _globals['_CREATEBEDRESPONSE']._serialized_end=172 - _globals['_BULKCREATEBEDSREQUEST']._serialized_start=174 - _globals['_BULKCREATEBEDSREQUEST']._serialized_end=260 - _globals['_BULKCREATEBEDSRESPONSE']._serialized_start=263 - _globals['_BULKCREATEBEDSRESPONSE']._serialized_end=406 - _globals['_BULKCREATEBEDSRESPONSE_BED']._serialized_start=365 - _globals['_BULKCREATEBEDSRESPONSE_BED']._serialized_end=406 - _globals['_GETBEDREQUEST']._serialized_start=408 - _globals['_GETBEDREQUEST']._serialized_end=439 - _globals['_GETBEDRESPONSE']._serialized_start=441 - _globals['_GETBEDRESPONSE']._serialized_end=518 - _globals['_GETBEDBYPATIENTREQUEST']._serialized_start=520 - _globals['_GETBEDBYPATIENTREQUEST']._serialized_end=575 - _globals['_GETBEDBYPATIENTRESPONSE']._serialized_start=578 - _globals['_GETBEDBYPATIENTRESPONSE']._serialized_end=895 - _globals['_GETBEDBYPATIENTRESPONSE_ROOM']._serialized_start=768 - _globals['_GETBEDBYPATIENTRESPONSE_ROOM']._serialized_end=835 - _globals['_GETBEDBYPATIENTRESPONSE_BED']._serialized_start=365 - _globals['_GETBEDBYPATIENTRESPONSE_BED']._serialized_end=406 - _globals['_GETBEDSREQUEST']._serialized_start=897 - _globals['_GETBEDSREQUEST']._serialized_end=913 - _globals['_GETBEDSRESPONSE']._serialized_start=916 - _globals['_GETBEDSRESPONSE']._serialized_end=1070 - _globals['_GETBEDSRESPONSE_BED']._serialized_start=1004 - _globals['_GETBEDSRESPONSE_BED']._serialized_end=1070 - _globals['_GETBEDSBYROOMREQUEST']._serialized_start=1072 - _globals['_GETBEDSBYROOMREQUEST']._serialized_end=1119 - _globals['_GETBEDSBYROOMRESPONSE']._serialized_start=1122 - _globals['_GETBEDSBYROOMRESPONSE']._serialized_end=1263 - _globals['_GETBEDSBYROOMRESPONSE_BED']._serialized_start=365 - _globals['_GETBEDSBYROOMRESPONSE_BED']._serialized_end=406 - _globals['_UPDATEBEDREQUEST']._serialized_start=1265 - _globals['_UPDATEBEDREQUEST']._serialized_end=1375 - _globals['_UPDATEBEDRESPONSE']._serialized_start=1377 - _globals['_UPDATEBEDRESPONSE']._serialized_end=1396 - _globals['_DELETEBEDREQUEST']._serialized_start=1398 - _globals['_DELETEBEDREQUEST']._serialized_end=1432 - _globals['_DELETEBEDRESPONSE']._serialized_start=1434 - _globals['_DELETEBEDRESPONSE']._serialized_end=1453 - _globals['_BEDSERVICE']._serialized_start=1456 - _globals['_BEDSERVICE']._serialized_end=2362 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/bed_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/task_svc/v1/bed_svc_pb2_grpc.py deleted file mode 100644 index 44be12eae..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/bed_svc_pb2_grpc.py +++ /dev/null @@ -1,309 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import bed_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2 - - -class BedServiceStub(object): - """ - BedService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateBed = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/CreateBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.FromString, - ) - self.BulkCreateBeds = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/BulkCreateBeds', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.FromString, - ) - self.GetBed = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/GetBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.FromString, - ) - self.GetBedByPatient = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/GetBedByPatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.FromString, - ) - self.GetBeds = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/GetBeds', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.FromString, - ) - self.GetBedsByRoom = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/GetBedsByRoom', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.FromString, - ) - self.UpdateBed = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/UpdateBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.FromString, - ) - self.DeleteBed = channel.unary_unary( - '/proto.services.task_svc.v1.BedService/DeleteBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.FromString, - ) - - -class BedServiceServicer(object): - """ - BedService - - - """ - - def CreateBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BulkCreateBeds(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBedByPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBeds(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetBedsByRoom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_BedServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateBed': grpc.unary_unary_rpc_method_handler( - servicer.CreateBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.SerializeToString, - ), - 'BulkCreateBeds': grpc.unary_unary_rpc_method_handler( - servicer.BulkCreateBeds, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.SerializeToString, - ), - 'GetBed': grpc.unary_unary_rpc_method_handler( - servicer.GetBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.SerializeToString, - ), - 'GetBedByPatient': grpc.unary_unary_rpc_method_handler( - servicer.GetBedByPatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.SerializeToString, - ), - 'GetBeds': grpc.unary_unary_rpc_method_handler( - servicer.GetBeds, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.SerializeToString, - ), - 'GetBedsByRoom': grpc.unary_unary_rpc_method_handler( - servicer.GetBedsByRoom, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.SerializeToString, - ), - 'UpdateBed': grpc.unary_unary_rpc_method_handler( - servicer.UpdateBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.SerializeToString, - ), - 'DeleteBed': grpc.unary_unary_rpc_method_handler( - servicer.DeleteBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.BedService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class BedService(object): - """ - BedService - - - """ - - @staticmethod - def CreateBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/CreateBed', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def BulkCreateBeds(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/BulkCreateBeds', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/GetBed', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBedByPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/GetBedByPatient', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBeds(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/GetBeds', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetBedsByRoom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/GetBedsByRoom', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/UpdateBed', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.BedService/DeleteBed', - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/patient_svc_pb2.py b/services/impulse_svc/gen/proto/services/task_svc/v1/patient_svc_pb2.py deleted file mode 100644 index a733a84ec..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/patient_svc_pb2.py +++ /dev/null @@ -1,131 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/patient_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,proto/services/task_svc/v1/patient_svc.proto\x12\x1aproto.services.task_svc.v1\"h\n\x14\x43reatePatientRequest\x12:\n\x19human_readable_identifier\x18\x01 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x02 \x01(\tR\x05notes\"\'\n\x15\x43reatePatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n\x11GetPatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xe9\x03\n\x12GetPatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1e\n\x06\x62\x65\x64_id\x18\x04 \x01(\tB\x02\x18\x01H\x00R\x05\x62\x65\x64Id\x88\x01\x01\x12 \n\x07ward_id\x18\x05 \x01(\tB\x02\x18\x01H\x01R\x06wardId\x88\x01\x01\x12L\n\x04room\x18\x07 \x01(\x0b\x32\x33.proto.services.task_svc.v1.GetPatientResponse.RoomH\x02R\x04room\x88\x01\x01\x12I\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32\x32.proto.services.task_svc.v1.GetPatientResponse.BedH\x03R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\t\n\x07_bed_idB\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"&\n\x14\x44\x65letePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15\x44\x65letePatientResponse\"/\n\x16GetPatientByBedRequest\x12\x15\n\x06\x62\x65\x64_id\x18\x01 \x01(\tR\x05\x62\x65\x64Id\"\xa2\x01\n\x17GetPatientByBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x42\t\n\x07_bed_id\"3\n\x18GetPatientsByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\x8b\x02\n\x19GetPatientsByWardResponse\x12Y\n\x08patients\x18\x01 \x03(\x0b\x32=.proto.services.task_svc.v1.GetPatientsByWardResponse.PatientR\x08patients\x1a\x92\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x42\t\n\x07_bed_id\"<\n!GetPatientAssignmentByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xe0\x03\n\"GetPatientAssignmentByWardResponse\x12Y\n\x05rooms\x18\x01 \x03(\x0b\x32\x43.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.RoomR\x05rooms\x1a\xde\x02\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12[\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32G.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.BedR\x04\x62\x65\x64s\x1a\xd4\x01\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12n\n\x07patient\x18\x03 \x01(\x0b\x32O.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.PatientH\x00R\x07patient\x88\x01\x01\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\n\n\x08_patient\"\x1a\n\x18GetRecentPatientsRequest\"\x84\x04\n\x19GetRecentPatientsResponse\x12t\n\x0frecent_patients\x18\x01 \x03(\x0b\x32K.proto.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBedR\x0erecentPatients\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\x80\x02\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12N\n\x04room\x18\x03 \x01(\x0b\x32:.proto.services.task_svc.v1.GetRecentPatientsResponse.RoomR\x04room\x12K\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32\x39.proto.services.task_svc.v1.GetRecentPatientsResponse.BedR\x03\x62\x65\x64\"\xaa\x01\n\x14UpdatePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12?\n\x19human_readable_identifier\x18\x02 \x01(\tH\x00R\x17humanReadableIdentifier\x88\x01\x01\x12\x19\n\x05notes\x18\x03 \x01(\tH\x01R\x05notes\x88\x01\x01\x42\x1c\n\x1a_human_readable_identifierB\x08\n\x06_notes\"\x17\n\x15UpdatePatientResponse\"9\n\x10\x41ssignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06\x62\x65\x64_id\x18\x02 \x01(\tR\x05\x62\x65\x64Id\"\x13\n\x11\x41ssignBedResponse\"$\n\x12UnassignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13UnassignBedResponse\")\n\x17\x44ischargePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18\x44ischargePatientResponse\"*\n\x18GetPatientDetailsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x99\t\n\x19GetPatientDetailsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12:\n\x19human_readable_identifier\x18\x03 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x04 \x01(\tR\x05notes\x12P\n\x05tasks\x18\x05 \x03(\x0b\x32:.proto.services.task_svc.v1.GetPatientDetailsResponse.TaskR\x05tasks\x12 \n\x07ward_id\x18\x06 \x01(\tB\x02\x18\x01H\x00R\x06wardId\x88\x01\x01\x12S\n\x04room\x18\x07 \x01(\x0b\x32:.proto.services.task_svc.v1.GetPatientDetailsResponse.RoomH\x01R\x04room\x88\x01\x01\x12P\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32\x39.proto.services.task_svc.v1.GetPatientDetailsResponse.BedH\x02R\x03\x62\x65\x64\x88\x01\x01\x12#\n\ris_discharged\x18\t \x01(\x08R\x0cisDischarged\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\xc4\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12X\n\x06status\x18\x04 \x01(\x0e\x32@.proto.services.task_svc.v1.GetPatientDetailsResponse.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12^\n\x08subtasks\x18\x08 \x03(\x0b\x32\x42.proto.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTaskR\x08subtasks\x1a\x41\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64oneB\x13\n\x11_assigned_user_id\"r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x42\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"A\n\x15GetPatientListRequest\x12\x1c\n\x07ward_id\x18\x01 \x01(\tH\x00R\x06wardId\x88\x01\x01\x42\n\n\x08_ward_id\"\x98\x0c\n\x16GetPatientListResponse\x12`\n\x06\x61\x63tive\x18\x01 \x03(\x0b\x32H.proto.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBedR\x06\x61\x63tive\x12k\n\x13unassigned_patients\x18\x02 \x03(\x0b\x32:.proto.services.task_svc.v1.GetPatientListResponse.PatientR\x12unassignedPatients\x12k\n\x13\x64ischarged_patients\x18\x03 \x03(\x0b\x32:.proto.services.task_svc.v1.GetPatientListResponse.PatientR\x12\x64ischargedPatients\x1a\xba\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12M\n\x05tasks\x18\x04 \x03(\x0b\x32\x37.proto.services.task_svc.v1.GetPatientListResponse.TaskR\x05tasks\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\xdf\x02\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12K\n\x04room\x18\x03 \x01(\x0b\x32\x37.proto.services.task_svc.v1.GetPatientListResponse.RoomR\x04room\x12H\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32\x36.proto.services.task_svc.v1.GetPatientListResponse.BedR\x03\x62\x65\x64\x12\x14\n\x05notes\x18\x05 \x01(\tR\x05notes\x12M\n\x05tasks\x18\x06 \x03(\x0b\x32\x37.proto.services.task_svc.v1.GetPatientListResponse.TaskR\x05tasks\x1a\xbe\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12U\n\x06status\x18\x04 \x01(\x0e\x32=.proto.services.task_svc.v1.GetPatientListResponse.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12[\n\x08subtasks\x18\x08 \x03(\x0b\x32?.proto.services.task_svc.v1.GetPatientListResponse.Task.SubTaskR\x08subtasks\x1a\x41\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64oneB\x13\n\x11_assigned_user_id\"r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\"6\n\x15ReadmitPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\x18\n\x16ReadmitPatientResponse2\xe9\r\n\x0ePatientService\x12v\n\rCreatePatient\x12\x30.proto.services.task_svc.v1.CreatePatientRequest\x1a\x31.proto.services.task_svc.v1.CreatePatientResponse\"\x00\x12m\n\nGetPatient\x12-.proto.services.task_svc.v1.GetPatientRequest\x1a..proto.services.task_svc.v1.GetPatientResponse\"\x00\x12|\n\x0fGetPatientByBed\x12\x32.proto.services.task_svc.v1.GetPatientByBedRequest\x1a\x33.proto.services.task_svc.v1.GetPatientByBedResponse\"\x00\x12\x82\x01\n\x11GetPatientsByWard\x12\x34.proto.services.task_svc.v1.GetPatientsByWardRequest\x1a\x35.proto.services.task_svc.v1.GetPatientsByWardResponse\"\x00\x12\x9d\x01\n\x1aGetPatientAssignmentByWard\x12=.proto.services.task_svc.v1.GetPatientAssignmentByWardRequest\x1a>.proto.services.task_svc.v1.GetPatientAssignmentByWardResponse\"\x00\x12\x82\x01\n\x11GetRecentPatients\x12\x34.proto.services.task_svc.v1.GetRecentPatientsRequest\x1a\x35.proto.services.task_svc.v1.GetRecentPatientsResponse\"\x00\x12v\n\rUpdatePatient\x12\x30.proto.services.task_svc.v1.UpdatePatientRequest\x1a\x31.proto.services.task_svc.v1.UpdatePatientResponse\"\x00\x12j\n\tAssignBed\x12,.proto.services.task_svc.v1.AssignBedRequest\x1a-.proto.services.task_svc.v1.AssignBedResponse\"\x00\x12p\n\x0bUnassignBed\x12..proto.services.task_svc.v1.UnassignBedRequest\x1a/.proto.services.task_svc.v1.UnassignBedResponse\"\x00\x12\x7f\n\x10\x44ischargePatient\x12\x33.proto.services.task_svc.v1.DischargePatientRequest\x1a\x34.proto.services.task_svc.v1.DischargePatientResponse\"\x00\x12\x82\x01\n\x11GetPatientDetails\x12\x34.proto.services.task_svc.v1.GetPatientDetailsRequest\x1a\x35.proto.services.task_svc.v1.GetPatientDetailsResponse\"\x00\x12y\n\x0eGetPatientList\x12\x31.proto.services.task_svc.v1.GetPatientListRequest\x1a\x32.proto.services.task_svc.v1.GetPatientListResponse\"\x00\x12v\n\rDeletePatient\x12\x30.proto.services.task_svc.v1.DeletePatientRequest\x1a\x31.proto.services.task_svc.v1.DeletePatientResponse\"\x00\x12y\n\x0eReadmitPatient\x12\x31.proto.services.task_svc.v1.ReadmitPatientRequest\x1a\x32.proto.services.task_svc.v1.ReadmitPatientResponse\"\x00\x42\xd5\x01\n\x1e\x63om.proto.services.task_svc.v1B\x0fPatientSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.patient_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\017PatientSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_GETPATIENTRESPONSE'].fields_by_name['bed_id']._options = None - _globals['_GETPATIENTRESPONSE'].fields_by_name['bed_id']._serialized_options = b'\030\001' - _globals['_GETPATIENTRESPONSE'].fields_by_name['ward_id']._options = None - _globals['_GETPATIENTRESPONSE'].fields_by_name['ward_id']._serialized_options = b'\030\001' - _globals['_GETPATIENTDETAILSRESPONSE'].fields_by_name['ward_id']._options = None - _globals['_GETPATIENTDETAILSRESPONSE'].fields_by_name['ward_id']._serialized_options = b'\030\001' - _globals['_CREATEPATIENTREQUEST']._serialized_start=76 - _globals['_CREATEPATIENTREQUEST']._serialized_end=180 - _globals['_CREATEPATIENTRESPONSE']._serialized_start=182 - _globals['_CREATEPATIENTRESPONSE']._serialized_end=221 - _globals['_GETPATIENTREQUEST']._serialized_start=223 - _globals['_GETPATIENTREQUEST']._serialized_end=258 - _globals['_GETPATIENTRESPONSE']._serialized_start=261 - _globals['_GETPATIENTRESPONSE']._serialized_end=750 - _globals['_GETPATIENTRESPONSE_ROOM']._serialized_start=600 - _globals['_GETPATIENTRESPONSE_ROOM']._serialized_end=667 - _globals['_GETPATIENTRESPONSE_BED']._serialized_start=669 - _globals['_GETPATIENTRESPONSE_BED']._serialized_end=710 - _globals['_DELETEPATIENTREQUEST']._serialized_start=752 - _globals['_DELETEPATIENTREQUEST']._serialized_end=790 - _globals['_DELETEPATIENTRESPONSE']._serialized_start=792 - _globals['_DELETEPATIENTRESPONSE']._serialized_end=815 - _globals['_GETPATIENTBYBEDREQUEST']._serialized_start=817 - _globals['_GETPATIENTBYBEDREQUEST']._serialized_end=864 - _globals['_GETPATIENTBYBEDRESPONSE']._serialized_start=867 - _globals['_GETPATIENTBYBEDRESPONSE']._serialized_end=1029 - _globals['_GETPATIENTSBYWARDREQUEST']._serialized_start=1031 - _globals['_GETPATIENTSBYWARDREQUEST']._serialized_end=1082 - _globals['_GETPATIENTSBYWARDRESPONSE']._serialized_start=1085 - _globals['_GETPATIENTSBYWARDRESPONSE']._serialized_end=1352 - _globals['_GETPATIENTSBYWARDRESPONSE_PATIENT']._serialized_start=1206 - _globals['_GETPATIENTSBYWARDRESPONSE_PATIENT']._serialized_end=1352 - _globals['_GETPATIENTASSIGNMENTBYWARDREQUEST']._serialized_start=1354 - _globals['_GETPATIENTASSIGNMENTBYWARDREQUEST']._serialized_end=1414 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE']._serialized_start=1417 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE']._serialized_end=1897 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM']._serialized_start=1547 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM']._serialized_end=1897 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED']._serialized_start=1685 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED']._serialized_end=1897 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_start=1840 - _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_end=1885 - _globals['_GETRECENTPATIENTSREQUEST']._serialized_start=1899 - _globals['_GETRECENTPATIENTSREQUEST']._serialized_end=1925 - _globals['_GETRECENTPATIENTSRESPONSE']._serialized_start=1928 - _globals['_GETRECENTPATIENTSRESPONSE']._serialized_end=2444 - _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_start=669 - _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_end=710 - _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_start=600 - _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_end=667 - _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=2188 - _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=2444 - _globals['_UPDATEPATIENTREQUEST']._serialized_start=2447 - _globals['_UPDATEPATIENTREQUEST']._serialized_end=2617 - _globals['_UPDATEPATIENTRESPONSE']._serialized_start=2619 - _globals['_UPDATEPATIENTRESPONSE']._serialized_end=2642 - _globals['_ASSIGNBEDREQUEST']._serialized_start=2644 - _globals['_ASSIGNBEDREQUEST']._serialized_end=2701 - _globals['_ASSIGNBEDRESPONSE']._serialized_start=2703 - _globals['_ASSIGNBEDRESPONSE']._serialized_end=2722 - _globals['_UNASSIGNBEDREQUEST']._serialized_start=2724 - _globals['_UNASSIGNBEDREQUEST']._serialized_end=2760 - _globals['_UNASSIGNBEDRESPONSE']._serialized_start=2762 - _globals['_UNASSIGNBEDRESPONSE']._serialized_end=2783 - _globals['_DISCHARGEPATIENTREQUEST']._serialized_start=2785 - _globals['_DISCHARGEPATIENTREQUEST']._serialized_end=2826 - _globals['_DISCHARGEPATIENTRESPONSE']._serialized_start=2828 - _globals['_DISCHARGEPATIENTRESPONSE']._serialized_end=2854 - _globals['_GETPATIENTDETAILSREQUEST']._serialized_start=2856 - _globals['_GETPATIENTDETAILSREQUEST']._serialized_end=2898 - _globals['_GETPATIENTDETAILSRESPONSE']._serialized_start=2901 - _globals['_GETPATIENTDETAILSRESPONSE']._serialized_end=4078 - _globals['_GETPATIENTDETAILSRESPONSE_ROOM']._serialized_start=600 - _globals['_GETPATIENTDETAILSRESPONSE_ROOM']._serialized_end=667 - _globals['_GETPATIENTDETAILSRESPONSE_BED']._serialized_start=669 - _globals['_GETPATIENTDETAILSRESPONSE_BED']._serialized_end=710 - _globals['_GETPATIENTDETAILSRESPONSE_TASK']._serialized_start=3481 - _globals['_GETPATIENTDETAILSRESPONSE_TASK']._serialized_end=3933 - _globals['_GETPATIENTDETAILSRESPONSE_TASK_SUBTASK']._serialized_start=3847 - _globals['_GETPATIENTDETAILSRESPONSE_TASK_SUBTASK']._serialized_end=3912 - _globals['_GETPATIENTDETAILSRESPONSE_TASKSTATUS']._serialized_start=3935 - _globals['_GETPATIENTDETAILSRESPONSE_TASKSTATUS']._serialized_end=4049 - _globals['_GETPATIENTLISTREQUEST']._serialized_start=4080 - _globals['_GETPATIENTLISTREQUEST']._serialized_end=4145 - _globals['_GETPATIENTLISTRESPONSE']._serialized_start=4148 - _globals['_GETPATIENTLISTRESPONSE']._serialized_end=5708 - _globals['_GETPATIENTLISTRESPONSE_PATIENT']._serialized_start=4491 - _globals['_GETPATIENTLISTRESPONSE_PATIENT']._serialized_end=4677 - _globals['_GETPATIENTLISTRESPONSE_BED']._serialized_start=669 - _globals['_GETPATIENTLISTRESPONSE_BED']._serialized_end=710 - _globals['_GETPATIENTLISTRESPONSE_ROOM']._serialized_start=600 - _globals['_GETPATIENTLISTRESPONSE_ROOM']._serialized_end=667 - _globals['_GETPATIENTLISTRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=4792 - _globals['_GETPATIENTLISTRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=5143 - _globals['_GETPATIENTLISTRESPONSE_TASK']._serialized_start=5146 - _globals['_GETPATIENTLISTRESPONSE_TASK']._serialized_end=5592 - _globals['_GETPATIENTLISTRESPONSE_TASK_SUBTASK']._serialized_start=3847 - _globals['_GETPATIENTLISTRESPONSE_TASK_SUBTASK']._serialized_end=3912 - _globals['_GETPATIENTLISTRESPONSE_TASKSTATUS']._serialized_start=3935 - _globals['_GETPATIENTLISTRESPONSE_TASKSTATUS']._serialized_end=4049 - _globals['_READMITPATIENTREQUEST']._serialized_start=5710 - _globals['_READMITPATIENTREQUEST']._serialized_end=5764 - _globals['_READMITPATIENTRESPONSE']._serialized_start=5766 - _globals['_READMITPATIENTRESPONSE']._serialized_end=5790 - _globals['_PATIENTSERVICE']._serialized_start=5793 - _globals['_PATIENTSERVICE']._serialized_end=7562 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/patient_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/task_svc/v1/patient_svc_pb2_grpc.py deleted file mode 100644 index 51371dae0..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/patient_svc_pb2_grpc.py +++ /dev/null @@ -1,507 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import patient_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2 - - -class PatientServiceStub(object): - """ - PatientService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreatePatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/CreatePatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, - ) - self.GetPatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, - ) - self.GetPatientByBed = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatientByBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.FromString, - ) - self.GetPatientsByWard = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatientsByWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.FromString, - ) - self.GetPatientAssignmentByWard = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.FromString, - ) - self.GetRecentPatients = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetRecentPatients', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, - ) - self.UpdatePatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/UpdatePatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, - ) - self.AssignBed = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/AssignBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, - ) - self.UnassignBed = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/UnassignBed', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, - ) - self.DischargePatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/DischargePatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, - ) - self.GetPatientDetails = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatientDetails', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.FromString, - ) - self.GetPatientList = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/GetPatientList', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.FromString, - ) - self.DeletePatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/DeletePatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.FromString, - ) - self.ReadmitPatient = channel.unary_unary( - '/proto.services.task_svc.v1.PatientService/ReadmitPatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, - ) - - -class PatientServiceServicer(object): - """ - PatientService - - - """ - - def CreatePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatientByBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatientsByWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatientAssignmentByWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRecentPatients(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdatePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AssignBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnassignBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DischargePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatientDetails(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatientList(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeletePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ReadmitPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PatientServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreatePatient': grpc.unary_unary_rpc_method_handler( - servicer.CreatePatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.SerializeToString, - ), - 'GetPatient': grpc.unary_unary_rpc_method_handler( - servicer.GetPatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.SerializeToString, - ), - 'GetPatientByBed': grpc.unary_unary_rpc_method_handler( - servicer.GetPatientByBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.SerializeToString, - ), - 'GetPatientsByWard': grpc.unary_unary_rpc_method_handler( - servicer.GetPatientsByWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.SerializeToString, - ), - 'GetPatientAssignmentByWard': grpc.unary_unary_rpc_method_handler( - servicer.GetPatientAssignmentByWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.SerializeToString, - ), - 'GetRecentPatients': grpc.unary_unary_rpc_method_handler( - servicer.GetRecentPatients, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.SerializeToString, - ), - 'UpdatePatient': grpc.unary_unary_rpc_method_handler( - servicer.UpdatePatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.SerializeToString, - ), - 'AssignBed': grpc.unary_unary_rpc_method_handler( - servicer.AssignBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.SerializeToString, - ), - 'UnassignBed': grpc.unary_unary_rpc_method_handler( - servicer.UnassignBed, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.SerializeToString, - ), - 'DischargePatient': grpc.unary_unary_rpc_method_handler( - servicer.DischargePatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.SerializeToString, - ), - 'GetPatientDetails': grpc.unary_unary_rpc_method_handler( - servicer.GetPatientDetails, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.SerializeToString, - ), - 'GetPatientList': grpc.unary_unary_rpc_method_handler( - servicer.GetPatientList, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.SerializeToString, - ), - 'DeletePatient': grpc.unary_unary_rpc_method_handler( - servicer.DeletePatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.SerializeToString, - ), - 'ReadmitPatient': grpc.unary_unary_rpc_method_handler( - servicer.ReadmitPatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.PatientService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PatientService(object): - """ - PatientService - - - """ - - @staticmethod - def CreatePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/CreatePatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatientByBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatientByBed', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatientsByWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatientsByWard', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatientAssignmentByWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRecentPatients(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetRecentPatients', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdatePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/UpdatePatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AssignBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/AssignBed', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UnassignBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/UnassignBed', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DischargePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/DischargePatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatientDetails(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatientDetails', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatientList(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/GetPatientList', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeletePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/DeletePatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ReadmitPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.PatientService/ReadmitPatient', - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/room_svc_pb2.py b/services/impulse_svc/gen/proto/services/task_svc/v1/room_svc_pb2.py deleted file mode 100644 index 7e7b2adb8..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/room_svc_pb2.py +++ /dev/null @@ -1,71 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/room_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)proto/services/task_svc/v1/room_svc.proto\x12\x1aproto.services.task_svc.v1\"@\n\x11\x43reateRoomRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x02 \x01(\tR\x06wardId\"$\n\x12\x43reateRoomResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xe7\x01\n\x0fGetRoomResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x43\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32/.proto.services.task_svc.v1.GetRoomResponse.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x11\n\x0fGetRoomsRequest\"\xc0\x02\n\x10GetRoomsResponse\x12G\n\x05rooms\x18\x01 \x03(\x0b\x32\x31.proto.services.task_svc.v1.GetRoomsResponse.RoomR\x05rooms\x1a\xe2\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12I\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x35.proto.services.task_svc.v1.GetRoomsResponse.Room.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"0\n\x15GetRoomsByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xd2\x02\n\x16GetRoomsByWardResponse\x12M\n\x05rooms\x18\x01 \x03(\x0b\x32\x37.proto.services.task_svc.v1.GetRoomsByWardResponse.RoomR\x05rooms\x1a\xe8\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12O\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32;.proto.services.task_svc.v1.GetRoomsByWardResponse.Room.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"E\n\x11UpdateRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x14\n\x12UpdateRoomResponse\"#\n\x11\x44\x65leteRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteRoomResponse\"/\n\x1dGetRoomOverviewsByWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xf1\x04\n\x1eGetRoomOverviewsByWardResponse\x12U\n\x05rooms\x18\x01 \x03(\x0b\x32?.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.RoomR\x05rooms\x1a\xf7\x03\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12W\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x43.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.BedR\x04\x62\x65\x64s\x1a\xf1\x02\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12j\n\x07patient\x18\x02 \x01(\x0b\x32K.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.PatientH\x00R\x07patient\x88\x01\x01\x1a\xcd\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12+\n\x11tasks_unscheduled\x18\x03 \x01(\rR\x10tasksUnscheduled\x12*\n\x11tasks_in_progress\x18\x04 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x05 \x01(\rR\ttasksDoneB\n\n\x08_patient2\xb8\x06\n\x0bRoomService\x12m\n\nCreateRoom\x12-.proto.services.task_svc.v1.CreateRoomRequest\x1a..proto.services.task_svc.v1.CreateRoomResponse\"\x00\x12\x64\n\x07GetRoom\x12*.proto.services.task_svc.v1.GetRoomRequest\x1a+.proto.services.task_svc.v1.GetRoomResponse\"\x00\x12g\n\x08GetRooms\x12+.proto.services.task_svc.v1.GetRoomsRequest\x1a,.proto.services.task_svc.v1.GetRoomsResponse\"\x00\x12y\n\x0eGetRoomsByWard\x12\x31.proto.services.task_svc.v1.GetRoomsByWardRequest\x1a\x32.proto.services.task_svc.v1.GetRoomsByWardResponse\"\x00\x12m\n\nUpdateRoom\x12-.proto.services.task_svc.v1.UpdateRoomRequest\x1a..proto.services.task_svc.v1.UpdateRoomResponse\"\x00\x12m\n\nDeleteRoom\x12-.proto.services.task_svc.v1.DeleteRoomRequest\x1a..proto.services.task_svc.v1.DeleteRoomResponse\"\x00\x12\x91\x01\n\x16GetRoomOverviewsByWard\x12\x39.proto.services.task_svc.v1.GetRoomOverviewsByWardRequest\x1a:.proto.services.task_svc.v1.GetRoomOverviewsByWardResponse\"\x00\x42\xd2\x01\n\x1e\x63om.proto.services.task_svc.v1B\x0cRoomSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.room_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\014RoomSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_CREATEROOMREQUEST']._serialized_start=73 - _globals['_CREATEROOMREQUEST']._serialized_end=137 - _globals['_CREATEROOMRESPONSE']._serialized_start=139 - _globals['_CREATEROOMRESPONSE']._serialized_end=175 - _globals['_GETROOMREQUEST']._serialized_start=177 - _globals['_GETROOMREQUEST']._serialized_end=209 - _globals['_GETROOMRESPONSE']._serialized_start=212 - _globals['_GETROOMRESPONSE']._serialized_end=443 - _globals['_GETROOMRESPONSE_BED']._serialized_start=402 - _globals['_GETROOMRESPONSE_BED']._serialized_end=443 - _globals['_GETROOMSREQUEST']._serialized_start=445 - _globals['_GETROOMSREQUEST']._serialized_end=462 - _globals['_GETROOMSRESPONSE']._serialized_start=465 - _globals['_GETROOMSRESPONSE']._serialized_end=785 - _globals['_GETROOMSRESPONSE_ROOM']._serialized_start=559 - _globals['_GETROOMSRESPONSE_ROOM']._serialized_end=785 - _globals['_GETROOMSRESPONSE_ROOM_BED']._serialized_start=402 - _globals['_GETROOMSRESPONSE_ROOM_BED']._serialized_end=443 - _globals['_GETROOMSBYWARDREQUEST']._serialized_start=787 - _globals['_GETROOMSBYWARDREQUEST']._serialized_end=835 - _globals['_GETROOMSBYWARDRESPONSE']._serialized_start=838 - _globals['_GETROOMSBYWARDRESPONSE']._serialized_end=1176 - _globals['_GETROOMSBYWARDRESPONSE_ROOM']._serialized_start=944 - _globals['_GETROOMSBYWARDRESPONSE_ROOM']._serialized_end=1176 - _globals['_GETROOMSBYWARDRESPONSE_ROOM_BED']._serialized_start=402 - _globals['_GETROOMSBYWARDRESPONSE_ROOM_BED']._serialized_end=443 - _globals['_UPDATEROOMREQUEST']._serialized_start=1178 - _globals['_UPDATEROOMREQUEST']._serialized_end=1247 - _globals['_UPDATEROOMRESPONSE']._serialized_start=1249 - _globals['_UPDATEROOMRESPONSE']._serialized_end=1269 - _globals['_DELETEROOMREQUEST']._serialized_start=1271 - _globals['_DELETEROOMREQUEST']._serialized_end=1306 - _globals['_DELETEROOMRESPONSE']._serialized_start=1308 - _globals['_DELETEROOMRESPONSE']._serialized_end=1328 - _globals['_GETROOMOVERVIEWSBYWARDREQUEST']._serialized_start=1330 - _globals['_GETROOMOVERVIEWSBYWARDREQUEST']._serialized_end=1377 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE']._serialized_start=1380 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE']._serialized_end=2005 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM']._serialized_start=1502 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM']._serialized_end=2005 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED']._serialized_start=1636 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED']._serialized_end=2005 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_start=1788 - _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_end=1993 - _globals['_ROOMSERVICE']._serialized_start=2008 - _globals['_ROOMSERVICE']._serialized_end=2832 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/room_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/task_svc/v1/room_svc_pb2_grpc.py deleted file mode 100644 index c5518dd76..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/room_svc_pb2_grpc.py +++ /dev/null @@ -1,276 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import room_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2 - - -class RoomServiceStub(object): - """ - RoomService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateRoom = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/CreateRoom', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.FromString, - ) - self.GetRoom = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/GetRoom', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.FromString, - ) - self.GetRooms = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/GetRooms', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.FromString, - ) - self.GetRoomsByWard = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/GetRoomsByWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.FromString, - ) - self.UpdateRoom = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/UpdateRoom', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.FromString, - ) - self.DeleteRoom = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/DeleteRoom', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.FromString, - ) - self.GetRoomOverviewsByWard = channel.unary_unary( - '/proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.FromString, - ) - - -class RoomServiceServicer(object): - """ - RoomService - - - """ - - def CreateRoom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRoom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRooms(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRoomsByWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateRoom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteRoom(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRoomOverviewsByWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_RoomServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateRoom': grpc.unary_unary_rpc_method_handler( - servicer.CreateRoom, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.SerializeToString, - ), - 'GetRoom': grpc.unary_unary_rpc_method_handler( - servicer.GetRoom, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.SerializeToString, - ), - 'GetRooms': grpc.unary_unary_rpc_method_handler( - servicer.GetRooms, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.SerializeToString, - ), - 'GetRoomsByWard': grpc.unary_unary_rpc_method_handler( - servicer.GetRoomsByWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.SerializeToString, - ), - 'UpdateRoom': grpc.unary_unary_rpc_method_handler( - servicer.UpdateRoom, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.SerializeToString, - ), - 'DeleteRoom': grpc.unary_unary_rpc_method_handler( - servicer.DeleteRoom, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.SerializeToString, - ), - 'GetRoomOverviewsByWard': grpc.unary_unary_rpc_method_handler( - servicer.GetRoomOverviewsByWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.RoomService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class RoomService(object): - """ - RoomService - - - """ - - @staticmethod - def CreateRoom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/CreateRoom', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRoom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/GetRoom', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRooms(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/GetRooms', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRoomsByWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/GetRoomsByWard', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateRoom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/UpdateRoom', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteRoom(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/DeleteRoom', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRoomOverviewsByWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard', - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/task_svc_pb2.py b/services/impulse_svc/gen/proto/services/task_svc/v1/task_svc_pb2.py deleted file mode 100644 index 1840d90a6..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/task_svc_pb2.py +++ /dev/null @@ -1,124 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/task_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)proto/services/task_svc/v1/task_svc.proto\x12\x1aproto.services.task_svc.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaf\x02\n\x11\x43reateTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1d\n\npatient_id\x18\x03 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x04 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12R\n\x0einitial_status\x18\x06 \x01(\x0e\x32&.proto.services.task_svc.v1.TaskStatusH\x01R\rinitialStatus\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_initial_status\"$\n\x12\x43reateTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x85\x05\n\x0fGetTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12>\n\x06status\x18\x04 \x01(\x0e\x32&.proto.services.task_svc.v1.TaskStatusR\x06status\x12(\n\x10\x61ssigned_user_id\x18\x05 \x01(\tR\x0e\x61ssignedUserId\x12M\n\x07patient\x18\x06 \x01(\x0b\x32\x33.proto.services.task_svc.v1.GetTaskResponse.PatientR\x07patient\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12O\n\x08subtasks\x18\n \x03(\x0b\x32\x33.proto.services.task_svc.v1.GetTaskResponse.SubTaskR\x08subtasks\x12\'\n\x0forganization_id\x18\x0b \x01(\tR\x0eorganizationId\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedBy\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"9\n\x18GetTasksByPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\x8b\x05\n\x19GetTasksByPatientResponse\x12P\n\x05tasks\x18\x01 \x03(\x0b\x32:.proto.services.task_svc.v1.GetTasksByPatientResponse.TaskR\x05tasks\x1a\x9b\x04\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12>\n\x06status\x18\x04 \x01(\x0e\x32&.proto.services.task_svc.v1.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12^\n\x08subtasks\x18\n \x03(\x0b\x32\x42.proto.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTaskR\x08subtasks\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedByB\x13\n\x11_assigned_user_id\"G\n&GetTasksByPatientSortedByStatusRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\xbc\x06\n\'GetTasksByPatientSortedByStatusResponse\x12\\\n\x04todo\x18\x01 \x03(\x0b\x32H.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\x04todo\x12i\n\x0bin_progress\x18\x02 \x03(\x0b\x32H.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\ninProgress\x12\\\n\x04\x64one\x18\x03 \x03(\x0b\x32H.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\x04\x64one\x1a\xe9\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12l\n\x08subtasks\x18\n \x03(\x0b\x32P.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTaskR\x08subtasks\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedByB\x13\n\x11_assigned_user_id\"\x19\n\x17GetAssignedTasksRequest\"\xdb\x05\n\x18GetAssignedTasksResponse\x12O\n\x05tasks\x18\x01 \x03(\x0b\x32\x39.proto.services.task_svc.v1.GetAssignedTasksResponse.TaskR\x05tasks\x1a\xed\x04\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12>\n\x06status\x18\x04 \x01(\x0e\x32&.proto.services.task_svc.v1.TaskStatusR\x06status\x12(\n\x10\x61ssigned_user_id\x18\x05 \x01(\tR\x0e\x61ssignedUserId\x12[\n\x07patient\x18\x06 \x01(\x0b\x32\x41.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.PatientR\x07patient\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12]\n\x08subtasks\x18\n \x03(\x0b\x32\x41.proto.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTaskR\x08subtasks\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedBy\"\xe7\x01\n\x11UpdateTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x36\n\x06\x64ue_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x05\x64ueAt\x88\x01\x01\x12\x1b\n\x06public\x18\x05 \x01(\x08H\x03R\x06public\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\t\n\x07_due_atB\t\n\x07_public\"\x14\n\x12UpdateTaskResponse\"b\n\x11\x41\x64\x64SubTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x17\n\x07task_id\x18\x02 \x01(\tR\x06taskId\x12\x17\n\x04\x64one\x18\x03 \x01(\x08H\x00R\x04\x64one\x88\x01\x01\x42\x07\n\x05_done\"$\n\x12\x41\x64\x64SubTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"&\n\x14RemoveSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15RemoveSubTaskResponse\"H\n\x14UpdateSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x17\n\x15UpdateSubTaskResponse\"&\n\x14SubTaskToToDoRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15SubTaskToToDoResponse\"&\n\x14SubTaskToDoneRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15SubTaskToDoneResponse\"#\n\x11TaskToToDoRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12TaskToToDoResponse\")\n\x17TaskToInProgressRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18TaskToInProgressResponse\"#\n\x11TaskToDoneRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12TaskToDoneResponse\"B\n\x17\x41ssignTaskToUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x1a\n\x18\x41ssignTaskToUserResponse\"-\n\x1bUnassignTaskFromUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1e\n\x1cUnassignTaskFromUserResponse\"$\n\x12PublishTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13PublishTaskResponse\"&\n\x14UnpublishTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15UnpublishTaskResponse\"#\n\x11\x44\x65leteTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteTaskResponse*r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x32\x9c\x12\n\x0bTaskService\x12m\n\nCreateTask\x12-.proto.services.task_svc.v1.CreateTaskRequest\x1a..proto.services.task_svc.v1.CreateTaskResponse\"\x00\x12\x64\n\x07GetTask\x12*.proto.services.task_svc.v1.GetTaskRequest\x1a+.proto.services.task_svc.v1.GetTaskResponse\"\x00\x12\x82\x01\n\x11GetTasksByPatient\x12\x34.proto.services.task_svc.v1.GetTasksByPatientRequest\x1a\x35.proto.services.task_svc.v1.GetTasksByPatientResponse\"\x00\x12\xac\x01\n\x1fGetTasksByPatientSortedByStatus\x12\x42.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest\x1a\x43.proto.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse\"\x00\x12\x7f\n\x10GetAssignedTasks\x12\x33.proto.services.task_svc.v1.GetAssignedTasksRequest\x1a\x34.proto.services.task_svc.v1.GetAssignedTasksResponse\"\x00\x12m\n\nUpdateTask\x12-.proto.services.task_svc.v1.UpdateTaskRequest\x1a..proto.services.task_svc.v1.UpdateTaskResponse\"\x00\x12m\n\nAddSubTask\x12-.proto.services.task_svc.v1.AddSubTaskRequest\x1a..proto.services.task_svc.v1.AddSubTaskResponse\"\x00\x12v\n\rRemoveSubTask\x12\x30.proto.services.task_svc.v1.RemoveSubTaskRequest\x1a\x31.proto.services.task_svc.v1.RemoveSubTaskResponse\"\x00\x12v\n\rUpdateSubTask\x12\x30.proto.services.task_svc.v1.UpdateSubTaskRequest\x1a\x31.proto.services.task_svc.v1.UpdateSubTaskResponse\"\x00\x12v\n\rSubTaskToToDo\x12\x30.proto.services.task_svc.v1.SubTaskToToDoRequest\x1a\x31.proto.services.task_svc.v1.SubTaskToToDoResponse\"\x00\x12v\n\rSubTaskToDone\x12\x30.proto.services.task_svc.v1.SubTaskToDoneRequest\x1a\x31.proto.services.task_svc.v1.SubTaskToDoneResponse\"\x00\x12m\n\nTaskToToDo\x12-.proto.services.task_svc.v1.TaskToToDoRequest\x1a..proto.services.task_svc.v1.TaskToToDoResponse\"\x00\x12\x7f\n\x10TaskToInProgress\x12\x33.proto.services.task_svc.v1.TaskToInProgressRequest\x1a\x34.proto.services.task_svc.v1.TaskToInProgressResponse\"\x00\x12m\n\nTaskToDone\x12-.proto.services.task_svc.v1.TaskToDoneRequest\x1a..proto.services.task_svc.v1.TaskToDoneResponse\"\x00\x12\x7f\n\x10\x41ssignTaskToUser\x12\x33.proto.services.task_svc.v1.AssignTaskToUserRequest\x1a\x34.proto.services.task_svc.v1.AssignTaskToUserResponse\"\x00\x12\x8b\x01\n\x14UnassignTaskFromUser\x12\x37.proto.services.task_svc.v1.UnassignTaskFromUserRequest\x1a\x38.proto.services.task_svc.v1.UnassignTaskFromUserResponse\"\x00\x12p\n\x0bPublishTask\x12..proto.services.task_svc.v1.PublishTaskRequest\x1a/.proto.services.task_svc.v1.PublishTaskResponse\"\x00\x12v\n\rUnpublishTask\x12\x30.proto.services.task_svc.v1.UnpublishTaskRequest\x1a\x31.proto.services.task_svc.v1.UnpublishTaskResponse\"\x00\x12m\n\nDeleteTask\x12-.proto.services.task_svc.v1.DeleteTaskRequest\x1a..proto.services.task_svc.v1.DeleteTaskResponse\"\x00\x42\xd2\x01\n\x1e\x63om.proto.services.task_svc.v1B\x0cTaskSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.task_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\014TaskSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_TASKSTATUS']._serialized_start=4747 - _globals['_TASKSTATUS']._serialized_end=4861 - _globals['_CREATETASKREQUEST']._serialized_start=107 - _globals['_CREATETASKREQUEST']._serialized_end=410 - _globals['_CREATETASKRESPONSE']._serialized_start=412 - _globals['_CREATETASKRESPONSE']._serialized_end=448 - _globals['_GETTASKREQUEST']._serialized_start=450 - _globals['_GETTASKREQUEST']._serialized_end=482 - _globals['_GETTASKRESPONSE']._serialized_start=485 - _globals['_GETTASKRESPONSE']._serialized_end=1130 - _globals['_GETTASKRESPONSE_SUBTASK']._serialized_start=987 - _globals['_GETTASKRESPONSE_SUBTASK']._serialized_end=1083 - _globals['_GETTASKRESPONSE_PATIENT']._serialized_start=1085 - _globals['_GETTASKRESPONSE_PATIENT']._serialized_end=1130 - _globals['_GETTASKSBYPATIENTREQUEST']._serialized_start=1132 - _globals['_GETTASKSBYPATIENTREQUEST']._serialized_end=1189 - _globals['_GETTASKSBYPATIENTRESPONSE']._serialized_start=1192 - _globals['_GETTASKSBYPATIENTRESPONSE']._serialized_end=1843 - _globals['_GETTASKSBYPATIENTRESPONSE_TASK']._serialized_start=1304 - _globals['_GETTASKSBYPATIENTRESPONSE_TASK']._serialized_end=1843 - _globals['_GETTASKSBYPATIENTRESPONSE_TASK_SUBTASK']._serialized_start=987 - _globals['_GETTASKSBYPATIENTRESPONSE_TASK_SUBTASK']._serialized_end=1083 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSREQUEST']._serialized_start=1845 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSREQUEST']._serialized_end=1916 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE']._serialized_start=1919 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE']._serialized_end=2747 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK']._serialized_start=2258 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK']._serialized_end=2747 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK_SUBTASK']._serialized_start=987 - _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK_SUBTASK']._serialized_end=1083 - _globals['_GETASSIGNEDTASKSREQUEST']._serialized_start=2749 - _globals['_GETASSIGNEDTASKSREQUEST']._serialized_end=2774 - _globals['_GETASSIGNEDTASKSRESPONSE']._serialized_start=2777 - _globals['_GETASSIGNEDTASKSRESPONSE']._serialized_end=3508 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK']._serialized_start=2887 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK']._serialized_end=3508 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK_PATIENT']._serialized_start=1085 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK_PATIENT']._serialized_end=1130 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK_SUBTASK']._serialized_start=987 - _globals['_GETASSIGNEDTASKSRESPONSE_TASK_SUBTASK']._serialized_end=1083 - _globals['_UPDATETASKREQUEST']._serialized_start=3511 - _globals['_UPDATETASKREQUEST']._serialized_end=3742 - _globals['_UPDATETASKRESPONSE']._serialized_start=3744 - _globals['_UPDATETASKRESPONSE']._serialized_end=3764 - _globals['_ADDSUBTASKREQUEST']._serialized_start=3766 - _globals['_ADDSUBTASKREQUEST']._serialized_end=3864 - _globals['_ADDSUBTASKRESPONSE']._serialized_start=3866 - _globals['_ADDSUBTASKRESPONSE']._serialized_end=3902 - _globals['_REMOVESUBTASKREQUEST']._serialized_start=3904 - _globals['_REMOVESUBTASKREQUEST']._serialized_end=3942 - _globals['_REMOVESUBTASKRESPONSE']._serialized_start=3944 - _globals['_REMOVESUBTASKRESPONSE']._serialized_end=3967 - _globals['_UPDATESUBTASKREQUEST']._serialized_start=3969 - _globals['_UPDATESUBTASKREQUEST']._serialized_end=4041 - _globals['_UPDATESUBTASKRESPONSE']._serialized_start=4043 - _globals['_UPDATESUBTASKRESPONSE']._serialized_end=4066 - _globals['_SUBTASKTOTODOREQUEST']._serialized_start=4068 - _globals['_SUBTASKTOTODOREQUEST']._serialized_end=4106 - _globals['_SUBTASKTOTODORESPONSE']._serialized_start=4108 - _globals['_SUBTASKTOTODORESPONSE']._serialized_end=4131 - _globals['_SUBTASKTODONEREQUEST']._serialized_start=4133 - _globals['_SUBTASKTODONEREQUEST']._serialized_end=4171 - _globals['_SUBTASKTODONERESPONSE']._serialized_start=4173 - _globals['_SUBTASKTODONERESPONSE']._serialized_end=4196 - _globals['_TASKTOTODOREQUEST']._serialized_start=4198 - _globals['_TASKTOTODOREQUEST']._serialized_end=4233 - _globals['_TASKTOTODORESPONSE']._serialized_start=4235 - _globals['_TASKTOTODORESPONSE']._serialized_end=4255 - _globals['_TASKTOINPROGRESSREQUEST']._serialized_start=4257 - _globals['_TASKTOINPROGRESSREQUEST']._serialized_end=4298 - _globals['_TASKTOINPROGRESSRESPONSE']._serialized_start=4300 - _globals['_TASKTOINPROGRESSRESPONSE']._serialized_end=4326 - _globals['_TASKTODONEREQUEST']._serialized_start=4328 - _globals['_TASKTODONEREQUEST']._serialized_end=4363 - _globals['_TASKTODONERESPONSE']._serialized_start=4365 - _globals['_TASKTODONERESPONSE']._serialized_end=4385 - _globals['_ASSIGNTASKTOUSERREQUEST']._serialized_start=4387 - _globals['_ASSIGNTASKTOUSERREQUEST']._serialized_end=4453 - _globals['_ASSIGNTASKTOUSERRESPONSE']._serialized_start=4455 - _globals['_ASSIGNTASKTOUSERRESPONSE']._serialized_end=4481 - _globals['_UNASSIGNTASKFROMUSERREQUEST']._serialized_start=4483 - _globals['_UNASSIGNTASKFROMUSERREQUEST']._serialized_end=4528 - _globals['_UNASSIGNTASKFROMUSERRESPONSE']._serialized_start=4530 - _globals['_UNASSIGNTASKFROMUSERRESPONSE']._serialized_end=4560 - _globals['_PUBLISHTASKREQUEST']._serialized_start=4562 - _globals['_PUBLISHTASKREQUEST']._serialized_end=4598 - _globals['_PUBLISHTASKRESPONSE']._serialized_start=4600 - _globals['_PUBLISHTASKRESPONSE']._serialized_end=4621 - _globals['_UNPUBLISHTASKREQUEST']._serialized_start=4623 - _globals['_UNPUBLISHTASKREQUEST']._serialized_end=4661 - _globals['_UNPUBLISHTASKRESPONSE']._serialized_start=4663 - _globals['_UNPUBLISHTASKRESPONSE']._serialized_end=4686 - _globals['_DELETETASKREQUEST']._serialized_start=4688 - _globals['_DELETETASKREQUEST']._serialized_end=4723 - _globals['_DELETETASKRESPONSE']._serialized_start=4725 - _globals['_DELETETASKRESPONSE']._serialized_end=4745 - _globals['_TASKSERVICE']._serialized_start=4864 - _globals['_TASKSERVICE']._serialized_end=7196 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/task_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/task_svc/v1/task_svc_pb2_grpc.py deleted file mode 100644 index bf6d2e3e9..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/task_svc_pb2_grpc.py +++ /dev/null @@ -1,672 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import task_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2 - - -class TaskServiceStub(object): - """ - TaskService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/CreateTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, - ) - self.GetTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/GetTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, - ) - self.GetTasksByPatient = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/GetTasksByPatient', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.FromString, - ) - self.GetTasksByPatientSortedByStatus = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.FromString, - ) - self.GetAssignedTasks = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/GetAssignedTasks', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.FromString, - ) - self.UpdateTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/UpdateTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, - ) - self.AddSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/AddSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.FromString, - ) - self.RemoveSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/RemoveSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.FromString, - ) - self.UpdateSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/UpdateSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.FromString, - ) - self.SubTaskToToDo = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/SubTaskToToDo', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.FromString, - ) - self.SubTaskToDone = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/SubTaskToDone', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.FromString, - ) - self.TaskToToDo = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/TaskToToDo', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.FromString, - ) - self.TaskToInProgress = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/TaskToInProgress', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.FromString, - ) - self.TaskToDone = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/TaskToDone', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.FromString, - ) - self.AssignTaskToUser = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/AssignTaskToUser', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.FromString, - ) - self.UnassignTaskFromUser = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/UnassignTaskFromUser', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.FromString, - ) - self.PublishTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/PublishTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.FromString, - ) - self.UnpublishTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/UnpublishTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.FromString, - ) - self.DeleteTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskService/DeleteTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.FromString, - ) - - -class TaskServiceServicer(object): - """ - TaskService - - - """ - - def CreateTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTasksByPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTasksByPatientSortedByStatus(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAssignedTasks(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RemoveSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubTaskToToDo(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubTaskToDone(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TaskToToDo(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TaskToInProgress(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def TaskToDone(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AssignTaskToUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnassignTaskFromUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PublishTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnpublishTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_TaskServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateTask': grpc.unary_unary_rpc_method_handler( - servicer.CreateTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.SerializeToString, - ), - 'GetTask': grpc.unary_unary_rpc_method_handler( - servicer.GetTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.SerializeToString, - ), - 'GetTasksByPatient': grpc.unary_unary_rpc_method_handler( - servicer.GetTasksByPatient, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.SerializeToString, - ), - 'GetTasksByPatientSortedByStatus': grpc.unary_unary_rpc_method_handler( - servicer.GetTasksByPatientSortedByStatus, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.SerializeToString, - ), - 'GetAssignedTasks': grpc.unary_unary_rpc_method_handler( - servicer.GetAssignedTasks, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.SerializeToString, - ), - 'UpdateTask': grpc.unary_unary_rpc_method_handler( - servicer.UpdateTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.SerializeToString, - ), - 'AddSubTask': grpc.unary_unary_rpc_method_handler( - servicer.AddSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.SerializeToString, - ), - 'RemoveSubTask': grpc.unary_unary_rpc_method_handler( - servicer.RemoveSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.SerializeToString, - ), - 'UpdateSubTask': grpc.unary_unary_rpc_method_handler( - servicer.UpdateSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.SerializeToString, - ), - 'SubTaskToToDo': grpc.unary_unary_rpc_method_handler( - servicer.SubTaskToToDo, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.SerializeToString, - ), - 'SubTaskToDone': grpc.unary_unary_rpc_method_handler( - servicer.SubTaskToDone, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.SerializeToString, - ), - 'TaskToToDo': grpc.unary_unary_rpc_method_handler( - servicer.TaskToToDo, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.SerializeToString, - ), - 'TaskToInProgress': grpc.unary_unary_rpc_method_handler( - servicer.TaskToInProgress, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.SerializeToString, - ), - 'TaskToDone': grpc.unary_unary_rpc_method_handler( - servicer.TaskToDone, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.SerializeToString, - ), - 'AssignTaskToUser': grpc.unary_unary_rpc_method_handler( - servicer.AssignTaskToUser, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.SerializeToString, - ), - 'UnassignTaskFromUser': grpc.unary_unary_rpc_method_handler( - servicer.UnassignTaskFromUser, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.SerializeToString, - ), - 'PublishTask': grpc.unary_unary_rpc_method_handler( - servicer.PublishTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.SerializeToString, - ), - 'UnpublishTask': grpc.unary_unary_rpc_method_handler( - servicer.UnpublishTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.SerializeToString, - ), - 'DeleteTask': grpc.unary_unary_rpc_method_handler( - servicer.DeleteTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.TaskService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class TaskService(object): - """ - TaskService - - - """ - - @staticmethod - def CreateTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/CreateTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/GetTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetTasksByPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/GetTasksByPatient', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetTasksByPatientSortedByStatus(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAssignedTasks(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/GetAssignedTasks', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/UpdateTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AddSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/AddSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RemoveSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/RemoveSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/UpdateSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SubTaskToToDo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/SubTaskToToDo', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SubTaskToDone(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/SubTaskToDone', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def TaskToToDo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/TaskToToDo', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def TaskToInProgress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/TaskToInProgress', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def TaskToDone(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/TaskToDone', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AssignTaskToUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/AssignTaskToUser', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UnassignTaskFromUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/UnassignTaskFromUser', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def PublishTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/PublishTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UnpublishTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/UnpublishTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskService/DeleteTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/task_template_svc_pb2.py b/services/impulse_svc/gen/proto/services/task_svc/v1/task_template_svc_pb2.py deleted file mode 100644 index d119b4330..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/task_template_svc_pb2.py +++ /dev/null @@ -1,77 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/task_template_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2proto/services/task_svc/v1/task_template_svc.proto\x12\x1aproto.services.task_svc.v1\"\x8a\x02\n\x19\x43reateTaskTemplateRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1c\n\x07ward_id\x18\x04 \x01(\tH\x01R\x06wardId\x88\x01\x01\x12Y\n\x08subtasks\x18\x05 \x03(\x0b\x32=.proto.services.task_svc.v1.CreateTaskTemplateRequest.SubTaskR\x08subtasks\x1a\x1d\n\x07SubTask\x12\x12\n\x04name\x18\x01 \x01(\tR\x04nameB\x0e\n\x0c_descriptionB\n\n\x08_ward_id\",\n\x1a\x43reateTaskTemplateResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1aGetAllTaskTemplatesRequest\"\xd7\x03\n\x1bGetAllTaskTemplatesResponse\x12\x62\n\ttemplates\x18\x01 \x03(\x0b\x32\x44.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplateR\ttemplates\x1a\xd3\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12\x1d\n\ncreated_by\x18\x06 \x01(\tR\tcreatedBy\x12h\n\x08subtasks\x18\x07 \x03(\x0b\x32L.proto.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"+\n\x19\x44\x65leteTaskTemplateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1a\x44\x65leteTaskTemplateResponse\"2\n DeleteTaskTemplateSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n!DeleteTaskTemplateSubTaskResponse\"\x84\x01\n\x19UpdateTaskTemplateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"\x1c\n\x1aUpdateTaskTemplateResponse\"c\n UpdateTaskTemplateSubTaskRequest\x12\x1d\n\nsubtask_id\x18\x01 \x01(\tR\tsubtaskId\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"#\n!UpdateTaskTemplateSubTaskResponse\"`\n CreateTaskTemplateSubTaskRequest\x12(\n\x10task_template_id\x18\x01 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"3\n!CreateTaskTemplateSubTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"}\n#GetAllTaskTemplatesByCreatorRequest\x12\x1d\n\ncreated_by\x18\x01 \x01(\tR\tcreatedBy\x12&\n\x0cprivate_only\x18\x02 \x01(\x08H\x00R\x0bprivateOnly\x88\x01\x01\x42\x0f\n\r_private_only\"\xd3\x03\n$GetAllTaskTemplatesByCreatorResponse\x12k\n\ttemplates\x18\x01 \x03(\x0b\x32M.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplateR\ttemplates\x1a\xbd\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12q\n\x08subtasks\x18\x07 \x03(\x0b\x32U.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\";\n GetAllTaskTemplatesByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xe9\x03\n!GetAllTaskTemplatesByWardResponse\x12h\n\ttemplates\x18\x01 \x03(\x0b\x32J.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplateR\ttemplates\x1a\xd9\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12\x1d\n\ncreated_by\x18\x06 \x01(\tR\tcreatedBy\x12n\n\x08subtasks\x18\x07 \x03(\x0b\x32R.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name2\xd2\n\n\x13TaskTemplateService\x12\x85\x01\n\x12\x43reateTaskTemplate\x12\x35.proto.services.task_svc.v1.CreateTaskTemplateRequest\x1a\x36.proto.services.task_svc.v1.CreateTaskTemplateResponse\"\x00\x12\x88\x01\n\x13GetAllTaskTemplates\x12\x36.proto.services.task_svc.v1.GetAllTaskTemplatesRequest\x1a\x37.proto.services.task_svc.v1.GetAllTaskTemplatesResponse\"\x00\x12\x85\x01\n\x12\x44\x65leteTaskTemplate\x12\x35.proto.services.task_svc.v1.DeleteTaskTemplateRequest\x1a\x36.proto.services.task_svc.v1.DeleteTaskTemplateResponse\"\x00\x12\x9a\x01\n\x19\x44\x65leteTaskTemplateSubTask\x12<.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest\x1a=.proto.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse\"\x00\x12\x85\x01\n\x12UpdateTaskTemplate\x12\x35.proto.services.task_svc.v1.UpdateTaskTemplateRequest\x1a\x36.proto.services.task_svc.v1.UpdateTaskTemplateResponse\"\x00\x12\x9a\x01\n\x19UpdateTaskTemplateSubTask\x12<.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest\x1a=.proto.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse\"\x00\x12\x9a\x01\n\x19\x43reateTaskTemplateSubTask\x12<.proto.services.task_svc.v1.CreateTaskTemplateSubTaskRequest\x1a=.proto.services.task_svc.v1.CreateTaskTemplateSubTaskResponse\"\x00\x12\xa3\x01\n\x1cGetAllTaskTemplatesByCreator\x12?.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest\x1a@.proto.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse\"\x00\x12\x9a\x01\n\x19GetAllTaskTemplatesByWard\x12<.proto.services.task_svc.v1.GetAllTaskTemplatesByWardRequest\x1a=.proto.services.task_svc.v1.GetAllTaskTemplatesByWardResponse\"\x00\x42\xda\x01\n\x1e\x63om.proto.services.task_svc.v1B\x14TaskTemplateSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.task_template_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\024TaskTemplateSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_CREATETASKTEMPLATEREQUEST']._serialized_start=83 - _globals['_CREATETASKTEMPLATEREQUEST']._serialized_end=349 - _globals['_CREATETASKTEMPLATEREQUEST_SUBTASK']._serialized_start=292 - _globals['_CREATETASKTEMPLATEREQUEST_SUBTASK']._serialized_end=321 - _globals['_CREATETASKTEMPLATERESPONSE']._serialized_start=351 - _globals['_CREATETASKTEMPLATERESPONSE']._serialized_end=395 - _globals['_GETALLTASKTEMPLATESREQUEST']._serialized_start=397 - _globals['_GETALLTASKTEMPLATESREQUEST']._serialized_end=425 - _globals['_GETALLTASKTEMPLATESRESPONSE']._serialized_start=428 - _globals['_GETALLTASKTEMPLATESRESPONSE']._serialized_end=899 - _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE']._serialized_start=560 - _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE']._serialized_end=899 - _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=812 - _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=899 - _globals['_DELETETASKTEMPLATEREQUEST']._serialized_start=901 - _globals['_DELETETASKTEMPLATEREQUEST']._serialized_end=944 - _globals['_DELETETASKTEMPLATERESPONSE']._serialized_start=946 - _globals['_DELETETASKTEMPLATERESPONSE']._serialized_end=974 - _globals['_DELETETASKTEMPLATESUBTASKREQUEST']._serialized_start=976 - _globals['_DELETETASKTEMPLATESUBTASKREQUEST']._serialized_end=1026 - _globals['_DELETETASKTEMPLATESUBTASKRESPONSE']._serialized_start=1028 - _globals['_DELETETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1063 - _globals['_UPDATETASKTEMPLATEREQUEST']._serialized_start=1066 - _globals['_UPDATETASKTEMPLATEREQUEST']._serialized_end=1198 - _globals['_UPDATETASKTEMPLATERESPONSE']._serialized_start=1200 - _globals['_UPDATETASKTEMPLATERESPONSE']._serialized_end=1228 - _globals['_UPDATETASKTEMPLATESUBTASKREQUEST']._serialized_start=1230 - _globals['_UPDATETASKTEMPLATESUBTASKREQUEST']._serialized_end=1329 - _globals['_UPDATETASKTEMPLATESUBTASKRESPONSE']._serialized_start=1331 - _globals['_UPDATETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1366 - _globals['_CREATETASKTEMPLATESUBTASKREQUEST']._serialized_start=1368 - _globals['_CREATETASKTEMPLATESUBTASKREQUEST']._serialized_end=1464 - _globals['_CREATETASKTEMPLATESUBTASKRESPONSE']._serialized_start=1466 - _globals['_CREATETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1517 - _globals['_GETALLTASKTEMPLATESBYCREATORREQUEST']._serialized_start=1519 - _globals['_GETALLTASKTEMPLATESBYCREATORREQUEST']._serialized_end=1644 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE']._serialized_start=1647 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE']._serialized_end=2114 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE']._serialized_start=1797 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE']._serialized_end=2114 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=812 - _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=899 - _globals['_GETALLTASKTEMPLATESBYWARDREQUEST']._serialized_start=2116 - _globals['_GETALLTASKTEMPLATESBYWARDREQUEST']._serialized_end=2175 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE']._serialized_start=2178 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE']._serialized_end=2667 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE']._serialized_start=2322 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE']._serialized_end=2667 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=812 - _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=899 - _globals['_TASKTEMPLATESERVICE']._serialized_start=2670 - _globals['_TASKTEMPLATESERVICE']._serialized_end=4032 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/task_template_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/task_svc/v1/task_template_svc_pb2_grpc.py deleted file mode 100644 index f769ffada..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/task_template_svc_pb2_grpc.py +++ /dev/null @@ -1,330 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import task_template_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2 - - -class TaskTemplateServiceStub(object): - """Missing associated documentation comment in .proto file.""" - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateTaskTemplate = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.FromString, - ) - self.GetAllTaskTemplates = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.FromString, - ) - self.DeleteTaskTemplate = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.FromString, - ) - self.DeleteTaskTemplateSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.FromString, - ) - self.UpdateTaskTemplate = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.FromString, - ) - self.UpdateTaskTemplateSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.FromString, - ) - self.CreateTaskTemplateSubTask = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.FromString, - ) - self.GetAllTaskTemplatesByCreator = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.FromString, - ) - self.GetAllTaskTemplatesByWard = channel.unary_unary( - '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.FromString, - ) - - -class TaskTemplateServiceServicer(object): - """Missing associated documentation comment in .proto file.""" - - def CreateTaskTemplate(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAllTaskTemplates(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteTaskTemplate(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteTaskTemplateSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateTaskTemplate(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateTaskTemplateSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateTaskTemplateSubTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAllTaskTemplatesByCreator(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetAllTaskTemplatesByWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_TaskTemplateServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateTaskTemplate': grpc.unary_unary_rpc_method_handler( - servicer.CreateTaskTemplate, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.SerializeToString, - ), - 'GetAllTaskTemplates': grpc.unary_unary_rpc_method_handler( - servicer.GetAllTaskTemplates, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.SerializeToString, - ), - 'DeleteTaskTemplate': grpc.unary_unary_rpc_method_handler( - servicer.DeleteTaskTemplate, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.SerializeToString, - ), - 'DeleteTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( - servicer.DeleteTaskTemplateSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.SerializeToString, - ), - 'UpdateTaskTemplate': grpc.unary_unary_rpc_method_handler( - servicer.UpdateTaskTemplate, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.SerializeToString, - ), - 'UpdateTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( - servicer.UpdateTaskTemplateSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.SerializeToString, - ), - 'CreateTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( - servicer.CreateTaskTemplateSubTask, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.SerializeToString, - ), - 'GetAllTaskTemplatesByCreator': grpc.unary_unary_rpc_method_handler( - servicer.GetAllTaskTemplatesByCreator, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.SerializeToString, - ), - 'GetAllTaskTemplatesByWard': grpc.unary_unary_rpc_method_handler( - servicer.GetAllTaskTemplatesByWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.TaskTemplateService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class TaskTemplateService(object): - """Missing associated documentation comment in .proto file.""" - - @staticmethod - def CreateTaskTemplate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAllTaskTemplates(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteTaskTemplate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteTaskTemplateSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateTaskTemplate(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateTaskTemplateSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CreateTaskTemplateSubTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAllTaskTemplatesByCreator(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetAllTaskTemplatesByWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/ward_svc_pb2.py b/services/impulse_svc/gen/proto/services/task_svc/v1/ward_svc_pb2.py deleted file mode 100644 index 1592e7e4f..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/ward_svc_pb2.py +++ /dev/null @@ -1,73 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/task_svc/v1/ward_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)proto/services/task_svc/v1/ward_svc.proto\x12\x1aproto.services.task_svc.v1\"\'\n\x11\x43reateWardRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"$\n\x12\x43reateWardResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"^\n\x0fGetWardResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\"\x11\n\x0fGetWardsRequest\"\x87\x01\n\x10GetWardsResponse\x12G\n\x05wards\x18\x01 \x03(\x0b\x32\x31.proto.services.task_svc.v1.GetWardsResponse.WardR\x05wards\x1a*\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x17\n\x15GetRecentWardsRequest\"\x9b\x02\n\x16GetRecentWardsResponse\x12M\n\x05wards\x18\x01 \x03(\x0b\x32\x37.proto.services.task_svc.v1.GetRecentWardsResponse.WardR\x05wards\x1a\xb1\x01\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n\tbed_count\x18\x03 \x01(\rR\x08\x62\x65\x64\x43ount\x12\x1d\n\ntasks_todo\x18\x04 \x01(\rR\ttasksTodo\x12*\n\x11tasks_in_progress\x18\x05 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x06 \x01(\rR\ttasksDone\"E\n\x11UpdateWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x14\n\x12UpdateWardResponse\"#\n\x11\x44\x65leteWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteWardResponse\"\'\n\x15GetWardDetailsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xd2\x04\n\x16GetWardDetailsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12M\n\x05rooms\x18\x03 \x03(\x0b\x32\x37.proto.services.task_svc.v1.GetWardDetailsResponse.RoomR\x05rooms\x12\x66\n\x0etask_templates\x18\x04 \x03(\x0b\x32?.proto.services.task_svc.v1.GetWardDetailsResponse.TaskTemplateR\rtaskTemplates\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a-\n\x07Subtask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1av\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12J\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x36.proto.services.task_svc.v1.GetWardDetailsResponse.BedR\x04\x62\x65\x64s\x1a\x8a\x01\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12V\n\x08subtasks\x18\x03 \x03(\x0b\x32:.proto.services.task_svc.v1.GetWardDetailsResponse.SubtaskR\x08subtasks\"\x19\n\x17GetWardOverviewsRequest\"\x9f\x02\n\x18GetWardOverviewsResponse\x12O\n\x05wards\x18\x01 \x03(\x0b\x32\x39.proto.services.task_svc.v1.GetWardOverviewsResponse.WardR\x05wards\x1a\xb1\x01\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n\tbed_count\x18\x03 \x01(\rR\x08\x62\x65\x64\x43ount\x12\x1d\n\ntasks_todo\x18\x04 \x01(\rR\ttasksTodo\x12*\n\x11tasks_in_progress\x18\x05 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x06 \x01(\rR\ttasksDone2\xa0\x07\n\x0bWardService\x12m\n\nCreateWard\x12-.proto.services.task_svc.v1.CreateWardRequest\x1a..proto.services.task_svc.v1.CreateWardResponse\"\x00\x12\x64\n\x07GetWard\x12*.proto.services.task_svc.v1.GetWardRequest\x1a+.proto.services.task_svc.v1.GetWardResponse\"\x00\x12g\n\x08GetWards\x12+.proto.services.task_svc.v1.GetWardsRequest\x1a,.proto.services.task_svc.v1.GetWardsResponse\"\x00\x12y\n\x0eGetRecentWards\x12\x31.proto.services.task_svc.v1.GetRecentWardsRequest\x1a\x32.proto.services.task_svc.v1.GetRecentWardsResponse\"\x00\x12m\n\nUpdateWard\x12-.proto.services.task_svc.v1.UpdateWardRequest\x1a..proto.services.task_svc.v1.UpdateWardResponse\"\x00\x12m\n\nDeleteWard\x12-.proto.services.task_svc.v1.DeleteWardRequest\x1a..proto.services.task_svc.v1.DeleteWardResponse\"\x00\x12\x7f\n\x10GetWardOverviews\x12\x33.proto.services.task_svc.v1.GetWardOverviewsRequest\x1a\x34.proto.services.task_svc.v1.GetWardOverviewsResponse\"\x00\x12y\n\x0eGetWardDetails\x12\x31.proto.services.task_svc.v1.GetWardDetailsRequest\x1a\x32.proto.services.task_svc.v1.GetWardDetailsResponse\"\x00\x42\xd2\x01\n\x1e\x63om.proto.services.task_svc.v1B\x0cWardSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03PST\xaa\x02\x19Proto.Services.TaskSvc.V1\xca\x02\x19Proto\\Services\\TaskSvc\\V1\xe2\x02%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::TaskSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.task_svc.v1.ward_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.task_svc.v1B\014WardSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003PST\252\002\031Proto.Services.TaskSvc.V1\312\002\031Proto\\Services\\TaskSvc\\V1\342\002%Proto\\Services\\TaskSvc\\V1\\GPBMetadata\352\002\034Proto::Services::TaskSvc::V1' - _globals['_CREATEWARDREQUEST']._serialized_start=73 - _globals['_CREATEWARDREQUEST']._serialized_end=112 - _globals['_CREATEWARDRESPONSE']._serialized_start=114 - _globals['_CREATEWARDRESPONSE']._serialized_end=150 - _globals['_GETWARDREQUEST']._serialized_start=152 - _globals['_GETWARDREQUEST']._serialized_end=184 - _globals['_GETWARDRESPONSE']._serialized_start=186 - _globals['_GETWARDRESPONSE']._serialized_end=280 - _globals['_GETWARDSREQUEST']._serialized_start=282 - _globals['_GETWARDSREQUEST']._serialized_end=299 - _globals['_GETWARDSRESPONSE']._serialized_start=302 - _globals['_GETWARDSRESPONSE']._serialized_end=437 - _globals['_GETWARDSRESPONSE_WARD']._serialized_start=395 - _globals['_GETWARDSRESPONSE_WARD']._serialized_end=437 - _globals['_GETRECENTWARDSREQUEST']._serialized_start=439 - _globals['_GETRECENTWARDSREQUEST']._serialized_end=462 - _globals['_GETRECENTWARDSRESPONSE']._serialized_start=465 - _globals['_GETRECENTWARDSRESPONSE']._serialized_end=748 - _globals['_GETRECENTWARDSRESPONSE_WARD']._serialized_start=571 - _globals['_GETRECENTWARDSRESPONSE_WARD']._serialized_end=748 - _globals['_UPDATEWARDREQUEST']._serialized_start=750 - _globals['_UPDATEWARDREQUEST']._serialized_end=819 - _globals['_UPDATEWARDRESPONSE']._serialized_start=821 - _globals['_UPDATEWARDRESPONSE']._serialized_end=841 - _globals['_DELETEWARDREQUEST']._serialized_start=843 - _globals['_DELETEWARDREQUEST']._serialized_end=878 - _globals['_DELETEWARDRESPONSE']._serialized_start=880 - _globals['_DELETEWARDRESPONSE']._serialized_end=900 - _globals['_GETWARDDETAILSREQUEST']._serialized_start=902 - _globals['_GETWARDDETAILSREQUEST']._serialized_end=941 - _globals['_GETWARDDETAILSRESPONSE']._serialized_start=944 - _globals['_GETWARDDETAILSRESPONSE']._serialized_end=1538 - _globals['_GETWARDDETAILSRESPONSE_BED']._serialized_start=1189 - _globals['_GETWARDDETAILSRESPONSE_BED']._serialized_end=1230 - _globals['_GETWARDDETAILSRESPONSE_SUBTASK']._serialized_start=1232 - _globals['_GETWARDDETAILSRESPONSE_SUBTASK']._serialized_end=1277 - _globals['_GETWARDDETAILSRESPONSE_ROOM']._serialized_start=1279 - _globals['_GETWARDDETAILSRESPONSE_ROOM']._serialized_end=1397 - _globals['_GETWARDDETAILSRESPONSE_TASKTEMPLATE']._serialized_start=1400 - _globals['_GETWARDDETAILSRESPONSE_TASKTEMPLATE']._serialized_end=1538 - _globals['_GETWARDOVERVIEWSREQUEST']._serialized_start=1540 - _globals['_GETWARDOVERVIEWSREQUEST']._serialized_end=1565 - _globals['_GETWARDOVERVIEWSRESPONSE']._serialized_start=1568 - _globals['_GETWARDOVERVIEWSRESPONSE']._serialized_end=1855 - _globals['_GETWARDOVERVIEWSRESPONSE_WARD']._serialized_start=571 - _globals['_GETWARDOVERVIEWSRESPONSE_WARD']._serialized_end=748 - _globals['_WARDSERVICE']._serialized_start=1858 - _globals['_WARDSERVICE']._serialized_end=2786 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/task_svc/v1/ward_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/task_svc/v1/ward_svc_pb2_grpc.py deleted file mode 100644 index da0e239fb..000000000 --- a/services/impulse_svc/gen/proto/services/task_svc/v1/ward_svc_pb2_grpc.py +++ /dev/null @@ -1,309 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.task_svc.v1 import ward_svc_pb2 as proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2 - - -class WardServiceStub(object): - """ - WardService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateWard = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/CreateWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.FromString, - ) - self.GetWard = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/GetWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.FromString, - ) - self.GetWards = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/GetWards', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.FromString, - ) - self.GetRecentWards = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/GetRecentWards', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.FromString, - ) - self.UpdateWard = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/UpdateWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.FromString, - ) - self.DeleteWard = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/DeleteWard', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.FromString, - ) - self.GetWardOverviews = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/GetWardOverviews', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.FromString, - ) - self.GetWardDetails = channel.unary_unary( - '/proto.services.task_svc.v1.WardService/GetWardDetails', - request_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.FromString, - ) - - -class WardServiceServicer(object): - """ - WardService - - - """ - - def CreateWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWards(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRecentWards(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteWard(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWardOverviews(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetWardDetails(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_WardServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateWard': grpc.unary_unary_rpc_method_handler( - servicer.CreateWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.SerializeToString, - ), - 'GetWard': grpc.unary_unary_rpc_method_handler( - servicer.GetWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.SerializeToString, - ), - 'GetWards': grpc.unary_unary_rpc_method_handler( - servicer.GetWards, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.SerializeToString, - ), - 'GetRecentWards': grpc.unary_unary_rpc_method_handler( - servicer.GetRecentWards, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.SerializeToString, - ), - 'UpdateWard': grpc.unary_unary_rpc_method_handler( - servicer.UpdateWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.SerializeToString, - ), - 'DeleteWard': grpc.unary_unary_rpc_method_handler( - servicer.DeleteWard, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.SerializeToString, - ), - 'GetWardOverviews': grpc.unary_unary_rpc_method_handler( - servicer.GetWardOverviews, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.SerializeToString, - ), - 'GetWardDetails': grpc.unary_unary_rpc_method_handler( - servicer.GetWardDetails, - request_deserializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.FromString, - response_serializer=proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.task_svc.v1.WardService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class WardService(object): - """ - WardService - - - """ - - @staticmethod - def CreateWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/CreateWard', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/GetWard', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetWards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/GetWards', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRecentWards(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/GetRecentWards', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/UpdateWard', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteWard(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/DeleteWard', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetWardOverviews(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/GetWardOverviews', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetWardDetails(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.task_svc.v1.WardService/GetWardDetails', - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.SerializeToString, - proto_dot_services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/tasks_svc/v1/patient_svc_pb2.py b/services/impulse_svc/gen/proto/services/tasks_svc/v1/patient_svc_pb2.py deleted file mode 100644 index a8930fcdc..000000000 --- a/services/impulse_svc/gen/proto/services/tasks_svc/v1/patient_svc_pb2.py +++ /dev/null @@ -1,69 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/tasks_svc/v1/patient_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-proto/services/tasks_svc/v1/patient_svc.proto\x12\x1bproto.services.tasks_svc.v1\"w\n\x14\x43reatePatientRequest\x12:\n\x19human_readable_identifier\x18\x01 \x01(\tR\x17humanReadableIdentifier\x12\x19\n\x05notes\x18\x02 \x01(\tH\x00R\x05notes\x88\x01\x01\x42\x08\n\x06_notes\"\'\n\x15\x43reatePatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n\x11GetPatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xe3\x03\n\x12GetPatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x12\x1c\n\x07ward_id\x18\x05 \x01(\tH\x01R\x06wardId\x88\x01\x01\x12M\n\x04room\x18\x07 \x01(\x0b\x32\x34.proto.services.tasks_svc.v1.GetPatientResponse.RoomH\x02R\x04room\x88\x01\x01\x12J\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32\x33.proto.services.tasks_svc.v1.GetPatientResponse.BedH\x03R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\t\n\x07_bed_idB\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"\x1a\n\x18GetRecentPatientsRequest\"\x87\x04\n\x19GetRecentPatientsResponse\x12u\n\x0frecent_patients\x18\x01 \x03(\x0b\x32L.proto.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBedR\x0erecentPatients\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\x82\x02\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12O\n\x04room\x18\x03 \x01(\x0b\x32;.proto.services.tasks_svc.v1.GetRecentPatientsResponse.RoomR\x04room\x12L\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32:.proto.services.tasks_svc.v1.GetRecentPatientsResponse.BedR\x03\x62\x65\x64\"\xaa\x01\n\x14UpdatePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12?\n\x19human_readable_identifier\x18\x02 \x01(\tH\x00R\x17humanReadableIdentifier\x88\x01\x01\x12\x19\n\x05notes\x18\x03 \x01(\tH\x01R\x05notes\x88\x01\x01\x42\x1c\n\x1a_human_readable_identifierB\x08\n\x06_notes\"\x17\n\x15UpdatePatientResponse\"9\n\x10\x41ssignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06\x62\x65\x64_id\x18\x02 \x01(\tR\x05\x62\x65\x64Id\"\x13\n\x11\x41ssignBedResponse\"$\n\x12UnassignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13UnassignBedResponse\")\n\x17\x44ischargePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18\x44ischargePatientResponse\"6\n\x15ReadmitPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\x18\n\x16ReadmitPatientResponse2\xdf\x07\n\x0ePatientService\x12x\n\rCreatePatient\x12\x31.proto.services.tasks_svc.v1.CreatePatientRequest\x1a\x32.proto.services.tasks_svc.v1.CreatePatientResponse\"\x00\x12o\n\nGetPatient\x12..proto.services.tasks_svc.v1.GetPatientRequest\x1a/.proto.services.tasks_svc.v1.GetPatientResponse\"\x00\x12\x84\x01\n\x11GetRecentPatients\x12\x35.proto.services.tasks_svc.v1.GetRecentPatientsRequest\x1a\x36.proto.services.tasks_svc.v1.GetRecentPatientsResponse\"\x00\x12x\n\rUpdatePatient\x12\x31.proto.services.tasks_svc.v1.UpdatePatientRequest\x1a\x32.proto.services.tasks_svc.v1.UpdatePatientResponse\"\x00\x12l\n\tAssignBed\x12-.proto.services.tasks_svc.v1.AssignBedRequest\x1a..proto.services.tasks_svc.v1.AssignBedResponse\"\x00\x12r\n\x0bUnassignBed\x12/.proto.services.tasks_svc.v1.UnassignBedRequest\x1a\x30.proto.services.tasks_svc.v1.UnassignBedResponse\"\x00\x12\x81\x01\n\x10\x44ischargePatient\x12\x34.proto.services.tasks_svc.v1.DischargePatientRequest\x1a\x35.proto.services.tasks_svc.v1.DischargePatientResponse\"\x00\x12{\n\x0eReadmitPatient\x12\x32.proto.services.tasks_svc.v1.ReadmitPatientRequest\x1a\x33.proto.services.tasks_svc.v1.ReadmitPatientResponse\"\x00\x42\xdb\x01\n\x1f\x63om.proto.services.tasks_svc.v1B\x0fPatientSvcProtoP\x01Z\x1cgen/proto/services/tasks-svc\xa2\x02\x03PST\xaa\x02\x1aProto.Services.TasksSvc.V1\xca\x02\x1aProto\\Services\\TasksSvc\\V1\xe2\x02&Proto\\Services\\TasksSvc\\V1\\GPBMetadata\xea\x02\x1dProto::Services::TasksSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.tasks_svc.v1.patient_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.proto.services.tasks_svc.v1B\017PatientSvcProtoP\001Z\034gen/proto/services/tasks-svc\242\002\003PST\252\002\032Proto.Services.TasksSvc.V1\312\002\032Proto\\Services\\TasksSvc\\V1\342\002&Proto\\Services\\TasksSvc\\V1\\GPBMetadata\352\002\035Proto::Services::TasksSvc::V1' - _globals['_CREATEPATIENTREQUEST']._serialized_start=78 - _globals['_CREATEPATIENTREQUEST']._serialized_end=197 - _globals['_CREATEPATIENTRESPONSE']._serialized_start=199 - _globals['_CREATEPATIENTRESPONSE']._serialized_end=238 - _globals['_GETPATIENTREQUEST']._serialized_start=240 - _globals['_GETPATIENTREQUEST']._serialized_end=275 - _globals['_GETPATIENTRESPONSE']._serialized_start=278 - _globals['_GETPATIENTRESPONSE']._serialized_end=761 - _globals['_GETPATIENTRESPONSE_ROOM']._serialized_start=611 - _globals['_GETPATIENTRESPONSE_ROOM']._serialized_end=678 - _globals['_GETPATIENTRESPONSE_BED']._serialized_start=680 - _globals['_GETPATIENTRESPONSE_BED']._serialized_end=721 - _globals['_GETRECENTPATIENTSREQUEST']._serialized_start=763 - _globals['_GETRECENTPATIENTSREQUEST']._serialized_end=789 - _globals['_GETRECENTPATIENTSRESPONSE']._serialized_start=792 - _globals['_GETRECENTPATIENTSRESPONSE']._serialized_end=1311 - _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_start=680 - _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_end=721 - _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_start=611 - _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_end=678 - _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=1053 - _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=1311 - _globals['_UPDATEPATIENTREQUEST']._serialized_start=1314 - _globals['_UPDATEPATIENTREQUEST']._serialized_end=1484 - _globals['_UPDATEPATIENTRESPONSE']._serialized_start=1486 - _globals['_UPDATEPATIENTRESPONSE']._serialized_end=1509 - _globals['_ASSIGNBEDREQUEST']._serialized_start=1511 - _globals['_ASSIGNBEDREQUEST']._serialized_end=1568 - _globals['_ASSIGNBEDRESPONSE']._serialized_start=1570 - _globals['_ASSIGNBEDRESPONSE']._serialized_end=1589 - _globals['_UNASSIGNBEDREQUEST']._serialized_start=1591 - _globals['_UNASSIGNBEDREQUEST']._serialized_end=1627 - _globals['_UNASSIGNBEDRESPONSE']._serialized_start=1629 - _globals['_UNASSIGNBEDRESPONSE']._serialized_end=1650 - _globals['_DISCHARGEPATIENTREQUEST']._serialized_start=1652 - _globals['_DISCHARGEPATIENTREQUEST']._serialized_end=1693 - _globals['_DISCHARGEPATIENTRESPONSE']._serialized_start=1695 - _globals['_DISCHARGEPATIENTRESPONSE']._serialized_end=1721 - _globals['_READMITPATIENTREQUEST']._serialized_start=1723 - _globals['_READMITPATIENTREQUEST']._serialized_end=1777 - _globals['_READMITPATIENTRESPONSE']._serialized_start=1779 - _globals['_READMITPATIENTRESPONSE']._serialized_end=1803 - _globals['_PATIENTSERVICE']._serialized_start=1806 - _globals['_PATIENTSERVICE']._serialized_end=2797 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/tasks_svc/v1/patient_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/tasks_svc/v1/patient_svc_pb2_grpc.py deleted file mode 100644 index 01b3ae192..000000000 --- a/services/impulse_svc/gen/proto/services/tasks_svc/v1/patient_svc_pb2_grpc.py +++ /dev/null @@ -1,309 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.tasks_svc.v1 import patient_svc_pb2 as proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2 - - -class PatientServiceStub(object): - """ - PatientService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreatePatient = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/CreatePatient', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, - ) - self.GetPatient = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/GetPatient', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, - ) - self.GetRecentPatients = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/GetRecentPatients', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, - ) - self.UpdatePatient = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/UpdatePatient', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, - ) - self.AssignBed = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/AssignBed', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, - ) - self.UnassignBed = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/UnassignBed', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, - ) - self.DischargePatient = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/DischargePatient', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, - ) - self.ReadmitPatient = channel.unary_unary( - '/proto.services.tasks_svc.v1.PatientService/ReadmitPatient', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, - ) - - -class PatientServiceServicer(object): - """ - PatientService - - - """ - - def CreatePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRecentPatients(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdatePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AssignBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnassignBed(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DischargePatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ReadmitPatient(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_PatientServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreatePatient': grpc.unary_unary_rpc_method_handler( - servicer.CreatePatient, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.SerializeToString, - ), - 'GetPatient': grpc.unary_unary_rpc_method_handler( - servicer.GetPatient, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.SerializeToString, - ), - 'GetRecentPatients': grpc.unary_unary_rpc_method_handler( - servicer.GetRecentPatients, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.SerializeToString, - ), - 'UpdatePatient': grpc.unary_unary_rpc_method_handler( - servicer.UpdatePatient, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.SerializeToString, - ), - 'AssignBed': grpc.unary_unary_rpc_method_handler( - servicer.AssignBed, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.SerializeToString, - ), - 'UnassignBed': grpc.unary_unary_rpc_method_handler( - servicer.UnassignBed, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.SerializeToString, - ), - 'DischargePatient': grpc.unary_unary_rpc_method_handler( - servicer.DischargePatient, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.SerializeToString, - ), - 'ReadmitPatient': grpc.unary_unary_rpc_method_handler( - servicer.ReadmitPatient, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.tasks_svc.v1.PatientService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class PatientService(object): - """ - PatientService - - - """ - - @staticmethod - def CreatePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/CreatePatient', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/GetPatient', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRecentPatients(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/GetRecentPatients', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdatePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/UpdatePatient', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AssignBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/AssignBed', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UnassignBed(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/UnassignBed', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DischargePatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/DischargePatient', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ReadmitPatient(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.PatientService/ReadmitPatient', - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/tasks_svc/v1/task_svc_pb2.py b/services/impulse_svc/gen/proto/services/tasks_svc/v1/task_svc_pb2.py deleted file mode 100644 index 18726e68f..000000000 --- a/services/impulse_svc/gen/proto/services/tasks_svc/v1/task_svc_pb2.py +++ /dev/null @@ -1,76 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/tasks_svc/v1/task_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*proto/services/tasks_svc/v1/task_svc.proto\x12\x1bproto.services.tasks_svc.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc0\x02\n\x11\x43reateTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1d\n\npatient_id\x18\x03 \x01(\tR\tpatientId\x12\x1b\n\x06public\x18\x04 \x01(\x08H\x01R\x06public\x88\x01\x01\x12\x31\n\x06\x64ue_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12S\n\x0einitial_status\x18\x06 \x01(\x0e\x32\'.proto.services.tasks_svc.v1.TaskStatusH\x02R\rinitialStatus\x88\x01\x01\x42\x0e\n\x0c_descriptionB\t\n\x07_publicB\x11\n\x0f_initial_status\"$\n\x12\x43reateTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xbf\x01\n\x11UpdateTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x36\n\x06\x64ue_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x05\x64ueAt\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\t\n\x07_due_at\"\x14\n\x12UpdateTaskResponse\" \n\x0eGetTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x8f\x03\n\x0fGetTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12%\n\x0e\x61ssigned_users\x18\x04 \x03(\tR\rassignedUsers\x12P\n\x08subtasks\x18\x05 \x03(\x0b\x32\x34.proto.services.tasks_svc.v1.GetTaskResponse.SubtaskR\x08subtasks\x12?\n\x06status\x18\x06 \x01(\x0e\x32\'.proto.services.tasks_svc.v1.TaskStatusR\x06status\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x1a\x41\n\x07Subtask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\"E\n\x11\x41ssignTaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x14\n\x12\x41ssignTaskResponse\"G\n\x13UnassignTaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x16\n\x14UnassignTaskResponse\"\xa3\x01\n\x14\x43reateSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12S\n\x07subtask\x18\x02 \x01(\x0b\x32\x39.proto.services.tasks_svc.v1.CreateSubtaskRequest.SubtaskR\x07subtask\x1a\x1d\n\x07Subtask\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"6\n\x15\x43reateSubtaskResponse\x12\x1d\n\nsubtask_id\x18\x01 \x01(\tR\tsubtaskId\"\xd0\x01\n\x14UpdateSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\x12S\n\x07subtask\x18\x03 \x01(\x0b\x32\x39.proto.services.tasks_svc.v1.UpdateSubtaskRequest.SubtaskR\x07subtask\x1a+\n\x07Subtask\x12\x17\n\x04name\x18\x01 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x17\n\x15UpdateSubtaskResponse\"P\n\x16\x43ompleteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x19\n\x17\x43ompleteSubtaskResponse\"R\n\x18UncompleteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x1b\n\x19UncompleteSubtaskResponse\"N\n\x14\x44\x65leteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x17\n\x15\x44\x65leteSubtaskResponse*r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x32\xb4\t\n\x0bTaskService\x12o\n\nCreateTask\x12..proto.services.tasks_svc.v1.CreateTaskRequest\x1a/.proto.services.tasks_svc.v1.CreateTaskResponse\"\x00\x12o\n\nUpdateTask\x12..proto.services.tasks_svc.v1.UpdateTaskRequest\x1a/.proto.services.tasks_svc.v1.UpdateTaskResponse\"\x00\x12\x66\n\x07GetTask\x12+.proto.services.tasks_svc.v1.GetTaskRequest\x1a,.proto.services.tasks_svc.v1.GetTaskResponse\"\x00\x12o\n\nAssignTask\x12..proto.services.tasks_svc.v1.AssignTaskRequest\x1a/.proto.services.tasks_svc.v1.AssignTaskResponse\"\x00\x12u\n\x0cUnassignTask\x12\x30.proto.services.tasks_svc.v1.UnassignTaskRequest\x1a\x31.proto.services.tasks_svc.v1.UnassignTaskResponse\"\x00\x12x\n\rCreateSubtask\x12\x31.proto.services.tasks_svc.v1.CreateSubtaskRequest\x1a\x32.proto.services.tasks_svc.v1.CreateSubtaskResponse\"\x00\x12x\n\rUpdateSubtask\x12\x31.proto.services.tasks_svc.v1.UpdateSubtaskRequest\x1a\x32.proto.services.tasks_svc.v1.UpdateSubtaskResponse\"\x00\x12~\n\x0f\x43ompleteSubtask\x12\x33.proto.services.tasks_svc.v1.CompleteSubtaskRequest\x1a\x34.proto.services.tasks_svc.v1.CompleteSubtaskResponse\"\x00\x12\x84\x01\n\x11UncompleteSubtask\x12\x35.proto.services.tasks_svc.v1.UncompleteSubtaskRequest\x1a\x36.proto.services.tasks_svc.v1.UncompleteSubtaskResponse\"\x00\x12x\n\rDeleteSubtask\x12\x31.proto.services.tasks_svc.v1.DeleteSubtaskRequest\x1a\x32.proto.services.tasks_svc.v1.DeleteSubtaskResponse\"\x00\x42\xd8\x01\n\x1f\x63om.proto.services.tasks_svc.v1B\x0cTaskSvcProtoP\x01Z\x1cgen/proto/services/tasks-svc\xa2\x02\x03PST\xaa\x02\x1aProto.Services.TasksSvc.V1\xca\x02\x1aProto\\Services\\TasksSvc\\V1\xe2\x02&Proto\\Services\\TasksSvc\\V1\\GPBMetadata\xea\x02\x1dProto::Services::TasksSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.tasks_svc.v1.task_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\037com.proto.services.tasks_svc.v1B\014TaskSvcProtoP\001Z\034gen/proto/services/tasks-svc\242\002\003PST\252\002\032Proto.Services.TasksSvc.V1\312\002\032Proto\\Services\\TasksSvc\\V1\342\002&Proto\\Services\\TasksSvc\\V1\\GPBMetadata\352\002\035Proto::Services::TasksSvc::V1' - _globals['_TASKSTATUS']._serialized_start=2096 - _globals['_TASKSTATUS']._serialized_end=2210 - _globals['_CREATETASKREQUEST']._serialized_start=109 - _globals['_CREATETASKREQUEST']._serialized_end=429 - _globals['_CREATETASKRESPONSE']._serialized_start=431 - _globals['_CREATETASKRESPONSE']._serialized_end=467 - _globals['_UPDATETASKREQUEST']._serialized_start=470 - _globals['_UPDATETASKREQUEST']._serialized_end=661 - _globals['_UPDATETASKRESPONSE']._serialized_start=663 - _globals['_UPDATETASKRESPONSE']._serialized_end=683 - _globals['_GETTASKREQUEST']._serialized_start=685 - _globals['_GETTASKREQUEST']._serialized_end=717 - _globals['_GETTASKRESPONSE']._serialized_start=720 - _globals['_GETTASKRESPONSE']._serialized_end=1119 - _globals['_GETTASKRESPONSE_SUBTASK']._serialized_start=1054 - _globals['_GETTASKRESPONSE_SUBTASK']._serialized_end=1119 - _globals['_ASSIGNTASKREQUEST']._serialized_start=1121 - _globals['_ASSIGNTASKREQUEST']._serialized_end=1190 - _globals['_ASSIGNTASKRESPONSE']._serialized_start=1192 - _globals['_ASSIGNTASKRESPONSE']._serialized_end=1212 - _globals['_UNASSIGNTASKREQUEST']._serialized_start=1214 - _globals['_UNASSIGNTASKREQUEST']._serialized_end=1285 - _globals['_UNASSIGNTASKRESPONSE']._serialized_start=1287 - _globals['_UNASSIGNTASKRESPONSE']._serialized_end=1309 - _globals['_CREATESUBTASKREQUEST']._serialized_start=1312 - _globals['_CREATESUBTASKREQUEST']._serialized_end=1475 - _globals['_CREATESUBTASKREQUEST_SUBTASK']._serialized_start=1446 - _globals['_CREATESUBTASKREQUEST_SUBTASK']._serialized_end=1475 - _globals['_CREATESUBTASKRESPONSE']._serialized_start=1477 - _globals['_CREATESUBTASKRESPONSE']._serialized_end=1531 - _globals['_UPDATESUBTASKREQUEST']._serialized_start=1534 - _globals['_UPDATESUBTASKREQUEST']._serialized_end=1742 - _globals['_UPDATESUBTASKREQUEST_SUBTASK']._serialized_start=1699 - _globals['_UPDATESUBTASKREQUEST_SUBTASK']._serialized_end=1742 - _globals['_UPDATESUBTASKRESPONSE']._serialized_start=1744 - _globals['_UPDATESUBTASKRESPONSE']._serialized_end=1767 - _globals['_COMPLETESUBTASKREQUEST']._serialized_start=1769 - _globals['_COMPLETESUBTASKREQUEST']._serialized_end=1849 - _globals['_COMPLETESUBTASKRESPONSE']._serialized_start=1851 - _globals['_COMPLETESUBTASKRESPONSE']._serialized_end=1876 - _globals['_UNCOMPLETESUBTASKREQUEST']._serialized_start=1878 - _globals['_UNCOMPLETESUBTASKREQUEST']._serialized_end=1960 - _globals['_UNCOMPLETESUBTASKRESPONSE']._serialized_start=1962 - _globals['_UNCOMPLETESUBTASKRESPONSE']._serialized_end=1989 - _globals['_DELETESUBTASKREQUEST']._serialized_start=1991 - _globals['_DELETESUBTASKREQUEST']._serialized_end=2069 - _globals['_DELETESUBTASKRESPONSE']._serialized_start=2071 - _globals['_DELETESUBTASKRESPONSE']._serialized_end=2094 - _globals['_TASKSERVICE']._serialized_start=2213 - _globals['_TASKSERVICE']._serialized_end=3417 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/tasks_svc/v1/task_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/tasks_svc/v1/task_svc_pb2_grpc.py deleted file mode 100644 index bc2827d42..000000000 --- a/services/impulse_svc/gen/proto/services/tasks_svc/v1/task_svc_pb2_grpc.py +++ /dev/null @@ -1,375 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.tasks_svc.v1 import task_svc_pb2 as proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2 - - -class TaskServiceStub(object): - """ - TaskService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateTask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/CreateTask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, - ) - self.UpdateTask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/UpdateTask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, - ) - self.GetTask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/GetTask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, - ) - self.AssignTask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/AssignTask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.FromString, - ) - self.UnassignTask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/UnassignTask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.FromString, - ) - self.CreateSubtask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/CreateSubtask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.FromString, - ) - self.UpdateSubtask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/UpdateSubtask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.FromString, - ) - self.CompleteSubtask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/CompleteSubtask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.FromString, - ) - self.UncompleteSubtask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/UncompleteSubtask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.FromString, - ) - self.DeleteSubtask = channel.unary_unary( - '/proto.services.tasks_svc.v1.TaskService/DeleteSubtask', - request_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.FromString, - ) - - -class TaskServiceServicer(object): - """ - TaskService - - - """ - - def CreateTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AssignTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UnassignTask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateSubtask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateSubtask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CompleteSubtask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UncompleteSubtask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteSubtask(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_TaskServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateTask': grpc.unary_unary_rpc_method_handler( - servicer.CreateTask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.SerializeToString, - ), - 'UpdateTask': grpc.unary_unary_rpc_method_handler( - servicer.UpdateTask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.SerializeToString, - ), - 'GetTask': grpc.unary_unary_rpc_method_handler( - servicer.GetTask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.SerializeToString, - ), - 'AssignTask': grpc.unary_unary_rpc_method_handler( - servicer.AssignTask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.SerializeToString, - ), - 'UnassignTask': grpc.unary_unary_rpc_method_handler( - servicer.UnassignTask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.SerializeToString, - ), - 'CreateSubtask': grpc.unary_unary_rpc_method_handler( - servicer.CreateSubtask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.SerializeToString, - ), - 'UpdateSubtask': grpc.unary_unary_rpc_method_handler( - servicer.UpdateSubtask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.SerializeToString, - ), - 'CompleteSubtask': grpc.unary_unary_rpc_method_handler( - servicer.CompleteSubtask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.SerializeToString, - ), - 'UncompleteSubtask': grpc.unary_unary_rpc_method_handler( - servicer.UncompleteSubtask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.SerializeToString, - ), - 'DeleteSubtask': grpc.unary_unary_rpc_method_handler( - servicer.DeleteSubtask, - request_deserializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.FromString, - response_serializer=proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.tasks_svc.v1.TaskService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class TaskService(object): - """ - TaskService - - - """ - - @staticmethod - def CreateTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/CreateTask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/UpdateTask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/GetTask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AssignTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/AssignTask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UnassignTask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/UnassignTask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CreateSubtask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/CreateSubtask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateSubtask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/UpdateSubtask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CompleteSubtask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/CompleteSubtask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UncompleteSubtask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/UncompleteSubtask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteSubtask(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.tasks_svc.v1.TaskService/DeleteSubtask', - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.SerializeToString, - proto_dot_services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/user_svc/v1/organization_svc_pb2.py b/services/impulse_svc/gen/proto/services/user_svc/v1/organization_svc_pb2.py deleted file mode 100644 index a27da085c..000000000 --- a/services/impulse_svc/gen/proto/services/user_svc/v1/organization_svc_pb2.py +++ /dev/null @@ -1,111 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/user_svc/v1/organization_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1proto/services/user_svc/v1/organization_svc.proto\x12\x1aproto.services.user_svc.v1\"\xb2\x01\n\x19\x43reateOrganizationRequest\x12\x1b\n\tlong_name\x18\x01 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x02 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x03 \x01(\tR\x0c\x63ontactEmail\x12$\n\x0bis_personal\x18\x04 \x01(\x08H\x00R\nisPersonal\x88\x01\x01\x42\x0e\n\x0c_is_personal\",\n\x1a\x43reateOrganizationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xd2\x01\n CreateOrganizationForUserRequest\x12\x1b\n\tlong_name\x18\x01 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x02 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x03 \x01(\tR\x0c\x63ontactEmail\x12$\n\x0bis_personal\x18\x04 \x01(\x08H\x00R\nisPersonal\x88\x01\x01\x12\x17\n\x07user_id\x18\x05 \x01(\tR\x06userIdB\x0e\n\x0c_is_personal\"3\n!CreateOrganizationForUserResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"0\n\x15GetOrganizationMember\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"(\n\x16GetOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xab\x02\n\x17GetOrganizationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12K\n\x07members\x18\x07 \x03(\x0b\x32\x31.proto.services.user_svc.v1.GetOrganizationMemberR\x07membersB\r\n\x0b_avatar_url\"8\n\x1dGetOrganizationsByUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xd8\x04\n\x1eGetOrganizationsByUserResponse\x12m\n\rorganizations\x18\x01 \x03(\x0b\x32G.proto.services.user_svc.v1.GetOrganizationsByUserResponse.OrganizationR\rorganizations\x1a\xc6\x03\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12h\n\x07members\x18\x07 \x03(\x0b\x32N.proto.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_urlB\r\n\x0b_avatar_url\" \n\x1eGetOrganizationsForUserRequest\"\xdb\x04\n\x1fGetOrganizationsForUserResponse\x12n\n\rorganizations\x18\x01 \x03(\x0b\x32H.proto.services.user_svc.v1.GetOrganizationsForUserResponse.OrganizationR\rorganizations\x1a\xc7\x03\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12i\n\x07members\x18\x07 \x03(\x0b\x32O.proto.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_urlB\r\n\x0b_avatar_url\"\xb3\x02\n\x19UpdateOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12 \n\tlong_name\x18\x02 \x01(\tH\x00R\x08longName\x88\x01\x01\x12\"\n\nshort_name\x18\x03 \x01(\tH\x01R\tshortName\x88\x01\x01\x12(\n\rcontact_email\x18\x04 \x01(\tH\x02R\x0c\x63ontactEmail\x88\x01\x01\x12\"\n\navatar_url\x18\x05 \x01(\tH\x03R\tavatarUrl\x88\x01\x01\x12$\n\x0bis_personal\x18\x06 \x01(\x08H\x04R\nisPersonal\x88\x01\x01\x42\x0c\n\n_long_nameB\r\n\x0b_short_nameB\x10\n\x0e_contact_emailB\r\n\x0b_avatar_urlB\x0e\n\x0c_is_personal\"\x1c\n\x1aUpdateOrganizationResponse\"+\n\x19\x44\x65leteOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1a\x44\x65leteOrganizationResponse\"1\n\x1fGetMembersByOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x8a\x02\n GetMembersByOrganizationResponse\x12]\n\x07members\x18\x01 \x03(\x0b\x32\x43.proto.services.user_svc.v1.GetMembersByOrganizationResponse.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\";\n\x10\x41\x64\x64MemberRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x13\n\x11\x41\x64\x64MemberResponse\">\n\x13RemoveMemberRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x16\n\x14RemoveMemberResponse\"T\n\x13InviteMemberRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\"&\n\x14InviteMemberResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xa0\x01\n#GetInvitationsByOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x46\n\x05state\x18\x02 \x01(\x0e\x32+.proto.services.user_svc.v1.InvitationStateH\x00R\x05state\x88\x01\x01\x42\x08\n\x06_state\"\xb6\x02\n$GetInvitationsByOrganizationResponse\x12m\n\x0binvitations\x18\x01 \x03(\x0b\x32K.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse.InvitationR\x0binvitations\x1a\x9e\x01\n\nInvitation\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12\x41\n\x05state\x18\x04 \x01(\x0e\x32+.proto.services.user_svc.v1.InvitationStateR\x05state\"o\n\x1bGetInvitationsByUserRequest\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32+.proto.services.user_svc.v1.InvitationStateH\x00R\x05state\x88\x01\x01\x42\x08\n\x06_state\"\xe3\x03\n\x1cGetInvitationsByUserResponse\x12\x65\n\x0binvitations\x18\x01 \x03(\x0b\x32\x43.proto.services.user_svc.v1.GetInvitationsByUserResponse.InvitationR\x0binvitations\x1a\xdb\x02\n\nInvitation\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12t\n\x0corganization\x18\x03 \x01(\x0b\x32P.proto.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.OrganizationR\x0corganization\x12\x41\n\x05state\x18\x04 \x01(\x0e\x32+.proto.services.user_svc.v1.InvitationStateR\x05state\x1an\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\"\n\navatar_url\x18\x03 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\">\n\x17\x41\x63\x63\x65ptInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1a\n\x18\x41\x63\x63\x65ptInvitationResponse\"?\n\x18\x44\x65\x63lineInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1b\n\x19\x44\x65\x63lineInvitationResponse\">\n\x17RevokeInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1a\n\x18RevokeInvitationResponse*\xad\x01\n\x0fInvitationState\x12 \n\x1cINVITATION_STATE_UNSPECIFIED\x10\x00\x12\x1c\n\x18INVITATION_STATE_PENDING\x10\x01\x12\x1d\n\x19INVITATION_STATE_ACCEPTED\x10\x02\x12\x1d\n\x19INVITATION_STATE_REJECTED\x10\x03\x12\x1c\n\x18INVITATION_STATE_REVOKED\x10\x04\x32\x9e\x11\n\x13OrganizationService\x12\x85\x01\n\x12\x43reateOrganization\x12\x35.proto.services.user_svc.v1.CreateOrganizationRequest\x1a\x36.proto.services.user_svc.v1.CreateOrganizationResponse\"\x00\x12\x9a\x01\n\x19\x43reateOrganizationForUser\x12<.proto.services.user_svc.v1.CreateOrganizationForUserRequest\x1a=.proto.services.user_svc.v1.CreateOrganizationForUserResponse\"\x00\x12|\n\x0fGetOrganization\x12\x32.proto.services.user_svc.v1.GetOrganizationRequest\x1a\x33.proto.services.user_svc.v1.GetOrganizationResponse\"\x00\x12\x91\x01\n\x16GetOrganizationsByUser\x12\x39.proto.services.user_svc.v1.GetOrganizationsByUserRequest\x1a:.proto.services.user_svc.v1.GetOrganizationsByUserResponse\"\x00\x12\x94\x01\n\x17GetOrganizationsForUser\x12:.proto.services.user_svc.v1.GetOrganizationsForUserRequest\x1a;.proto.services.user_svc.v1.GetOrganizationsForUserResponse\"\x00\x12\x85\x01\n\x12UpdateOrganization\x12\x35.proto.services.user_svc.v1.UpdateOrganizationRequest\x1a\x36.proto.services.user_svc.v1.UpdateOrganizationResponse\"\x00\x12\x85\x01\n\x12\x44\x65leteOrganization\x12\x35.proto.services.user_svc.v1.DeleteOrganizationRequest\x1a\x36.proto.services.user_svc.v1.DeleteOrganizationResponse\"\x00\x12\x97\x01\n\x18GetMembersByOrganization\x12;.proto.services.user_svc.v1.GetMembersByOrganizationRequest\x1a<.proto.services.user_svc.v1.GetMembersByOrganizationResponse\"\x00\x12j\n\tAddMember\x12,.proto.services.user_svc.v1.AddMemberRequest\x1a-.proto.services.user_svc.v1.AddMemberResponse\"\x00\x12s\n\x0cRemoveMember\x12/.proto.services.user_svc.v1.RemoveMemberRequest\x1a\x30.proto.services.user_svc.v1.RemoveMemberResponse\"\x00\x12s\n\x0cInviteMember\x12/.proto.services.user_svc.v1.InviteMemberRequest\x1a\x30.proto.services.user_svc.v1.InviteMemberResponse\"\x00\x12\xa3\x01\n\x1cGetInvitationsByOrganization\x12?.proto.services.user_svc.v1.GetInvitationsByOrganizationRequest\x1a@.proto.services.user_svc.v1.GetInvitationsByOrganizationResponse\"\x00\x12\x8b\x01\n\x14GetInvitationsByUser\x12\x37.proto.services.user_svc.v1.GetInvitationsByUserRequest\x1a\x38.proto.services.user_svc.v1.GetInvitationsByUserResponse\"\x00\x12\x7f\n\x10\x41\x63\x63\x65ptInvitation\x12\x33.proto.services.user_svc.v1.AcceptInvitationRequest\x1a\x34.proto.services.user_svc.v1.AcceptInvitationResponse\"\x00\x12\x82\x01\n\x11\x44\x65\x63lineInvitation\x12\x34.proto.services.user_svc.v1.DeclineInvitationRequest\x1a\x35.proto.services.user_svc.v1.DeclineInvitationResponse\"\x00\x12\x7f\n\x10RevokeInvitation\x12\x33.proto.services.user_svc.v1.RevokeInvitationRequest\x1a\x34.proto.services.user_svc.v1.RevokeInvitationResponse\"\x00\x42\xda\x01\n\x1e\x63om.proto.services.user_svc.v1B\x14OrganizationSvcProtoP\x01Z\x1bgen/proto/services/user-svc\xa2\x02\x03PSU\xaa\x02\x19Proto.Services.UserSvc.V1\xca\x02\x19Proto\\Services\\UserSvc\\V1\xe2\x02%Proto\\Services\\UserSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::UserSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.user_svc.v1.organization_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.user_svc.v1B\024OrganizationSvcProtoP\001Z\033gen/proto/services/user-svc\242\002\003PSU\252\002\031Proto.Services.UserSvc.V1\312\002\031Proto\\Services\\UserSvc\\V1\342\002%Proto\\Services\\UserSvc\\V1\\GPBMetadata\352\002\034Proto::Services::UserSvc::V1' - _globals['_INVITATIONSTATE']._serialized_start=4654 - _globals['_INVITATIONSTATE']._serialized_end=4827 - _globals['_CREATEORGANIZATIONREQUEST']._serialized_start=82 - _globals['_CREATEORGANIZATIONREQUEST']._serialized_end=260 - _globals['_CREATEORGANIZATIONRESPONSE']._serialized_start=262 - _globals['_CREATEORGANIZATIONRESPONSE']._serialized_end=306 - _globals['_CREATEORGANIZATIONFORUSERREQUEST']._serialized_start=309 - _globals['_CREATEORGANIZATIONFORUSERREQUEST']._serialized_end=519 - _globals['_CREATEORGANIZATIONFORUSERRESPONSE']._serialized_start=521 - _globals['_CREATEORGANIZATIONFORUSERRESPONSE']._serialized_end=572 - _globals['_GETORGANIZATIONMEMBER']._serialized_start=574 - _globals['_GETORGANIZATIONMEMBER']._serialized_end=622 - _globals['_GETORGANIZATIONREQUEST']._serialized_start=624 - _globals['_GETORGANIZATIONREQUEST']._serialized_end=664 - _globals['_GETORGANIZATIONRESPONSE']._serialized_start=667 - _globals['_GETORGANIZATIONRESPONSE']._serialized_end=966 - _globals['_GETORGANIZATIONSBYUSERREQUEST']._serialized_start=968 - _globals['_GETORGANIZATIONSBYUSERREQUEST']._serialized_end=1024 - _globals['_GETORGANIZATIONSBYUSERRESPONSE']._serialized_start=1027 - _globals['_GETORGANIZATIONSBYUSERRESPONSE']._serialized_end=1627 - _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION']._serialized_start=1173 - _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION']._serialized_end=1627 - _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_start=1478 - _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_end=1612 - _globals['_GETORGANIZATIONSFORUSERREQUEST']._serialized_start=1629 - _globals['_GETORGANIZATIONSFORUSERREQUEST']._serialized_end=1661 - _globals['_GETORGANIZATIONSFORUSERRESPONSE']._serialized_start=1664 - _globals['_GETORGANIZATIONSFORUSERRESPONSE']._serialized_end=2267 - _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION']._serialized_start=1812 - _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION']._serialized_end=2267 - _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_start=1478 - _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_end=1612 - _globals['_UPDATEORGANIZATIONREQUEST']._serialized_start=2270 - _globals['_UPDATEORGANIZATIONREQUEST']._serialized_end=2577 - _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_start=2579 - _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_end=2607 - _globals['_DELETEORGANIZATIONREQUEST']._serialized_start=2609 - _globals['_DELETEORGANIZATIONREQUEST']._serialized_end=2652 - _globals['_DELETEORGANIZATIONRESPONSE']._serialized_start=2654 - _globals['_DELETEORGANIZATIONRESPONSE']._serialized_end=2682 - _globals['_GETMEMBERSBYORGANIZATIONREQUEST']._serialized_start=2684 - _globals['_GETMEMBERSBYORGANIZATIONREQUEST']._serialized_end=2733 - _globals['_GETMEMBERSBYORGANIZATIONRESPONSE']._serialized_start=2736 - _globals['_GETMEMBERSBYORGANIZATIONRESPONSE']._serialized_end=3002 - _globals['_GETMEMBERSBYORGANIZATIONRESPONSE_MEMBER']._serialized_start=1478 - _globals['_GETMEMBERSBYORGANIZATIONRESPONSE_MEMBER']._serialized_end=1612 - _globals['_ADDMEMBERREQUEST']._serialized_start=3004 - _globals['_ADDMEMBERREQUEST']._serialized_end=3063 - _globals['_ADDMEMBERRESPONSE']._serialized_start=3065 - _globals['_ADDMEMBERRESPONSE']._serialized_end=3084 - _globals['_REMOVEMEMBERREQUEST']._serialized_start=3086 - _globals['_REMOVEMEMBERREQUEST']._serialized_end=3148 - _globals['_REMOVEMEMBERRESPONSE']._serialized_start=3150 - _globals['_REMOVEMEMBERRESPONSE']._serialized_end=3172 - _globals['_INVITEMEMBERREQUEST']._serialized_start=3174 - _globals['_INVITEMEMBERREQUEST']._serialized_end=3258 - _globals['_INVITEMEMBERRESPONSE']._serialized_start=3260 - _globals['_INVITEMEMBERRESPONSE']._serialized_end=3298 - _globals['_GETINVITATIONSBYORGANIZATIONREQUEST']._serialized_start=3301 - _globals['_GETINVITATIONSBYORGANIZATIONREQUEST']._serialized_end=3461 - _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE']._serialized_start=3464 - _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE']._serialized_end=3774 - _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE_INVITATION']._serialized_start=3616 - _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE_INVITATION']._serialized_end=3774 - _globals['_GETINVITATIONSBYUSERREQUEST']._serialized_start=3776 - _globals['_GETINVITATIONSBYUSERREQUEST']._serialized_end=3887 - _globals['_GETINVITATIONSBYUSERRESPONSE']._serialized_start=3890 - _globals['_GETINVITATIONSBYUSERRESPONSE']._serialized_end=4373 - _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION']._serialized_start=4026 - _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION']._serialized_end=4373 - _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION_ORGANIZATION']._serialized_start=4263 - _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION_ORGANIZATION']._serialized_end=4373 - _globals['_ACCEPTINVITATIONREQUEST']._serialized_start=4375 - _globals['_ACCEPTINVITATIONREQUEST']._serialized_end=4437 - _globals['_ACCEPTINVITATIONRESPONSE']._serialized_start=4439 - _globals['_ACCEPTINVITATIONRESPONSE']._serialized_end=4465 - _globals['_DECLINEINVITATIONREQUEST']._serialized_start=4467 - _globals['_DECLINEINVITATIONREQUEST']._serialized_end=4530 - _globals['_DECLINEINVITATIONRESPONSE']._serialized_start=4532 - _globals['_DECLINEINVITATIONRESPONSE']._serialized_end=4559 - _globals['_REVOKEINVITATIONREQUEST']._serialized_start=4561 - _globals['_REVOKEINVITATIONREQUEST']._serialized_end=4623 - _globals['_REVOKEINVITATIONRESPONSE']._serialized_start=4625 - _globals['_REVOKEINVITATIONRESPONSE']._serialized_end=4651 - _globals['_ORGANIZATIONSERVICE']._serialized_start=4830 - _globals['_ORGANIZATIONSERVICE']._serialized_end=7036 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/user_svc/v1/organization_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/user_svc/v1/organization_svc_pb2_grpc.py deleted file mode 100644 index deed4283c..000000000 --- a/services/impulse_svc/gen/proto/services/user_svc/v1/organization_svc_pb2_grpc.py +++ /dev/null @@ -1,573 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.user_svc.v1 import organization_svc_pb2 as proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2 - - -class OrganizationServiceStub(object): - """ - OrganizationService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/CreateOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.FromString, - ) - self.CreateOrganizationForUser = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/CreateOrganizationForUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.FromString, - ) - self.GetOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.FromString, - ) - self.GetOrganizationsByUser = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsByUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.FromString, - ) - self.GetOrganizationsForUser = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsForUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.FromString, - ) - self.UpdateOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/UpdateOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.FromString, - ) - self.DeleteOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/DeleteOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.FromString, - ) - self.GetMembersByOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetMembersByOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.FromString, - ) - self.AddMember = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/AddMember', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.FromString, - ) - self.RemoveMember = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/RemoveMember', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.FromString, - ) - self.InviteMember = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/InviteMember', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.FromString, - ) - self.GetInvitationsByOrganization = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.FromString, - ) - self.GetInvitationsByUser = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.FromString, - ) - self.AcceptInvitation = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/AcceptInvitation', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.FromString, - ) - self.DeclineInvitation = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/DeclineInvitation', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.FromString, - ) - self.RevokeInvitation = channel.unary_unary( - '/proto.services.user_svc.v1.OrganizationService/RevokeInvitation', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.FromString, - ) - - -class OrganizationServiceServicer(object): - """ - OrganizationService - - - """ - - def CreateOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateOrganizationForUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetOrganizationsByUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetOrganizationsForUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetMembersByOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddMember(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RemoveMember(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def InviteMember(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetInvitationsByOrganization(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetInvitationsByUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AcceptInvitation(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeclineInvitation(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RevokeInvitation(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_OrganizationServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateOrganization': grpc.unary_unary_rpc_method_handler( - servicer.CreateOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.SerializeToString, - ), - 'CreateOrganizationForUser': grpc.unary_unary_rpc_method_handler( - servicer.CreateOrganizationForUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.SerializeToString, - ), - 'GetOrganization': grpc.unary_unary_rpc_method_handler( - servicer.GetOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.SerializeToString, - ), - 'GetOrganizationsByUser': grpc.unary_unary_rpc_method_handler( - servicer.GetOrganizationsByUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.SerializeToString, - ), - 'GetOrganizationsForUser': grpc.unary_unary_rpc_method_handler( - servicer.GetOrganizationsForUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.SerializeToString, - ), - 'UpdateOrganization': grpc.unary_unary_rpc_method_handler( - servicer.UpdateOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.SerializeToString, - ), - 'DeleteOrganization': grpc.unary_unary_rpc_method_handler( - servicer.DeleteOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.SerializeToString, - ), - 'GetMembersByOrganization': grpc.unary_unary_rpc_method_handler( - servicer.GetMembersByOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.SerializeToString, - ), - 'AddMember': grpc.unary_unary_rpc_method_handler( - servicer.AddMember, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.SerializeToString, - ), - 'RemoveMember': grpc.unary_unary_rpc_method_handler( - servicer.RemoveMember, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.SerializeToString, - ), - 'InviteMember': grpc.unary_unary_rpc_method_handler( - servicer.InviteMember, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.SerializeToString, - ), - 'GetInvitationsByOrganization': grpc.unary_unary_rpc_method_handler( - servicer.GetInvitationsByOrganization, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.SerializeToString, - ), - 'GetInvitationsByUser': grpc.unary_unary_rpc_method_handler( - servicer.GetInvitationsByUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.SerializeToString, - ), - 'AcceptInvitation': grpc.unary_unary_rpc_method_handler( - servicer.AcceptInvitation, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.SerializeToString, - ), - 'DeclineInvitation': grpc.unary_unary_rpc_method_handler( - servicer.DeclineInvitation, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.SerializeToString, - ), - 'RevokeInvitation': grpc.unary_unary_rpc_method_handler( - servicer.RevokeInvitation, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.user_svc.v1.OrganizationService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class OrganizationService(object): - """ - OrganizationService - - - """ - - @staticmethod - def CreateOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/CreateOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CreateOrganizationForUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/CreateOrganizationForUser', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetOrganizationsByUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsByUser', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetOrganizationsForUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetOrganizationsForUser', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/UpdateOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/DeleteOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetMembersByOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetMembersByOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AddMember(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/AddMember', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RemoveMember(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/RemoveMember', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def InviteMember(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/InviteMember', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetInvitationsByOrganization(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetInvitationsByUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/GetInvitationsByUser', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AcceptInvitation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/AcceptInvitation', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeclineInvitation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/DeclineInvitation', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RevokeInvitation(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.OrganizationService/RevokeInvitation', - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/proto/services/user_svc/v1/user_svc_pb2.py b/services/impulse_svc/gen/proto/services/user_svc/v1/user_svc_pb2.py deleted file mode 100644 index 78b67d905..000000000 --- a/services/impulse_svc/gen/proto/services/user_svc/v1/user_svc_pb2.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: proto/services/user_svc/v1/user_svc.proto -# Protobuf Python Version: 4.25.2 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)proto/services/user_svc/v1/user_svc.proto\x12\x1aproto.services.user_svc.v1\"i\n\x11\x43reateUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"$\n\x12\x43reateUserResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"&\n\x14ReadSelfOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x11\n\x0fReadSelfRequest\"\xdd\x01\n\x10ReadSelfResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12V\n\rorganizations\x18\x05 \x03(\x0b\x32\x30.proto.services.user_svc.v1.ReadSelfOrganizationR\rorganizationsB\r\n\x0b_avatar_url\"*\n\x18ReadPublicProfileRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x8e\x01\n\x19ReadPublicProfileResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\"#\n\x11UpdateUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12UpdateUserResponse2\xd9\x03\n\x0bUserService\x12m\n\nCreateUser\x12-.proto.services.user_svc.v1.CreateUserRequest\x1a..proto.services.user_svc.v1.CreateUserResponse\"\x00\x12g\n\x08ReadSelf\x12+.proto.services.user_svc.v1.ReadSelfRequest\x1a,.proto.services.user_svc.v1.ReadSelfResponse\"\x00\x12\x82\x01\n\x11ReadPublicProfile\x12\x34.proto.services.user_svc.v1.ReadPublicProfileRequest\x1a\x35.proto.services.user_svc.v1.ReadPublicProfileResponse\"\x00\x12m\n\nUpdateUser\x12-.proto.services.user_svc.v1.UpdateUserRequest\x1a..proto.services.user_svc.v1.UpdateUserResponse\"\x00\x42\xd2\x01\n\x1e\x63om.proto.services.user_svc.v1B\x0cUserSvcProtoP\x01Z\x1bgen/proto/services/user-svc\xa2\x02\x03PSU\xaa\x02\x19Proto.Services.UserSvc.V1\xca\x02\x19Proto\\Services\\UserSvc\\V1\xe2\x02%Proto\\Services\\UserSvc\\V1\\GPBMetadata\xea\x02\x1cProto::Services::UserSvc::V1b\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.services.user_svc.v1.user_svc_pb2', _globals) -if _descriptor._USE_C_DESCRIPTORS == False: - _globals['DESCRIPTOR']._options = None - _globals['DESCRIPTOR']._serialized_options = b'\n\036com.proto.services.user_svc.v1B\014UserSvcProtoP\001Z\033gen/proto/services/user-svc\242\002\003PSU\252\002\031Proto.Services.UserSvc.V1\312\002\031Proto\\Services\\UserSvc\\V1\342\002%Proto\\Services\\UserSvc\\V1\\GPBMetadata\352\002\034Proto::Services::UserSvc::V1' - _globals['_CREATEUSERREQUEST']._serialized_start=73 - _globals['_CREATEUSERREQUEST']._serialized_end=178 - _globals['_CREATEUSERRESPONSE']._serialized_start=180 - _globals['_CREATEUSERRESPONSE']._serialized_end=216 - _globals['_READSELFORGANIZATION']._serialized_start=218 - _globals['_READSELFORGANIZATION']._serialized_end=256 - _globals['_READSELFREQUEST']._serialized_start=258 - _globals['_READSELFREQUEST']._serialized_end=275 - _globals['_READSELFRESPONSE']._serialized_start=278 - _globals['_READSELFRESPONSE']._serialized_end=499 - _globals['_READPUBLICPROFILEREQUEST']._serialized_start=501 - _globals['_READPUBLICPROFILEREQUEST']._serialized_end=543 - _globals['_READPUBLICPROFILERESPONSE']._serialized_start=546 - _globals['_READPUBLICPROFILERESPONSE']._serialized_end=688 - _globals['_UPDATEUSERREQUEST']._serialized_start=690 - _globals['_UPDATEUSERREQUEST']._serialized_end=725 - _globals['_UPDATEUSERRESPONSE']._serialized_start=727 - _globals['_UPDATEUSERRESPONSE']._serialized_end=747 - _globals['_USERSERVICE']._serialized_start=750 - _globals['_USERSERVICE']._serialized_end=1223 -# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/user_svc/v1/user_svc_pb2_grpc.py b/services/impulse_svc/gen/proto/services/user_svc/v1/user_svc_pb2_grpc.py deleted file mode 100644 index b5251c715..000000000 --- a/services/impulse_svc/gen/proto/services/user_svc/v1/user_svc_pb2_grpc.py +++ /dev/null @@ -1,177 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from proto.services.user_svc.v1 import user_svc_pb2 as proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2 - - -class UserServiceStub(object): - """ - UserService - - - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateUser = channel.unary_unary( - '/proto.services.user_svc.v1.UserService/CreateUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.FromString, - ) - self.ReadSelf = channel.unary_unary( - '/proto.services.user_svc.v1.UserService/ReadSelf', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.FromString, - ) - self.ReadPublicProfile = channel.unary_unary( - '/proto.services.user_svc.v1.UserService/ReadPublicProfile', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.FromString, - ) - self.UpdateUser = channel.unary_unary( - '/proto.services.user_svc.v1.UserService/UpdateUser', - request_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.FromString, - ) - - -class UserServiceServicer(object): - """ - UserService - - - """ - - def CreateUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ReadSelf(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ReadPublicProfile(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateUser(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_UserServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateUser': grpc.unary_unary_rpc_method_handler( - servicer.CreateUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.SerializeToString, - ), - 'ReadSelf': grpc.unary_unary_rpc_method_handler( - servicer.ReadSelf, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.SerializeToString, - ), - 'ReadPublicProfile': grpc.unary_unary_rpc_method_handler( - servicer.ReadPublicProfile, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.SerializeToString, - ), - 'UpdateUser': grpc.unary_unary_rpc_method_handler( - servicer.UpdateUser, - request_deserializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.FromString, - response_serializer=proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.user_svc.v1.UserService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class UserService(object): - """ - UserService - - - """ - - @staticmethod - def CreateUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.UserService/CreateUser', - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ReadSelf(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.UserService/ReadSelf', - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ReadPublicProfile(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.UserService/ReadPublicProfile', - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateUser(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.user_svc.v1.UserService/UpdateUser', - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.SerializeToString, - proto_dot_services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/services/impulse_svc/gen/services/auth_svc/v1/auth_svc_pb2.py b/services/impulse_svc/gen/services/auth_svc/v1/auth_svc_pb2.py new file mode 100644 index 000000000..23a62b073 --- /dev/null +++ b/services/impulse_svc/gen/services/auth_svc/v1/auth_svc_pb2.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/auth_svc/v1/auth_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#services/auth_svc/v1/auth_svc.proto\x12\x14services.auth_svc.v1\"\x1a\n\x18PrelimAuthRequestRequest\"-\n\x19PrelimAuthRequestResponse\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url2\x85\x01\n\x0b\x41uthService\x12v\n\x11PrelimAuthRequest\x12..services.auth_svc.v1.PrelimAuthRequestRequest\x1a/.services.auth_svc.v1.PrelimAuthRequestResponse\"\x00\x42\xb3\x01\n\x18\x63om.services.auth_svc.v1B\x0c\x41uthSvcProtoP\x01Z\x1bgen/proto/services/auth-svc\xa2\x02\x03SAX\xaa\x02\x13Services.AuthSvc.V1\xca\x02\x13Services\\AuthSvc\\V1\xe2\x02\x1fServices\\AuthSvc\\V1\\GPBMetadata\xea\x02\x15Services::AuthSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.auth_svc.v1.auth_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.auth_svc.v1B\014AuthSvcProtoP\001Z\033gen/proto/services/auth-svc\242\002\003SAX\252\002\023Services.AuthSvc.V1\312\002\023Services\\AuthSvc\\V1\342\002\037Services\\AuthSvc\\V1\\GPBMetadata\352\002\025Services::AuthSvc::V1' + _globals['_PRELIMAUTHREQUESTREQUEST']._serialized_start=61 + _globals['_PRELIMAUTHREQUESTREQUEST']._serialized_end=87 + _globals['_PRELIMAUTHREQUESTRESPONSE']._serialized_start=89 + _globals['_PRELIMAUTHREQUESTRESPONSE']._serialized_end=134 + _globals['_AUTHSERVICE']._serialized_start=137 + _globals['_AUTHSERVICE']._serialized_end=270 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/auth_svc/v1/auth_svc_pb2_grpc.py b/services/impulse_svc/gen/services/auth_svc/v1/auth_svc_pb2_grpc.py similarity index 50% rename from services/impulse_svc/gen/proto/services/auth_svc/v1/auth_svc_pb2_grpc.py rename to services/impulse_svc/gen/services/auth_svc/v1/auth_svc_pb2_grpc.py index 79c8a55e3..f009f4f79 100644 --- a/services/impulse_svc/gen/proto/services/auth_svc/v1/auth_svc_pb2_grpc.py +++ b/services/impulse_svc/gen/services/auth_svc/v1/auth_svc_pb2_grpc.py @@ -2,7 +2,7 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from proto.services.auth_svc.v1 import auth_svc_pb2 as proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2 +from services.auth_svc.v1 import auth_svc_pb2 as services_dot_auth__svc_dot_v1_dot_auth__svc__pb2 class AuthServiceStub(object): @@ -19,10 +19,10 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.PrelimAuthRequest = channel.unary_unary( - '/proto.services.auth_svc.v1.AuthService/PrelimAuthRequest', - request_serializer=proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.SerializeToString, - response_deserializer=proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.FromString, - ) + '/services.auth_svc.v1.AuthService/PrelimAuthRequest', + request_serializer=services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.SerializeToString, + response_deserializer=services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.FromString, + _registered_method=True) class AuthServiceServicer(object): @@ -43,13 +43,14 @@ def add_AuthServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'PrelimAuthRequest': grpc.unary_unary_rpc_method_handler( servicer.PrelimAuthRequest, - request_deserializer=proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.FromString, - response_serializer=proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.SerializeToString, + request_deserializer=services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.FromString, + response_serializer=services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'proto.services.auth_svc.v1.AuthService', rpc_method_handlers) + 'services.auth_svc.v1.AuthService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.auth_svc.v1.AuthService', rpc_method_handlers) # This class is part of an EXPERIMENTAL API. @@ -71,8 +72,18 @@ def PrelimAuthRequest(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/proto.services.auth_svc.v1.AuthService/PrelimAuthRequest', - proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.SerializeToString, - proto_dot_services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + return grpc.experimental.unary_unary( + request, + target, + '/services.auth_svc.v1.AuthService/PrelimAuthRequest', + services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestRequest.SerializeToString, + services_dot_auth__svc_dot_v1_dot_auth__svc__pb2.PrelimAuthRequestResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/impulse_svc/v1/impulse_svc_pb2.py b/services/impulse_svc/gen/services/impulse_svc/v1/impulse_svc_pb2.py new file mode 100644 index 000000000..11c1a8317 --- /dev/null +++ b/services/impulse_svc/gen/services/impulse_svc/v1/impulse_svc_pb2.py @@ -0,0 +1,95 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/impulse_svc/v1/impulse_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)services/impulse_svc/v1/impulse_svc.proto\x12\x17services.impulse_svc.v1\"\xc6\x01\n\x11\x43reateUserRequest\x12\x1a\n\x08username\x18\x01 \x01(\tR\x08username\x12\x37\n\x06gender\x18\x02 \x01(\x0e\x32\x1f.services.impulse_svc.v1.GenderR\x06gender\x12\x1a\n\x08\x62irthday\x18\x03 \x01(\tR\x08\x62irthday\x12\x10\n\x03pal\x18\x04 \x01(\x02R\x03pal\x12\x16\n\x06length\x18\x05 \x01(\x05R\x06length\x12\x16\n\x06weight\x18\x06 \x01(\x02R\x06weight\"-\n\x12\x43reateUserResponse\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xbc\x02\n\x11UpdateUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x1c\n\x07team_id\x18\x02 \x01(\tH\x00R\x06teamId\x88\x01\x01\x12<\n\x06gender\x18\x03 \x01(\x0e\x32\x1f.services.impulse_svc.v1.GenderH\x01R\x06gender\x88\x01\x01\x12\x1f\n\x08\x62irthday\x18\x04 \x01(\tH\x02R\x08\x62irthday\x88\x01\x01\x12\x15\n\x03pal\x18\x05 \x01(\x02H\x03R\x03pal\x88\x01\x01\x12\x1b\n\x06length\x18\x06 \x01(\x05H\x04R\x06length\x88\x01\x01\x12\x1b\n\x06weight\x18\x07 \x01(\x02H\x05R\x06weight\x88\x01\x01\x42\n\n\x08_team_idB\t\n\x07_genderB\x0b\n\t_birthdayB\x06\n\x04_palB\t\n\x07_lengthB\t\n\x07_weight\"\xee\x01\n\x12UpdateUserResponse\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x1c\n\x07team_id\x18\x02 \x01(\tH\x00R\x06teamId\x88\x01\x01\x12\x37\n\x06gender\x18\x03 \x01(\x0e\x32\x1f.services.impulse_svc.v1.GenderR\x06gender\x12\x1a\n\x08\x62irthday\x18\x04 \x01(\tR\x08\x62irthday\x12\x10\n\x03pal\x18\x05 \x01(\x02R\x03pal\x12\x16\n\x06length\x18\x06 \x01(\x05R\x06length\x12\x16\n\x06weight\x18\x07 \x01(\x02R\x06weightB\n\n\x08_team_id\"\x14\n\x12GetAllTeamsRequest\"\xb5\x01\n\x13GetAllTeamsResponse\x12G\n\x05teams\x18\x01 \x03(\x0b\x32\x31.services.impulse_svc.v1.GetAllTeamsResponse.TeamR\x05teams\x1aU\n\x04Team\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"\x82\x01\n\x15TrackChallengeRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x14\n\x05score\x18\x03 \x01(\x04R\x05score\x12\x17\n\x07\x64one_at\x18\x04 \x01(\tR\x06\x64oneAt\";\n\x16TrackChallengeResponse\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\"\x1c\n\x1aGetActiveChallengesRequest\"\xe6\x03\n\x1bGetActiveChallengesResponse\x12^\n\nchallenges\x18\x01 \x03(\x0b\x32>.services.impulse_svc.v1.GetActiveChallengesResponse.ChallengeR\nchallenges\x1a\xe6\x02\n\tChallenge\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x19\n\x08start_at\x18\x04 \x01(\tR\x07startAt\x12\x15\n\x06\x65nd_at\x18\x05 \x01(\tR\x05\x65ndAt\x12\x46\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32*.services.impulse_svc.v1.ChallengeCategoryR\x08\x63\x61tegory\x12:\n\x04type\x18\x07 \x01(\x0e\x32&.services.impulse_svc.v1.ChallengeTypeR\x04type\x12\x1c\n\tthreshold\x18\x08 \x01(\x04R\tthreshold\x12\x16\n\x06points\x18\t \x01(\x04R\x06points\x12\x12\n\x04unit\x18\n \x01(\tR\x04unit\"\xc0\x03\n\x16UpdateChallengeRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x19\n\x05title\x18\x02 \x01(\tH\x00R\x05title\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1e\n\x08start_at\x18\x04 \x01(\tH\x02R\x07startAt\x88\x01\x01\x12\x1a\n\x06\x65nd_at\x18\x05 \x01(\tH\x03R\x05\x65ndAt\x88\x01\x01\x12K\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32*.services.impulse_svc.v1.ChallengeCategoryH\x04R\x08\x63\x61tegory\x88\x01\x01\x12!\n\tthreshold\x18\x07 \x01(\x04H\x05R\tthreshold\x88\x01\x01\x12\x1b\n\x06points\x18\x08 \x01(\x04H\x06R\x06points\x88\x01\x01\x12\x17\n\x04unit\x18\t \x01(\tH\x07R\x04unit\x88\x01\x01\x42\x08\n\x06_titleB\x0e\n\x0c_descriptionB\x0b\n\t_start_atB\t\n\x07_end_atB\x0b\n\t_categoryB\x0c\n\n_thresholdB\t\n\x07_pointsB\x07\n\x05_unit\"\xf4\x02\n\x17UpdateChallengeResponse\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x19\n\x08start_at\x18\x04 \x01(\tR\x07startAt\x12\x15\n\x06\x65nd_at\x18\x05 \x01(\tR\x05\x65ndAt\x12\x46\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32*.services.impulse_svc.v1.ChallengeCategoryR\x08\x63\x61tegory\x12:\n\x04type\x18\x07 \x01(\x0e\x32&.services.impulse_svc.v1.ChallengeTypeR\x04type\x12\x1c\n\tthreshold\x18\x08 \x01(\x04R\tthreshold\x12\x16\n\x06points\x18\t \x01(\x04R\x06points\x12\x12\n\x04unit\x18\n \x01(\tR\x04unit\"*\n\x0fGetScoreRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"(\n\x10GetScoreResponse\x12\x14\n\x05score\x18\x01 \x01(\x04R\x05score\",\n\x11GetRewardsRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xd9\x01\n\x12GetRewardsResponse\x12L\n\x07rewards\x18\x01 \x03(\x0b\x32\x32.services.impulse_svc.v1.GetRewardsResponse.RewardR\x07rewards\x1au\n\x06Reward\x12\x1b\n\treward_id\x18\x01 \x01(\tR\x08rewardId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06points\x18\x05 \x01(\x04R\x06points\"\x16\n\x14GetAllRewardsRequest\"\xdf\x01\n\x15GetAllRewardsResponse\x12O\n\x07rewards\x18\x01 \x03(\x0b\x32\x35.services.impulse_svc.v1.GetAllRewardsResponse.RewardR\x07rewards\x1au\n\x06Reward\x12\x1b\n\treward_id\x18\x01 \x01(\tR\x08rewardId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06points\x18\x05 \x01(\x04R\x06points\"4\n\x19StatsForTeamByUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xcd\x02\n\x1aStatsForTeamByUserResponse\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\x12\x14\n\x05score\x18\x02 \x01(\x04R\x05score\x12\x62\n\x0cgender_count\x18\x03 \x03(\x0b\x32?.services.impulse_svc.v1.StatsForTeamByUserResponse.GenderCountR\x0bgenderCount\x12\x1f\n\x0b\x61verage_age\x18\x04 \x01(\x02R\naverageAge\x12\x1d\n\nuser_count\x18\x05 \x01(\x04R\tuserCount\x1a\\\n\x0bGenderCount\x12\x37\n\x06gender\x18\x01 \x01(\x0e\x32\x1f.services.impulse_svc.v1.GenderR\x06gender\x12\x14\n\x05\x63ount\x18\x02 \x01(\rR\x05\x63ount\"8\n\x13VerificationRequest\x12!\n\x0c\x63hallenge_id\x18\x01 \x01(\tR\x0b\x63hallengeId\"\x95\x04\n\x14VerificationResponse\x12s\n\x14string_verifications\x18\x01 \x03(\x0b\x32@.services.impulse_svc.v1.VerificationResponse.StringVerificationR\x13stringVerifications\x12v\n\x15integer_verifications\x18\x02 \x03(\x0b\x32\x41.services.impulse_svc.v1.VerificationResponse.IntegerVerificationR\x14integerVerifications\x1a\x85\x01\n\x12StringVerification\x12\x14\n\x05order\x18\x01 \x01(\rR\x05order\x12\x43\n\x04type\x18\x02 \x01(\x0e\x32/.services.impulse_svc.v1.StringVerificationTypeR\x04type\x12\x14\n\x05value\x18\x03 \x01(\tR\x05value\x1a\x87\x01\n\x13IntegerVerification\x12\x14\n\x05order\x18\x01 \x01(\rR\x05order\x12\x44\n\x04type\x18\x02 \x01(\x0e\x32\x30.services.impulse_svc.v1.IntegerVerificationTypeR\x04type\x12\x14\n\x05value\x18\x03 \x01(\x04R\x05value*c\n\rChallengeType\x12\x1e\n\x1a\x43HALLENGE_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x43HALLENGE_TYPE_DAILY\x10\x01\x12\x18\n\x14\x43HALLENGE_TYPE_QUEST\x10\x02*t\n\x11\x43hallengeCategory\x12\"\n\x1e\x43HALLENGE_CATEGORY_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43HALLENGE_CATEGORY_FOOD\x10\x01\x12\x1e\n\x1a\x43HALLENGE_CATEGORY_FITNESS\x10\x02*X\n\x06Gender\x12\x16\n\x12GENDER_UNSPECIFIED\x10\x00\x12\x0f\n\x0bGENDER_MALE\x10\x01\x12\x11\n\rGENDER_FEMALE\x10\x02\x12\x12\n\x0eGENDER_DIVERSE\x10\x03*c\n\x16StringVerificationType\x12(\n$STRING_VERIFICATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bSTRING_VERIFICATION_TYPE_QR\x10\x01*\x8f\x01\n\x17IntegerVerificationType\x12)\n%INTEGER_VERIFICATION_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1fINTEGER_VERIFICATION_TYPE_TIMER\x10\x01\x12$\n INTEGER_VERIFICATION_TYPE_NUMBER\x10\x02\x32\xf6\x08\n\x0eImpulseService\x12g\n\nCreateUser\x12*.services.impulse_svc.v1.CreateUserRequest\x1a+.services.impulse_svc.v1.CreateUserResponse\"\x00\x12g\n\nUpdateUser\x12*.services.impulse_svc.v1.UpdateUserRequest\x1a+.services.impulse_svc.v1.UpdateUserResponse\"\x00\x12s\n\x0eTrackChallenge\x12..services.impulse_svc.v1.TrackChallengeRequest\x1a/.services.impulse_svc.v1.TrackChallengeResponse\"\x00\x12\x82\x01\n\x13GetActiveChallenges\x12\x33.services.impulse_svc.v1.GetActiveChallengesRequest\x1a\x34.services.impulse_svc.v1.GetActiveChallengesResponse\"\x00\x12\x61\n\x08GetScore\x12(.services.impulse_svc.v1.GetScoreRequest\x1a).services.impulse_svc.v1.GetScoreResponse\"\x00\x12g\n\nGetRewards\x12*.services.impulse_svc.v1.GetRewardsRequest\x1a+.services.impulse_svc.v1.GetRewardsResponse\"\x00\x12p\n\rGetAllRewards\x12-.services.impulse_svc.v1.GetAllRewardsRequest\x1a..services.impulse_svc.v1.GetAllRewardsResponse\"\x00\x12j\n\x0bGetAllTeams\x12+.services.impulse_svc.v1.GetAllTeamsRequest\x1a,.services.impulse_svc.v1.GetAllTeamsResponse\"\x00\x12\x7f\n\x12StatsForTeamByUser\x12\x32.services.impulse_svc.v1.StatsForTeamByUserRequest\x1a\x33.services.impulse_svc.v1.StatsForTeamByUserResponse\"\x00\x12m\n\x0cVerification\x12,.services.impulse_svc.v1.VerificationRequest\x1a-.services.impulse_svc.v1.VerificationResponse\"\x00\x42\xc8\x01\n\x1b\x63om.services.impulse_svc.v1B\x0fImpulseSvcProtoP\x01Z\x1egen/proto/services/impulse-svc\xa2\x02\x03SIX\xaa\x02\x16Services.ImpulseSvc.V1\xca\x02\x16Services\\ImpulseSvc\\V1\xe2\x02\"Services\\ImpulseSvc\\V1\\GPBMetadata\xea\x02\x18Services::ImpulseSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.impulse_svc.v1.impulse_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\033com.services.impulse_svc.v1B\017ImpulseSvcProtoP\001Z\036gen/proto/services/impulse-svc\242\002\003SIX\252\002\026Services.ImpulseSvc.V1\312\002\026Services\\ImpulseSvc\\V1\342\002\"Services\\ImpulseSvc\\V1\\GPBMetadata\352\002\030Services::ImpulseSvc::V1' + _globals['_CHALLENGETYPE']._serialized_start=4209 + _globals['_CHALLENGETYPE']._serialized_end=4308 + _globals['_CHALLENGECATEGORY']._serialized_start=4310 + _globals['_CHALLENGECATEGORY']._serialized_end=4426 + _globals['_GENDER']._serialized_start=4428 + _globals['_GENDER']._serialized_end=4516 + _globals['_STRINGVERIFICATIONTYPE']._serialized_start=4518 + _globals['_STRINGVERIFICATIONTYPE']._serialized_end=4617 + _globals['_INTEGERVERIFICATIONTYPE']._serialized_start=4620 + _globals['_INTEGERVERIFICATIONTYPE']._serialized_end=4763 + _globals['_CREATEUSERREQUEST']._serialized_start=71 + _globals['_CREATEUSERREQUEST']._serialized_end=269 + _globals['_CREATEUSERRESPONSE']._serialized_start=271 + _globals['_CREATEUSERRESPONSE']._serialized_end=316 + _globals['_UPDATEUSERREQUEST']._serialized_start=319 + _globals['_UPDATEUSERREQUEST']._serialized_end=635 + _globals['_UPDATEUSERRESPONSE']._serialized_start=638 + _globals['_UPDATEUSERRESPONSE']._serialized_end=876 + _globals['_GETALLTEAMSREQUEST']._serialized_start=878 + _globals['_GETALLTEAMSREQUEST']._serialized_end=898 + _globals['_GETALLTEAMSRESPONSE']._serialized_start=901 + _globals['_GETALLTEAMSRESPONSE']._serialized_end=1082 + _globals['_GETALLTEAMSRESPONSE_TEAM']._serialized_start=997 + _globals['_GETALLTEAMSRESPONSE_TEAM']._serialized_end=1082 + _globals['_TRACKCHALLENGEREQUEST']._serialized_start=1085 + _globals['_TRACKCHALLENGEREQUEST']._serialized_end=1215 + _globals['_TRACKCHALLENGERESPONSE']._serialized_start=1217 + _globals['_TRACKCHALLENGERESPONSE']._serialized_end=1276 + _globals['_GETACTIVECHALLENGESREQUEST']._serialized_start=1278 + _globals['_GETACTIVECHALLENGESREQUEST']._serialized_end=1306 + _globals['_GETACTIVECHALLENGESRESPONSE']._serialized_start=1309 + _globals['_GETACTIVECHALLENGESRESPONSE']._serialized_end=1795 + _globals['_GETACTIVECHALLENGESRESPONSE_CHALLENGE']._serialized_start=1437 + _globals['_GETACTIVECHALLENGESRESPONSE_CHALLENGE']._serialized_end=1795 + _globals['_UPDATECHALLENGEREQUEST']._serialized_start=1798 + _globals['_UPDATECHALLENGEREQUEST']._serialized_end=2246 + _globals['_UPDATECHALLENGERESPONSE']._serialized_start=2249 + _globals['_UPDATECHALLENGERESPONSE']._serialized_end=2621 + _globals['_GETSCOREREQUEST']._serialized_start=2623 + _globals['_GETSCOREREQUEST']._serialized_end=2665 + _globals['_GETSCORERESPONSE']._serialized_start=2667 + _globals['_GETSCORERESPONSE']._serialized_end=2707 + _globals['_GETREWARDSREQUEST']._serialized_start=2709 + _globals['_GETREWARDSREQUEST']._serialized_end=2753 + _globals['_GETREWARDSRESPONSE']._serialized_start=2756 + _globals['_GETREWARDSRESPONSE']._serialized_end=2973 + _globals['_GETREWARDSRESPONSE_REWARD']._serialized_start=2856 + _globals['_GETREWARDSRESPONSE_REWARD']._serialized_end=2973 + _globals['_GETALLREWARDSREQUEST']._serialized_start=2975 + _globals['_GETALLREWARDSREQUEST']._serialized_end=2997 + _globals['_GETALLREWARDSRESPONSE']._serialized_start=3000 + _globals['_GETALLREWARDSRESPONSE']._serialized_end=3223 + _globals['_GETALLREWARDSRESPONSE_REWARD']._serialized_start=2856 + _globals['_GETALLREWARDSRESPONSE_REWARD']._serialized_end=2973 + _globals['_STATSFORTEAMBYUSERREQUEST']._serialized_start=3225 + _globals['_STATSFORTEAMBYUSERREQUEST']._serialized_end=3277 + _globals['_STATSFORTEAMBYUSERRESPONSE']._serialized_start=3280 + _globals['_STATSFORTEAMBYUSERRESPONSE']._serialized_end=3613 + _globals['_STATSFORTEAMBYUSERRESPONSE_GENDERCOUNT']._serialized_start=3521 + _globals['_STATSFORTEAMBYUSERRESPONSE_GENDERCOUNT']._serialized_end=3613 + _globals['_VERIFICATIONREQUEST']._serialized_start=3615 + _globals['_VERIFICATIONREQUEST']._serialized_end=3671 + _globals['_VERIFICATIONRESPONSE']._serialized_start=3674 + _globals['_VERIFICATIONRESPONSE']._serialized_end=4207 + _globals['_VERIFICATIONRESPONSE_STRINGVERIFICATION']._serialized_start=3936 + _globals['_VERIFICATIONRESPONSE_STRINGVERIFICATION']._serialized_end=4069 + _globals['_VERIFICATIONRESPONSE_INTEGERVERIFICATION']._serialized_start=4072 + _globals['_VERIFICATIONRESPONSE_INTEGERVERIFICATION']._serialized_end=4207 + _globals['_IMPULSESERVICE']._serialized_start=4766 + _globals['_IMPULSESERVICE']._serialized_end=5908 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/impulse_svc/v1/impulse_svc_pb2_grpc.py b/services/impulse_svc/gen/services/impulse_svc/v1/impulse_svc_pb2_grpc.py new file mode 100644 index 000000000..7c6278bb3 --- /dev/null +++ b/services/impulse_svc/gen/services/impulse_svc/v1/impulse_svc_pb2_grpc.py @@ -0,0 +1,476 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.impulse_svc.v1 import impulse_svc_pb2 as services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2 + + +class ImpulseServiceStub(object): + """ + ImpulseService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateUser = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/CreateUser', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.FromString, + _registered_method=True) + self.UpdateUser = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/UpdateUser', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.FromString, + _registered_method=True) + self.TrackChallenge = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/TrackChallenge', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.FromString, + _registered_method=True) + self.GetActiveChallenges = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/GetActiveChallenges', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.FromString, + _registered_method=True) + self.GetScore = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/GetScore', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.FromString, + _registered_method=True) + self.GetRewards = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/GetRewards', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.FromString, + _registered_method=True) + self.GetAllRewards = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/GetAllRewards', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.FromString, + _registered_method=True) + self.GetAllTeams = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/GetAllTeams', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.FromString, + _registered_method=True) + self.StatsForTeamByUser = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.FromString, + _registered_method=True) + self.Verification = channel.unary_unary( + '/services.impulse_svc.v1.ImpulseService/Verification', + request_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.SerializeToString, + response_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.FromString, + _registered_method=True) + + +class ImpulseServiceServicer(object): + """ + ImpulseService + + + """ + + def CreateUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TrackChallenge(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetActiveChallenges(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetScore(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRewards(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAllRewards(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAllTeams(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def StatsForTeamByUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Verification(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ImpulseServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateUser': grpc.unary_unary_rpc_method_handler( + servicer.CreateUser, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.SerializeToString, + ), + 'UpdateUser': grpc.unary_unary_rpc_method_handler( + servicer.UpdateUser, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.SerializeToString, + ), + 'TrackChallenge': grpc.unary_unary_rpc_method_handler( + servicer.TrackChallenge, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.SerializeToString, + ), + 'GetActiveChallenges': grpc.unary_unary_rpc_method_handler( + servicer.GetActiveChallenges, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.SerializeToString, + ), + 'GetScore': grpc.unary_unary_rpc_method_handler( + servicer.GetScore, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.SerializeToString, + ), + 'GetRewards': grpc.unary_unary_rpc_method_handler( + servicer.GetRewards, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.SerializeToString, + ), + 'GetAllRewards': grpc.unary_unary_rpc_method_handler( + servicer.GetAllRewards, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.SerializeToString, + ), + 'GetAllTeams': grpc.unary_unary_rpc_method_handler( + servicer.GetAllTeams, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.SerializeToString, + ), + 'StatsForTeamByUser': grpc.unary_unary_rpc_method_handler( + servicer.StatsForTeamByUser, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.SerializeToString, + ), + 'Verification': grpc.unary_unary_rpc_method_handler( + servicer.Verification, + request_deserializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.FromString, + response_serializer=services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.impulse_svc.v1.ImpulseService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.impulse_svc.v1.ImpulseService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class ImpulseService(object): + """ + ImpulseService + + + """ + + @staticmethod + def CreateUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/CreateUser', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.CreateUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/UpdateUser', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.UpdateUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TrackChallenge(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/TrackChallenge', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.TrackChallengeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetActiveChallenges(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/GetActiveChallenges', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetActiveChallengesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetScore(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/GetScore', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetScoreResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRewards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/GetRewards', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetRewardsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAllRewards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/GetAllRewards', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllRewardsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAllTeams(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/GetAllTeams', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.GetAllTeamsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def StatsForTeamByUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/StatsForTeamByUser', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.StatsForTeamByUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def Verification(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.impulse_svc.v1.ImpulseService/Verification', + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationRequest.SerializeToString, + services_dot_impulse__svc_dot_v1_dot_impulse__svc__pb2.VerificationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/ory_svc/v1/ory_svc_pb2.py b/services/impulse_svc/gen/services/ory_svc/v1/ory_svc_pb2.py new file mode 100644 index 000000000..a8c015b3f --- /dev/null +++ b/services/impulse_svc/gen/services/ory_svc/v1/ory_svc_pb2.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/ory_svc/v1/ory_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!services/ory_svc/v1/ory_svc.proto\x12\x13services.ory_svc.v1\"\x87\x01\n&AfterRegistrationWebhookPayloadRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"|\n\x1b\x41\x66terSettingsWebhookPayload\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04nameB\xac\x01\n\x17\x63om.services.ory_svc.v1B\x0bOrySvcProtoP\x01Z\x1agen/proto/services/ory-svc\xa2\x02\x03SOX\xaa\x02\x12Services.OrySvc.V1\xca\x02\x12Services\\OrySvc\\V1\xe2\x02\x1eServices\\OrySvc\\V1\\GPBMetadata\xea\x02\x14Services::OrySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.ory_svc.v1.ory_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\027com.services.ory_svc.v1B\013OrySvcProtoP\001Z\032gen/proto/services/ory-svc\242\002\003SOX\252\002\022Services.OrySvc.V1\312\002\022Services\\OrySvc\\V1\342\002\036Services\\OrySvc\\V1\\GPBMetadata\352\002\024Services::OrySvc::V1' + _globals['_AFTERREGISTRATIONWEBHOOKPAYLOADREQUEST']._serialized_start=59 + _globals['_AFTERREGISTRATIONWEBHOOKPAYLOADREQUEST']._serialized_end=194 + _globals['_AFTERSETTINGSWEBHOOKPAYLOAD']._serialized_start=196 + _globals['_AFTERSETTINGSWEBHOOKPAYLOAD']._serialized_end=320 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/ory_svc/v1/ory_svc_pb2_grpc.py b/services/impulse_svc/gen/services/ory_svc/v1/ory_svc_pb2_grpc.py similarity index 100% rename from services/impulse_svc/gen/proto/services/ory_svc/v1/ory_svc_pb2_grpc.py rename to services/impulse_svc/gen/services/ory_svc/v1/ory_svc_pb2_grpc.py diff --git a/services/impulse_svc/gen/services/property_svc/v1/property_set_svc_pb2.py b/services/impulse_svc/gen/services/property_svc/v1/property_set_svc_pb2.py new file mode 100644 index 000000000..0445d0cdc --- /dev/null +++ b/services/impulse_svc/gen/services/property_svc/v1/property_set_svc_pb2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/property_svc/v1/property_set_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/services/property_svc/v1/property_set_svc.proto\x12\x18services.property_svc.v1\".\n\x18\x43reatePropertySetRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"+\n\x19\x43reatePropertySetResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\'\n\x15GetPropertySetRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"<\n\x16GetPropertySetResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name2\x8b\x02\n\x12PropertySetService\x12~\n\x11\x43reatePropertySet\x12\x32.services.property_svc.v1.CreatePropertySetRequest\x1a\x33.services.property_svc.v1.CreatePropertySetResponse\"\x00\x12u\n\x0eGetPropertySet\x12/.services.property_svc.v1.GetPropertySetRequest\x1a\x30.services.property_svc.v1.GetPropertySetResponse\"\x00\x42\xd2\x01\n\x1c\x63om.services.property_svc.v1B\x13PropertySetSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03SPX\xaa\x02\x17Services.PropertySvc.V1\xca\x02\x17Services\\PropertySvc\\V1\xe2\x02#Services\\PropertySvc\\V1\\GPBMetadata\xea\x02\x19Services::PropertySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.property_svc.v1.property_set_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.services.property_svc.v1B\023PropertySetSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003SPX\252\002\027Services.PropertySvc.V1\312\002\027Services\\PropertySvc\\V1\342\002#Services\\PropertySvc\\V1\\GPBMetadata\352\002\031Services::PropertySvc::V1' + _globals['_CREATEPROPERTYSETREQUEST']._serialized_start=77 + _globals['_CREATEPROPERTYSETREQUEST']._serialized_end=123 + _globals['_CREATEPROPERTYSETRESPONSE']._serialized_start=125 + _globals['_CREATEPROPERTYSETRESPONSE']._serialized_end=168 + _globals['_GETPROPERTYSETREQUEST']._serialized_start=170 + _globals['_GETPROPERTYSETREQUEST']._serialized_end=209 + _globals['_GETPROPERTYSETRESPONSE']._serialized_start=211 + _globals['_GETPROPERTYSETRESPONSE']._serialized_end=271 + _globals['_PROPERTYSETSERVICE']._serialized_start=274 + _globals['_PROPERTYSETSERVICE']._serialized_end=541 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/property_svc/v1/property_set_svc_pb2_grpc.py b/services/impulse_svc/gen/services/property_svc/v1/property_set_svc_pb2_grpc.py new file mode 100644 index 000000000..00e795ea2 --- /dev/null +++ b/services/impulse_svc/gen/services/property_svc/v1/property_set_svc_pb2_grpc.py @@ -0,0 +1,132 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.property_svc.v1 import property_set_svc_pb2 as services_dot_property__svc_dot_v1_dot_property__set__svc__pb2 + + +class PropertySetServiceStub(object): + """ + PropertySetService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreatePropertySet = channel.unary_unary( + '/services.property_svc.v1.PropertySetService/CreatePropertySet', + request_serializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.FromString, + _registered_method=True) + self.GetPropertySet = channel.unary_unary( + '/services.property_svc.v1.PropertySetService/GetPropertySet', + request_serializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.FromString, + _registered_method=True) + + +class PropertySetServiceServicer(object): + """ + PropertySetService + + + """ + + def CreatePropertySet(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPropertySet(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PropertySetServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreatePropertySet': grpc.unary_unary_rpc_method_handler( + servicer.CreatePropertySet, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.SerializeToString, + ), + 'GetPropertySet': grpc.unary_unary_rpc_method_handler( + servicer.GetPropertySet, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.property_svc.v1.PropertySetService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.property_svc.v1.PropertySetService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PropertySetService(object): + """ + PropertySetService + + + """ + + @staticmethod + def CreatePropertySet(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertySetService/CreatePropertySet', + services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.CreatePropertySetResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPropertySet(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertySetService/GetPropertySet', + services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__set__svc__pb2.GetPropertySetResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/property_svc/v1/property_svc_pb2.py b/services/impulse_svc/gen/services/property_svc/v1/property_svc_pb2.py new file mode 100644 index 000000000..da938bfbd --- /dev/null +++ b/services/impulse_svc/gen/services/property_svc/v1/property_svc_pb2.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/property_svc/v1/property_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from services.property_svc.v1 import types_pb2 as services_dot_property__svc_dot_v1_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+services/property_svc/v1/property_svc.proto\x12\x18services.property_svc.v1\x1a$services/property_svc/v1/types.proto\"\x95\x05\n\x15\x43reatePropertyRequest\x12H\n\x0csubject_type\x18\x02 \x01(\x0e\x32%.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12\x42\n\nfield_type\x18\x03 \x01(\x0e\x32#.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1a\n\x06set_id\x18\x06 \x01(\tH\x02R\x05setId\x88\x01\x01\x12]\n\x0bselect_data\x18\t \x01(\x0b\x32:.services.property_svc.v1.CreatePropertyRequest.SelectDataH\x00R\nselectData\x1a\x89\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12\x61\n\x07options\x18\x02 \x03(\x0b\x32G.services.property_svc.v1.CreatePropertyRequest.SelectData.SelectOptionR\x07options\x1aY\n\x0cSelectOption\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_id\"9\n\x16\x43reatePropertyResponse\x12\x1f\n\x0bproperty_id\x18\x01 \x01(\tR\npropertyId\"p\n\x12GetPropertyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x1aJ\n\nViewSource\x12\x18\n\x06global\x18\x01 \x01(\x08H\x00R\x06global\x12\x19\n\x07ward_id\x18\x02 \x01(\tH\x00R\x06wardIdB\x07\n\x05value\"\xda\x06\n\x13GetPropertyResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12H\n\x0csubject_type\x18\x02 \x01(\x0e\x32%.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12\x42\n\nfield_type\x18\x03 \x01(\x0e\x32#.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x06 \x01(\x08R\nisArchived\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x02R\x05setId\x88\x01\x01\x12[\n\x0bselect_data\x18\n \x01(\x0b\x32\x38.services.property_svc.v1.GetPropertyResponse.SelectDataH\x00R\nselectData\x12G\n\x1e\x61lways_include_for_view_source\x18\x0b \x01(\x08H\x03R\x1a\x61lwaysIncludeForViewSource\x88\x01\x01\x1a\xb5\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12_\n\x07options\x18\x02 \x03(\x0b\x32\x45.services.property_svc.v1.GetPropertyResponse.SelectData.SelectOptionR\x07options\x1a\x86\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1b\n\tis_custom\x18\x04 \x01(\x08R\x08isCustomB\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_idB!\n\x1f_always_include_for_view_source\"\xbe\x06\n\x15UpdatePropertyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12M\n\x0csubject_type\x18\x02 \x01(\x0e\x32%.services.property_svc.v1.SubjectTypeH\x01R\x0bsubjectType\x88\x01\x01\x12\x17\n\x04name\x18\x04 \x01(\tH\x02R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x03R\x0b\x64\x65scription\x88\x01\x01\x12$\n\x0bis_archived\x18\x06 \x01(\x08H\x04R\nisArchived\x88\x01\x01\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x05R\x05setId\x88\x01\x01\x12]\n\x0bselect_data\x18\n \x01(\x0b\x32:.services.property_svc.v1.UpdatePropertyRequest.SelectDataH\x00R\nselectData\x1a\x8c\x03\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12%\n\x0eremove_options\x18\x02 \x03(\tR\rremoveOptions\x12n\n\x0eupsert_options\x18\x03 \x03(\x0b\x32G.services.property_svc.v1.UpdatePropertyRequest.SelectData.SelectOptionR\rupsertOptions\x1a\xa7\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12 \n\tis_custom\x18\x04 \x01(\x08H\x02R\x08isCustom\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0c\n\n_is_customB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0f\n\r_subject_typeB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0e\n\x0c_is_archivedB\t\n\x07_set_id\"\x18\n\x16UpdatePropertyResponse\"m\n!GetPropertiesBySubjectTypeRequest\x12H\n\x0csubject_type\x18\x01 \x01(\x0e\x32%.services.property_svc.v1.SubjectTypeR\x0bsubjectType\"\xa1\x07\n\"GetPropertiesBySubjectTypeResponse\x12\x65\n\nproperties\x18\x01 \x03(\x0b\x32\x45.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.PropertyR\nproperties\x1a\x93\x06\n\x08Property\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12H\n\x0csubject_type\x18\x02 \x01(\x0e\x32%.services.property_svc.v1.SubjectTypeR\x0bsubjectType\x12\x42\n\nfield_type\x18\x03 \x01(\x0e\x32#.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x06 \x01(\x08R\nisArchived\x12\x1a\n\x06set_id\x18\x08 \x01(\tH\x02R\x05setId\x88\x01\x01\x12s\n\x0bselect_data\x18\n \x01(\x0b\x32P.services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectDataH\x00R\nselectData\x1a\xcd\x02\n\nSelectData\x12*\n\x0e\x61llow_freetext\x18\x01 \x01(\x08H\x00R\rallowFreetext\x88\x01\x01\x12w\n\x07options\x18\x02 \x03(\x0b\x32].services.property_svc.v1.GetPropertiesBySubjectTypeResponse.Property.SelectData.SelectOptionR\x07options\x1a\x86\x01\n\x0cSelectOption\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1b\n\tis_custom\x18\x04 \x01(\x08R\x08isCustomB\x0e\n\x0c_descriptionB\x11\n\x0f_allow_freetextB\x11\n\x0f\x66ield_type_dataB\x0e\n\x0c_descriptionB\t\n\x07_set_id2\x89\x04\n\x0fPropertyService\x12u\n\x0e\x43reateProperty\x12/.services.property_svc.v1.CreatePropertyRequest\x1a\x30.services.property_svc.v1.CreatePropertyResponse\"\x00\x12l\n\x0bGetProperty\x12,.services.property_svc.v1.GetPropertyRequest\x1a-.services.property_svc.v1.GetPropertyResponse\"\x00\x12u\n\x0eUpdateProperty\x12/.services.property_svc.v1.UpdatePropertyRequest\x1a\x30.services.property_svc.v1.UpdatePropertyResponse\"\x00\x12\x99\x01\n\x1aGetPropertiesBySubjectType\x12;.services.property_svc.v1.GetPropertiesBySubjectTypeRequest\x1a<.services.property_svc.v1.GetPropertiesBySubjectTypeResponse\"\x00\x42\xcf\x01\n\x1c\x63om.services.property_svc.v1B\x10PropertySvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03SPX\xaa\x02\x17Services.PropertySvc.V1\xca\x02\x17Services\\PropertySvc\\V1\xe2\x02#Services\\PropertySvc\\V1\\GPBMetadata\xea\x02\x19Services::PropertySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.property_svc.v1.property_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.services.property_svc.v1B\020PropertySvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003SPX\252\002\027Services.PropertySvc.V1\312\002\027Services\\PropertySvc\\V1\342\002#Services\\PropertySvc\\V1\\GPBMetadata\352\002\031Services::PropertySvc::V1' + _globals['_CREATEPROPERTYREQUEST']._serialized_start=112 + _globals['_CREATEPROPERTYREQUEST']._serialized_end=773 + _globals['_CREATEPROPERTYREQUEST_SELECTDATA']._serialized_start=462 + _globals['_CREATEPROPERTYREQUEST_SELECTDATA']._serialized_end=727 + _globals['_CREATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_start=619 + _globals['_CREATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_end=708 + _globals['_CREATEPROPERTYRESPONSE']._serialized_start=775 + _globals['_CREATEPROPERTYRESPONSE']._serialized_end=832 + _globals['_GETPROPERTYREQUEST']._serialized_start=834 + _globals['_GETPROPERTYREQUEST']._serialized_end=946 + _globals['_GETPROPERTYREQUEST_VIEWSOURCE']._serialized_start=872 + _globals['_GETPROPERTYREQUEST_VIEWSOURCE']._serialized_end=946 + _globals['_GETPROPERTYRESPONSE']._serialized_start=949 + _globals['_GETPROPERTYRESPONSE']._serialized_end=1807 + _globals['_GETPROPERTYRESPONSE_SELECTDATA']._serialized_start=1417 + _globals['_GETPROPERTYRESPONSE_SELECTDATA']._serialized_end=1726 + _globals['_GETPROPERTYRESPONSE_SELECTDATA_SELECTOPTION']._serialized_start=1573 + _globals['_GETPROPERTYRESPONSE_SELECTDATA_SELECTOPTION']._serialized_end=1707 + _globals['_UPDATEPROPERTYREQUEST']._serialized_start=1810 + _globals['_UPDATEPROPERTYREQUEST']._serialized_end=2640 + _globals['_UPDATEPROPERTYREQUEST_SELECTDATA']._serialized_start=2156 + _globals['_UPDATEPROPERTYREQUEST_SELECTDATA']._serialized_end=2552 + _globals['_UPDATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_start=2366 + _globals['_UPDATEPROPERTYREQUEST_SELECTDATA_SELECTOPTION']._serialized_end=2533 + _globals['_UPDATEPROPERTYRESPONSE']._serialized_start=2642 + _globals['_UPDATEPROPERTYRESPONSE']._serialized_end=2666 + _globals['_GETPROPERTIESBYSUBJECTTYPEREQUEST']._serialized_start=2668 + _globals['_GETPROPERTIESBYSUBJECTTYPEREQUEST']._serialized_end=2777 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE']._serialized_start=2780 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE']._serialized_end=3709 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY']._serialized_start=2922 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY']._serialized_end=3709 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA']._serialized_start=3330 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA']._serialized_end=3663 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA_SELECTOPTION']._serialized_start=1573 + _globals['_GETPROPERTIESBYSUBJECTTYPERESPONSE_PROPERTY_SELECTDATA_SELECTOPTION']._serialized_end=1707 + _globals['_PROPERTYSERVICE']._serialized_start=3712 + _globals['_PROPERTYSERVICE']._serialized_end=4233 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/property_svc/v1/property_svc_pb2_grpc.py b/services/impulse_svc/gen/services/property_svc/v1/property_svc_pb2_grpc.py new file mode 100644 index 000000000..6c86c96bb --- /dev/null +++ b/services/impulse_svc/gen/services/property_svc/v1/property_svc_pb2_grpc.py @@ -0,0 +1,206 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.property_svc.v1 import property_svc_pb2 as services_dot_property__svc_dot_v1_dot_property__svc__pb2 + + +class PropertyServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateProperty = channel.unary_unary( + '/services.property_svc.v1.PropertyService/CreateProperty', + request_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.FromString, + _registered_method=True) + self.GetProperty = channel.unary_unary( + '/services.property_svc.v1.PropertyService/GetProperty', + request_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.FromString, + _registered_method=True) + self.UpdateProperty = channel.unary_unary( + '/services.property_svc.v1.PropertyService/UpdateProperty', + request_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.FromString, + _registered_method=True) + self.GetPropertiesBySubjectType = channel.unary_unary( + '/services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', + request_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.FromString, + _registered_method=True) + + +class PropertyServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def CreateProperty(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetProperty(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateProperty(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPropertiesBySubjectType(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PropertyServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateProperty': grpc.unary_unary_rpc_method_handler( + servicer.CreateProperty, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.SerializeToString, + ), + 'GetProperty': grpc.unary_unary_rpc_method_handler( + servicer.GetProperty, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.SerializeToString, + ), + 'UpdateProperty': grpc.unary_unary_rpc_method_handler( + servicer.UpdateProperty, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.SerializeToString, + ), + 'GetPropertiesBySubjectType': grpc.unary_unary_rpc_method_handler( + servicer.GetPropertiesBySubjectType, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.property_svc.v1.PropertyService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.property_svc.v1.PropertyService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PropertyService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def CreateProperty(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyService/CreateProperty', + services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__svc__pb2.CreatePropertyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetProperty(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyService/GetProperty', + services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateProperty(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyService/UpdateProperty', + services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__svc__pb2.UpdatePropertyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPropertiesBySubjectType(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyService/GetPropertiesBySubjectType', + services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__svc__pb2.GetPropertiesBySubjectTypeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/property_svc/v1/property_value_svc_pb2.py b/services/impulse_svc/gen/services/property_svc/v1/property_value_svc_pb2.py new file mode 100644 index 000000000..5420d93ea --- /dev/null +++ b/services/impulse_svc/gen/services/property_svc/v1/property_value_svc_pb2.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/property_svc/v1/property_value_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from services.property_svc.v1 import types_pb2 as services_dot_property__svc_dot_v1_dot_types__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1services/property_svc/v1/property_value_svc.proto\x12\x18services.property_svc.v1\x1a$services/property_svc/v1/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf8\x02\n\x1a\x41ttachPropertyValueRequest\x12\x1d\n\nsubject_id\x18\x01 \x01(\tR\tsubjectId\x12\x1f\n\x0bproperty_id\x18\x02 \x01(\tR\npropertyId\x12\x1f\n\ntext_value\x18\x03 \x01(\tH\x00R\ttextValue\x12#\n\x0cnumber_value\x18\x04 \x01(\x01H\x00R\x0bnumberValue\x12\x1f\n\nbool_value\x18\x05 \x01(\x08H\x00R\tboolValue\x12?\n\ndate_value\x18\x06 \x01(\x0b\x32\x1e.services.property_svc.v1.DateH\x00R\tdateValue\x12\x44\n\x0f\x64\x61te_time_value\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\rdateTimeValue\x12#\n\x0cselect_value\x18\x08 \x01(\tH\x00R\x0bselectValueB\x07\n\x05value\"I\n\x1b\x41ttachPropertyValueResponse\x12*\n\x11property_value_id\x18\x01 \x01(\tR\x0fpropertyValueId\"i\n\x13TaskPropertyMatcher\x12\x1c\n\x07ward_id\x18\x01 \x01(\tH\x00R\x06wardId\x88\x01\x01\x12\x1c\n\x07task_id\x18\x02 \x01(\tH\x01R\x06taskId\x88\x01\x01\x42\n\n\x08_ward_idB\n\n\x08_task_id\"\x81\x01\n GetAttachedPropertyValuesRequest\x12R\n\x0ctask_matcher\x18\x01 \x01(\x0b\x32-.services.property_svc.v1.TaskPropertyMatcherH\x00R\x0btaskMatcherB\t\n\x07matcher\"\xf5\x04\n!GetAttachedPropertyValuesResponse\x12Y\n\x06values\x18\x01 \x03(\x0b\x32\x41.services.property_svc.v1.GetAttachedPropertyValuesResponse.ValueR\x06values\x1a\xf4\x03\n\x05Value\x12\x1f\n\x0bproperty_id\x18\x01 \x01(\tR\npropertyId\x12\x42\n\nfield_type\x18\x02 \x01(\x0e\x32#.services.property_svc.v1.FieldTypeR\tfieldType\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1f\n\x0bis_archived\x18\x05 \x01(\x08R\nisArchived\x12\x1f\n\ntext_value\x18\x06 \x01(\tH\x00R\ttextValue\x12#\n\x0cnumber_value\x18\x07 \x01(\x01H\x00R\x0bnumberValue\x12\x1f\n\nbool_value\x18\x08 \x01(\x08H\x00R\tboolValue\x12?\n\ndate_value\x18\t \x01(\x0b\x32\x1e.services.property_svc.v1.DateH\x00R\tdateValue\x12\x44\n\x0f\x64\x61te_time_value\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\rdateTimeValue\x12#\n\x0cselect_value\x18\x0b \x01(\tH\x00R\x0bselectValueB\x07\n\x05valueB\x0e\n\x0c_description2\xb6\x02\n\x14PropertyValueService\x12\x84\x01\n\x13\x41ttachPropertyValue\x12\x34.services.property_svc.v1.AttachPropertyValueRequest\x1a\x35.services.property_svc.v1.AttachPropertyValueResponse\"\x00\x12\x96\x01\n\x19GetAttachedPropertyValues\x12:.services.property_svc.v1.GetAttachedPropertyValuesRequest\x1a;.services.property_svc.v1.GetAttachedPropertyValuesResponse\"\x00\x42\xd4\x01\n\x1c\x63om.services.property_svc.v1B\x15PropertyValueSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03SPX\xaa\x02\x17Services.PropertySvc.V1\xca\x02\x17Services\\PropertySvc\\V1\xe2\x02#Services\\PropertySvc\\V1\\GPBMetadata\xea\x02\x19Services::PropertySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.property_svc.v1.property_value_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.services.property_svc.v1B\025PropertyValueSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003SPX\252\002\027Services.PropertySvc.V1\312\002\027Services\\PropertySvc\\V1\342\002#Services\\PropertySvc\\V1\\GPBMetadata\352\002\031Services::PropertySvc::V1' + _globals['_ATTACHPROPERTYVALUEREQUEST']._serialized_start=151 + _globals['_ATTACHPROPERTYVALUEREQUEST']._serialized_end=527 + _globals['_ATTACHPROPERTYVALUERESPONSE']._serialized_start=529 + _globals['_ATTACHPROPERTYVALUERESPONSE']._serialized_end=602 + _globals['_TASKPROPERTYMATCHER']._serialized_start=604 + _globals['_TASKPROPERTYMATCHER']._serialized_end=709 + _globals['_GETATTACHEDPROPERTYVALUESREQUEST']._serialized_start=712 + _globals['_GETATTACHEDPROPERTYVALUESREQUEST']._serialized_end=841 + _globals['_GETATTACHEDPROPERTYVALUESRESPONSE']._serialized_start=844 + _globals['_GETATTACHEDPROPERTYVALUESRESPONSE']._serialized_end=1473 + _globals['_GETATTACHEDPROPERTYVALUESRESPONSE_VALUE']._serialized_start=973 + _globals['_GETATTACHEDPROPERTYVALUESRESPONSE_VALUE']._serialized_end=1473 + _globals['_PROPERTYVALUESERVICE']._serialized_start=1476 + _globals['_PROPERTYVALUESERVICE']._serialized_end=1786 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/property_svc/v1/property_value_svc_pb2_grpc.py b/services/impulse_svc/gen/services/property_svc/v1/property_value_svc_pb2_grpc.py new file mode 100644 index 000000000..e34fc94aa --- /dev/null +++ b/services/impulse_svc/gen/services/property_svc/v1/property_value_svc_pb2_grpc.py @@ -0,0 +1,132 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.property_svc.v1 import property_value_svc_pb2 as services_dot_property__svc_dot_v1_dot_property__value__svc__pb2 + + +class PropertyValueServiceStub(object): + """ + PropertyValueService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.AttachPropertyValue = channel.unary_unary( + '/services.property_svc.v1.PropertyValueService/AttachPropertyValue', + request_serializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.FromString, + _registered_method=True) + self.GetAttachedPropertyValues = channel.unary_unary( + '/services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', + request_serializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.FromString, + _registered_method=True) + + +class PropertyValueServiceServicer(object): + """ + PropertyValueService + + + """ + + def AttachPropertyValue(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAttachedPropertyValues(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PropertyValueServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'AttachPropertyValue': grpc.unary_unary_rpc_method_handler( + servicer.AttachPropertyValue, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.SerializeToString, + ), + 'GetAttachedPropertyValues': grpc.unary_unary_rpc_method_handler( + servicer.GetAttachedPropertyValues, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.property_svc.v1.PropertyValueService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.property_svc.v1.PropertyValueService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PropertyValueService(object): + """ + PropertyValueService + + + """ + + @staticmethod + def AttachPropertyValue(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyValueService/AttachPropertyValue', + services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.AttachPropertyValueResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAttachedPropertyValues(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyValueService/GetAttachedPropertyValues', + services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__value__svc__pb2.GetAttachedPropertyValuesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/property_svc/v1/property_views_svc_pb2.py b/services/impulse_svc/gen/services/property_svc/v1/property_views_svc_pb2.py new file mode 100644 index 000000000..a39afadea --- /dev/null +++ b/services/impulse_svc/gen/services/property_svc/v1/property_views_svc_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/property_svc/v1/property_views_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from services.property_svc.v1 import property_value_svc_pb2 as services_dot_property__svc_dot_v1_dot_property__value__svc__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1services/property_svc/v1/property_views_svc.proto\x12\x18services.property_svc.v1\x1a\x31services/property_svc/v1/property_value_svc.proto\"\x8c\x02\n\x0c\x46ilterUpdate\x12\x37\n\x18\x61ppend_to_always_include\x18\x01 \x03(\tR\x15\x61ppendToAlwaysInclude\x12;\n\x1aremove_from_always_include\x18\x02 \x03(\tR\x17removeFromAlwaysInclude\x12@\n\x1d\x61ppend_to_dont_always_include\x18\x03 \x03(\tR\x19\x61ppendToDontAlwaysInclude\x12\x44\n\x1fremove_from_dont_always_include\x18\x04 \x03(\tR\x1bremoveFromDontAlwaysInclude\"\xcb\x01\n\x1dUpdatePropertyViewRuleRequest\x12K\n\rfilter_update\x18\x01 \x01(\x0b\x32&.services.property_svc.v1.FilterUpdateR\x0c\x66ilterUpdate\x12R\n\x0ctask_matcher\x18\x02 \x01(\x0b\x32-.services.property_svc.v1.TaskPropertyMatcherH\x00R\x0btaskMatcherB\t\n\x07matcher\" \n\x1eUpdatePropertyViewRuleResponse2\xa6\x01\n\x14PropertyViewsService\x12\x8d\x01\n\x16UpdatePropertyViewRule\x12\x37.services.property_svc.v1.UpdatePropertyViewRuleRequest\x1a\x38.services.property_svc.v1.UpdatePropertyViewRuleResponse\"\x00\x42\xd4\x01\n\x1c\x63om.services.property_svc.v1B\x15PropertyViewsSvcProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03SPX\xaa\x02\x17Services.PropertySvc.V1\xca\x02\x17Services\\PropertySvc\\V1\xe2\x02#Services\\PropertySvc\\V1\\GPBMetadata\xea\x02\x19Services::PropertySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.property_svc.v1.property_views_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.services.property_svc.v1B\025PropertyViewsSvcProtoP\001Z\037gen/proto/services/property-svc\242\002\003SPX\252\002\027Services.PropertySvc.V1\312\002\027Services\\PropertySvc\\V1\342\002#Services\\PropertySvc\\V1\\GPBMetadata\352\002\031Services::PropertySvc::V1' + _globals['_FILTERUPDATE']._serialized_start=131 + _globals['_FILTERUPDATE']._serialized_end=399 + _globals['_UPDATEPROPERTYVIEWRULEREQUEST']._serialized_start=402 + _globals['_UPDATEPROPERTYVIEWRULEREQUEST']._serialized_end=605 + _globals['_UPDATEPROPERTYVIEWRULERESPONSE']._serialized_start=607 + _globals['_UPDATEPROPERTYVIEWRULERESPONSE']._serialized_end=639 + _globals['_PROPERTYVIEWSSERVICE']._serialized_start=642 + _globals['_PROPERTYVIEWSSERVICE']._serialized_end=808 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/property_svc/v1/property_views_svc_pb2_grpc.py b/services/impulse_svc/gen/services/property_svc/v1/property_views_svc_pb2_grpc.py new file mode 100644 index 000000000..8623fe048 --- /dev/null +++ b/services/impulse_svc/gen/services/property_svc/v1/property_views_svc_pb2_grpc.py @@ -0,0 +1,77 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.property_svc.v1 import property_views_svc_pb2 as services_dot_property__svc_dot_v1_dot_property__views__svc__pb2 + + +class PropertyViewsServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UpdatePropertyViewRule = channel.unary_unary( + '/services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', + request_serializer=services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.SerializeToString, + response_deserializer=services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.FromString, + _registered_method=True) + + +class PropertyViewsServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def UpdatePropertyViewRule(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PropertyViewsServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UpdatePropertyViewRule': grpc.unary_unary_rpc_method_handler( + servicer.UpdatePropertyViewRule, + request_deserializer=services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.FromString, + response_serializer=services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.property_svc.v1.PropertyViewsService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.property_svc.v1.PropertyViewsService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PropertyViewsService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def UpdatePropertyViewRule(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.property_svc.v1.PropertyViewsService/UpdatePropertyViewRule', + services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleRequest.SerializeToString, + services_dot_property__svc_dot_v1_dot_property__views__svc__pb2.UpdatePropertyViewRuleResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/property_svc/v1/types_pb2.py b/services/impulse_svc/gen/services/property_svc/v1/types_pb2.py new file mode 100644 index 000000000..c9abb5336 --- /dev/null +++ b/services/impulse_svc/gen/services/property_svc/v1/types_pb2.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/property_svc/v1/types.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$services/property_svc/v1/types.proto\x12\x18services.property_svc.v1\"B\n\x04\x44\x61te\x12\x10\n\x03\x64\x61y\x18\x01 \x01(\x05R\x03\x64\x61y\x12\x14\n\x05month\x18\x02 \x01(\x05R\x05month\x12\x12\n\x04year\x18\x03 \x01(\x05R\x04year*\\\n\x0bSubjectType\x12\x1c\n\x18SUBJECT_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14SUBJECT_TYPE_PATIENT\x10\x01\x12\x15\n\x11SUBJECT_TYPE_TASK\x10\x02*\xb2\x01\n\tFieldType\x12\x1a\n\x16\x46IELD_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x46IELD_TYPE_TEXT\x10\x01\x12\x15\n\x11\x46IELD_TYPE_NUMBER\x10\x02\x12\x17\n\x13\x46IELD_TYPE_CHECKBOX\x10\x03\x12\x13\n\x0f\x46IELD_TYPE_DATE\x10\x04\x12\x18\n\x14\x46IELD_TYPE_DATE_TIME\x10\x05\x12\x15\n\x11\x46IELD_TYPE_SELECT\x10\x06\x42\xc9\x01\n\x1c\x63om.services.property_svc.v1B\nTypesProtoP\x01Z\x1fgen/proto/services/property-svc\xa2\x02\x03SPX\xaa\x02\x17Services.PropertySvc.V1\xca\x02\x17Services\\PropertySvc\\V1\xe2\x02#Services\\PropertySvc\\V1\\GPBMetadata\xea\x02\x19Services::PropertySvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.property_svc.v1.types_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\034com.services.property_svc.v1B\nTypesProtoP\001Z\037gen/proto/services/property-svc\242\002\003SPX\252\002\027Services.PropertySvc.V1\312\002\027Services\\PropertySvc\\V1\342\002#Services\\PropertySvc\\V1\\GPBMetadata\352\002\031Services::PropertySvc::V1' + _globals['_SUBJECTTYPE']._serialized_start=134 + _globals['_SUBJECTTYPE']._serialized_end=226 + _globals['_FIELDTYPE']._serialized_start=229 + _globals['_FIELDTYPE']._serialized_end=407 + _globals['_DATE']._serialized_start=66 + _globals['_DATE']._serialized_end=132 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/proto/services/property_svc/v1/types_pb2_grpc.py b/services/impulse_svc/gen/services/property_svc/v1/types_pb2_grpc.py similarity index 100% rename from services/impulse_svc/gen/proto/services/property_svc/v1/types_pb2_grpc.py rename to services/impulse_svc/gen/services/property_svc/v1/types_pb2_grpc.py diff --git a/services/impulse_svc/gen/services/task_svc/v1/bed_svc_pb2.py b/services/impulse_svc/gen/services/task_svc/v1/bed_svc_pb2.py new file mode 100644 index 000000000..8ff0fc0fc --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/bed_svc_pb2.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/bed_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"services/task_svc/v1/bed_svc.proto\x12\x14services.task_svc.v1\"?\n\x10\x43reateBedRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"#\n\x11\x43reateBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"V\n\x15\x42ulkCreateBedsRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\x12$\n\x0e\x61mount_of_beds\x18\x02 \x01(\rR\x0c\x61mountOfBeds\"\x89\x01\n\x16\x42ulkCreateBedsResponse\x12\x44\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32\x30.services.task_svc.v1.BulkCreateBedsResponse.BedR\x04\x62\x65\x64s\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x1f\n\rGetBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"M\n\x0eGetBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07room_id\x18\x02 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"7\n\x16GetBedByPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\xb1\x02\n\x17GetBedByPatientResponse\x12K\n\x04room\x18\x01 \x01(\x0b\x32\x32.services.task_svc.v1.GetBedByPatientResponse.RoomH\x00R\x04room\x88\x01\x01\x12H\n\x03\x62\x65\x64\x18\x02 \x01(\x0b\x32\x31.services.task_svc.v1.GetBedByPatientResponse.BedH\x01R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\x07\n\x05_roomB\x06\n\x04_bed\"\x10\n\x0eGetBedsRequest\"\x94\x01\n\x0fGetBedsResponse\x12=\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32).services.task_svc.v1.GetBedsResponse.BedR\x04\x62\x65\x64s\x1a\x42\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07room_id\x18\x02 \x01(\tR\x06roomId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"/\n\x14GetBedsByRoomRequest\x12\x17\n\x07room_id\x18\x01 \x01(\tR\x06roomId\"\x87\x01\n\x15GetBedsByRoomResponse\x12\x43\n\x04\x62\x65\x64s\x18\x01 \x03(\x0b\x32/.services.task_svc.v1.GetBedsByRoomResponse.BedR\x04\x62\x65\x64s\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"n\n\x10UpdateBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n\x07room_id\x18\x02 \x01(\tH\x00R\x06roomId\x88\x01\x01\x12\x17\n\x04name\x18\x03 \x01(\tH\x01R\x04name\x88\x01\x01\x42\n\n\x08_room_idB\x07\n\x05_name\"\x13\n\x11UpdateBedResponse\"\"\n\x10\x44\x65leteBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x13\n\x11\x44\x65leteBedResponse2\xaa\x06\n\nBedService\x12^\n\tCreateBed\x12&.services.task_svc.v1.CreateBedRequest\x1a\'.services.task_svc.v1.CreateBedResponse\"\x00\x12m\n\x0e\x42ulkCreateBeds\x12+.services.task_svc.v1.BulkCreateBedsRequest\x1a,.services.task_svc.v1.BulkCreateBedsResponse\"\x00\x12U\n\x06GetBed\x12#.services.task_svc.v1.GetBedRequest\x1a$.services.task_svc.v1.GetBedResponse\"\x00\x12p\n\x0fGetBedByPatient\x12,.services.task_svc.v1.GetBedByPatientRequest\x1a-.services.task_svc.v1.GetBedByPatientResponse\"\x00\x12X\n\x07GetBeds\x12$.services.task_svc.v1.GetBedsRequest\x1a%.services.task_svc.v1.GetBedsResponse\"\x00\x12j\n\rGetBedsByRoom\x12*.services.task_svc.v1.GetBedsByRoomRequest\x1a+.services.task_svc.v1.GetBedsByRoomResponse\"\x00\x12^\n\tUpdateBed\x12&.services.task_svc.v1.UpdateBedRequest\x1a\'.services.task_svc.v1.UpdateBedResponse\"\x00\x12^\n\tDeleteBed\x12&.services.task_svc.v1.DeleteBedRequest\x1a\'.services.task_svc.v1.DeleteBedResponse\"\x00\x42\xb2\x01\n\x18\x63om.services.task_svc.v1B\x0b\x42\x65\x64SvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.bed_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\013BedSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_CREATEBEDREQUEST']._serialized_start=60 + _globals['_CREATEBEDREQUEST']._serialized_end=123 + _globals['_CREATEBEDRESPONSE']._serialized_start=125 + _globals['_CREATEBEDRESPONSE']._serialized_end=160 + _globals['_BULKCREATEBEDSREQUEST']._serialized_start=162 + _globals['_BULKCREATEBEDSREQUEST']._serialized_end=248 + _globals['_BULKCREATEBEDSRESPONSE']._serialized_start=251 + _globals['_BULKCREATEBEDSRESPONSE']._serialized_end=388 + _globals['_BULKCREATEBEDSRESPONSE_BED']._serialized_start=347 + _globals['_BULKCREATEBEDSRESPONSE_BED']._serialized_end=388 + _globals['_GETBEDREQUEST']._serialized_start=390 + _globals['_GETBEDREQUEST']._serialized_end=421 + _globals['_GETBEDRESPONSE']._serialized_start=423 + _globals['_GETBEDRESPONSE']._serialized_end=500 + _globals['_GETBEDBYPATIENTREQUEST']._serialized_start=502 + _globals['_GETBEDBYPATIENTREQUEST']._serialized_end=557 + _globals['_GETBEDBYPATIENTRESPONSE']._serialized_start=560 + _globals['_GETBEDBYPATIENTRESPONSE']._serialized_end=865 + _globals['_GETBEDBYPATIENTRESPONSE_ROOM']._serialized_start=738 + _globals['_GETBEDBYPATIENTRESPONSE_ROOM']._serialized_end=805 + _globals['_GETBEDBYPATIENTRESPONSE_BED']._serialized_start=347 + _globals['_GETBEDBYPATIENTRESPONSE_BED']._serialized_end=388 + _globals['_GETBEDSREQUEST']._serialized_start=867 + _globals['_GETBEDSREQUEST']._serialized_end=883 + _globals['_GETBEDSRESPONSE']._serialized_start=886 + _globals['_GETBEDSRESPONSE']._serialized_end=1034 + _globals['_GETBEDSRESPONSE_BED']._serialized_start=968 + _globals['_GETBEDSRESPONSE_BED']._serialized_end=1034 + _globals['_GETBEDSBYROOMREQUEST']._serialized_start=1036 + _globals['_GETBEDSBYROOMREQUEST']._serialized_end=1083 + _globals['_GETBEDSBYROOMRESPONSE']._serialized_start=1086 + _globals['_GETBEDSBYROOMRESPONSE']._serialized_end=1221 + _globals['_GETBEDSBYROOMRESPONSE_BED']._serialized_start=347 + _globals['_GETBEDSBYROOMRESPONSE_BED']._serialized_end=388 + _globals['_UPDATEBEDREQUEST']._serialized_start=1223 + _globals['_UPDATEBEDREQUEST']._serialized_end=1333 + _globals['_UPDATEBEDRESPONSE']._serialized_start=1335 + _globals['_UPDATEBEDRESPONSE']._serialized_end=1354 + _globals['_DELETEBEDREQUEST']._serialized_start=1356 + _globals['_DELETEBEDREQUEST']._serialized_end=1390 + _globals['_DELETEBEDRESPONSE']._serialized_start=1392 + _globals['_DELETEBEDRESPONSE']._serialized_end=1411 + _globals['_BEDSERVICE']._serialized_start=1414 + _globals['_BEDSERVICE']._serialized_end=2224 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/task_svc/v1/bed_svc_pb2_grpc.py b/services/impulse_svc/gen/services/task_svc/v1/bed_svc_pb2_grpc.py new file mode 100644 index 000000000..4f5c9881b --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/bed_svc_pb2_grpc.py @@ -0,0 +1,390 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import bed_svc_pb2 as services_dot_task__svc_dot_v1_dot_bed__svc__pb2 + + +class BedServiceStub(object): + """ + BedService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateBed = channel.unary_unary( + '/services.task_svc.v1.BedService/CreateBed', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.FromString, + _registered_method=True) + self.BulkCreateBeds = channel.unary_unary( + '/services.task_svc.v1.BedService/BulkCreateBeds', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.FromString, + _registered_method=True) + self.GetBed = channel.unary_unary( + '/services.task_svc.v1.BedService/GetBed', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.FromString, + _registered_method=True) + self.GetBedByPatient = channel.unary_unary( + '/services.task_svc.v1.BedService/GetBedByPatient', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.FromString, + _registered_method=True) + self.GetBeds = channel.unary_unary( + '/services.task_svc.v1.BedService/GetBeds', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.FromString, + _registered_method=True) + self.GetBedsByRoom = channel.unary_unary( + '/services.task_svc.v1.BedService/GetBedsByRoom', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.FromString, + _registered_method=True) + self.UpdateBed = channel.unary_unary( + '/services.task_svc.v1.BedService/UpdateBed', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.FromString, + _registered_method=True) + self.DeleteBed = channel.unary_unary( + '/services.task_svc.v1.BedService/DeleteBed', + request_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.FromString, + _registered_method=True) + + +class BedServiceServicer(object): + """ + BedService + + + """ + + def CreateBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BulkCreateBeds(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBedByPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBeds(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBedsByRoom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_BedServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateBed': grpc.unary_unary_rpc_method_handler( + servicer.CreateBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.SerializeToString, + ), + 'BulkCreateBeds': grpc.unary_unary_rpc_method_handler( + servicer.BulkCreateBeds, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.SerializeToString, + ), + 'GetBed': grpc.unary_unary_rpc_method_handler( + servicer.GetBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.SerializeToString, + ), + 'GetBedByPatient': grpc.unary_unary_rpc_method_handler( + servicer.GetBedByPatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.SerializeToString, + ), + 'GetBeds': grpc.unary_unary_rpc_method_handler( + servicer.GetBeds, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.SerializeToString, + ), + 'GetBedsByRoom': grpc.unary_unary_rpc_method_handler( + servicer.GetBedsByRoom, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.SerializeToString, + ), + 'UpdateBed': grpc.unary_unary_rpc_method_handler( + servicer.UpdateBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.SerializeToString, + ), + 'DeleteBed': grpc.unary_unary_rpc_method_handler( + servicer.DeleteBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.BedService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.BedService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class BedService(object): + """ + BedService + + + """ + + @staticmethod + def CreateBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/CreateBed', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.CreateBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BulkCreateBeds(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/BulkCreateBeds', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.BulkCreateBedsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/GetBed', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetBedByPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/GetBedByPatient', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedByPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetBeds(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/GetBeds', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetBedsByRoom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/GetBedsByRoom', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.GetBedsByRoomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/UpdateBed', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.UpdateBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.BedService/DeleteBed', + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_bed__svc__pb2.DeleteBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/task_svc/v1/patient_svc_pb2.py b/services/impulse_svc/gen/services/task_svc/v1/patient_svc_pb2.py new file mode 100644 index 000000000..344b03846 --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/patient_svc_pb2.py @@ -0,0 +1,131 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/patient_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&services/task_svc/v1/patient_svc.proto\x12\x14services.task_svc.v1\"h\n\x14\x43reatePatientRequest\x12:\n\x19human_readable_identifier\x18\x01 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x02 \x01(\tR\x05notes\"\'\n\x15\x43reatePatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n\x11GetPatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xdd\x03\n\x12GetPatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1e\n\x06\x62\x65\x64_id\x18\x04 \x01(\tB\x02\x18\x01H\x00R\x05\x62\x65\x64Id\x88\x01\x01\x12 \n\x07ward_id\x18\x05 \x01(\tB\x02\x18\x01H\x01R\x06wardId\x88\x01\x01\x12\x46\n\x04room\x18\x07 \x01(\x0b\x32-.services.task_svc.v1.GetPatientResponse.RoomH\x02R\x04room\x88\x01\x01\x12\x43\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32,.services.task_svc.v1.GetPatientResponse.BedH\x03R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\t\n\x07_bed_idB\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"&\n\x14\x44\x65letePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15\x44\x65letePatientResponse\"/\n\x16GetPatientByBedRequest\x12\x15\n\x06\x62\x65\x64_id\x18\x01 \x01(\tR\x05\x62\x65\x64Id\"\xa2\x01\n\x17GetPatientByBedResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x42\t\n\x07_bed_id\"3\n\x18GetPatientsByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\x85\x02\n\x19GetPatientsByWardResponse\x12S\n\x08patients\x18\x01 \x03(\x0b\x32\x37.services.task_svc.v1.GetPatientsByWardResponse.PatientR\x08patients\x1a\x92\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x42\t\n\x07_bed_id\"<\n!GetPatientAssignmentByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xce\x03\n\"GetPatientAssignmentByWardResponse\x12S\n\x05rooms\x18\x01 \x03(\x0b\x32=.services.task_svc.v1.GetPatientAssignmentByWardResponse.RoomR\x05rooms\x1a\xd2\x02\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12U\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x41.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.BedR\x04\x62\x65\x64s\x1a\xce\x01\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12h\n\x07patient\x18\x03 \x01(\x0b\x32I.services.task_svc.v1.GetPatientAssignmentByWardResponse.Room.Bed.PatientH\x00R\x07patient\x88\x01\x01\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\n\n\x08_patient\"\x1a\n\x18GetRecentPatientsRequest\"\xf2\x03\n\x19GetRecentPatientsResponse\x12n\n\x0frecent_patients\x18\x01 \x03(\x0b\x32\x45.services.task_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBedR\x0erecentPatients\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\xf4\x01\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12H\n\x04room\x18\x03 \x01(\x0b\x32\x34.services.task_svc.v1.GetRecentPatientsResponse.RoomR\x04room\x12\x45\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32\x33.services.task_svc.v1.GetRecentPatientsResponse.BedR\x03\x62\x65\x64\"\xaa\x01\n\x14UpdatePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12?\n\x19human_readable_identifier\x18\x02 \x01(\tH\x00R\x17humanReadableIdentifier\x88\x01\x01\x12\x19\n\x05notes\x18\x03 \x01(\tH\x01R\x05notes\x88\x01\x01\x42\x1c\n\x1a_human_readable_identifierB\x08\n\x06_notes\"\x17\n\x15UpdatePatientResponse\"9\n\x10\x41ssignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06\x62\x65\x64_id\x18\x02 \x01(\tR\x05\x62\x65\x64Id\"\x13\n\x11\x41ssignBedResponse\"$\n\x12UnassignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13UnassignBedResponse\")\n\x17\x44ischargePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18\x44ischargePatientResponse\"*\n\x18GetPatientDetailsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xfb\x08\n\x19GetPatientDetailsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12:\n\x19human_readable_identifier\x18\x03 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x04 \x01(\tR\x05notes\x12J\n\x05tasks\x18\x05 \x03(\x0b\x32\x34.services.task_svc.v1.GetPatientDetailsResponse.TaskR\x05tasks\x12 \n\x07ward_id\x18\x06 \x01(\tB\x02\x18\x01H\x00R\x06wardId\x88\x01\x01\x12M\n\x04room\x18\x07 \x01(\x0b\x32\x34.services.task_svc.v1.GetPatientDetailsResponse.RoomH\x01R\x04room\x88\x01\x01\x12J\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32\x33.services.task_svc.v1.GetPatientDetailsResponse.BedH\x02R\x03\x62\x65\x64\x88\x01\x01\x12#\n\ris_discharged\x18\t \x01(\x08R\x0cisDischarged\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\xb8\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12R\n\x06status\x18\x04 \x01(\x0e\x32:.services.task_svc.v1.GetPatientDetailsResponse.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12X\n\x08subtasks\x18\x08 \x03(\x0b\x32<.services.task_svc.v1.GetPatientDetailsResponse.Task.SubTaskR\x08subtasks\x1a\x41\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64oneB\x13\n\x11_assigned_user_id\"r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x42\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"A\n\x15GetPatientListRequest\x12\x1c\n\x07ward_id\x18\x01 \x01(\tH\x00R\x06wardId\x88\x01\x01\x42\n\n\x08_ward_id\"\xe2\x0b\n\x16GetPatientListResponse\x12Z\n\x06\x61\x63tive\x18\x01 \x03(\x0b\x32\x42.services.task_svc.v1.GetPatientListResponse.PatientWithRoomAndBedR\x06\x61\x63tive\x12\x65\n\x13unassigned_patients\x18\x02 \x03(\x0b\x32\x34.services.task_svc.v1.GetPatientListResponse.PatientR\x12unassignedPatients\x12\x65\n\x13\x64ischarged_patients\x18\x03 \x03(\x0b\x32\x34.services.task_svc.v1.GetPatientListResponse.PatientR\x12\x64ischargedPatients\x1a\xb4\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12G\n\x05tasks\x18\x04 \x03(\x0b\x32\x31.services.task_svc.v1.GetPatientListResponse.TaskR\x05tasks\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\xcd\x02\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x45\n\x04room\x18\x03 \x01(\x0b\x32\x31.services.task_svc.v1.GetPatientListResponse.RoomR\x04room\x12\x42\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32\x30.services.task_svc.v1.GetPatientListResponse.BedR\x03\x62\x65\x64\x12\x14\n\x05notes\x18\x05 \x01(\tR\x05notes\x12G\n\x05tasks\x18\x06 \x03(\x0b\x32\x31.services.task_svc.v1.GetPatientListResponse.TaskR\x05tasks\x1a\xb2\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12O\n\x06status\x18\x04 \x01(\x0e\x32\x37.services.task_svc.v1.GetPatientListResponse.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12U\n\x08subtasks\x18\x08 \x03(\x0b\x32\x39.services.task_svc.v1.GetPatientListResponse.Task.SubTaskR\x08subtasks\x1a\x41\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64oneB\x13\n\x11_assigned_user_id\"r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\"6\n\x15ReadmitPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\x18\n\x16ReadmitPatientResponse2\xbe\x0c\n\x0ePatientService\x12j\n\rCreatePatient\x12*.services.task_svc.v1.CreatePatientRequest\x1a+.services.task_svc.v1.CreatePatientResponse\"\x00\x12\x61\n\nGetPatient\x12\'.services.task_svc.v1.GetPatientRequest\x1a(.services.task_svc.v1.GetPatientResponse\"\x00\x12p\n\x0fGetPatientByBed\x12,.services.task_svc.v1.GetPatientByBedRequest\x1a-.services.task_svc.v1.GetPatientByBedResponse\"\x00\x12v\n\x11GetPatientsByWard\x12..services.task_svc.v1.GetPatientsByWardRequest\x1a/.services.task_svc.v1.GetPatientsByWardResponse\"\x00\x12\x91\x01\n\x1aGetPatientAssignmentByWard\x12\x37.services.task_svc.v1.GetPatientAssignmentByWardRequest\x1a\x38.services.task_svc.v1.GetPatientAssignmentByWardResponse\"\x00\x12v\n\x11GetRecentPatients\x12..services.task_svc.v1.GetRecentPatientsRequest\x1a/.services.task_svc.v1.GetRecentPatientsResponse\"\x00\x12j\n\rUpdatePatient\x12*.services.task_svc.v1.UpdatePatientRequest\x1a+.services.task_svc.v1.UpdatePatientResponse\"\x00\x12^\n\tAssignBed\x12&.services.task_svc.v1.AssignBedRequest\x1a\'.services.task_svc.v1.AssignBedResponse\"\x00\x12\x64\n\x0bUnassignBed\x12(.services.task_svc.v1.UnassignBedRequest\x1a).services.task_svc.v1.UnassignBedResponse\"\x00\x12s\n\x10\x44ischargePatient\x12-.services.task_svc.v1.DischargePatientRequest\x1a..services.task_svc.v1.DischargePatientResponse\"\x00\x12v\n\x11GetPatientDetails\x12..services.task_svc.v1.GetPatientDetailsRequest\x1a/.services.task_svc.v1.GetPatientDetailsResponse\"\x00\x12m\n\x0eGetPatientList\x12+.services.task_svc.v1.GetPatientListRequest\x1a,.services.task_svc.v1.GetPatientListResponse\"\x00\x12j\n\rDeletePatient\x12*.services.task_svc.v1.DeletePatientRequest\x1a+.services.task_svc.v1.DeletePatientResponse\"\x00\x12m\n\x0eReadmitPatient\x12+.services.task_svc.v1.ReadmitPatientRequest\x1a,.services.task_svc.v1.ReadmitPatientResponse\"\x00\x42\xb6\x01\n\x18\x63om.services.task_svc.v1B\x0fPatientSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.patient_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\017PatientSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_GETPATIENTRESPONSE'].fields_by_name['bed_id']._options = None + _globals['_GETPATIENTRESPONSE'].fields_by_name['bed_id']._serialized_options = b'\030\001' + _globals['_GETPATIENTRESPONSE'].fields_by_name['ward_id']._options = None + _globals['_GETPATIENTRESPONSE'].fields_by_name['ward_id']._serialized_options = b'\030\001' + _globals['_GETPATIENTDETAILSRESPONSE'].fields_by_name['ward_id']._options = None + _globals['_GETPATIENTDETAILSRESPONSE'].fields_by_name['ward_id']._serialized_options = b'\030\001' + _globals['_CREATEPATIENTREQUEST']._serialized_start=64 + _globals['_CREATEPATIENTREQUEST']._serialized_end=168 + _globals['_CREATEPATIENTRESPONSE']._serialized_start=170 + _globals['_CREATEPATIENTRESPONSE']._serialized_end=209 + _globals['_GETPATIENTREQUEST']._serialized_start=211 + _globals['_GETPATIENTREQUEST']._serialized_end=246 + _globals['_GETPATIENTRESPONSE']._serialized_start=249 + _globals['_GETPATIENTRESPONSE']._serialized_end=726 + _globals['_GETPATIENTRESPONSE_ROOM']._serialized_start=576 + _globals['_GETPATIENTRESPONSE_ROOM']._serialized_end=643 + _globals['_GETPATIENTRESPONSE_BED']._serialized_start=645 + _globals['_GETPATIENTRESPONSE_BED']._serialized_end=686 + _globals['_DELETEPATIENTREQUEST']._serialized_start=728 + _globals['_DELETEPATIENTREQUEST']._serialized_end=766 + _globals['_DELETEPATIENTRESPONSE']._serialized_start=768 + _globals['_DELETEPATIENTRESPONSE']._serialized_end=791 + _globals['_GETPATIENTBYBEDREQUEST']._serialized_start=793 + _globals['_GETPATIENTBYBEDREQUEST']._serialized_end=840 + _globals['_GETPATIENTBYBEDRESPONSE']._serialized_start=843 + _globals['_GETPATIENTBYBEDRESPONSE']._serialized_end=1005 + _globals['_GETPATIENTSBYWARDREQUEST']._serialized_start=1007 + _globals['_GETPATIENTSBYWARDREQUEST']._serialized_end=1058 + _globals['_GETPATIENTSBYWARDRESPONSE']._serialized_start=1061 + _globals['_GETPATIENTSBYWARDRESPONSE']._serialized_end=1322 + _globals['_GETPATIENTSBYWARDRESPONSE_PATIENT']._serialized_start=1176 + _globals['_GETPATIENTSBYWARDRESPONSE_PATIENT']._serialized_end=1322 + _globals['_GETPATIENTASSIGNMENTBYWARDREQUEST']._serialized_start=1324 + _globals['_GETPATIENTASSIGNMENTBYWARDREQUEST']._serialized_end=1384 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE']._serialized_start=1387 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE']._serialized_end=1849 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM']._serialized_start=1511 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM']._serialized_end=1849 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED']._serialized_start=1643 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED']._serialized_end=1849 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_start=1792 + _globals['_GETPATIENTASSIGNMENTBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_end=1837 + _globals['_GETRECENTPATIENTSREQUEST']._serialized_start=1851 + _globals['_GETRECENTPATIENTSREQUEST']._serialized_end=1877 + _globals['_GETRECENTPATIENTSRESPONSE']._serialized_start=1880 + _globals['_GETRECENTPATIENTSRESPONSE']._serialized_end=2378 + _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_start=645 + _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_end=686 + _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_start=576 + _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_end=643 + _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=2134 + _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=2378 + _globals['_UPDATEPATIENTREQUEST']._serialized_start=2381 + _globals['_UPDATEPATIENTREQUEST']._serialized_end=2551 + _globals['_UPDATEPATIENTRESPONSE']._serialized_start=2553 + _globals['_UPDATEPATIENTRESPONSE']._serialized_end=2576 + _globals['_ASSIGNBEDREQUEST']._serialized_start=2578 + _globals['_ASSIGNBEDREQUEST']._serialized_end=2635 + _globals['_ASSIGNBEDRESPONSE']._serialized_start=2637 + _globals['_ASSIGNBEDRESPONSE']._serialized_end=2656 + _globals['_UNASSIGNBEDREQUEST']._serialized_start=2658 + _globals['_UNASSIGNBEDREQUEST']._serialized_end=2694 + _globals['_UNASSIGNBEDRESPONSE']._serialized_start=2696 + _globals['_UNASSIGNBEDRESPONSE']._serialized_end=2717 + _globals['_DISCHARGEPATIENTREQUEST']._serialized_start=2719 + _globals['_DISCHARGEPATIENTREQUEST']._serialized_end=2760 + _globals['_DISCHARGEPATIENTRESPONSE']._serialized_start=2762 + _globals['_DISCHARGEPATIENTRESPONSE']._serialized_end=2788 + _globals['_GETPATIENTDETAILSREQUEST']._serialized_start=2790 + _globals['_GETPATIENTDETAILSREQUEST']._serialized_end=2832 + _globals['_GETPATIENTDETAILSRESPONSE']._serialized_start=2835 + _globals['_GETPATIENTDETAILSRESPONSE']._serialized_end=3982 + _globals['_GETPATIENTDETAILSRESPONSE_ROOM']._serialized_start=576 + _globals['_GETPATIENTDETAILSRESPONSE_ROOM']._serialized_end=643 + _globals['_GETPATIENTDETAILSRESPONSE_BED']._serialized_start=645 + _globals['_GETPATIENTDETAILSRESPONSE_BED']._serialized_end=686 + _globals['_GETPATIENTDETAILSRESPONSE_TASK']._serialized_start=3397 + _globals['_GETPATIENTDETAILSRESPONSE_TASK']._serialized_end=3837 + _globals['_GETPATIENTDETAILSRESPONSE_TASK_SUBTASK']._serialized_start=3751 + _globals['_GETPATIENTDETAILSRESPONSE_TASK_SUBTASK']._serialized_end=3816 + _globals['_GETPATIENTDETAILSRESPONSE_TASKSTATUS']._serialized_start=3839 + _globals['_GETPATIENTDETAILSRESPONSE_TASKSTATUS']._serialized_end=3953 + _globals['_GETPATIENTLISTREQUEST']._serialized_start=3984 + _globals['_GETPATIENTLISTREQUEST']._serialized_end=4049 + _globals['_GETPATIENTLISTRESPONSE']._serialized_start=4052 + _globals['_GETPATIENTLISTRESPONSE']._serialized_end=5558 + _globals['_GETPATIENTLISTRESPONSE_PATIENT']._serialized_start=4377 + _globals['_GETPATIENTLISTRESPONSE_PATIENT']._serialized_end=4557 + _globals['_GETPATIENTLISTRESPONSE_BED']._serialized_start=645 + _globals['_GETPATIENTLISTRESPONSE_BED']._serialized_end=686 + _globals['_GETPATIENTLISTRESPONSE_ROOM']._serialized_start=576 + _globals['_GETPATIENTLISTRESPONSE_ROOM']._serialized_end=643 + _globals['_GETPATIENTLISTRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=4672 + _globals['_GETPATIENTLISTRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=5005 + _globals['_GETPATIENTLISTRESPONSE_TASK']._serialized_start=5008 + _globals['_GETPATIENTLISTRESPONSE_TASK']._serialized_end=5442 + _globals['_GETPATIENTLISTRESPONSE_TASK_SUBTASK']._serialized_start=3751 + _globals['_GETPATIENTLISTRESPONSE_TASK_SUBTASK']._serialized_end=3816 + _globals['_GETPATIENTLISTRESPONSE_TASKSTATUS']._serialized_start=3839 + _globals['_GETPATIENTLISTRESPONSE_TASKSTATUS']._serialized_end=3953 + _globals['_READMITPATIENTREQUEST']._serialized_start=5560 + _globals['_READMITPATIENTREQUEST']._serialized_end=5614 + _globals['_READMITPATIENTRESPONSE']._serialized_start=5616 + _globals['_READMITPATIENTRESPONSE']._serialized_end=5640 + _globals['_PATIENTSERVICE']._serialized_start=5643 + _globals['_PATIENTSERVICE']._serialized_end=7241 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/task_svc/v1/patient_svc_pb2_grpc.py b/services/impulse_svc/gen/services/task_svc/v1/patient_svc_pb2_grpc.py new file mode 100644 index 000000000..1c7582d8f --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/patient_svc_pb2_grpc.py @@ -0,0 +1,648 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import patient_svc_pb2 as services_dot_task__svc_dot_v1_dot_patient__svc__pb2 + + +class PatientServiceStub(object): + """ + PatientService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreatePatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/CreatePatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, + _registered_method=True) + self.GetPatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, + _registered_method=True) + self.GetPatientByBed = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatientByBed', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.FromString, + _registered_method=True) + self.GetPatientsByWard = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatientsByWard', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.FromString, + _registered_method=True) + self.GetPatientAssignmentByWard = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatientAssignmentByWard', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.FromString, + _registered_method=True) + self.GetRecentPatients = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetRecentPatients', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, + _registered_method=True) + self.UpdatePatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/UpdatePatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, + _registered_method=True) + self.AssignBed = channel.unary_unary( + '/services.task_svc.v1.PatientService/AssignBed', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, + _registered_method=True) + self.UnassignBed = channel.unary_unary( + '/services.task_svc.v1.PatientService/UnassignBed', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, + _registered_method=True) + self.DischargePatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/DischargePatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, + _registered_method=True) + self.GetPatientDetails = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatientDetails', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.FromString, + _registered_method=True) + self.GetPatientList = channel.unary_unary( + '/services.task_svc.v1.PatientService/GetPatientList', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.FromString, + _registered_method=True) + self.DeletePatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/DeletePatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.FromString, + _registered_method=True) + self.ReadmitPatient = channel.unary_unary( + '/services.task_svc.v1.PatientService/ReadmitPatient', + request_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, + _registered_method=True) + + +class PatientServiceServicer(object): + """ + PatientService + + + """ + + def CreatePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatientByBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatientsByWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatientAssignmentByWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRecentPatients(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdatePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AssignBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnassignBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DischargePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatientDetails(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatientList(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeletePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ReadmitPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PatientServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreatePatient': grpc.unary_unary_rpc_method_handler( + servicer.CreatePatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.SerializeToString, + ), + 'GetPatient': grpc.unary_unary_rpc_method_handler( + servicer.GetPatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.SerializeToString, + ), + 'GetPatientByBed': grpc.unary_unary_rpc_method_handler( + servicer.GetPatientByBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.SerializeToString, + ), + 'GetPatientsByWard': grpc.unary_unary_rpc_method_handler( + servicer.GetPatientsByWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.SerializeToString, + ), + 'GetPatientAssignmentByWard': grpc.unary_unary_rpc_method_handler( + servicer.GetPatientAssignmentByWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.SerializeToString, + ), + 'GetRecentPatients': grpc.unary_unary_rpc_method_handler( + servicer.GetRecentPatients, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.SerializeToString, + ), + 'UpdatePatient': grpc.unary_unary_rpc_method_handler( + servicer.UpdatePatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.SerializeToString, + ), + 'AssignBed': grpc.unary_unary_rpc_method_handler( + servicer.AssignBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.SerializeToString, + ), + 'UnassignBed': grpc.unary_unary_rpc_method_handler( + servicer.UnassignBed, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.SerializeToString, + ), + 'DischargePatient': grpc.unary_unary_rpc_method_handler( + servicer.DischargePatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.SerializeToString, + ), + 'GetPatientDetails': grpc.unary_unary_rpc_method_handler( + servicer.GetPatientDetails, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.SerializeToString, + ), + 'GetPatientList': grpc.unary_unary_rpc_method_handler( + servicer.GetPatientList, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.SerializeToString, + ), + 'DeletePatient': grpc.unary_unary_rpc_method_handler( + servicer.DeletePatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.SerializeToString, + ), + 'ReadmitPatient': grpc.unary_unary_rpc_method_handler( + servicer.ReadmitPatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.PatientService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.PatientService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PatientService(object): + """ + PatientService + + + """ + + @staticmethod + def CreatePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/CreatePatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatientByBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatientByBed', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientByBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatientsByWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatientsByWard', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientsByWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatientAssignmentByWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatientAssignmentByWard', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientAssignmentByWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRecentPatients(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetRecentPatients', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdatePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/UpdatePatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AssignBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/AssignBed', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnassignBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/UnassignBed', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DischargePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/DischargePatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatientDetails(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatientDetails', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientDetailsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatientList(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/GetPatientList', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.GetPatientListResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeletePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/DeletePatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.DeletePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ReadmitPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.PatientService/ReadmitPatient', + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/task_svc/v1/room_svc_pb2.py b/services/impulse_svc/gen/services/task_svc/v1/room_svc_pb2.py new file mode 100644 index 000000000..9d524a02d --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/room_svc_pb2.py @@ -0,0 +1,71 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/room_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#services/task_svc/v1/room_svc.proto\x12\x14services.task_svc.v1\"@\n\x11\x43reateRoomRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x02 \x01(\tR\x06wardId\"$\n\x12\x43reateRoomResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xe1\x01\n\x0fGetRoomResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12=\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32).services.task_svc.v1.GetRoomResponse.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x11\n\x0fGetRoomsRequest\"\xb4\x02\n\x10GetRoomsResponse\x12\x41\n\x05rooms\x18\x01 \x03(\x0b\x32+.services.task_svc.v1.GetRoomsResponse.RoomR\x05rooms\x1a\xdc\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x43\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32/.services.task_svc.v1.GetRoomsResponse.Room.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"0\n\x15GetRoomsByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xc6\x02\n\x16GetRoomsByWardResponse\x12G\n\x05rooms\x18\x01 \x03(\x0b\x32\x31.services.task_svc.v1.GetRoomsByWardResponse.RoomR\x05rooms\x1a\xe2\x01\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12I\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x35.services.task_svc.v1.GetRoomsByWardResponse.Room.BedR\x04\x62\x65\x64s\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x17\n\x07ward_id\x18\x05 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"E\n\x11UpdateRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x14\n\x12UpdateRoomResponse\"#\n\x11\x44\x65leteRoomRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteRoomResponse\"/\n\x1dGetRoomOverviewsByWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xdf\x04\n\x1eGetRoomOverviewsByWardResponse\x12O\n\x05rooms\x18\x01 \x03(\x0b\x32\x39.services.task_svc.v1.GetRoomOverviewsByWardResponse.RoomR\x05rooms\x1a\xeb\x03\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12Q\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32=.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.BedR\x04\x62\x65\x64s\x1a\xeb\x02\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x64\n\x07patient\x18\x02 \x01(\x0b\x32\x45.services.task_svc.v1.GetRoomOverviewsByWardResponse.Room.Bed.PatientH\x00R\x07patient\x88\x01\x01\x1a\xcd\x01\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12+\n\x11tasks_unscheduled\x18\x03 \x01(\rR\x10tasksUnscheduled\x12*\n\x11tasks_in_progress\x18\x04 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x05 \x01(\rR\ttasksDoneB\n\n\x08_patient2\xe4\x05\n\x0bRoomService\x12\x61\n\nCreateRoom\x12\'.services.task_svc.v1.CreateRoomRequest\x1a(.services.task_svc.v1.CreateRoomResponse\"\x00\x12X\n\x07GetRoom\x12$.services.task_svc.v1.GetRoomRequest\x1a%.services.task_svc.v1.GetRoomResponse\"\x00\x12[\n\x08GetRooms\x12%.services.task_svc.v1.GetRoomsRequest\x1a&.services.task_svc.v1.GetRoomsResponse\"\x00\x12m\n\x0eGetRoomsByWard\x12+.services.task_svc.v1.GetRoomsByWardRequest\x1a,.services.task_svc.v1.GetRoomsByWardResponse\"\x00\x12\x61\n\nUpdateRoom\x12\'.services.task_svc.v1.UpdateRoomRequest\x1a(.services.task_svc.v1.UpdateRoomResponse\"\x00\x12\x61\n\nDeleteRoom\x12\'.services.task_svc.v1.DeleteRoomRequest\x1a(.services.task_svc.v1.DeleteRoomResponse\"\x00\x12\x85\x01\n\x16GetRoomOverviewsByWard\x12\x33.services.task_svc.v1.GetRoomOverviewsByWardRequest\x1a\x34.services.task_svc.v1.GetRoomOverviewsByWardResponse\"\x00\x42\xb3\x01\n\x18\x63om.services.task_svc.v1B\x0cRoomSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.room_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\014RoomSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_CREATEROOMREQUEST']._serialized_start=61 + _globals['_CREATEROOMREQUEST']._serialized_end=125 + _globals['_CREATEROOMRESPONSE']._serialized_start=127 + _globals['_CREATEROOMRESPONSE']._serialized_end=163 + _globals['_GETROOMREQUEST']._serialized_start=165 + _globals['_GETROOMREQUEST']._serialized_end=197 + _globals['_GETROOMRESPONSE']._serialized_start=200 + _globals['_GETROOMRESPONSE']._serialized_end=425 + _globals['_GETROOMRESPONSE_BED']._serialized_start=384 + _globals['_GETROOMRESPONSE_BED']._serialized_end=425 + _globals['_GETROOMSREQUEST']._serialized_start=427 + _globals['_GETROOMSREQUEST']._serialized_end=444 + _globals['_GETROOMSRESPONSE']._serialized_start=447 + _globals['_GETROOMSRESPONSE']._serialized_end=755 + _globals['_GETROOMSRESPONSE_ROOM']._serialized_start=535 + _globals['_GETROOMSRESPONSE_ROOM']._serialized_end=755 + _globals['_GETROOMSRESPONSE_ROOM_BED']._serialized_start=384 + _globals['_GETROOMSRESPONSE_ROOM_BED']._serialized_end=425 + _globals['_GETROOMSBYWARDREQUEST']._serialized_start=757 + _globals['_GETROOMSBYWARDREQUEST']._serialized_end=805 + _globals['_GETROOMSBYWARDRESPONSE']._serialized_start=808 + _globals['_GETROOMSBYWARDRESPONSE']._serialized_end=1134 + _globals['_GETROOMSBYWARDRESPONSE_ROOM']._serialized_start=908 + _globals['_GETROOMSBYWARDRESPONSE_ROOM']._serialized_end=1134 + _globals['_GETROOMSBYWARDRESPONSE_ROOM_BED']._serialized_start=384 + _globals['_GETROOMSBYWARDRESPONSE_ROOM_BED']._serialized_end=425 + _globals['_UPDATEROOMREQUEST']._serialized_start=1136 + _globals['_UPDATEROOMREQUEST']._serialized_end=1205 + _globals['_UPDATEROOMRESPONSE']._serialized_start=1207 + _globals['_UPDATEROOMRESPONSE']._serialized_end=1227 + _globals['_DELETEROOMREQUEST']._serialized_start=1229 + _globals['_DELETEROOMREQUEST']._serialized_end=1264 + _globals['_DELETEROOMRESPONSE']._serialized_start=1266 + _globals['_DELETEROOMRESPONSE']._serialized_end=1286 + _globals['_GETROOMOVERVIEWSBYWARDREQUEST']._serialized_start=1288 + _globals['_GETROOMOVERVIEWSBYWARDREQUEST']._serialized_end=1335 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE']._serialized_start=1338 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE']._serialized_end=1945 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM']._serialized_start=1454 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM']._serialized_end=1945 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED']._serialized_start=1582 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED']._serialized_end=1945 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_start=1728 + _globals['_GETROOMOVERVIEWSBYWARDRESPONSE_ROOM_BED_PATIENT']._serialized_end=1933 + _globals['_ROOMSERVICE']._serialized_start=1948 + _globals['_ROOMSERVICE']._serialized_end=2688 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/task_svc/v1/room_svc_pb2_grpc.py b/services/impulse_svc/gen/services/task_svc/v1/room_svc_pb2_grpc.py new file mode 100644 index 000000000..ca88d7005 --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/room_svc_pb2_grpc.py @@ -0,0 +1,347 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import room_svc_pb2 as services_dot_task__svc_dot_v1_dot_room__svc__pb2 + + +class RoomServiceStub(object): + """ + RoomService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateRoom = channel.unary_unary( + '/services.task_svc.v1.RoomService/CreateRoom', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.FromString, + _registered_method=True) + self.GetRoom = channel.unary_unary( + '/services.task_svc.v1.RoomService/GetRoom', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.FromString, + _registered_method=True) + self.GetRooms = channel.unary_unary( + '/services.task_svc.v1.RoomService/GetRooms', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.FromString, + _registered_method=True) + self.GetRoomsByWard = channel.unary_unary( + '/services.task_svc.v1.RoomService/GetRoomsByWard', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.FromString, + _registered_method=True) + self.UpdateRoom = channel.unary_unary( + '/services.task_svc.v1.RoomService/UpdateRoom', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.FromString, + _registered_method=True) + self.DeleteRoom = channel.unary_unary( + '/services.task_svc.v1.RoomService/DeleteRoom', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.FromString, + _registered_method=True) + self.GetRoomOverviewsByWard = channel.unary_unary( + '/services.task_svc.v1.RoomService/GetRoomOverviewsByWard', + request_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.FromString, + _registered_method=True) + + +class RoomServiceServicer(object): + """ + RoomService + + + """ + + def CreateRoom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRoom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRooms(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRoomsByWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateRoom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteRoom(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRoomOverviewsByWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_RoomServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateRoom': grpc.unary_unary_rpc_method_handler( + servicer.CreateRoom, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.SerializeToString, + ), + 'GetRoom': grpc.unary_unary_rpc_method_handler( + servicer.GetRoom, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.SerializeToString, + ), + 'GetRooms': grpc.unary_unary_rpc_method_handler( + servicer.GetRooms, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.SerializeToString, + ), + 'GetRoomsByWard': grpc.unary_unary_rpc_method_handler( + servicer.GetRoomsByWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.SerializeToString, + ), + 'UpdateRoom': grpc.unary_unary_rpc_method_handler( + servicer.UpdateRoom, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.SerializeToString, + ), + 'DeleteRoom': grpc.unary_unary_rpc_method_handler( + servicer.DeleteRoom, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.SerializeToString, + ), + 'GetRoomOverviewsByWard': grpc.unary_unary_rpc_method_handler( + servicer.GetRoomOverviewsByWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.RoomService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.RoomService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class RoomService(object): + """ + RoomService + + + """ + + @staticmethod + def CreateRoom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/CreateRoom', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.CreateRoomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRoom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/GetRoom', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRooms(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/GetRooms', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRoomsByWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/GetRoomsByWard', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomsByWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateRoom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/UpdateRoom', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.UpdateRoomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteRoom(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/DeleteRoom', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.DeleteRoomResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRoomOverviewsByWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.RoomService/GetRoomOverviewsByWard', + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_room__svc__pb2.GetRoomOverviewsByWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/task_svc/v1/task_svc_pb2.py b/services/impulse_svc/gen/services/task_svc/v1/task_svc_pb2.py new file mode 100644 index 000000000..fa90b5a52 --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/task_svc_pb2.py @@ -0,0 +1,124 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/task_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#services/task_svc/v1/task_svc.proto\x12\x14services.task_svc.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\x02\n\x11\x43reateTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1d\n\npatient_id\x18\x03 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x04 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12L\n\x0einitial_status\x18\x06 \x01(\x0e\x32 .services.task_svc.v1.TaskStatusH\x01R\rinitialStatus\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_initial_status\"$\n\x12\x43reateTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xf3\x04\n\x0fGetTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x38\n\x06status\x18\x04 \x01(\x0e\x32 .services.task_svc.v1.TaskStatusR\x06status\x12(\n\x10\x61ssigned_user_id\x18\x05 \x01(\tR\x0e\x61ssignedUserId\x12G\n\x07patient\x18\x06 \x01(\x0b\x32-.services.task_svc.v1.GetTaskResponse.PatientR\x07patient\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12I\n\x08subtasks\x18\n \x03(\x0b\x32-.services.task_svc.v1.GetTaskResponse.SubTaskR\x08subtasks\x12\'\n\x0forganization_id\x18\x0b \x01(\tR\x0eorganizationId\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedBy\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"9\n\x18GetTasksByPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\xf9\x04\n\x19GetTasksByPatientResponse\x12J\n\x05tasks\x18\x01 \x03(\x0b\x32\x34.services.task_svc.v1.GetTasksByPatientResponse.TaskR\x05tasks\x1a\x8f\x04\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x38\n\x06status\x18\x04 \x01(\x0e\x32 .services.task_svc.v1.TaskStatusR\x06status\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12X\n\x08subtasks\x18\n \x03(\x0b\x32<.services.task_svc.v1.GetTasksByPatientResponse.Task.SubTaskR\x08subtasks\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedByB\x13\n\x11_assigned_user_id\"G\n&GetTasksByPatientSortedByStatusRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\xa4\x06\n\'GetTasksByPatientSortedByStatusResponse\x12V\n\x04todo\x18\x01 \x03(\x0b\x32\x42.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\x04todo\x12\x63\n\x0bin_progress\x18\x02 \x03(\x0b\x32\x42.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\ninProgress\x12V\n\x04\x64one\x18\x03 \x03(\x0b\x32\x42.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.TaskR\x04\x64one\x1a\xe3\x03\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12-\n\x10\x61ssigned_user_id\x18\x05 \x01(\tH\x00R\x0e\x61ssignedUserId\x88\x01\x01\x12\x1d\n\npatient_id\x18\x06 \x01(\tR\tpatientId\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12\x66\n\x08subtasks\x18\n \x03(\x0b\x32J.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse.Task.SubTaskR\x08subtasks\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedByB\x13\n\x11_assigned_user_id\"\x19\n\x17GetAssignedTasksRequest\"\xc3\x05\n\x18GetAssignedTasksResponse\x12I\n\x05tasks\x18\x01 \x03(\x0b\x32\x33.services.task_svc.v1.GetAssignedTasksResponse.TaskR\x05tasks\x1a\xdb\x04\n\x04Task\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x38\n\x06status\x18\x04 \x01(\x0e\x32 .services.task_svc.v1.TaskStatusR\x06status\x12(\n\x10\x61ssigned_user_id\x18\x05 \x01(\tR\x0e\x61ssignedUserId\x12U\n\x07patient\x18\x06 \x01(\x0b\x32;.services.task_svc.v1.GetAssignedTasksResponse.Task.PatientR\x07patient\x12\x16\n\x06public\x18\x07 \x01(\x08R\x06public\x12\x31\n\x06\x64ue_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12\x1d\n\ncreated_by\x18\t \x01(\tR\tcreatedBy\x12W\n\x08subtasks\x18\n \x03(\x0b\x32;.services.task_svc.v1.GetAssignedTasksResponse.Task.SubTaskR\x08subtasks\x1a-\n\x07Patient\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a`\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12\x1d\n\ncreated_by\x18\x04 \x01(\tR\tcreatedBy\"\xe7\x01\n\x11UpdateTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x36\n\x06\x64ue_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x05\x64ueAt\x88\x01\x01\x12\x1b\n\x06public\x18\x05 \x01(\x08H\x03R\x06public\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\t\n\x07_due_atB\t\n\x07_public\"\x14\n\x12UpdateTaskResponse\"b\n\x11\x41\x64\x64SubTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x17\n\x07task_id\x18\x02 \x01(\tR\x06taskId\x12\x17\n\x04\x64one\x18\x03 \x01(\x08H\x00R\x04\x64one\x88\x01\x01\x42\x07\n\x05_done\"$\n\x12\x41\x64\x64SubTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"&\n\x14RemoveSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15RemoveSubTaskResponse\"H\n\x14UpdateSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x17\n\x15UpdateSubTaskResponse\"&\n\x14SubTaskToToDoRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15SubTaskToToDoResponse\"&\n\x14SubTaskToDoneRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15SubTaskToDoneResponse\"#\n\x11TaskToToDoRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12TaskToToDoResponse\")\n\x17TaskToInProgressRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18TaskToInProgressResponse\"#\n\x11TaskToDoneRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12TaskToDoneResponse\"B\n\x17\x41ssignTaskToUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x1a\n\x18\x41ssignTaskToUserResponse\"-\n\x1bUnassignTaskFromUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1e\n\x1cUnassignTaskFromUserResponse\"$\n\x12PublishTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13PublishTaskResponse\"&\n\x14UnpublishTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x17\n\x15UnpublishTaskResponse\"#\n\x11\x44\x65leteTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteTaskResponse*r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x32\xb6\x10\n\x0bTaskService\x12\x61\n\nCreateTask\x12\'.services.task_svc.v1.CreateTaskRequest\x1a(.services.task_svc.v1.CreateTaskResponse\"\x00\x12X\n\x07GetTask\x12$.services.task_svc.v1.GetTaskRequest\x1a%.services.task_svc.v1.GetTaskResponse\"\x00\x12v\n\x11GetTasksByPatient\x12..services.task_svc.v1.GetTasksByPatientRequest\x1a/.services.task_svc.v1.GetTasksByPatientResponse\"\x00\x12\xa0\x01\n\x1fGetTasksByPatientSortedByStatus\x12<.services.task_svc.v1.GetTasksByPatientSortedByStatusRequest\x1a=.services.task_svc.v1.GetTasksByPatientSortedByStatusResponse\"\x00\x12s\n\x10GetAssignedTasks\x12-.services.task_svc.v1.GetAssignedTasksRequest\x1a..services.task_svc.v1.GetAssignedTasksResponse\"\x00\x12\x61\n\nUpdateTask\x12\'.services.task_svc.v1.UpdateTaskRequest\x1a(.services.task_svc.v1.UpdateTaskResponse\"\x00\x12\x61\n\nAddSubTask\x12\'.services.task_svc.v1.AddSubTaskRequest\x1a(.services.task_svc.v1.AddSubTaskResponse\"\x00\x12j\n\rRemoveSubTask\x12*.services.task_svc.v1.RemoveSubTaskRequest\x1a+.services.task_svc.v1.RemoveSubTaskResponse\"\x00\x12j\n\rUpdateSubTask\x12*.services.task_svc.v1.UpdateSubTaskRequest\x1a+.services.task_svc.v1.UpdateSubTaskResponse\"\x00\x12j\n\rSubTaskToToDo\x12*.services.task_svc.v1.SubTaskToToDoRequest\x1a+.services.task_svc.v1.SubTaskToToDoResponse\"\x00\x12j\n\rSubTaskToDone\x12*.services.task_svc.v1.SubTaskToDoneRequest\x1a+.services.task_svc.v1.SubTaskToDoneResponse\"\x00\x12\x61\n\nTaskToToDo\x12\'.services.task_svc.v1.TaskToToDoRequest\x1a(.services.task_svc.v1.TaskToToDoResponse\"\x00\x12s\n\x10TaskToInProgress\x12-.services.task_svc.v1.TaskToInProgressRequest\x1a..services.task_svc.v1.TaskToInProgressResponse\"\x00\x12\x61\n\nTaskToDone\x12\'.services.task_svc.v1.TaskToDoneRequest\x1a(.services.task_svc.v1.TaskToDoneResponse\"\x00\x12s\n\x10\x41ssignTaskToUser\x12-.services.task_svc.v1.AssignTaskToUserRequest\x1a..services.task_svc.v1.AssignTaskToUserResponse\"\x00\x12\x7f\n\x14UnassignTaskFromUser\x12\x31.services.task_svc.v1.UnassignTaskFromUserRequest\x1a\x32.services.task_svc.v1.UnassignTaskFromUserResponse\"\x00\x12\x64\n\x0bPublishTask\x12(.services.task_svc.v1.PublishTaskRequest\x1a).services.task_svc.v1.PublishTaskResponse\"\x00\x12j\n\rUnpublishTask\x12*.services.task_svc.v1.UnpublishTaskRequest\x1a+.services.task_svc.v1.UnpublishTaskResponse\"\x00\x12\x61\n\nDeleteTask\x12\'.services.task_svc.v1.DeleteTaskRequest\x1a(.services.task_svc.v1.DeleteTaskResponse\"\x00\x42\xb3\x01\n\x18\x63om.services.task_svc.v1B\x0cTaskSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.task_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\014TaskSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_TASKSTATUS']._serialized_start=4645 + _globals['_TASKSTATUS']._serialized_end=4759 + _globals['_CREATETASKREQUEST']._serialized_start=95 + _globals['_CREATETASKREQUEST']._serialized_end=392 + _globals['_CREATETASKRESPONSE']._serialized_start=394 + _globals['_CREATETASKRESPONSE']._serialized_end=430 + _globals['_GETTASKREQUEST']._serialized_start=432 + _globals['_GETTASKREQUEST']._serialized_end=464 + _globals['_GETTASKRESPONSE']._serialized_start=467 + _globals['_GETTASKRESPONSE']._serialized_end=1094 + _globals['_GETTASKRESPONSE_SUBTASK']._serialized_start=951 + _globals['_GETTASKRESPONSE_SUBTASK']._serialized_end=1047 + _globals['_GETTASKRESPONSE_PATIENT']._serialized_start=1049 + _globals['_GETTASKRESPONSE_PATIENT']._serialized_end=1094 + _globals['_GETTASKSBYPATIENTREQUEST']._serialized_start=1096 + _globals['_GETTASKSBYPATIENTREQUEST']._serialized_end=1153 + _globals['_GETTASKSBYPATIENTRESPONSE']._serialized_start=1156 + _globals['_GETTASKSBYPATIENTRESPONSE']._serialized_end=1789 + _globals['_GETTASKSBYPATIENTRESPONSE_TASK']._serialized_start=1262 + _globals['_GETTASKSBYPATIENTRESPONSE_TASK']._serialized_end=1789 + _globals['_GETTASKSBYPATIENTRESPONSE_TASK_SUBTASK']._serialized_start=951 + _globals['_GETTASKSBYPATIENTRESPONSE_TASK_SUBTASK']._serialized_end=1047 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSREQUEST']._serialized_start=1791 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSREQUEST']._serialized_end=1862 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE']._serialized_start=1865 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE']._serialized_end=2669 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK']._serialized_start=2186 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK']._serialized_end=2669 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK_SUBTASK']._serialized_start=951 + _globals['_GETTASKSBYPATIENTSORTEDBYSTATUSRESPONSE_TASK_SUBTASK']._serialized_end=1047 + _globals['_GETASSIGNEDTASKSREQUEST']._serialized_start=2671 + _globals['_GETASSIGNEDTASKSREQUEST']._serialized_end=2696 + _globals['_GETASSIGNEDTASKSRESPONSE']._serialized_start=2699 + _globals['_GETASSIGNEDTASKSRESPONSE']._serialized_end=3406 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK']._serialized_start=2803 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK']._serialized_end=3406 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK_PATIENT']._serialized_start=1049 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK_PATIENT']._serialized_end=1094 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK_SUBTASK']._serialized_start=951 + _globals['_GETASSIGNEDTASKSRESPONSE_TASK_SUBTASK']._serialized_end=1047 + _globals['_UPDATETASKREQUEST']._serialized_start=3409 + _globals['_UPDATETASKREQUEST']._serialized_end=3640 + _globals['_UPDATETASKRESPONSE']._serialized_start=3642 + _globals['_UPDATETASKRESPONSE']._serialized_end=3662 + _globals['_ADDSUBTASKREQUEST']._serialized_start=3664 + _globals['_ADDSUBTASKREQUEST']._serialized_end=3762 + _globals['_ADDSUBTASKRESPONSE']._serialized_start=3764 + _globals['_ADDSUBTASKRESPONSE']._serialized_end=3800 + _globals['_REMOVESUBTASKREQUEST']._serialized_start=3802 + _globals['_REMOVESUBTASKREQUEST']._serialized_end=3840 + _globals['_REMOVESUBTASKRESPONSE']._serialized_start=3842 + _globals['_REMOVESUBTASKRESPONSE']._serialized_end=3865 + _globals['_UPDATESUBTASKREQUEST']._serialized_start=3867 + _globals['_UPDATESUBTASKREQUEST']._serialized_end=3939 + _globals['_UPDATESUBTASKRESPONSE']._serialized_start=3941 + _globals['_UPDATESUBTASKRESPONSE']._serialized_end=3964 + _globals['_SUBTASKTOTODOREQUEST']._serialized_start=3966 + _globals['_SUBTASKTOTODOREQUEST']._serialized_end=4004 + _globals['_SUBTASKTOTODORESPONSE']._serialized_start=4006 + _globals['_SUBTASKTOTODORESPONSE']._serialized_end=4029 + _globals['_SUBTASKTODONEREQUEST']._serialized_start=4031 + _globals['_SUBTASKTODONEREQUEST']._serialized_end=4069 + _globals['_SUBTASKTODONERESPONSE']._serialized_start=4071 + _globals['_SUBTASKTODONERESPONSE']._serialized_end=4094 + _globals['_TASKTOTODOREQUEST']._serialized_start=4096 + _globals['_TASKTOTODOREQUEST']._serialized_end=4131 + _globals['_TASKTOTODORESPONSE']._serialized_start=4133 + _globals['_TASKTOTODORESPONSE']._serialized_end=4153 + _globals['_TASKTOINPROGRESSREQUEST']._serialized_start=4155 + _globals['_TASKTOINPROGRESSREQUEST']._serialized_end=4196 + _globals['_TASKTOINPROGRESSRESPONSE']._serialized_start=4198 + _globals['_TASKTOINPROGRESSRESPONSE']._serialized_end=4224 + _globals['_TASKTODONEREQUEST']._serialized_start=4226 + _globals['_TASKTODONEREQUEST']._serialized_end=4261 + _globals['_TASKTODONERESPONSE']._serialized_start=4263 + _globals['_TASKTODONERESPONSE']._serialized_end=4283 + _globals['_ASSIGNTASKTOUSERREQUEST']._serialized_start=4285 + _globals['_ASSIGNTASKTOUSERREQUEST']._serialized_end=4351 + _globals['_ASSIGNTASKTOUSERRESPONSE']._serialized_start=4353 + _globals['_ASSIGNTASKTOUSERRESPONSE']._serialized_end=4379 + _globals['_UNASSIGNTASKFROMUSERREQUEST']._serialized_start=4381 + _globals['_UNASSIGNTASKFROMUSERREQUEST']._serialized_end=4426 + _globals['_UNASSIGNTASKFROMUSERRESPONSE']._serialized_start=4428 + _globals['_UNASSIGNTASKFROMUSERRESPONSE']._serialized_end=4458 + _globals['_PUBLISHTASKREQUEST']._serialized_start=4460 + _globals['_PUBLISHTASKREQUEST']._serialized_end=4496 + _globals['_PUBLISHTASKRESPONSE']._serialized_start=4498 + _globals['_PUBLISHTASKRESPONSE']._serialized_end=4519 + _globals['_UNPUBLISHTASKREQUEST']._serialized_start=4521 + _globals['_UNPUBLISHTASKREQUEST']._serialized_end=4559 + _globals['_UNPUBLISHTASKRESPONSE']._serialized_start=4561 + _globals['_UNPUBLISHTASKRESPONSE']._serialized_end=4584 + _globals['_DELETETASKREQUEST']._serialized_start=4586 + _globals['_DELETETASKREQUEST']._serialized_end=4621 + _globals['_DELETETASKRESPONSE']._serialized_start=4623 + _globals['_DELETETASKRESPONSE']._serialized_end=4643 + _globals['_TASKSERVICE']._serialized_start=4762 + _globals['_TASKSERVICE']._serialized_end=6864 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/task_svc/v1/task_svc_pb2_grpc.py b/services/impulse_svc/gen/services/task_svc/v1/task_svc_pb2_grpc.py new file mode 100644 index 000000000..c67c6fa76 --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/task_svc_pb2_grpc.py @@ -0,0 +1,863 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import task_svc_pb2 as services_dot_task__svc_dot_v1_dot_task__svc__pb2 + + +class TaskServiceStub(object): + """ + TaskService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/CreateTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, + _registered_method=True) + self.GetTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/GetTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, + _registered_method=True) + self.GetTasksByPatient = channel.unary_unary( + '/services.task_svc.v1.TaskService/GetTasksByPatient', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.FromString, + _registered_method=True) + self.GetTasksByPatientSortedByStatus = channel.unary_unary( + '/services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.FromString, + _registered_method=True) + self.GetAssignedTasks = channel.unary_unary( + '/services.task_svc.v1.TaskService/GetAssignedTasks', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.FromString, + _registered_method=True) + self.UpdateTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/UpdateTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, + _registered_method=True) + self.AddSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/AddSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.FromString, + _registered_method=True) + self.RemoveSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/RemoveSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.FromString, + _registered_method=True) + self.UpdateSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/UpdateSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.FromString, + _registered_method=True) + self.SubTaskToToDo = channel.unary_unary( + '/services.task_svc.v1.TaskService/SubTaskToToDo', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.FromString, + _registered_method=True) + self.SubTaskToDone = channel.unary_unary( + '/services.task_svc.v1.TaskService/SubTaskToDone', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.FromString, + _registered_method=True) + self.TaskToToDo = channel.unary_unary( + '/services.task_svc.v1.TaskService/TaskToToDo', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.FromString, + _registered_method=True) + self.TaskToInProgress = channel.unary_unary( + '/services.task_svc.v1.TaskService/TaskToInProgress', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.FromString, + _registered_method=True) + self.TaskToDone = channel.unary_unary( + '/services.task_svc.v1.TaskService/TaskToDone', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.FromString, + _registered_method=True) + self.AssignTaskToUser = channel.unary_unary( + '/services.task_svc.v1.TaskService/AssignTaskToUser', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.FromString, + _registered_method=True) + self.UnassignTaskFromUser = channel.unary_unary( + '/services.task_svc.v1.TaskService/UnassignTaskFromUser', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.FromString, + _registered_method=True) + self.PublishTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/PublishTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.FromString, + _registered_method=True) + self.UnpublishTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/UnpublishTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.FromString, + _registered_method=True) + self.DeleteTask = channel.unary_unary( + '/services.task_svc.v1.TaskService/DeleteTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.FromString, + _registered_method=True) + + +class TaskServiceServicer(object): + """ + TaskService + + + """ + + def CreateTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTasksByPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTasksByPatientSortedByStatus(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAssignedTasks(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RemoveSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubTaskToToDo(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubTaskToDone(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TaskToToDo(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TaskToInProgress(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def TaskToDone(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AssignTaskToUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnassignTaskFromUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PublishTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnpublishTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_TaskServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateTask': grpc.unary_unary_rpc_method_handler( + servicer.CreateTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.SerializeToString, + ), + 'GetTask': grpc.unary_unary_rpc_method_handler( + servicer.GetTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.SerializeToString, + ), + 'GetTasksByPatient': grpc.unary_unary_rpc_method_handler( + servicer.GetTasksByPatient, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.SerializeToString, + ), + 'GetTasksByPatientSortedByStatus': grpc.unary_unary_rpc_method_handler( + servicer.GetTasksByPatientSortedByStatus, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.SerializeToString, + ), + 'GetAssignedTasks': grpc.unary_unary_rpc_method_handler( + servicer.GetAssignedTasks, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.SerializeToString, + ), + 'UpdateTask': grpc.unary_unary_rpc_method_handler( + servicer.UpdateTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.SerializeToString, + ), + 'AddSubTask': grpc.unary_unary_rpc_method_handler( + servicer.AddSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.SerializeToString, + ), + 'RemoveSubTask': grpc.unary_unary_rpc_method_handler( + servicer.RemoveSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.SerializeToString, + ), + 'UpdateSubTask': grpc.unary_unary_rpc_method_handler( + servicer.UpdateSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.SerializeToString, + ), + 'SubTaskToToDo': grpc.unary_unary_rpc_method_handler( + servicer.SubTaskToToDo, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.SerializeToString, + ), + 'SubTaskToDone': grpc.unary_unary_rpc_method_handler( + servicer.SubTaskToDone, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.SerializeToString, + ), + 'TaskToToDo': grpc.unary_unary_rpc_method_handler( + servicer.TaskToToDo, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.SerializeToString, + ), + 'TaskToInProgress': grpc.unary_unary_rpc_method_handler( + servicer.TaskToInProgress, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.SerializeToString, + ), + 'TaskToDone': grpc.unary_unary_rpc_method_handler( + servicer.TaskToDone, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.SerializeToString, + ), + 'AssignTaskToUser': grpc.unary_unary_rpc_method_handler( + servicer.AssignTaskToUser, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.SerializeToString, + ), + 'UnassignTaskFromUser': grpc.unary_unary_rpc_method_handler( + servicer.UnassignTaskFromUser, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.SerializeToString, + ), + 'PublishTask': grpc.unary_unary_rpc_method_handler( + servicer.PublishTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.SerializeToString, + ), + 'UnpublishTask': grpc.unary_unary_rpc_method_handler( + servicer.UnpublishTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.SerializeToString, + ), + 'DeleteTask': grpc.unary_unary_rpc_method_handler( + servicer.DeleteTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.TaskService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.TaskService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class TaskService(object): + """ + TaskService + + + """ + + @staticmethod + def CreateTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/CreateTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/GetTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetTasksByPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/GetTasksByPatient', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetTasksByPatientSortedByStatus(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetTasksByPatientSortedByStatusResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAssignedTasks(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/GetAssignedTasks', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.GetAssignedTasksResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/UpdateTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AddSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/AddSubTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.AddSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RemoveSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/RemoveSubTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.RemoveSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/UpdateSubTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UpdateSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubTaskToToDo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/SubTaskToToDo', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToToDoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubTaskToDone(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/SubTaskToDone', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.SubTaskToDoneResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TaskToToDo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/TaskToToDo', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToToDoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TaskToInProgress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/TaskToInProgress', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToInProgressResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TaskToDone(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/TaskToDone', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.TaskToDoneResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AssignTaskToUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/AssignTaskToUser', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.AssignTaskToUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnassignTaskFromUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/UnassignTaskFromUser', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnassignTaskFromUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PublishTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/PublishTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.PublishTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnpublishTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/UnpublishTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.UnpublishTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskService/DeleteTask', + services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__svc__pb2.DeleteTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/task_svc/v1/task_template_svc_pb2.py b/services/impulse_svc/gen/services/task_svc/v1/task_template_svc_pb2.py new file mode 100644 index 000000000..3526abe25 --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/task_template_svc_pb2.py @@ -0,0 +1,77 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/task_template_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,services/task_svc/v1/task_template_svc.proto\x12\x14services.task_svc.v1\"\x84\x02\n\x19\x43reateTaskTemplateRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1c\n\x07ward_id\x18\x04 \x01(\tH\x01R\x06wardId\x88\x01\x01\x12S\n\x08subtasks\x18\x05 \x03(\x0b\x32\x37.services.task_svc.v1.CreateTaskTemplateRequest.SubTaskR\x08subtasks\x1a\x1d\n\x07SubTask\x12\x12\n\x04name\x18\x01 \x01(\tR\x04nameB\x0e\n\x0c_descriptionB\n\n\x08_ward_id\",\n\x1a\x43reateTaskTemplateResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1aGetAllTaskTemplatesRequest\"\xcb\x03\n\x1bGetAllTaskTemplatesResponse\x12\\\n\ttemplates\x18\x01 \x03(\x0b\x32>.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplateR\ttemplates\x1a\xcd\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12\x1d\n\ncreated_by\x18\x06 \x01(\tR\tcreatedBy\x12\x62\n\x08subtasks\x18\x07 \x03(\x0b\x32\x46.services.task_svc.v1.GetAllTaskTemplatesResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"+\n\x19\x44\x65leteTaskTemplateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1a\x44\x65leteTaskTemplateResponse\"2\n DeleteTaskTemplateSubTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n!DeleteTaskTemplateSubTaskResponse\"\x84\x01\n\x19UpdateTaskTemplateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"\x1c\n\x1aUpdateTaskTemplateResponse\"c\n UpdateTaskTemplateSubTaskRequest\x12\x1d\n\nsubtask_id\x18\x01 \x01(\tR\tsubtaskId\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"#\n!UpdateTaskTemplateSubTaskResponse\"`\n CreateTaskTemplateSubTaskRequest\x12(\n\x10task_template_id\x18\x01 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"3\n!CreateTaskTemplateSubTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"}\n#GetAllTaskTemplatesByCreatorRequest\x12\x1d\n\ncreated_by\x18\x01 \x01(\tR\tcreatedBy\x12&\n\x0cprivate_only\x18\x02 \x01(\x08H\x00R\x0bprivateOnly\x88\x01\x01\x42\x0f\n\r_private_only\"\xc7\x03\n$GetAllTaskTemplatesByCreatorResponse\x12\x65\n\ttemplates\x18\x01 \x03(\x0b\x32G.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplateR\ttemplates\x1a\xb7\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12k\n\x08subtasks\x18\x07 \x03(\x0b\x32O.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\";\n GetAllTaskTemplatesByWardRequest\x12\x17\n\x07ward_id\x18\x01 \x01(\tR\x06wardId\"\xdd\x03\n!GetAllTaskTemplatesByWardResponse\x12\x62\n\ttemplates\x18\x01 \x03(\x0b\x32\x44.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplateR\ttemplates\x1a\xd3\x02\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tis_public\x18\x04 \x01(\x08R\x08isPublic\x12\x1d\n\ncreated_by\x18\x06 \x01(\tR\tcreatedBy\x12h\n\x08subtasks\x18\x07 \x03(\x0b\x32L.services.task_svc.v1.GetAllTaskTemplatesByWardResponse.TaskTemplate.SubTaskR\x08subtasks\x1aW\n\x07SubTask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12(\n\x10task_template_id\x18\x02 \x01(\tR\x0etaskTemplateId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name2\xe2\t\n\x13TaskTemplateService\x12y\n\x12\x43reateTaskTemplate\x12/.services.task_svc.v1.CreateTaskTemplateRequest\x1a\x30.services.task_svc.v1.CreateTaskTemplateResponse\"\x00\x12|\n\x13GetAllTaskTemplates\x12\x30.services.task_svc.v1.GetAllTaskTemplatesRequest\x1a\x31.services.task_svc.v1.GetAllTaskTemplatesResponse\"\x00\x12y\n\x12\x44\x65leteTaskTemplate\x12/.services.task_svc.v1.DeleteTaskTemplateRequest\x1a\x30.services.task_svc.v1.DeleteTaskTemplateResponse\"\x00\x12\x8e\x01\n\x19\x44\x65leteTaskTemplateSubTask\x12\x36.services.task_svc.v1.DeleteTaskTemplateSubTaskRequest\x1a\x37.services.task_svc.v1.DeleteTaskTemplateSubTaskResponse\"\x00\x12y\n\x12UpdateTaskTemplate\x12/.services.task_svc.v1.UpdateTaskTemplateRequest\x1a\x30.services.task_svc.v1.UpdateTaskTemplateResponse\"\x00\x12\x8e\x01\n\x19UpdateTaskTemplateSubTask\x12\x36.services.task_svc.v1.UpdateTaskTemplateSubTaskRequest\x1a\x37.services.task_svc.v1.UpdateTaskTemplateSubTaskResponse\"\x00\x12\x8e\x01\n\x19\x43reateTaskTemplateSubTask\x12\x36.services.task_svc.v1.CreateTaskTemplateSubTaskRequest\x1a\x37.services.task_svc.v1.CreateTaskTemplateSubTaskResponse\"\x00\x12\x97\x01\n\x1cGetAllTaskTemplatesByCreator\x12\x39.services.task_svc.v1.GetAllTaskTemplatesByCreatorRequest\x1a:.services.task_svc.v1.GetAllTaskTemplatesByCreatorResponse\"\x00\x12\x8e\x01\n\x19GetAllTaskTemplatesByWard\x12\x36.services.task_svc.v1.GetAllTaskTemplatesByWardRequest\x1a\x37.services.task_svc.v1.GetAllTaskTemplatesByWardResponse\"\x00\x42\xbb\x01\n\x18\x63om.services.task_svc.v1B\x14TaskTemplateSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.task_template_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\024TaskTemplateSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_CREATETASKTEMPLATEREQUEST']._serialized_start=71 + _globals['_CREATETASKTEMPLATEREQUEST']._serialized_end=331 + _globals['_CREATETASKTEMPLATEREQUEST_SUBTASK']._serialized_start=274 + _globals['_CREATETASKTEMPLATEREQUEST_SUBTASK']._serialized_end=303 + _globals['_CREATETASKTEMPLATERESPONSE']._serialized_start=333 + _globals['_CREATETASKTEMPLATERESPONSE']._serialized_end=377 + _globals['_GETALLTASKTEMPLATESREQUEST']._serialized_start=379 + _globals['_GETALLTASKTEMPLATESREQUEST']._serialized_end=407 + _globals['_GETALLTASKTEMPLATESRESPONSE']._serialized_start=410 + _globals['_GETALLTASKTEMPLATESRESPONSE']._serialized_end=869 + _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE']._serialized_start=536 + _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE']._serialized_end=869 + _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=782 + _globals['_GETALLTASKTEMPLATESRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=869 + _globals['_DELETETASKTEMPLATEREQUEST']._serialized_start=871 + _globals['_DELETETASKTEMPLATEREQUEST']._serialized_end=914 + _globals['_DELETETASKTEMPLATERESPONSE']._serialized_start=916 + _globals['_DELETETASKTEMPLATERESPONSE']._serialized_end=944 + _globals['_DELETETASKTEMPLATESUBTASKREQUEST']._serialized_start=946 + _globals['_DELETETASKTEMPLATESUBTASKREQUEST']._serialized_end=996 + _globals['_DELETETASKTEMPLATESUBTASKRESPONSE']._serialized_start=998 + _globals['_DELETETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1033 + _globals['_UPDATETASKTEMPLATEREQUEST']._serialized_start=1036 + _globals['_UPDATETASKTEMPLATEREQUEST']._serialized_end=1168 + _globals['_UPDATETASKTEMPLATERESPONSE']._serialized_start=1170 + _globals['_UPDATETASKTEMPLATERESPONSE']._serialized_end=1198 + _globals['_UPDATETASKTEMPLATESUBTASKREQUEST']._serialized_start=1200 + _globals['_UPDATETASKTEMPLATESUBTASKREQUEST']._serialized_end=1299 + _globals['_UPDATETASKTEMPLATESUBTASKRESPONSE']._serialized_start=1301 + _globals['_UPDATETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1336 + _globals['_CREATETASKTEMPLATESUBTASKREQUEST']._serialized_start=1338 + _globals['_CREATETASKTEMPLATESUBTASKREQUEST']._serialized_end=1434 + _globals['_CREATETASKTEMPLATESUBTASKRESPONSE']._serialized_start=1436 + _globals['_CREATETASKTEMPLATESUBTASKRESPONSE']._serialized_end=1487 + _globals['_GETALLTASKTEMPLATESBYCREATORREQUEST']._serialized_start=1489 + _globals['_GETALLTASKTEMPLATESBYCREATORREQUEST']._serialized_end=1614 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE']._serialized_start=1617 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE']._serialized_end=2072 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE']._serialized_start=1761 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE']._serialized_end=2072 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=782 + _globals['_GETALLTASKTEMPLATESBYCREATORRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=869 + _globals['_GETALLTASKTEMPLATESBYWARDREQUEST']._serialized_start=2074 + _globals['_GETALLTASKTEMPLATESBYWARDREQUEST']._serialized_end=2133 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE']._serialized_start=2136 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE']._serialized_end=2613 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE']._serialized_start=2274 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE']._serialized_end=2613 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_start=782 + _globals['_GETALLTASKTEMPLATESBYWARDRESPONSE_TASKTEMPLATE_SUBTASK']._serialized_end=869 + _globals['_TASKTEMPLATESERVICE']._serialized_start=2616 + _globals['_TASKTEMPLATESERVICE']._serialized_end=3866 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/task_svc/v1/task_template_svc_pb2_grpc.py b/services/impulse_svc/gen/services/task_svc/v1/task_template_svc_pb2_grpc.py new file mode 100644 index 000000000..4b05e0bce --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/task_template_svc_pb2_grpc.py @@ -0,0 +1,421 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import task_template_svc_pb2 as services_dot_task__svc_dot_v1_dot_task__template__svc__pb2 + + +class TaskTemplateServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateTaskTemplate = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.FromString, + _registered_method=True) + self.GetAllTaskTemplates = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.FromString, + _registered_method=True) + self.DeleteTaskTemplate = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.FromString, + _registered_method=True) + self.DeleteTaskTemplateSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.FromString, + _registered_method=True) + self.UpdateTaskTemplate = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.FromString, + _registered_method=True) + self.UpdateTaskTemplateSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.FromString, + _registered_method=True) + self.CreateTaskTemplateSubTask = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.FromString, + _registered_method=True) + self.GetAllTaskTemplatesByCreator = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.FromString, + _registered_method=True) + self.GetAllTaskTemplatesByWard = channel.unary_unary( + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', + request_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.FromString, + _registered_method=True) + + +class TaskTemplateServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def CreateTaskTemplate(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAllTaskTemplates(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteTaskTemplate(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteTaskTemplateSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateTaskTemplate(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateTaskTemplateSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateTaskTemplateSubTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAllTaskTemplatesByCreator(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetAllTaskTemplatesByWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_TaskTemplateServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateTaskTemplate': grpc.unary_unary_rpc_method_handler( + servicer.CreateTaskTemplate, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.SerializeToString, + ), + 'GetAllTaskTemplates': grpc.unary_unary_rpc_method_handler( + servicer.GetAllTaskTemplates, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.SerializeToString, + ), + 'DeleteTaskTemplate': grpc.unary_unary_rpc_method_handler( + servicer.DeleteTaskTemplate, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.SerializeToString, + ), + 'DeleteTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( + servicer.DeleteTaskTemplateSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.SerializeToString, + ), + 'UpdateTaskTemplate': grpc.unary_unary_rpc_method_handler( + servicer.UpdateTaskTemplate, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.SerializeToString, + ), + 'UpdateTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( + servicer.UpdateTaskTemplateSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.SerializeToString, + ), + 'CreateTaskTemplateSubTask': grpc.unary_unary_rpc_method_handler( + servicer.CreateTaskTemplateSubTask, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.SerializeToString, + ), + 'GetAllTaskTemplatesByCreator': grpc.unary_unary_rpc_method_handler( + servicer.GetAllTaskTemplatesByCreator, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.SerializeToString, + ), + 'GetAllTaskTemplatesByWard': grpc.unary_unary_rpc_method_handler( + servicer.GetAllTaskTemplatesByWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.TaskTemplateService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.TaskTemplateService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class TaskTemplateService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def CreateTaskTemplate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplate', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAllTaskTemplates(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteTaskTemplate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteTaskTemplateSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.DeleteTaskTemplateSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateTaskTemplate(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateTaskTemplateSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.UpdateTaskTemplateSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateTaskTemplateSubTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.CreateTaskTemplateSubTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAllTaskTemplatesByCreator(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByCreatorResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetAllTaskTemplatesByWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard', + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_task__template__svc__pb2.GetAllTaskTemplatesByWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/task_svc/v1/ward_svc_pb2.py b/services/impulse_svc/gen/services/task_svc/v1/ward_svc_pb2.py new file mode 100644 index 000000000..33629c650 --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/ward_svc_pb2.py @@ -0,0 +1,73 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/task_svc/v1/ward_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#services/task_svc/v1/ward_svc.proto\x12\x14services.task_svc.v1\"\'\n\x11\x43reateWardRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"$\n\x12\x43reateWardResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\" \n\x0eGetWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"^\n\x0fGetWardResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\"\x11\n\x0fGetWardsRequest\"\x81\x01\n\x10GetWardsResponse\x12\x41\n\x05wards\x18\x01 \x03(\x0b\x32+.services.task_svc.v1.GetWardsResponse.WardR\x05wards\x1a*\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\"\x17\n\x15GetRecentWardsRequest\"\x95\x02\n\x16GetRecentWardsResponse\x12G\n\x05wards\x18\x01 \x03(\x0b\x32\x31.services.task_svc.v1.GetRecentWardsResponse.WardR\x05wards\x1a\xb1\x01\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n\tbed_count\x18\x03 \x01(\rR\x08\x62\x65\x64\x43ount\x12\x1d\n\ntasks_todo\x18\x04 \x01(\rR\ttasksTodo\x12*\n\x11tasks_in_progress\x18\x05 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x06 \x01(\rR\ttasksDone\"E\n\x11UpdateWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x14\n\x12UpdateWardResponse\"#\n\x11\x44\x65leteWardRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12\x44\x65leteWardResponse\"\'\n\x15GetWardDetailsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xba\x04\n\x16GetWardDetailsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12G\n\x05rooms\x18\x03 \x03(\x0b\x32\x31.services.task_svc.v1.GetWardDetailsResponse.RoomR\x05rooms\x12`\n\x0etask_templates\x18\x04 \x03(\x0b\x32\x39.services.task_svc.v1.GetWardDetailsResponse.TaskTemplateR\rtaskTemplates\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a-\n\x07Subtask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1ap\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x44\n\x04\x62\x65\x64s\x18\x03 \x03(\x0b\x32\x30.services.task_svc.v1.GetWardDetailsResponse.BedR\x04\x62\x65\x64s\x1a\x84\x01\n\x0cTaskTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12P\n\x08subtasks\x18\x03 \x03(\x0b\x32\x34.services.task_svc.v1.GetWardDetailsResponse.SubtaskR\x08subtasks\"\x19\n\x17GetWardOverviewsRequest\"\x99\x02\n\x18GetWardOverviewsResponse\x12I\n\x05wards\x18\x01 \x03(\x0b\x32\x33.services.task_svc.v1.GetWardOverviewsResponse.WardR\x05wards\x1a\xb1\x01\n\x04Ward\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n\tbed_count\x18\x03 \x01(\rR\x08\x62\x65\x64\x43ount\x12\x1d\n\ntasks_todo\x18\x04 \x01(\rR\ttasksTodo\x12*\n\x11tasks_in_progress\x18\x05 \x01(\rR\x0ftasksInProgress\x12\x1d\n\ntasks_done\x18\x06 \x01(\rR\ttasksDone2\xc0\x06\n\x0bWardService\x12\x61\n\nCreateWard\x12\'.services.task_svc.v1.CreateWardRequest\x1a(.services.task_svc.v1.CreateWardResponse\"\x00\x12X\n\x07GetWard\x12$.services.task_svc.v1.GetWardRequest\x1a%.services.task_svc.v1.GetWardResponse\"\x00\x12[\n\x08GetWards\x12%.services.task_svc.v1.GetWardsRequest\x1a&.services.task_svc.v1.GetWardsResponse\"\x00\x12m\n\x0eGetRecentWards\x12+.services.task_svc.v1.GetRecentWardsRequest\x1a,.services.task_svc.v1.GetRecentWardsResponse\"\x00\x12\x61\n\nUpdateWard\x12\'.services.task_svc.v1.UpdateWardRequest\x1a(.services.task_svc.v1.UpdateWardResponse\"\x00\x12\x61\n\nDeleteWard\x12\'.services.task_svc.v1.DeleteWardRequest\x1a(.services.task_svc.v1.DeleteWardResponse\"\x00\x12s\n\x10GetWardOverviews\x12-.services.task_svc.v1.GetWardOverviewsRequest\x1a..services.task_svc.v1.GetWardOverviewsResponse\"\x00\x12m\n\x0eGetWardDetails\x12+.services.task_svc.v1.GetWardDetailsRequest\x1a,.services.task_svc.v1.GetWardDetailsResponse\"\x00\x42\xb3\x01\n\x18\x63om.services.task_svc.v1B\x0cWardSvcProtoP\x01Z\x1bgen/proto/services/task-svc\xa2\x02\x03STX\xaa\x02\x13Services.TaskSvc.V1\xca\x02\x13Services\\TaskSvc\\V1\xe2\x02\x1fServices\\TaskSvc\\V1\\GPBMetadata\xea\x02\x15Services::TaskSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.task_svc.v1.ward_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.task_svc.v1B\014WardSvcProtoP\001Z\033gen/proto/services/task-svc\242\002\003STX\252\002\023Services.TaskSvc.V1\312\002\023Services\\TaskSvc\\V1\342\002\037Services\\TaskSvc\\V1\\GPBMetadata\352\002\025Services::TaskSvc::V1' + _globals['_CREATEWARDREQUEST']._serialized_start=61 + _globals['_CREATEWARDREQUEST']._serialized_end=100 + _globals['_CREATEWARDRESPONSE']._serialized_start=102 + _globals['_CREATEWARDRESPONSE']._serialized_end=138 + _globals['_GETWARDREQUEST']._serialized_start=140 + _globals['_GETWARDREQUEST']._serialized_end=172 + _globals['_GETWARDRESPONSE']._serialized_start=174 + _globals['_GETWARDRESPONSE']._serialized_end=268 + _globals['_GETWARDSREQUEST']._serialized_start=270 + _globals['_GETWARDSREQUEST']._serialized_end=287 + _globals['_GETWARDSRESPONSE']._serialized_start=290 + _globals['_GETWARDSRESPONSE']._serialized_end=419 + _globals['_GETWARDSRESPONSE_WARD']._serialized_start=377 + _globals['_GETWARDSRESPONSE_WARD']._serialized_end=419 + _globals['_GETRECENTWARDSREQUEST']._serialized_start=421 + _globals['_GETRECENTWARDSREQUEST']._serialized_end=444 + _globals['_GETRECENTWARDSRESPONSE']._serialized_start=447 + _globals['_GETRECENTWARDSRESPONSE']._serialized_end=724 + _globals['_GETRECENTWARDSRESPONSE_WARD']._serialized_start=547 + _globals['_GETRECENTWARDSRESPONSE_WARD']._serialized_end=724 + _globals['_UPDATEWARDREQUEST']._serialized_start=726 + _globals['_UPDATEWARDREQUEST']._serialized_end=795 + _globals['_UPDATEWARDRESPONSE']._serialized_start=797 + _globals['_UPDATEWARDRESPONSE']._serialized_end=817 + _globals['_DELETEWARDREQUEST']._serialized_start=819 + _globals['_DELETEWARDREQUEST']._serialized_end=854 + _globals['_DELETEWARDRESPONSE']._serialized_start=856 + _globals['_DELETEWARDRESPONSE']._serialized_end=876 + _globals['_GETWARDDETAILSREQUEST']._serialized_start=878 + _globals['_GETWARDDETAILSREQUEST']._serialized_end=917 + _globals['_GETWARDDETAILSRESPONSE']._serialized_start=920 + _globals['_GETWARDDETAILSRESPONSE']._serialized_end=1490 + _globals['_GETWARDDETAILSRESPONSE_BED']._serialized_start=1153 + _globals['_GETWARDDETAILSRESPONSE_BED']._serialized_end=1194 + _globals['_GETWARDDETAILSRESPONSE_SUBTASK']._serialized_start=1196 + _globals['_GETWARDDETAILSRESPONSE_SUBTASK']._serialized_end=1241 + _globals['_GETWARDDETAILSRESPONSE_ROOM']._serialized_start=1243 + _globals['_GETWARDDETAILSRESPONSE_ROOM']._serialized_end=1355 + _globals['_GETWARDDETAILSRESPONSE_TASKTEMPLATE']._serialized_start=1358 + _globals['_GETWARDDETAILSRESPONSE_TASKTEMPLATE']._serialized_end=1490 + _globals['_GETWARDOVERVIEWSREQUEST']._serialized_start=1492 + _globals['_GETWARDOVERVIEWSREQUEST']._serialized_end=1517 + _globals['_GETWARDOVERVIEWSRESPONSE']._serialized_start=1520 + _globals['_GETWARDOVERVIEWSRESPONSE']._serialized_end=1801 + _globals['_GETWARDOVERVIEWSRESPONSE_WARD']._serialized_start=547 + _globals['_GETWARDOVERVIEWSRESPONSE_WARD']._serialized_end=724 + _globals['_WARDSERVICE']._serialized_start=1804 + _globals['_WARDSERVICE']._serialized_end=2636 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/task_svc/v1/ward_svc_pb2_grpc.py b/services/impulse_svc/gen/services/task_svc/v1/ward_svc_pb2_grpc.py new file mode 100644 index 000000000..edc72f7c4 --- /dev/null +++ b/services/impulse_svc/gen/services/task_svc/v1/ward_svc_pb2_grpc.py @@ -0,0 +1,390 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.task_svc.v1 import ward_svc_pb2 as services_dot_task__svc_dot_v1_dot_ward__svc__pb2 + + +class WardServiceStub(object): + """ + WardService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateWard = channel.unary_unary( + '/services.task_svc.v1.WardService/CreateWard', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.FromString, + _registered_method=True) + self.GetWard = channel.unary_unary( + '/services.task_svc.v1.WardService/GetWard', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.FromString, + _registered_method=True) + self.GetWards = channel.unary_unary( + '/services.task_svc.v1.WardService/GetWards', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.FromString, + _registered_method=True) + self.GetRecentWards = channel.unary_unary( + '/services.task_svc.v1.WardService/GetRecentWards', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.FromString, + _registered_method=True) + self.UpdateWard = channel.unary_unary( + '/services.task_svc.v1.WardService/UpdateWard', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.FromString, + _registered_method=True) + self.DeleteWard = channel.unary_unary( + '/services.task_svc.v1.WardService/DeleteWard', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.FromString, + _registered_method=True) + self.GetWardOverviews = channel.unary_unary( + '/services.task_svc.v1.WardService/GetWardOverviews', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.FromString, + _registered_method=True) + self.GetWardDetails = channel.unary_unary( + '/services.task_svc.v1.WardService/GetWardDetails', + request_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.SerializeToString, + response_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.FromString, + _registered_method=True) + + +class WardServiceServicer(object): + """ + WardService + + + """ + + def CreateWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetWards(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRecentWards(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteWard(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetWardOverviews(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetWardDetails(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_WardServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateWard': grpc.unary_unary_rpc_method_handler( + servicer.CreateWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.SerializeToString, + ), + 'GetWard': grpc.unary_unary_rpc_method_handler( + servicer.GetWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.SerializeToString, + ), + 'GetWards': grpc.unary_unary_rpc_method_handler( + servicer.GetWards, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.SerializeToString, + ), + 'GetRecentWards': grpc.unary_unary_rpc_method_handler( + servicer.GetRecentWards, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.SerializeToString, + ), + 'UpdateWard': grpc.unary_unary_rpc_method_handler( + servicer.UpdateWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.SerializeToString, + ), + 'DeleteWard': grpc.unary_unary_rpc_method_handler( + servicer.DeleteWard, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.SerializeToString, + ), + 'GetWardOverviews': grpc.unary_unary_rpc_method_handler( + servicer.GetWardOverviews, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.SerializeToString, + ), + 'GetWardDetails': grpc.unary_unary_rpc_method_handler( + servicer.GetWardDetails, + request_deserializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.FromString, + response_serializer=services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.task_svc.v1.WardService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.task_svc.v1.WardService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class WardService(object): + """ + WardService + + + """ + + @staticmethod + def CreateWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/CreateWard', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.CreateWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/GetWard', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetWards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/GetWards', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRecentWards(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/GetRecentWards', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetRecentWardsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/UpdateWard', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.UpdateWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteWard(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/DeleteWard', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.DeleteWardResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetWardOverviews(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/GetWardOverviews', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardOverviewsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetWardDetails(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.task_svc.v1.WardService/GetWardDetails', + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsRequest.SerializeToString, + services_dot_task__svc_dot_v1_dot_ward__svc__pb2.GetWardDetailsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/tasks_svc/v1/patient_svc_pb2.py b/services/impulse_svc/gen/services/tasks_svc/v1/patient_svc_pb2.py new file mode 100644 index 000000000..4ddcc910d --- /dev/null +++ b/services/impulse_svc/gen/services/tasks_svc/v1/patient_svc_pb2.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/tasks_svc/v1/patient_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'services/tasks_svc/v1/patient_svc.proto\x12\x15services.tasks_svc.v1\"w\n\x14\x43reatePatientRequest\x12:\n\x19human_readable_identifier\x18\x01 \x01(\tR\x17humanReadableIdentifier\x12\x19\n\x05notes\x18\x02 \x01(\tH\x00R\x05notes\x88\x01\x01\x42\x08\n\x06_notes\"\'\n\x15\x43reatePatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"#\n\x11GetPatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xd7\x03\n\x12GetPatientResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12\x14\n\x05notes\x18\x03 \x01(\tR\x05notes\x12\x1a\n\x06\x62\x65\x64_id\x18\x04 \x01(\tH\x00R\x05\x62\x65\x64Id\x88\x01\x01\x12\x1c\n\x07ward_id\x18\x05 \x01(\tH\x01R\x06wardId\x88\x01\x01\x12G\n\x04room\x18\x07 \x01(\x0b\x32..services.tasks_svc.v1.GetPatientResponse.RoomH\x02R\x04room\x88\x01\x01\x12\x44\n\x03\x62\x65\x64\x18\x08 \x01(\x0b\x32-.services.tasks_svc.v1.GetPatientResponse.BedH\x03R\x03\x62\x65\x64\x88\x01\x01\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04nameB\t\n\x07_bed_idB\n\n\x08_ward_idB\x07\n\x05_roomB\x06\n\x04_bed\"\x1a\n\x18GetRecentPatientsRequest\"\xf5\x03\n\x19GetRecentPatientsResponse\x12o\n\x0frecent_patients\x18\x01 \x03(\x0b\x32\x46.services.tasks_svc.v1.GetRecentPatientsResponse.PatientWithRoomAndBedR\x0erecentPatients\x1a)\n\x03\x42\x65\x64\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x1a\x43\n\x04Room\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n\x07ward_id\x18\x03 \x01(\tR\x06wardId\x1a\xf6\x01\n\x15PatientWithRoomAndBed\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\x19human_readable_identifier\x18\x02 \x01(\tR\x17humanReadableIdentifier\x12I\n\x04room\x18\x03 \x01(\x0b\x32\x35.services.tasks_svc.v1.GetRecentPatientsResponse.RoomR\x04room\x12\x46\n\x03\x62\x65\x64\x18\x04 \x01(\x0b\x32\x34.services.tasks_svc.v1.GetRecentPatientsResponse.BedR\x03\x62\x65\x64\"\xaa\x01\n\x14UpdatePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12?\n\x19human_readable_identifier\x18\x02 \x01(\tH\x00R\x17humanReadableIdentifier\x88\x01\x01\x12\x19\n\x05notes\x18\x03 \x01(\tH\x01R\x05notes\x88\x01\x01\x42\x1c\n\x1a_human_readable_identifierB\x08\n\x06_notes\"\x17\n\x15UpdatePatientResponse\"9\n\x10\x41ssignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06\x62\x65\x64_id\x18\x02 \x01(\tR\x05\x62\x65\x64Id\"\x13\n\x11\x41ssignBedResponse\"$\n\x12UnassignBedRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x15\n\x13UnassignBedResponse\")\n\x17\x44ischargePatientRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n\x18\x44ischargePatientResponse\"6\n\x15ReadmitPatientRequest\x12\x1d\n\npatient_id\x18\x01 \x01(\tR\tpatientId\"\x18\n\x16ReadmitPatientResponse2\xfd\x06\n\x0ePatientService\x12l\n\rCreatePatient\x12+.services.tasks_svc.v1.CreatePatientRequest\x1a,.services.tasks_svc.v1.CreatePatientResponse\"\x00\x12\x63\n\nGetPatient\x12(.services.tasks_svc.v1.GetPatientRequest\x1a).services.tasks_svc.v1.GetPatientResponse\"\x00\x12x\n\x11GetRecentPatients\x12/.services.tasks_svc.v1.GetRecentPatientsRequest\x1a\x30.services.tasks_svc.v1.GetRecentPatientsResponse\"\x00\x12l\n\rUpdatePatient\x12+.services.tasks_svc.v1.UpdatePatientRequest\x1a,.services.tasks_svc.v1.UpdatePatientResponse\"\x00\x12`\n\tAssignBed\x12\'.services.tasks_svc.v1.AssignBedRequest\x1a(.services.tasks_svc.v1.AssignBedResponse\"\x00\x12\x66\n\x0bUnassignBed\x12).services.tasks_svc.v1.UnassignBedRequest\x1a*.services.tasks_svc.v1.UnassignBedResponse\"\x00\x12u\n\x10\x44ischargePatient\x12..services.tasks_svc.v1.DischargePatientRequest\x1a/.services.tasks_svc.v1.DischargePatientResponse\"\x00\x12o\n\x0eReadmitPatient\x12,.services.tasks_svc.v1.ReadmitPatientRequest\x1a-.services.tasks_svc.v1.ReadmitPatientResponse\"\x00\x42\xbc\x01\n\x19\x63om.services.tasks_svc.v1B\x0fPatientSvcProtoP\x01Z\x1cgen/proto/services/tasks-svc\xa2\x02\x03STX\xaa\x02\x14Services.TasksSvc.V1\xca\x02\x14Services\\TasksSvc\\V1\xe2\x02 Services\\TasksSvc\\V1\\GPBMetadata\xea\x02\x16Services::TasksSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.tasks_svc.v1.patient_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.services.tasks_svc.v1B\017PatientSvcProtoP\001Z\034gen/proto/services/tasks-svc\242\002\003STX\252\002\024Services.TasksSvc.V1\312\002\024Services\\TasksSvc\\V1\342\002 Services\\TasksSvc\\V1\\GPBMetadata\352\002\026Services::TasksSvc::V1' + _globals['_CREATEPATIENTREQUEST']._serialized_start=66 + _globals['_CREATEPATIENTREQUEST']._serialized_end=185 + _globals['_CREATEPATIENTRESPONSE']._serialized_start=187 + _globals['_CREATEPATIENTRESPONSE']._serialized_end=226 + _globals['_GETPATIENTREQUEST']._serialized_start=228 + _globals['_GETPATIENTREQUEST']._serialized_end=263 + _globals['_GETPATIENTRESPONSE']._serialized_start=266 + _globals['_GETPATIENTRESPONSE']._serialized_end=737 + _globals['_GETPATIENTRESPONSE_ROOM']._serialized_start=587 + _globals['_GETPATIENTRESPONSE_ROOM']._serialized_end=654 + _globals['_GETPATIENTRESPONSE_BED']._serialized_start=656 + _globals['_GETPATIENTRESPONSE_BED']._serialized_end=697 + _globals['_GETRECENTPATIENTSREQUEST']._serialized_start=739 + _globals['_GETRECENTPATIENTSREQUEST']._serialized_end=765 + _globals['_GETRECENTPATIENTSRESPONSE']._serialized_start=768 + _globals['_GETRECENTPATIENTSRESPONSE']._serialized_end=1269 + _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_start=656 + _globals['_GETRECENTPATIENTSRESPONSE_BED']._serialized_end=697 + _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_start=587 + _globals['_GETRECENTPATIENTSRESPONSE_ROOM']._serialized_end=654 + _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_start=1023 + _globals['_GETRECENTPATIENTSRESPONSE_PATIENTWITHROOMANDBED']._serialized_end=1269 + _globals['_UPDATEPATIENTREQUEST']._serialized_start=1272 + _globals['_UPDATEPATIENTREQUEST']._serialized_end=1442 + _globals['_UPDATEPATIENTRESPONSE']._serialized_start=1444 + _globals['_UPDATEPATIENTRESPONSE']._serialized_end=1467 + _globals['_ASSIGNBEDREQUEST']._serialized_start=1469 + _globals['_ASSIGNBEDREQUEST']._serialized_end=1526 + _globals['_ASSIGNBEDRESPONSE']._serialized_start=1528 + _globals['_ASSIGNBEDRESPONSE']._serialized_end=1547 + _globals['_UNASSIGNBEDREQUEST']._serialized_start=1549 + _globals['_UNASSIGNBEDREQUEST']._serialized_end=1585 + _globals['_UNASSIGNBEDRESPONSE']._serialized_start=1587 + _globals['_UNASSIGNBEDRESPONSE']._serialized_end=1608 + _globals['_DISCHARGEPATIENTREQUEST']._serialized_start=1610 + _globals['_DISCHARGEPATIENTREQUEST']._serialized_end=1651 + _globals['_DISCHARGEPATIENTRESPONSE']._serialized_start=1653 + _globals['_DISCHARGEPATIENTRESPONSE']._serialized_end=1679 + _globals['_READMITPATIENTREQUEST']._serialized_start=1681 + _globals['_READMITPATIENTREQUEST']._serialized_end=1735 + _globals['_READMITPATIENTRESPONSE']._serialized_start=1737 + _globals['_READMITPATIENTRESPONSE']._serialized_end=1761 + _globals['_PATIENTSERVICE']._serialized_start=1764 + _globals['_PATIENTSERVICE']._serialized_end=2657 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/tasks_svc/v1/patient_svc_pb2_grpc.py b/services/impulse_svc/gen/services/tasks_svc/v1/patient_svc_pb2_grpc.py new file mode 100644 index 000000000..e2a9041c0 --- /dev/null +++ b/services/impulse_svc/gen/services/tasks_svc/v1/patient_svc_pb2_grpc.py @@ -0,0 +1,390 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.tasks_svc.v1 import patient_svc_pb2 as services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2 + + +class PatientServiceStub(object): + """ + PatientService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreatePatient = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/CreatePatient', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, + _registered_method=True) + self.GetPatient = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/GetPatient', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, + _registered_method=True) + self.GetRecentPatients = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/GetRecentPatients', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, + _registered_method=True) + self.UpdatePatient = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/UpdatePatient', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, + _registered_method=True) + self.AssignBed = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/AssignBed', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, + _registered_method=True) + self.UnassignBed = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/UnassignBed', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, + _registered_method=True) + self.DischargePatient = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/DischargePatient', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, + _registered_method=True) + self.ReadmitPatient = channel.unary_unary( + '/services.tasks_svc.v1.PatientService/ReadmitPatient', + request_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, + _registered_method=True) + + +class PatientServiceServicer(object): + """ + PatientService + + + """ + + def CreatePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRecentPatients(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdatePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AssignBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnassignBed(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DischargePatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ReadmitPatient(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_PatientServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreatePatient': grpc.unary_unary_rpc_method_handler( + servicer.CreatePatient, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.SerializeToString, + ), + 'GetPatient': grpc.unary_unary_rpc_method_handler( + servicer.GetPatient, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.SerializeToString, + ), + 'GetRecentPatients': grpc.unary_unary_rpc_method_handler( + servicer.GetRecentPatients, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.SerializeToString, + ), + 'UpdatePatient': grpc.unary_unary_rpc_method_handler( + servicer.UpdatePatient, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.SerializeToString, + ), + 'AssignBed': grpc.unary_unary_rpc_method_handler( + servicer.AssignBed, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.SerializeToString, + ), + 'UnassignBed': grpc.unary_unary_rpc_method_handler( + servicer.UnassignBed, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.SerializeToString, + ), + 'DischargePatient': grpc.unary_unary_rpc_method_handler( + servicer.DischargePatient, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.SerializeToString, + ), + 'ReadmitPatient': grpc.unary_unary_rpc_method_handler( + servicer.ReadmitPatient, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.tasks_svc.v1.PatientService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.tasks_svc.v1.PatientService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class PatientService(object): + """ + PatientService + + + """ + + @staticmethod + def CreatePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/CreatePatient', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.CreatePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/GetPatient', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRecentPatients(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/GetRecentPatients', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.GetRecentPatientsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdatePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/UpdatePatient', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UpdatePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AssignBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/AssignBed', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.AssignBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnassignBed(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/UnassignBed', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.UnassignBedResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DischargePatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/DischargePatient', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.DischargePatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ReadmitPatient(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.PatientService/ReadmitPatient', + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_patient__svc__pb2.ReadmitPatientResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/tasks_svc/v1/task_svc_pb2.py b/services/impulse_svc/gen/services/tasks_svc/v1/task_svc_pb2.py new file mode 100644 index 000000000..9fcd66034 --- /dev/null +++ b/services/impulse_svc/gen/services/tasks_svc/v1/task_svc_pb2.py @@ -0,0 +1,76 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/tasks_svc/v1/task_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$services/tasks_svc/v1/task_svc.proto\x12\x15services.tasks_svc.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xba\x02\n\x11\x43reateTaskRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x1d\n\npatient_id\x18\x03 \x01(\tR\tpatientId\x12\x1b\n\x06public\x18\x04 \x01(\x08H\x01R\x06public\x88\x01\x01\x12\x31\n\x06\x64ue_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05\x64ueAt\x12M\n\x0einitial_status\x18\x06 \x01(\x0e\x32!.services.tasks_svc.v1.TaskStatusH\x02R\rinitialStatus\x88\x01\x01\x42\x0e\n\x0c_descriptionB\t\n\x07_publicB\x11\n\x0f_initial_status\"$\n\x12\x43reateTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xbf\x01\n\x11UpdateTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x36\n\x06\x64ue_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x05\x64ueAt\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\t\n\x07_due_at\"\x14\n\x12UpdateTaskResponse\" \n\x0eGetTaskRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x83\x03\n\x0fGetTaskResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12%\n\x0e\x61ssigned_users\x18\x04 \x03(\tR\rassignedUsers\x12J\n\x08subtasks\x18\x05 \x03(\x0b\x32..services.tasks_svc.v1.GetTaskResponse.SubtaskR\x08subtasks\x12\x39\n\x06status\x18\x06 \x01(\x0e\x32!.services.tasks_svc.v1.TaskStatusR\x06status\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x1a\x41\n\x07Subtask\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\"E\n\x11\x41ssignTaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x14\n\x12\x41ssignTaskResponse\"G\n\x13UnassignTaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x16\n\x14UnassignTaskResponse\"\x9d\x01\n\x14\x43reateSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12M\n\x07subtask\x18\x02 \x01(\x0b\x32\x33.services.tasks_svc.v1.CreateSubtaskRequest.SubtaskR\x07subtask\x1a\x1d\n\x07Subtask\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"6\n\x15\x43reateSubtaskResponse\x12\x1d\n\nsubtask_id\x18\x01 \x01(\tR\tsubtaskId\"\xca\x01\n\x14UpdateSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\x12M\n\x07subtask\x18\x03 \x01(\x0b\x32\x33.services.tasks_svc.v1.UpdateSubtaskRequest.SubtaskR\x07subtask\x1a+\n\x07Subtask\x12\x17\n\x04name\x18\x01 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name\"\x17\n\x15UpdateSubtaskResponse\"P\n\x16\x43ompleteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x19\n\x17\x43ompleteSubtaskResponse\"R\n\x18UncompleteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x1b\n\x19UncompleteSubtaskResponse\"N\n\x14\x44\x65leteSubtaskRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1d\n\nsubtask_id\x18\x02 \x01(\tR\tsubtaskId\"\x17\n\x15\x44\x65leteSubtaskResponse*r\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_STATUS_TODO\x10\x01\x12\x1b\n\x17TASK_STATUS_IN_PROGRESS\x10\x02\x12\x14\n\x10TASK_STATUS_DONE\x10\x03\x32\xbb\x08\n\x0bTaskService\x12\x63\n\nCreateTask\x12(.services.tasks_svc.v1.CreateTaskRequest\x1a).services.tasks_svc.v1.CreateTaskResponse\"\x00\x12\x63\n\nUpdateTask\x12(.services.tasks_svc.v1.UpdateTaskRequest\x1a).services.tasks_svc.v1.UpdateTaskResponse\"\x00\x12Z\n\x07GetTask\x12%.services.tasks_svc.v1.GetTaskRequest\x1a&.services.tasks_svc.v1.GetTaskResponse\"\x00\x12\x63\n\nAssignTask\x12(.services.tasks_svc.v1.AssignTaskRequest\x1a).services.tasks_svc.v1.AssignTaskResponse\"\x00\x12i\n\x0cUnassignTask\x12*.services.tasks_svc.v1.UnassignTaskRequest\x1a+.services.tasks_svc.v1.UnassignTaskResponse\"\x00\x12l\n\rCreateSubtask\x12+.services.tasks_svc.v1.CreateSubtaskRequest\x1a,.services.tasks_svc.v1.CreateSubtaskResponse\"\x00\x12l\n\rUpdateSubtask\x12+.services.tasks_svc.v1.UpdateSubtaskRequest\x1a,.services.tasks_svc.v1.UpdateSubtaskResponse\"\x00\x12r\n\x0f\x43ompleteSubtask\x12-.services.tasks_svc.v1.CompleteSubtaskRequest\x1a..services.tasks_svc.v1.CompleteSubtaskResponse\"\x00\x12x\n\x11UncompleteSubtask\x12/.services.tasks_svc.v1.UncompleteSubtaskRequest\x1a\x30.services.tasks_svc.v1.UncompleteSubtaskResponse\"\x00\x12l\n\rDeleteSubtask\x12+.services.tasks_svc.v1.DeleteSubtaskRequest\x1a,.services.tasks_svc.v1.DeleteSubtaskResponse\"\x00\x42\xb9\x01\n\x19\x63om.services.tasks_svc.v1B\x0cTaskSvcProtoP\x01Z\x1cgen/proto/services/tasks-svc\xa2\x02\x03STX\xaa\x02\x14Services.TasksSvc.V1\xca\x02\x14Services\\TasksSvc\\V1\xe2\x02 Services\\TasksSvc\\V1\\GPBMetadata\xea\x02\x16Services::TasksSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.tasks_svc.v1.task_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\031com.services.tasks_svc.v1B\014TaskSvcProtoP\001Z\034gen/proto/services/tasks-svc\242\002\003STX\252\002\024Services.TasksSvc.V1\312\002\024Services\\TasksSvc\\V1\342\002 Services\\TasksSvc\\V1\\GPBMetadata\352\002\026Services::TasksSvc::V1' + _globals['_TASKSTATUS']._serialized_start=2054 + _globals['_TASKSTATUS']._serialized_end=2168 + _globals['_CREATETASKREQUEST']._serialized_start=97 + _globals['_CREATETASKREQUEST']._serialized_end=411 + _globals['_CREATETASKRESPONSE']._serialized_start=413 + _globals['_CREATETASKRESPONSE']._serialized_end=449 + _globals['_UPDATETASKREQUEST']._serialized_start=452 + _globals['_UPDATETASKREQUEST']._serialized_end=643 + _globals['_UPDATETASKRESPONSE']._serialized_start=645 + _globals['_UPDATETASKRESPONSE']._serialized_end=665 + _globals['_GETTASKREQUEST']._serialized_start=667 + _globals['_GETTASKREQUEST']._serialized_end=699 + _globals['_GETTASKRESPONSE']._serialized_start=702 + _globals['_GETTASKRESPONSE']._serialized_end=1089 + _globals['_GETTASKRESPONSE_SUBTASK']._serialized_start=1024 + _globals['_GETTASKRESPONSE_SUBTASK']._serialized_end=1089 + _globals['_ASSIGNTASKREQUEST']._serialized_start=1091 + _globals['_ASSIGNTASKREQUEST']._serialized_end=1160 + _globals['_ASSIGNTASKRESPONSE']._serialized_start=1162 + _globals['_ASSIGNTASKRESPONSE']._serialized_end=1182 + _globals['_UNASSIGNTASKREQUEST']._serialized_start=1184 + _globals['_UNASSIGNTASKREQUEST']._serialized_end=1255 + _globals['_UNASSIGNTASKRESPONSE']._serialized_start=1257 + _globals['_UNASSIGNTASKRESPONSE']._serialized_end=1279 + _globals['_CREATESUBTASKREQUEST']._serialized_start=1282 + _globals['_CREATESUBTASKREQUEST']._serialized_end=1439 + _globals['_CREATESUBTASKREQUEST_SUBTASK']._serialized_start=1410 + _globals['_CREATESUBTASKREQUEST_SUBTASK']._serialized_end=1439 + _globals['_CREATESUBTASKRESPONSE']._serialized_start=1441 + _globals['_CREATESUBTASKRESPONSE']._serialized_end=1495 + _globals['_UPDATESUBTASKREQUEST']._serialized_start=1498 + _globals['_UPDATESUBTASKREQUEST']._serialized_end=1700 + _globals['_UPDATESUBTASKREQUEST_SUBTASK']._serialized_start=1657 + _globals['_UPDATESUBTASKREQUEST_SUBTASK']._serialized_end=1700 + _globals['_UPDATESUBTASKRESPONSE']._serialized_start=1702 + _globals['_UPDATESUBTASKRESPONSE']._serialized_end=1725 + _globals['_COMPLETESUBTASKREQUEST']._serialized_start=1727 + _globals['_COMPLETESUBTASKREQUEST']._serialized_end=1807 + _globals['_COMPLETESUBTASKRESPONSE']._serialized_start=1809 + _globals['_COMPLETESUBTASKRESPONSE']._serialized_end=1834 + _globals['_UNCOMPLETESUBTASKREQUEST']._serialized_start=1836 + _globals['_UNCOMPLETESUBTASKREQUEST']._serialized_end=1918 + _globals['_UNCOMPLETESUBTASKRESPONSE']._serialized_start=1920 + _globals['_UNCOMPLETESUBTASKRESPONSE']._serialized_end=1947 + _globals['_DELETESUBTASKREQUEST']._serialized_start=1949 + _globals['_DELETESUBTASKREQUEST']._serialized_end=2027 + _globals['_DELETESUBTASKRESPONSE']._serialized_start=2029 + _globals['_DELETESUBTASKRESPONSE']._serialized_end=2052 + _globals['_TASKSERVICE']._serialized_start=2171 + _globals['_TASKSERVICE']._serialized_end=3254 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/tasks_svc/v1/task_svc_pb2_grpc.py b/services/impulse_svc/gen/services/tasks_svc/v1/task_svc_pb2_grpc.py new file mode 100644 index 000000000..fe0379435 --- /dev/null +++ b/services/impulse_svc/gen/services/tasks_svc/v1/task_svc_pb2_grpc.py @@ -0,0 +1,476 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.tasks_svc.v1 import task_svc_pb2 as services_dot_tasks__svc_dot_v1_dot_task__svc__pb2 + + +class TaskServiceStub(object): + """ + TaskService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateTask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/CreateTask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, + _registered_method=True) + self.UpdateTask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/UpdateTask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, + _registered_method=True) + self.GetTask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/GetTask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, + _registered_method=True) + self.AssignTask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/AssignTask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.FromString, + _registered_method=True) + self.UnassignTask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/UnassignTask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.FromString, + _registered_method=True) + self.CreateSubtask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/CreateSubtask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.FromString, + _registered_method=True) + self.UpdateSubtask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/UpdateSubtask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.FromString, + _registered_method=True) + self.CompleteSubtask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/CompleteSubtask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.FromString, + _registered_method=True) + self.UncompleteSubtask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/UncompleteSubtask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.FromString, + _registered_method=True) + self.DeleteSubtask = channel.unary_unary( + '/services.tasks_svc.v1.TaskService/DeleteSubtask', + request_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.SerializeToString, + response_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.FromString, + _registered_method=True) + + +class TaskServiceServicer(object): + """ + TaskService + + + """ + + def CreateTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AssignTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnassignTask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateSubtask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateSubtask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CompleteSubtask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UncompleteSubtask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteSubtask(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_TaskServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateTask': grpc.unary_unary_rpc_method_handler( + servicer.CreateTask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.SerializeToString, + ), + 'UpdateTask': grpc.unary_unary_rpc_method_handler( + servicer.UpdateTask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.SerializeToString, + ), + 'GetTask': grpc.unary_unary_rpc_method_handler( + servicer.GetTask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.SerializeToString, + ), + 'AssignTask': grpc.unary_unary_rpc_method_handler( + servicer.AssignTask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.SerializeToString, + ), + 'UnassignTask': grpc.unary_unary_rpc_method_handler( + servicer.UnassignTask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.SerializeToString, + ), + 'CreateSubtask': grpc.unary_unary_rpc_method_handler( + servicer.CreateSubtask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.SerializeToString, + ), + 'UpdateSubtask': grpc.unary_unary_rpc_method_handler( + servicer.UpdateSubtask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.SerializeToString, + ), + 'CompleteSubtask': grpc.unary_unary_rpc_method_handler( + servicer.CompleteSubtask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.SerializeToString, + ), + 'UncompleteSubtask': grpc.unary_unary_rpc_method_handler( + servicer.UncompleteSubtask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.SerializeToString, + ), + 'DeleteSubtask': grpc.unary_unary_rpc_method_handler( + servicer.DeleteSubtask, + request_deserializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.FromString, + response_serializer=services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.tasks_svc.v1.TaskService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.tasks_svc.v1.TaskService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class TaskService(object): + """ + TaskService + + + """ + + @staticmethod + def CreateTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/CreateTask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/UpdateTask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/GetTask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.GetTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AssignTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/AssignTask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.AssignTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UnassignTask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/UnassignTask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UnassignTaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateSubtask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/CreateSubtask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CreateSubtaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateSubtask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/UpdateSubtask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UpdateSubtaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CompleteSubtask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/CompleteSubtask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.CompleteSubtaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UncompleteSubtask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/UncompleteSubtask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.UncompleteSubtaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteSubtask(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.tasks_svc.v1.TaskService/DeleteSubtask', + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskRequest.SerializeToString, + services_dot_tasks__svc_dot_v1_dot_task__svc__pb2.DeleteSubtaskResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/user_svc/v1/organization_svc_pb2.py b/services/impulse_svc/gen/services/user_svc/v1/organization_svc_pb2.py new file mode 100644 index 000000000..61dcdf147 --- /dev/null +++ b/services/impulse_svc/gen/services/user_svc/v1/organization_svc_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/user_svc/v1/organization_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+services/user_svc/v1/organization_svc.proto\x12\x14services.user_svc.v1\"\xb2\x01\n\x19\x43reateOrganizationRequest\x12\x1b\n\tlong_name\x18\x01 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x02 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x03 \x01(\tR\x0c\x63ontactEmail\x12$\n\x0bis_personal\x18\x04 \x01(\x08H\x00R\nisPersonal\x88\x01\x01\x42\x0e\n\x0c_is_personal\",\n\x1a\x43reateOrganizationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xd2\x01\n CreateOrganizationForUserRequest\x12\x1b\n\tlong_name\x18\x01 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x02 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x03 \x01(\tR\x0c\x63ontactEmail\x12$\n\x0bis_personal\x18\x04 \x01(\x08H\x00R\nisPersonal\x88\x01\x01\x12\x17\n\x07user_id\x18\x05 \x01(\tR\x06userIdB\x0e\n\x0c_is_personal\"3\n!CreateOrganizationForUserResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"0\n\x15GetOrganizationMember\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"(\n\x16GetOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\xa5\x02\n\x17GetOrganizationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12\x45\n\x07members\x18\x07 \x03(\x0b\x32+.services.user_svc.v1.GetOrganizationMemberR\x07membersB\r\n\x0b_avatar_url\"8\n\x1dGetOrganizationsByUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\"\xcc\x04\n\x1eGetOrganizationsByUserResponse\x12g\n\rorganizations\x18\x01 \x03(\x0b\x32\x41.services.user_svc.v1.GetOrganizationsByUserResponse.OrganizationR\rorganizations\x1a\xc0\x03\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12\x62\n\x07members\x18\x07 \x03(\x0b\x32H.services.user_svc.v1.GetOrganizationsByUserResponse.Organization.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_urlB\r\n\x0b_avatar_url\" \n\x1eGetOrganizationsForUserRequest\"\xcf\x04\n\x1fGetOrganizationsForUserResponse\x12h\n\rorganizations\x18\x01 \x03(\x0b\x32\x42.services.user_svc.v1.GetOrganizationsForUserResponse.OrganizationR\rorganizations\x1a\xc1\x03\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\x12#\n\rcontact_email\x18\x04 \x01(\tR\x0c\x63ontactEmail\x12\"\n\navatar_url\x18\x05 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12\x1f\n\x0bis_personal\x18\x06 \x01(\x08R\nisPersonal\x12\x63\n\x07members\x18\x07 \x03(\x0b\x32I.services.user_svc.v1.GetOrganizationsForUserResponse.Organization.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_urlB\r\n\x0b_avatar_url\"\xb3\x02\n\x19UpdateOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12 \n\tlong_name\x18\x02 \x01(\tH\x00R\x08longName\x88\x01\x01\x12\"\n\nshort_name\x18\x03 \x01(\tH\x01R\tshortName\x88\x01\x01\x12(\n\rcontact_email\x18\x04 \x01(\tH\x02R\x0c\x63ontactEmail\x88\x01\x01\x12\"\n\navatar_url\x18\x05 \x01(\tH\x03R\tavatarUrl\x88\x01\x01\x12$\n\x0bis_personal\x18\x06 \x01(\x08H\x04R\nisPersonal\x88\x01\x01\x42\x0c\n\n_long_nameB\r\n\x0b_short_nameB\x10\n\x0e_contact_emailB\r\n\x0b_avatar_urlB\x0e\n\x0c_is_personal\"\x1c\n\x1aUpdateOrganizationResponse\"+\n\x19\x44\x65leteOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n\x1a\x44\x65leteOrganizationResponse\"1\n\x1fGetMembersByOrganizationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x84\x02\n GetMembersByOrganizationResponse\x12W\n\x07members\x18\x01 \x03(\x0b\x32=.services.user_svc.v1.GetMembersByOrganizationResponse.MemberR\x07members\x1a\x86\x01\n\x06Member\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\";\n\x10\x41\x64\x64MemberRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x13\n\x11\x41\x64\x64MemberResponse\">\n\x13RemoveMemberRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\"\x16\n\x14RemoveMemberResponse\"T\n\x13InviteMemberRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\"&\n\x14InviteMemberResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x9a\x01\n#GetInvitationsByOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12@\n\x05state\x18\x02 \x01(\x0e\x32%.services.user_svc.v1.InvitationStateH\x00R\x05state\x88\x01\x01\x42\x08\n\x06_state\"\xaa\x02\n$GetInvitationsByOrganizationResponse\x12g\n\x0binvitations\x18\x01 \x03(\x0b\x32\x45.services.user_svc.v1.GetInvitationsByOrganizationResponse.InvitationR\x0binvitations\x1a\x98\x01\n\nInvitation\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12;\n\x05state\x18\x04 \x01(\x0e\x32%.services.user_svc.v1.InvitationStateR\x05state\"i\n\x1bGetInvitationsByUserRequest\x12@\n\x05state\x18\x01 \x01(\x0e\x32%.services.user_svc.v1.InvitationStateH\x00R\x05state\x88\x01\x01\x42\x08\n\x06_state\"\xd1\x03\n\x1cGetInvitationsByUserResponse\x12_\n\x0binvitations\x18\x01 \x03(\x0b\x32=.services.user_svc.v1.GetInvitationsByUserResponse.InvitationR\x0binvitations\x1a\xcf\x02\n\nInvitation\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12n\n\x0corganization\x18\x03 \x01(\x0b\x32J.services.user_svc.v1.GetInvitationsByUserResponse.Invitation.OrganizationR\x0corganization\x12;\n\x05state\x18\x04 \x01(\x0e\x32%.services.user_svc.v1.InvitationStateR\x05state\x1an\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tlong_name\x18\x02 \x01(\tR\x08longName\x12\"\n\navatar_url\x18\x03 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\">\n\x17\x41\x63\x63\x65ptInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1a\n\x18\x41\x63\x63\x65ptInvitationResponse\"?\n\x18\x44\x65\x63lineInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1b\n\x19\x44\x65\x63lineInvitationResponse\">\n\x17RevokeInvitationRequest\x12#\n\rinvitation_id\x18\x01 \x01(\tR\x0cinvitationId\"\x1a\n\x18RevokeInvitationResponse*\xad\x01\n\x0fInvitationState\x12 \n\x1cINVITATION_STATE_UNSPECIFIED\x10\x00\x12\x1c\n\x18INVITATION_STATE_PENDING\x10\x01\x12\x1d\n\x19INVITATION_STATE_ACCEPTED\x10\x02\x12\x1d\n\x19INVITATION_STATE_REJECTED\x10\x03\x12\x1c\n\x18INVITATION_STATE_REVOKED\x10\x04\x32\xd9\x0f\n\x13OrganizationService\x12y\n\x12\x43reateOrganization\x12/.services.user_svc.v1.CreateOrganizationRequest\x1a\x30.services.user_svc.v1.CreateOrganizationResponse\"\x00\x12\x8e\x01\n\x19\x43reateOrganizationForUser\x12\x36.services.user_svc.v1.CreateOrganizationForUserRequest\x1a\x37.services.user_svc.v1.CreateOrganizationForUserResponse\"\x00\x12p\n\x0fGetOrganization\x12,.services.user_svc.v1.GetOrganizationRequest\x1a-.services.user_svc.v1.GetOrganizationResponse\"\x00\x12\x85\x01\n\x16GetOrganizationsByUser\x12\x33.services.user_svc.v1.GetOrganizationsByUserRequest\x1a\x34.services.user_svc.v1.GetOrganizationsByUserResponse\"\x00\x12\x88\x01\n\x17GetOrganizationsForUser\x12\x34.services.user_svc.v1.GetOrganizationsForUserRequest\x1a\x35.services.user_svc.v1.GetOrganizationsForUserResponse\"\x00\x12y\n\x12UpdateOrganization\x12/.services.user_svc.v1.UpdateOrganizationRequest\x1a\x30.services.user_svc.v1.UpdateOrganizationResponse\"\x00\x12y\n\x12\x44\x65leteOrganization\x12/.services.user_svc.v1.DeleteOrganizationRequest\x1a\x30.services.user_svc.v1.DeleteOrganizationResponse\"\x00\x12\x8b\x01\n\x18GetMembersByOrganization\x12\x35.services.user_svc.v1.GetMembersByOrganizationRequest\x1a\x36.services.user_svc.v1.GetMembersByOrganizationResponse\"\x00\x12^\n\tAddMember\x12&.services.user_svc.v1.AddMemberRequest\x1a\'.services.user_svc.v1.AddMemberResponse\"\x00\x12g\n\x0cRemoveMember\x12).services.user_svc.v1.RemoveMemberRequest\x1a*.services.user_svc.v1.RemoveMemberResponse\"\x00\x12g\n\x0cInviteMember\x12).services.user_svc.v1.InviteMemberRequest\x1a*.services.user_svc.v1.InviteMemberResponse\"\x00\x12\x97\x01\n\x1cGetInvitationsByOrganization\x12\x39.services.user_svc.v1.GetInvitationsByOrganizationRequest\x1a:.services.user_svc.v1.GetInvitationsByOrganizationResponse\"\x00\x12\x7f\n\x14GetInvitationsByUser\x12\x31.services.user_svc.v1.GetInvitationsByUserRequest\x1a\x32.services.user_svc.v1.GetInvitationsByUserResponse\"\x00\x12s\n\x10\x41\x63\x63\x65ptInvitation\x12-.services.user_svc.v1.AcceptInvitationRequest\x1a..services.user_svc.v1.AcceptInvitationResponse\"\x00\x12v\n\x11\x44\x65\x63lineInvitation\x12..services.user_svc.v1.DeclineInvitationRequest\x1a/.services.user_svc.v1.DeclineInvitationResponse\"\x00\x12s\n\x10RevokeInvitation\x12-.services.user_svc.v1.RevokeInvitationRequest\x1a..services.user_svc.v1.RevokeInvitationResponse\"\x00\x42\xbb\x01\n\x18\x63om.services.user_svc.v1B\x14OrganizationSvcProtoP\x01Z\x1bgen/proto/services/user-svc\xa2\x02\x03SUX\xaa\x02\x13Services.UserSvc.V1\xca\x02\x13Services\\UserSvc\\V1\xe2\x02\x1fServices\\UserSvc\\V1\\GPBMetadata\xea\x02\x15Services::UserSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.user_svc.v1.organization_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.user_svc.v1B\024OrganizationSvcProtoP\001Z\033gen/proto/services/user-svc\242\002\003SUX\252\002\023Services.UserSvc.V1\312\002\023Services\\UserSvc\\V1\342\002\037Services\\UserSvc\\V1\\GPBMetadata\352\002\025Services::UserSvc::V1' + _globals['_INVITATIONSTATE']._serialized_start=4564 + _globals['_INVITATIONSTATE']._serialized_end=4737 + _globals['_CREATEORGANIZATIONREQUEST']._serialized_start=70 + _globals['_CREATEORGANIZATIONREQUEST']._serialized_end=248 + _globals['_CREATEORGANIZATIONRESPONSE']._serialized_start=250 + _globals['_CREATEORGANIZATIONRESPONSE']._serialized_end=294 + _globals['_CREATEORGANIZATIONFORUSERREQUEST']._serialized_start=297 + _globals['_CREATEORGANIZATIONFORUSERREQUEST']._serialized_end=507 + _globals['_CREATEORGANIZATIONFORUSERRESPONSE']._serialized_start=509 + _globals['_CREATEORGANIZATIONFORUSERRESPONSE']._serialized_end=560 + _globals['_GETORGANIZATIONMEMBER']._serialized_start=562 + _globals['_GETORGANIZATIONMEMBER']._serialized_end=610 + _globals['_GETORGANIZATIONREQUEST']._serialized_start=612 + _globals['_GETORGANIZATIONREQUEST']._serialized_end=652 + _globals['_GETORGANIZATIONRESPONSE']._serialized_start=655 + _globals['_GETORGANIZATIONRESPONSE']._serialized_end=948 + _globals['_GETORGANIZATIONSBYUSERREQUEST']._serialized_start=950 + _globals['_GETORGANIZATIONSBYUSERREQUEST']._serialized_end=1006 + _globals['_GETORGANIZATIONSBYUSERRESPONSE']._serialized_start=1009 + _globals['_GETORGANIZATIONSBYUSERRESPONSE']._serialized_end=1597 + _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION']._serialized_start=1149 + _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION']._serialized_end=1597 + _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_start=1448 + _globals['_GETORGANIZATIONSBYUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_end=1582 + _globals['_GETORGANIZATIONSFORUSERREQUEST']._serialized_start=1599 + _globals['_GETORGANIZATIONSFORUSERREQUEST']._serialized_end=1631 + _globals['_GETORGANIZATIONSFORUSERRESPONSE']._serialized_start=1634 + _globals['_GETORGANIZATIONSFORUSERRESPONSE']._serialized_end=2225 + _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION']._serialized_start=1776 + _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION']._serialized_end=2225 + _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_start=1448 + _globals['_GETORGANIZATIONSFORUSERRESPONSE_ORGANIZATION_MEMBER']._serialized_end=1582 + _globals['_UPDATEORGANIZATIONREQUEST']._serialized_start=2228 + _globals['_UPDATEORGANIZATIONREQUEST']._serialized_end=2535 + _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_start=2537 + _globals['_UPDATEORGANIZATIONRESPONSE']._serialized_end=2565 + _globals['_DELETEORGANIZATIONREQUEST']._serialized_start=2567 + _globals['_DELETEORGANIZATIONREQUEST']._serialized_end=2610 + _globals['_DELETEORGANIZATIONRESPONSE']._serialized_start=2612 + _globals['_DELETEORGANIZATIONRESPONSE']._serialized_end=2640 + _globals['_GETMEMBERSBYORGANIZATIONREQUEST']._serialized_start=2642 + _globals['_GETMEMBERSBYORGANIZATIONREQUEST']._serialized_end=2691 + _globals['_GETMEMBERSBYORGANIZATIONRESPONSE']._serialized_start=2694 + _globals['_GETMEMBERSBYORGANIZATIONRESPONSE']._serialized_end=2954 + _globals['_GETMEMBERSBYORGANIZATIONRESPONSE_MEMBER']._serialized_start=1448 + _globals['_GETMEMBERSBYORGANIZATIONRESPONSE_MEMBER']._serialized_end=1582 + _globals['_ADDMEMBERREQUEST']._serialized_start=2956 + _globals['_ADDMEMBERREQUEST']._serialized_end=3015 + _globals['_ADDMEMBERRESPONSE']._serialized_start=3017 + _globals['_ADDMEMBERRESPONSE']._serialized_end=3036 + _globals['_REMOVEMEMBERREQUEST']._serialized_start=3038 + _globals['_REMOVEMEMBERREQUEST']._serialized_end=3100 + _globals['_REMOVEMEMBERRESPONSE']._serialized_start=3102 + _globals['_REMOVEMEMBERRESPONSE']._serialized_end=3124 + _globals['_INVITEMEMBERREQUEST']._serialized_start=3126 + _globals['_INVITEMEMBERREQUEST']._serialized_end=3210 + _globals['_INVITEMEMBERRESPONSE']._serialized_start=3212 + _globals['_INVITEMEMBERRESPONSE']._serialized_end=3250 + _globals['_GETINVITATIONSBYORGANIZATIONREQUEST']._serialized_start=3253 + _globals['_GETINVITATIONSBYORGANIZATIONREQUEST']._serialized_end=3407 + _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE']._serialized_start=3410 + _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE']._serialized_end=3708 + _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE_INVITATION']._serialized_start=3556 + _globals['_GETINVITATIONSBYORGANIZATIONRESPONSE_INVITATION']._serialized_end=3708 + _globals['_GETINVITATIONSBYUSERREQUEST']._serialized_start=3710 + _globals['_GETINVITATIONSBYUSERREQUEST']._serialized_end=3815 + _globals['_GETINVITATIONSBYUSERRESPONSE']._serialized_start=3818 + _globals['_GETINVITATIONSBYUSERRESPONSE']._serialized_end=4283 + _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION']._serialized_start=3948 + _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION']._serialized_end=4283 + _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION_ORGANIZATION']._serialized_start=4173 + _globals['_GETINVITATIONSBYUSERRESPONSE_INVITATION_ORGANIZATION']._serialized_end=4283 + _globals['_ACCEPTINVITATIONREQUEST']._serialized_start=4285 + _globals['_ACCEPTINVITATIONREQUEST']._serialized_end=4347 + _globals['_ACCEPTINVITATIONRESPONSE']._serialized_start=4349 + _globals['_ACCEPTINVITATIONRESPONSE']._serialized_end=4375 + _globals['_DECLINEINVITATIONREQUEST']._serialized_start=4377 + _globals['_DECLINEINVITATIONREQUEST']._serialized_end=4440 + _globals['_DECLINEINVITATIONRESPONSE']._serialized_start=4442 + _globals['_DECLINEINVITATIONRESPONSE']._serialized_end=4469 + _globals['_REVOKEINVITATIONREQUEST']._serialized_start=4471 + _globals['_REVOKEINVITATIONREQUEST']._serialized_end=4533 + _globals['_REVOKEINVITATIONRESPONSE']._serialized_start=4535 + _globals['_REVOKEINVITATIONRESPONSE']._serialized_end=4561 + _globals['_ORGANIZATIONSERVICE']._serialized_start=4740 + _globals['_ORGANIZATIONSERVICE']._serialized_end=6749 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/user_svc/v1/organization_svc_pb2_grpc.py b/services/impulse_svc/gen/services/user_svc/v1/organization_svc_pb2_grpc.py new file mode 100644 index 000000000..6e498444f --- /dev/null +++ b/services/impulse_svc/gen/services/user_svc/v1/organization_svc_pb2_grpc.py @@ -0,0 +1,734 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.user_svc.v1 import organization_svc_pb2 as services_dot_user__svc_dot_v1_dot_organization__svc__pb2 + + +class OrganizationServiceStub(object): + """ + OrganizationService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/CreateOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.FromString, + _registered_method=True) + self.CreateOrganizationForUser = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/CreateOrganizationForUser', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.FromString, + _registered_method=True) + self.GetOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.FromString, + _registered_method=True) + self.GetOrganizationsByUser = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetOrganizationsByUser', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.FromString, + _registered_method=True) + self.GetOrganizationsForUser = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetOrganizationsForUser', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.FromString, + _registered_method=True) + self.UpdateOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/UpdateOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.FromString, + _registered_method=True) + self.DeleteOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/DeleteOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.FromString, + _registered_method=True) + self.GetMembersByOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetMembersByOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.FromString, + _registered_method=True) + self.AddMember = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/AddMember', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.FromString, + _registered_method=True) + self.RemoveMember = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/RemoveMember', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.FromString, + _registered_method=True) + self.InviteMember = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/InviteMember', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.FromString, + _registered_method=True) + self.GetInvitationsByOrganization = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.FromString, + _registered_method=True) + self.GetInvitationsByUser = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/GetInvitationsByUser', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.FromString, + _registered_method=True) + self.AcceptInvitation = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/AcceptInvitation', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.FromString, + _registered_method=True) + self.DeclineInvitation = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/DeclineInvitation', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.FromString, + _registered_method=True) + self.RevokeInvitation = channel.unary_unary( + '/services.user_svc.v1.OrganizationService/RevokeInvitation', + request_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.FromString, + _registered_method=True) + + +class OrganizationServiceServicer(object): + """ + OrganizationService + + + """ + + def CreateOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateOrganizationForUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetOrganizationsByUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetOrganizationsForUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetMembersByOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddMember(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RemoveMember(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def InviteMember(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetInvitationsByOrganization(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetInvitationsByUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AcceptInvitation(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeclineInvitation(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RevokeInvitation(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_OrganizationServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateOrganization': grpc.unary_unary_rpc_method_handler( + servicer.CreateOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.SerializeToString, + ), + 'CreateOrganizationForUser': grpc.unary_unary_rpc_method_handler( + servicer.CreateOrganizationForUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.SerializeToString, + ), + 'GetOrganization': grpc.unary_unary_rpc_method_handler( + servicer.GetOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.SerializeToString, + ), + 'GetOrganizationsByUser': grpc.unary_unary_rpc_method_handler( + servicer.GetOrganizationsByUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.SerializeToString, + ), + 'GetOrganizationsForUser': grpc.unary_unary_rpc_method_handler( + servicer.GetOrganizationsForUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.SerializeToString, + ), + 'UpdateOrganization': grpc.unary_unary_rpc_method_handler( + servicer.UpdateOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.SerializeToString, + ), + 'DeleteOrganization': grpc.unary_unary_rpc_method_handler( + servicer.DeleteOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.SerializeToString, + ), + 'GetMembersByOrganization': grpc.unary_unary_rpc_method_handler( + servicer.GetMembersByOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.SerializeToString, + ), + 'AddMember': grpc.unary_unary_rpc_method_handler( + servicer.AddMember, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.SerializeToString, + ), + 'RemoveMember': grpc.unary_unary_rpc_method_handler( + servicer.RemoveMember, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.SerializeToString, + ), + 'InviteMember': grpc.unary_unary_rpc_method_handler( + servicer.InviteMember, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.SerializeToString, + ), + 'GetInvitationsByOrganization': grpc.unary_unary_rpc_method_handler( + servicer.GetInvitationsByOrganization, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.SerializeToString, + ), + 'GetInvitationsByUser': grpc.unary_unary_rpc_method_handler( + servicer.GetInvitationsByUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.SerializeToString, + ), + 'AcceptInvitation': grpc.unary_unary_rpc_method_handler( + servicer.AcceptInvitation, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.SerializeToString, + ), + 'DeclineInvitation': grpc.unary_unary_rpc_method_handler( + servicer.DeclineInvitation, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.SerializeToString, + ), + 'RevokeInvitation': grpc.unary_unary_rpc_method_handler( + servicer.RevokeInvitation, + request_deserializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.user_svc.v1.OrganizationService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.user_svc.v1.OrganizationService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class OrganizationService(object): + """ + OrganizationService + + + """ + + @staticmethod + def CreateOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/CreateOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CreateOrganizationForUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/CreateOrganizationForUser', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.CreateOrganizationForUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetOrganizationsByUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetOrganizationsByUser', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsByUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetOrganizationsForUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetOrganizationsForUser', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetOrganizationsForUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/UpdateOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.UpdateOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/DeleteOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeleteOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetMembersByOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetMembersByOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetMembersByOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AddMember(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/AddMember', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AddMemberResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RemoveMember(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/RemoveMember', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RemoveMemberResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def InviteMember(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/InviteMember', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.InviteMemberResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetInvitationsByOrganization(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetInvitationsByOrganization', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByOrganizationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetInvitationsByUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/GetInvitationsByUser', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.GetInvitationsByUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AcceptInvitation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/AcceptInvitation', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.AcceptInvitationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeclineInvitation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/DeclineInvitation', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.DeclineInvitationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RevokeInvitation(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.OrganizationService/RevokeInvitation', + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_organization__svc__pb2.RevokeInvitationResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/gen/services/user_svc/v1/user_svc_pb2.py b/services/impulse_svc/gen/services/user_svc/v1/user_svc_pb2.py new file mode 100644 index 000000000..89703d5fb --- /dev/null +++ b/services/impulse_svc/gen/services/user_svc/v1/user_svc_pb2.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: services/user_svc/v1/user_svc.proto +# Protobuf Python Version: 4.25.2 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#services/user_svc/v1/user_svc.proto\x12\x14services.user_svc.v1\"i\n\x11\x43reateUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05\x65mail\x18\x02 \x01(\tR\x05\x65mail\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\"$\n\x12\x43reateUserResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"&\n\x14ReadSelfOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x11\n\x0fReadSelfRequest\"\xd7\x01\n\x10ReadSelfResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x12P\n\rorganizations\x18\x05 \x03(\x0b\x32*.services.user_svc.v1.ReadSelfOrganizationR\rorganizationsB\r\n\x0b_avatar_url\"*\n\x18ReadPublicProfileRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x8e\x01\n\x19ReadPublicProfileResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n\x08nickname\x18\x03 \x01(\tR\x08nickname\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\"#\n\x11UpdateUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x14\n\x12UpdateUserResponse2\xa8\x03\n\x0bUserService\x12\x61\n\nCreateUser\x12\'.services.user_svc.v1.CreateUserRequest\x1a(.services.user_svc.v1.CreateUserResponse\"\x00\x12[\n\x08ReadSelf\x12%.services.user_svc.v1.ReadSelfRequest\x1a&.services.user_svc.v1.ReadSelfResponse\"\x00\x12v\n\x11ReadPublicProfile\x12..services.user_svc.v1.ReadPublicProfileRequest\x1a/.services.user_svc.v1.ReadPublicProfileResponse\"\x00\x12\x61\n\nUpdateUser\x12\'.services.user_svc.v1.UpdateUserRequest\x1a(.services.user_svc.v1.UpdateUserResponse\"\x00\x42\xb3\x01\n\x18\x63om.services.user_svc.v1B\x0cUserSvcProtoP\x01Z\x1bgen/proto/services/user-svc\xa2\x02\x03SUX\xaa\x02\x13Services.UserSvc.V1\xca\x02\x13Services\\UserSvc\\V1\xe2\x02\x1fServices\\UserSvc\\V1\\GPBMetadata\xea\x02\x15Services::UserSvc::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'services.user_svc.v1.user_svc_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\030com.services.user_svc.v1B\014UserSvcProtoP\001Z\033gen/proto/services/user-svc\242\002\003SUX\252\002\023Services.UserSvc.V1\312\002\023Services\\UserSvc\\V1\342\002\037Services\\UserSvc\\V1\\GPBMetadata\352\002\025Services::UserSvc::V1' + _globals['_CREATEUSERREQUEST']._serialized_start=61 + _globals['_CREATEUSERREQUEST']._serialized_end=166 + _globals['_CREATEUSERRESPONSE']._serialized_start=168 + _globals['_CREATEUSERRESPONSE']._serialized_end=204 + _globals['_READSELFORGANIZATION']._serialized_start=206 + _globals['_READSELFORGANIZATION']._serialized_end=244 + _globals['_READSELFREQUEST']._serialized_start=246 + _globals['_READSELFREQUEST']._serialized_end=263 + _globals['_READSELFRESPONSE']._serialized_start=266 + _globals['_READSELFRESPONSE']._serialized_end=481 + _globals['_READPUBLICPROFILEREQUEST']._serialized_start=483 + _globals['_READPUBLICPROFILEREQUEST']._serialized_end=525 + _globals['_READPUBLICPROFILERESPONSE']._serialized_start=528 + _globals['_READPUBLICPROFILERESPONSE']._serialized_end=670 + _globals['_UPDATEUSERREQUEST']._serialized_start=672 + _globals['_UPDATEUSERREQUEST']._serialized_end=707 + _globals['_UPDATEUSERRESPONSE']._serialized_start=709 + _globals['_UPDATEUSERRESPONSE']._serialized_end=729 + _globals['_USERSERVICE']._serialized_start=732 + _globals['_USERSERVICE']._serialized_end=1156 +# @@protoc_insertion_point(module_scope) diff --git a/services/impulse_svc/gen/services/user_svc/v1/user_svc_pb2_grpc.py b/services/impulse_svc/gen/services/user_svc/v1/user_svc_pb2_grpc.py new file mode 100644 index 000000000..022e09f1e --- /dev/null +++ b/services/impulse_svc/gen/services/user_svc/v1/user_svc_pb2_grpc.py @@ -0,0 +1,218 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from services.user_svc.v1 import user_svc_pb2 as services_dot_user__svc_dot_v1_dot_user__svc__pb2 + + +class UserServiceStub(object): + """ + UserService + + + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateUser = channel.unary_unary( + '/services.user_svc.v1.UserService/CreateUser', + request_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.FromString, + _registered_method=True) + self.ReadSelf = channel.unary_unary( + '/services.user_svc.v1.UserService/ReadSelf', + request_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.FromString, + _registered_method=True) + self.ReadPublicProfile = channel.unary_unary( + '/services.user_svc.v1.UserService/ReadPublicProfile', + request_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.FromString, + _registered_method=True) + self.UpdateUser = channel.unary_unary( + '/services.user_svc.v1.UserService/UpdateUser', + request_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.SerializeToString, + response_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.FromString, + _registered_method=True) + + +class UserServiceServicer(object): + """ + UserService + + + """ + + def CreateUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ReadSelf(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ReadPublicProfile(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateUser(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_UserServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateUser': grpc.unary_unary_rpc_method_handler( + servicer.CreateUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.SerializeToString, + ), + 'ReadSelf': grpc.unary_unary_rpc_method_handler( + servicer.ReadSelf, + request_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.SerializeToString, + ), + 'ReadPublicProfile': grpc.unary_unary_rpc_method_handler( + servicer.ReadPublicProfile, + request_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.SerializeToString, + ), + 'UpdateUser': grpc.unary_unary_rpc_method_handler( + servicer.UpdateUser, + request_deserializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.FromString, + response_serializer=services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'services.user_svc.v1.UserService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + server.add_registered_method_handlers('services.user_svc.v1.UserService', rpc_method_handlers) + + + # This class is part of an EXPERIMENTAL API. +class UserService(object): + """ + UserService + + + """ + + @staticmethod + def CreateUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.UserService/CreateUser', + services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_user__svc__pb2.CreateUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ReadSelf(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.UserService/ReadSelf', + services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadSelfResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ReadPublicProfile(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.UserService/ReadPublicProfile', + services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_user__svc__pb2.ReadPublicProfileResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateUser(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/services.user_svc.v1.UserService/UpdateUser', + services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserRequest.SerializeToString, + services_dot_user__svc_dot_v1_dot_user__svc__pb2.UpdateUserResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/services/impulse_svc/impulse/grpc_views.py b/services/impulse_svc/impulse/grpc_views.py index c1769194f..49d98b620 100644 --- a/services/impulse_svc/impulse/grpc_views.py +++ b/services/impulse_svc/impulse/grpc_views.py @@ -11,8 +11,8 @@ sys.path.append(settings.PROTO_PATH) -from proto.services.impulse_svc.v1 import impulse_svc_pb2_grpc -from proto.services.impulse_svc.v1 import impulse_svc_pb2 +from services.impulse_svc.v1 import impulse_svc_pb2_grpc +from services.impulse_svc.v1 import impulse_svc_pb2 from impulse.models import Challenge, UserChallenge, User, Reward, Team diff --git a/services/ory-svc/internal/ory/ory.go b/services/ory-svc/internal/ory/ory.go index 8d6323048..be30fe7ec 100644 --- a/services/ory-svc/internal/ory/ory.go +++ b/services/ory-svc/internal/ory/ory.go @@ -3,7 +3,7 @@ package ory import ( "common" "context" - userSvcPb "gen/proto/services/user_svc/v1" + userSvcPb "gen/services/user_svc/v1" "github.com/google/uuid" ory "github.com/ory/client-go" "hwutil" diff --git a/services/ory-svc/main.go b/services/ory-svc/main.go index fe89625ff..5481cea92 100644 --- a/services/ory-svc/main.go +++ b/services/ory-svc/main.go @@ -5,9 +5,9 @@ import ( "context" "errors" "fmt" - "gen/proto/libs/events/v1" - pb "gen/proto/services/ory_svc/v1" - userSvcPb "gen/proto/services/user_svc/v1" + "gen/libs/events/v1" + pb "gen/services/ory_svc/v1" + userSvcPb "gen/services/user_svc/v1" daprc "github.com/dapr/go-sdk/client" daprcmn "github.com/dapr/go-sdk/service/common" daprd "github.com/dapr/go-sdk/service/http" diff --git a/services/property-svc/internal/property-set/api/grpc.go b/services/property-svc/internal/property-set/api/grpc.go index 03f29d463..8a59e5a25 100644 --- a/services/property-svc/internal/property-set/api/grpc.go +++ b/services/property-svc/internal/property-set/api/grpc.go @@ -2,7 +2,7 @@ package api import ( "context" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" "hwes" "property-svc/internal/property-set/handlers" diff --git a/services/property-svc/internal/property-value/api/grpc.go b/services/property-svc/internal/property-value/api/grpc.go index b0cb2eac5..4be6148e4 100644 --- a/services/property-svc/internal/property-value/api/grpc.go +++ b/services/property-svc/internal/property-value/api/grpc.go @@ -2,7 +2,7 @@ package api import ( "context" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" zlog "github.com/rs/zerolog/log" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/services/property-svc/internal/property-value/models/propertyValue.go b/services/property-svc/internal/property-value/models/propertyValue.go index 554c694c0..e04606a57 100644 --- a/services/property-svc/internal/property-value/models/propertyValue.go +++ b/services/property-svc/internal/property-value/models/propertyValue.go @@ -1,7 +1,7 @@ package models import ( - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" "time" ) diff --git a/services/property-svc/internal/property-value/projections/property_value_postgres_projection/property_value_postgres_projection.go b/services/property-svc/internal/property-value/projections/property_value_postgres_projection/property_value_postgres_projection.go index 022d477b3..f125a743c 100644 --- a/services/property-svc/internal/property-value/projections/property_value_postgres_projection/property_value_postgres_projection.go +++ b/services/property-svc/internal/property-value/projections/property_value_postgres_projection/property_value_postgres_projection.go @@ -3,7 +3,7 @@ package property_value_postgres_projection import ( "context" "fmt" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/EventStore/EventStore-Client-Go/v4/esdb" "github.com/google/uuid" zlog "github.com/rs/zerolog/log" diff --git a/services/property-svc/internal/property-value/queries/v1/get_property_values_by_subject_id.go b/services/property-svc/internal/property-value/queries/v1/get_property_values_by_subject_id.go index c9a2db352..4ab029903 100644 --- a/services/property-svc/internal/property-value/queries/v1/get_property_values_by_subject_id.go +++ b/services/property-svc/internal/property-value/queries/v1/get_property_values_by_subject_id.go @@ -3,7 +3,7 @@ package v1 import ( "context" "fmt" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "hwdb" "hwes" "hwutil" diff --git a/services/property-svc/internal/property-view/api/grpc.go b/services/property-svc/internal/property-view/api/grpc.go index a604dc17f..f486c4220 100644 --- a/services/property-svc/internal/property-view/api/grpc.go +++ b/services/property-svc/internal/property-view/api/grpc.go @@ -3,7 +3,7 @@ package api import ( "context" "fmt" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/pkg/errors" "hwes" "hwutil" diff --git a/services/property-svc/internal/property-view/api/grpc_test.go b/services/property-svc/internal/property-view/api/grpc_test.go index b17660394..37b5af173 100644 --- a/services/property-svc/internal/property-view/api/grpc_test.go +++ b/services/property-svc/internal/property-view/api/grpc_test.go @@ -5,7 +5,7 @@ import ( "common" common_test "common/test" "context" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" "github.com/pashagolub/pgxmock/v3" "github.com/stretchr/testify/assert" diff --git a/services/property-svc/internal/property/aggregate/actions.go b/services/property-svc/internal/property/aggregate/actions.go index e928cf296..641ef9217 100644 --- a/services/property-svc/internal/property/aggregate/actions.go +++ b/services/property-svc/internal/property/aggregate/actions.go @@ -2,7 +2,7 @@ package aggregate import ( "context" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "hwutil" propertyEventsV1 "property-svc/internal/property/events/v1" "property-svc/internal/property/models" diff --git a/services/property-svc/internal/property/aggregate/aggregate.go b/services/property-svc/internal/property/aggregate/aggregate.go index 32bba4e47..6e3691fbc 100644 --- a/services/property-svc/internal/property/aggregate/aggregate.go +++ b/services/property-svc/internal/property/aggregate/aggregate.go @@ -3,7 +3,7 @@ package aggregate import ( "context" "fmt" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" "hwes" "hwutil" diff --git a/services/property-svc/internal/property/api/grpc.go b/services/property-svc/internal/property/api/grpc.go index 4bf56d1bc..e0f06bfe7 100644 --- a/services/property-svc/internal/property/api/grpc.go +++ b/services/property-svc/internal/property/api/grpc.go @@ -2,7 +2,7 @@ package api import ( "context" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" "hwes" "hwutil" diff --git a/services/property-svc/internal/property/commands/v1/create_property.go b/services/property-svc/internal/property/commands/v1/create_property.go index 5ed756650..13d00241e 100644 --- a/services/property-svc/internal/property/commands/v1/create_property.go +++ b/services/property-svc/internal/property/commands/v1/create_property.go @@ -3,7 +3,7 @@ package v1 import ( "context" "errors" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" "hwes" "property-svc/internal/property/aggregate" diff --git a/services/property-svc/internal/property/commands/v1/update_property.go b/services/property-svc/internal/property/commands/v1/update_property.go index 1390f1ac8..3c23efeff 100644 --- a/services/property-svc/internal/property/commands/v1/update_property.go +++ b/services/property-svc/internal/property/commands/v1/update_property.go @@ -2,7 +2,7 @@ package v1 import ( "context" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" "hwes" "property-svc/internal/property/aggregate" diff --git a/services/property-svc/internal/property/events/v1/events.go b/services/property-svc/internal/property/events/v1/events.go index c9bc093f1..969fc44da 100644 --- a/services/property-svc/internal/property/events/v1/events.go +++ b/services/property-svc/internal/property/events/v1/events.go @@ -2,7 +2,7 @@ package v1 import ( "context" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" "hwes" "property-svc/internal/property/models" diff --git a/services/property-svc/internal/property/models/property.go b/services/property-svc/internal/property/models/property.go index 7f801fc26..8726678d3 100644 --- a/services/property-svc/internal/property/models/property.go +++ b/services/property-svc/internal/property/models/property.go @@ -1,7 +1,7 @@ package models import ( - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" ) diff --git a/services/property-svc/internal/property/projections/property_postgres_projection/property_postgres_projection.go b/services/property-svc/internal/property/projections/property_postgres_projection/property_postgres_projection.go index 7526f0a0c..13045631b 100644 --- a/services/property-svc/internal/property/projections/property_postgres_projection/property_postgres_projection.go +++ b/services/property-svc/internal/property/projections/property_postgres_projection/property_postgres_projection.go @@ -4,7 +4,7 @@ import ( "context" "errors" "fmt" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/EventStore/EventStore-Client-Go/v4/esdb" "github.com/google/uuid" "github.com/jackc/pgx/v5" diff --git a/services/property-svc/internal/property/queries/v1/get_properties_by_subject_type.go b/services/property-svc/internal/property/queries/v1/get_properties_by_subject_type.go index 0f58cc81d..91940d2c0 100644 --- a/services/property-svc/internal/property/queries/v1/get_properties_by_subject_type.go +++ b/services/property-svc/internal/property/queries/v1/get_properties_by_subject_type.go @@ -2,7 +2,7 @@ package v1 import ( "context" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" "hwdb" "hwutil" diff --git a/services/property-svc/internal/property/queries/v1/get_property_by_id.go b/services/property-svc/internal/property/queries/v1/get_property_by_id.go index 50c80241f..6779a6e4a 100644 --- a/services/property-svc/internal/property/queries/v1/get_property_by_id.go +++ b/services/property-svc/internal/property/queries/v1/get_property_by_id.go @@ -3,7 +3,7 @@ package v1 import ( "context" "fmt" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "github.com/google/uuid" "hwdb" "property-svc/internal/property/models" diff --git a/services/property-svc/main.go b/services/property-svc/main.go index 846ebe0d4..3c208b0ac 100644 --- a/services/property-svc/main.go +++ b/services/property-svc/main.go @@ -4,7 +4,7 @@ import ( "common" "context" "flag" - pb "gen/proto/services/property_svc/v1" + pb "gen/services/property_svc/v1" "hwdb" "hwes/eventstoredb" propertySet "property-svc/internal/property-set/api" diff --git a/services/task-svc/integration_tests/01.GetBed.exec b/services/task-svc/integration_tests/01.GetBed.exec index ed3eeca17..cfc16ffd8 100644 --- a/services/task-svc/integration_tests/01.GetBed.exec +++ b/services/task-svc/integration_tests/01.GetBed.exec @@ -5,11 +5,11 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "01e91d0a-88ac-402b-932e-bae326a7c234"}' \ localhost:3001 \ - proto.services.task_svc.v1.BedService/GetBed + services.task_svc.v1.BedService/GetBed echo "Does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "11e91d0a-88ac-402b-932e-bae326a7c234"}' \ localhost:3001 \ - proto.services.task_svc.v1.BedService/GetBed 2>&1 || exit 0 + services.task_svc.v1.BedService/GetBed 2>&1 || exit 0 diff --git a/services/task-svc/integration_tests/02.GetBedByPatient.exec b/services/task-svc/integration_tests/02.GetBedByPatient.exec index 5eb7b66ba..bf5f72adc 100644 --- a/services/task-svc/integration_tests/02.GetBedByPatient.exec +++ b/services/task-svc/integration_tests/02.GetBedByPatient.exec @@ -5,14 +5,14 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"patient_id": "8763d32d-73d1-4e53-b367-b970ee5f6c18"}' \ localhost:3001 \ - proto.services.task_svc.v1.BedService/GetBedByPatient + services.task_svc.v1.BedService/GetBedByPatient echo "Patient exists but not assigned to bed:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"patient_id": "2d977c7a-c0a8-4d06-b474-1824d440d8b4"}' \ localhost:3001 \ - proto.services.task_svc.v1.BedService/GetBedByPatient + services.task_svc.v1.BedService/GetBedByPatient echo "Patient does not exist:" @@ -20,5 +20,5 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"patient_id": "3d977c7a-c0a8-4d06-b474-1824d440d8b4"}' \ localhost:3001 \ - proto.services.task_svc.v1.BedService/GetBedByPatient + services.task_svc.v1.BedService/GetBedByPatient diff --git a/services/task-svc/integration_tests/03.GetBeds.exec b/services/task-svc/integration_tests/03.GetBeds.exec index 8d7de241f..b7858a3da 100644 --- a/services/task-svc/integration_tests/03.GetBeds.exec +++ b/services/task-svc/integration_tests/03.GetBeds.exec @@ -4,4 +4,4 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.BedService/GetBeds + services.task_svc.v1.BedService/GetBeds diff --git a/services/task-svc/integration_tests/04.CreateBedDeleteBed.exec b/services/task-svc/integration_tests/04.CreateBedDeleteBed.exec index f77a8168d..30a64345a 100644 --- a/services/task-svc/integration_tests/04.CreateBedDeleteBed.exec +++ b/services/task-svc/integration_tests/04.CreateBedDeleteBed.exec @@ -7,21 +7,21 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"room_id": "4d9d91df-b3ec-4ff7-a243-1e467f8ca595", "name": "Some Name"}' \ localhost:3001 \ - proto.services.task_svc.v1.BedService/CreateBed 2>&1 || echo "" + services.task_svc.v1.BedService/CreateBed 2>&1 || echo "" echo "Room does exist" out=$(grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"room_id": "2a3b9111-1f78-4d36-8318-1c69c1e5ad51", "name": "Some Name"}' \ localhost:3001 \ - proto.services.task_svc.v1.BedService/CreateBed) + services.task_svc.v1.BedService/CreateBed) echo "list beds" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.BedService/GetBeds | jq '.beds |= map(if .name == "Some Name" then .id = "RANDOM UUID" else . end)' + services.task_svc.v1.BedService/GetBeds | jq '.beds |= map(if .name == "Some Name" then .id = "RANDOM UUID" else . end)' echo "delete it again" id=$(echo $out | jq '.id') @@ -30,12 +30,12 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": $id}" \ localhost:3001 \ - proto.services.task_svc.v1.BedService/DeleteBed + services.task_svc.v1.BedService/DeleteBed echo "list beds" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.BedService/GetBeds + services.task_svc.v1.BedService/GetBeds diff --git a/services/task-svc/integration_tests/05.GetPatient.exec b/services/task-svc/integration_tests/05.GetPatient.exec index d4d21f89b..ae6af1876 100644 --- a/services/task-svc/integration_tests/05.GetPatient.exec +++ b/services/task-svc/integration_tests/05.GetPatient.exec @@ -5,18 +5,18 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "b8fa077f-4bc2-4c54-82fa-57d6728db45c"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatient + services.task_svc.v1.PatientService/GetPatient echo "Exists, no Bed:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "2e830d2f-69c9-4e38-bd4b-ab43decc7ae3"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatient + services.task_svc.v1.PatientService/GetPatient echo "Does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "3e830d2f-69c9-4e38-bd4b-ab43decc7ae3"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatient 2>&1 || exit 0 + services.task_svc.v1.PatientService/GetPatient 2>&1 || exit 0 diff --git a/services/task-svc/integration_tests/06.GetPatientByBed.exec b/services/task-svc/integration_tests/06.GetPatientByBed.exec index 1ff9889fd..dc20390c0 100644 --- a/services/task-svc/integration_tests/06.GetPatientByBed.exec +++ b/services/task-svc/integration_tests/06.GetPatientByBed.exec @@ -5,18 +5,18 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"bed_id": "31d2cb94-c6fd-4d98-acd4-128c31d51693"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientByBed + services.task_svc.v1.PatientService/GetPatientByBed echo "Exists, no Patient:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"bed_id": "018bd012-4aa1-468f-b57c-c0028507c332"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientByBed 2>&1 || exit 0 + services.task_svc.v1.PatientService/GetPatientByBed 2>&1 || exit 0 echo "Does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"bed_id": "32d2cb94-c6fd-4d98-acd4-128c31d51693"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientByBed 2>&1 || exit 0 + services.task_svc.v1.PatientService/GetPatientByBed 2>&1 || exit 0 diff --git a/services/task-svc/integration_tests/07.GetPatientsByWard.exec b/services/task-svc/integration_tests/07.GetPatientsByWard.exec index a3fdb0f65..57637a166 100644 --- a/services/task-svc/integration_tests/07.GetPatientsByWard.exec +++ b/services/task-svc/integration_tests/07.GetPatientsByWard.exec @@ -5,25 +5,25 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "51aca99b-2372-40b4-99ed-355dad6c014d"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientsByWard + services.task_svc.v1.PatientService/GetPatientsByWard echo "Exists, no Rooms:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "626e8c70-dc93-44fb-a9d5-0b828a0a0c4b"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientsByWard + services.task_svc.v1.PatientService/GetPatientsByWard echo "Exists, one Room has no Beds:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "0f13614c-9043-4af7-a439-cc569ba22639"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientsByWard + services.task_svc.v1.PatientService/GetPatientsByWard echo "Does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "8e830d2f-69c9-4e38-bd4b-ab43decc7ae3"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientsByWard 2>&1 || exit 0 + services.task_svc.v1.PatientService/GetPatientsByWard 2>&1 || exit 0 diff --git a/services/task-svc/integration_tests/08.GetPatientAssignmentByWard.exec b/services/task-svc/integration_tests/08.GetPatientAssignmentByWard.exec index b6371f782..aa6c7b26b 100644 --- a/services/task-svc/integration_tests/08.GetPatientAssignmentByWard.exec +++ b/services/task-svc/integration_tests/08.GetPatientAssignmentByWard.exec @@ -5,25 +5,25 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "51aca99b-2372-40b4-99ed-355dad6c014d"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard + services.task_svc.v1.PatientService/GetPatientAssignmentByWard echo "Exists, no Rooms:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "626e8c70-dc93-44fb-a9d5-0b828a0a0c4b"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard + services.task_svc.v1.PatientService/GetPatientAssignmentByWard echo "Exists, one Room has no Beds:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "0f13614c-9043-4af7-a439-cc569ba22639"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard + services.task_svc.v1.PatientService/GetPatientAssignmentByWard echo "Does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "8e830d2f-69c9-4e38-bd4b-ab43decc7ae3"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientAssignmentByWard 2>&1 || exit 0 + services.task_svc.v1.PatientService/GetPatientAssignmentByWard 2>&1 || exit 0 diff --git a/services/task-svc/integration_tests/09.GetRecentPatients.exec b/services/task-svc/integration_tests/09.GetRecentPatients.exec index 4912ef536..65d1e8643 100644 --- a/services/task-svc/integration_tests/09.GetRecentPatients.exec +++ b/services/task-svc/integration_tests/09.GetRecentPatients.exec @@ -13,7 +13,7 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "06f57c97-509e-4b41-9839-233f29197f56"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientDetails > /dev/null + services.task_svc.v1.PatientService/GetPatientDetails > /dev/null sleep 1 @@ -22,7 +22,7 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "c1c104f0-52c5-46d3-9441-33d0b0c03f87"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientDetails > /dev/null + services.task_svc.v1.PatientService/GetPatientDetails > /dev/null sleep 1 echo "Unassigned Patient, with tasks:" @@ -30,10 +30,10 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "2e830d2f-69c9-4e38-bd4b-ab43decc7ae3"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientDetails > /dev/null + services.task_svc.v1.PatientService/GetPatientDetails > /dev/null grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetRecentPatients + services.task_svc.v1.PatientService/GetRecentPatients diff --git a/services/task-svc/integration_tests/10.AssignBed.exec b/services/task-svc/integration_tests/10.AssignBed.exec index 20ef5d529..9f1003120 100644 --- a/services/task-svc/integration_tests/10.AssignBed.exec +++ b/services/task-svc/integration_tests/10.AssignBed.exec @@ -7,28 +7,28 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "2e830d2f-69c9-4e38-bd4b-ab43decc7ae3", "bed_id": "018bd012-4aa1-468f-b57c-c0028507c332"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/AssignBed + services.task_svc.v1.PatientService/AssignBed echo "(Unassign again)" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "2e830d2f-69c9-4e38-bd4b-ab43decc7ae3"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/UnassignBed > /dev/null + services.task_svc.v1.PatientService/UnassignBed > /dev/null echo "Unassigned Patient, Bed in use:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "2e830d2f-69c9-4e38-bd4b-ab43decc7ae3", "bed_id": "8612b526-9f2b-486f-9e6c-d1581ef5b6be"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/AssignBed 2>&1 || echo "" + services.task_svc.v1.PatientService/AssignBed 2>&1 || echo "" echo "Assigned Patient, empty Bed:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "b8fa077f-4bc2-4c54-82fa-57d6728db45c", "bed_id": "018bd012-4aa1-468f-b57c-c0028507c332"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/AssignBed + services.task_svc.v1.PatientService/AssignBed echo "Patient does not exist:" @@ -36,12 +36,12 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "98fa077f-4bc2-4c54-82fa-57d6728db45c", "bed_id": "018bd012-4aa1-468f-b57c-c0028507c332"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/AssignBed + services.task_svc.v1.PatientService/AssignBed echo "Bed does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "b8fa077f-4bc2-4c54-82fa-57d6728db45c", "bed_id": "118bd012-4aa1-468f-b57c-c0028507c332"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/AssignBed 2>&1 || echo "" + services.task_svc.v1.PatientService/AssignBed 2>&1 || echo "" diff --git a/services/task-svc/integration_tests/11.UnassignBed.exec b/services/task-svc/integration_tests/11.UnassignBed.exec index febab2638..076e9a44c 100644 --- a/services/task-svc/integration_tests/11.UnassignBed.exec +++ b/services/task-svc/integration_tests/11.UnassignBed.exec @@ -5,25 +5,25 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "c1c104f0-52c5-46d3-9441-33d0b0c03f87"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/UnassignBed + services.task_svc.v1.PatientService/UnassignBed echo "(reassign)" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "c1c104f0-52c5-46d3-9441-33d0b0c03f87", "bed_id": "cb92bad3-68b2-49c1-bfac-494ff18b57f3"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/AssignBed > /dev/null + services.task_svc.v1.PatientService/AssignBed > /dev/null echo "Unassigned Patient:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "2e830d2f-69c9-4e38-bd4b-ab43decc7ae3"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/UnassignBed 2>&1 || echo "" + services.task_svc.v1.PatientService/UnassignBed 2>&1 || echo "" echo "Patient does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "98fa077f-4bc2-4c54-82fa-57d6728db45c"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/UnassignBed + services.task_svc.v1.PatientService/UnassignBed diff --git a/services/task-svc/integration_tests/12.GetPatientDetails.exec b/services/task-svc/integration_tests/12.GetPatientDetails.exec index 4686e5984..591a343d6 100644 --- a/services/task-svc/integration_tests/12.GetPatientDetails.exec +++ b/services/task-svc/integration_tests/12.GetPatientDetails.exec @@ -5,32 +5,32 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "06f57c97-509e-4b41-9839-233f29197f56"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientDetails + services.task_svc.v1.PatientService/GetPatientDetails echo "Assigned Patient, no tasks:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "c1c104f0-52c5-46d3-9441-33d0b0c03f87"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientDetails + services.task_svc.v1.PatientService/GetPatientDetails echo "Unassigned Patient, with tasks:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "2e830d2f-69c9-4e38-bd4b-ab43decc7ae3"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientDetails + services.task_svc.v1.PatientService/GetPatientDetails echo "Discharged Patient:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "c05e189c-06c8-479e-b3b9-306f2b66c07d"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientDetails 2>&1 || echo "" + services.task_svc.v1.PatientService/GetPatientDetails 2>&1 || echo "" echo "Patient does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "98fa077f-4bc2-4c54-82fa-57d6728db45c"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientDetails 2>&1 || echo "" + services.task_svc.v1.PatientService/GetPatientDetails 2>&1 || echo "" diff --git a/services/task-svc/integration_tests/13.GetPatientList.exec b/services/task-svc/integration_tests/13.GetPatientList.exec index 969f71431..8a0aa311e 100644 --- a/services/task-svc/integration_tests/13.GetPatientList.exec +++ b/services/task-svc/integration_tests/13.GetPatientList.exec @@ -7,18 +7,18 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientList | jq '.active |= sort_by(.id) | .unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' + services.task_svc.v1.PatientService/GetPatientList | jq '.active |= sort_by(.id) | .unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' echo "In ward" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "0f13614c-9043-4af7-a439-cc569ba22639"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientList | jq '.active |= sort_by(.id) | .unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' + services.task_svc.v1.PatientService/GetPatientList | jq '.active |= sort_by(.id) | .unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' echo "In ward with no bed" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "626e8c70-dc93-44fb-a9d5-0b828a0a0c4b"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientList | jq '.unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' + services.task_svc.v1.PatientService/GetPatientList | jq '.unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' diff --git a/services/task-svc/integration_tests/14.DischargePatient.exec b/services/task-svc/integration_tests/14.DischargePatient.exec index c8e1d3b86..7c2012ffb 100644 --- a/services/task-svc/integration_tests/14.DischargePatient.exec +++ b/services/task-svc/integration_tests/14.DischargePatient.exec @@ -4,18 +4,18 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "06f57c97-509e-4b41-9839-233f29197f56"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/DischargePatient + services.task_svc.v1.PatientService/DischargePatient grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientList | jq '.active |= sort_by(.id) | .unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' + services.task_svc.v1.PatientService/GetPatientList | jq '.active |= sort_by(.id) | .unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' echo "discharge again" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "06f57c97-509e-4b41-9839-233f29197f56"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/DischargePatient + services.task_svc.v1.PatientService/DischargePatient diff --git a/services/task-svc/integration_tests/15.ReadmitPatient.exec b/services/task-svc/integration_tests/15.ReadmitPatient.exec index b7f2a3fdb..c6818eb04 100644 --- a/services/task-svc/integration_tests/15.ReadmitPatient.exec +++ b/services/task-svc/integration_tests/15.ReadmitPatient.exec @@ -4,18 +4,18 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"patient_id": "06f57c97-509e-4b41-9839-233f29197f56"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/ReadmitPatient + services.task_svc.v1.PatientService/ReadmitPatient grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientList | jq '.active |= sort_by(.id) | .unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' + services.task_svc.v1.PatientService/GetPatientList | jq '.active |= sort_by(.id) | .unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' echo "readmit again" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"patient_id": "06f57c97-509e-4b41-9839-233f29197f56"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/ReadmitPatient + services.task_svc.v1.PatientService/ReadmitPatient diff --git a/services/task-svc/integration_tests/16.DeletePatient.exec b/services/task-svc/integration_tests/16.DeletePatient.exec index 03caf8008..492ff0d18 100644 --- a/services/task-svc/integration_tests/16.DeletePatient.exec +++ b/services/task-svc/integration_tests/16.DeletePatient.exec @@ -4,11 +4,11 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "06f57c97-509e-4b41-9839-233f29197f56"}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/DeletePatient + services.task_svc.v1.PatientService/DeletePatient grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.PatientService/GetPatientList | jq '.active |= sort_by(.id) | .unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' + services.task_svc.v1.PatientService/GetPatientList | jq '.active |= sort_by(.id) | .unassignedPatients |= sort_by(.id) | .dischargedPatients |= sort_by(.id)' diff --git a/services/task-svc/integration_tests/17.GetRoom.exec b/services/task-svc/integration_tests/17.GetRoom.exec index 28b17a93a..f82bb46db 100644 --- a/services/task-svc/integration_tests/17.GetRoom.exec +++ b/services/task-svc/integration_tests/17.GetRoom.exec @@ -5,19 +5,19 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "b79dc72f-8359-4058-bd7a-e4b7019a5ec3"}' \ localhost:3001 \ - proto.services.task_svc.v1.RoomService/GetRoom + services.task_svc.v1.RoomService/GetRoom echo "Exists, has no beds:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "2a3b9111-1f78-4d36-8318-1c69c1e5ad51"}' \ localhost:3001 \ - proto.services.task_svc.v1.RoomService/GetRoom + services.task_svc.v1.RoomService/GetRoom echo "Does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "1a3b9111-1f78-4d36-8318-1c69c1e5ad51"}' \ localhost:3001 \ - proto.services.task_svc.v1.RoomService/GetRoom 2>&1 || echo "" + services.task_svc.v1.RoomService/GetRoom 2>&1 || echo "" diff --git a/services/task-svc/integration_tests/18.GetRooms.exec b/services/task-svc/integration_tests/18.GetRooms.exec index 773349b5e..ad8d125cd 100644 --- a/services/task-svc/integration_tests/18.GetRooms.exec +++ b/services/task-svc/integration_tests/18.GetRooms.exec @@ -4,4 +4,4 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.RoomService/GetRooms + services.task_svc.v1.RoomService/GetRooms diff --git a/services/task-svc/integration_tests/19.GetRoomsByWard.exec b/services/task-svc/integration_tests/19.GetRoomsByWard.exec index 2e436ed57..a854f9c92 100644 --- a/services/task-svc/integration_tests/19.GetRoomsByWard.exec +++ b/services/task-svc/integration_tests/19.GetRoomsByWard.exec @@ -5,18 +5,18 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "51aca99b-2372-40b4-99ed-355dad6c014d"}' \ localhost:3001 \ - proto.services.task_svc.v1.RoomService/GetRoomsByWard + services.task_svc.v1.RoomService/GetRoomsByWard echo "Exists, has no rooms:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "626e8c70-dc93-44fb-a9d5-0b828a0a0c4b"}' \ localhost:3001 \ - proto.services.task_svc.v1.RoomService/GetRoomsByWard + services.task_svc.v1.RoomService/GetRoomsByWard echo "Does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "726e8c70-dc93-44fb-a9d5-0b828a0a0c4b"}' \ localhost:3001 \ - proto.services.task_svc.v1.RoomService/GetRoomsByWard 2>&1 || echo "" + services.task_svc.v1.RoomService/GetRoomsByWard 2>&1 || echo "" diff --git a/services/task-svc/integration_tests/20.GetRoomOverviewsByWard.exec b/services/task-svc/integration_tests/20.GetRoomOverviewsByWard.exec index fc62086cc..963770d00 100644 --- a/services/task-svc/integration_tests/20.GetRoomOverviewsByWard.exec +++ b/services/task-svc/integration_tests/20.GetRoomOverviewsByWard.exec @@ -5,18 +5,18 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "51aca99b-2372-40b4-99ed-355dad6c014d"}' \ localhost:3001 \ - proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard + services.task_svc.v1.RoomService/GetRoomOverviewsByWard echo "Exists, has no rooms:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "626e8c70-dc93-44fb-a9d5-0b828a0a0c4b"}' \ localhost:3001 \ - proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard + services.task_svc.v1.RoomService/GetRoomOverviewsByWard echo "Does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "726e8c70-dc93-44fb-a9d5-0b828a0a0c4b"}' \ localhost:3001 \ - proto.services.task_svc.v1.RoomService/GetRoomOverviewsByWard 2>&1 || echo "" + services.task_svc.v1.RoomService/GetRoomOverviewsByWard 2>&1 || echo "" diff --git a/services/task-svc/integration_tests/21.GetTask.exec b/services/task-svc/integration_tests/21.GetTask.exec index 275f7c73a..e688fdbe3 100644 --- a/services/task-svc/integration_tests/21.GetTask.exec +++ b/services/task-svc/integration_tests/21.GetTask.exec @@ -5,7 +5,7 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "4454d62d-fd22-40f8-b4ab-2f1de65ed881"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask 2>&1 || echo "" + services.task_svc.v1.TaskService/GetTask 2>&1 || echo "" echo "Exists, has no subtasks:" @@ -13,11 +13,11 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask echo "Does not exists:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a7d943f6-dae1-48c9-b947-8523c214f297"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask 2>&1 || echo "" + services.task_svc.v1.TaskService/GetTask 2>&1 || echo "" diff --git a/services/task-svc/integration_tests/22.GetWardDetails.exec b/services/task-svc/integration_tests/22.GetWardDetails.exec index 06c2167a4..a41f490e4 100644 --- a/services/task-svc/integration_tests/22.GetWardDetails.exec +++ b/services/task-svc/integration_tests/22.GetWardDetails.exec @@ -5,18 +5,18 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "0f13614c-9043-4af7-a439-cc569ba22639"}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/GetWardDetails + services.task_svc.v1.WardService/GetWardDetails echo "Exists, no beds" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "626e8c70-dc93-44fb-a9d5-0b828a0a0c4b"}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/GetWardDetails + services.task_svc.v1.WardService/GetWardDetails echo "Does not exists:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a7d943f6-dae1-48c9-b947-8523c214f297"}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/GetWardDetails 2>&1 || echo "" + services.task_svc.v1.WardService/GetWardDetails 2>&1 || echo "" diff --git a/services/task-svc/integration_tests/23.GetWard.exec b/services/task-svc/integration_tests/23.GetWard.exec index 0d033e37e..410c066e8 100644 --- a/services/task-svc/integration_tests/23.GetWard.exec +++ b/services/task-svc/integration_tests/23.GetWard.exec @@ -5,18 +5,18 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "0f13614c-9043-4af7-a439-cc569ba22639"}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/GetWard + services.task_svc.v1.WardService/GetWard echo "Exists, no beds" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "626e8c70-dc93-44fb-a9d5-0b828a0a0c4b"}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/GetWard + services.task_svc.v1.WardService/GetWard echo "Does not exists:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a7d943f6-dae1-48c9-b947-8523c214f297"}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/GetWard 2>&1 || echo "" + services.task_svc.v1.WardService/GetWard 2>&1 || echo "" diff --git a/services/task-svc/integration_tests/24.GetWards.exec b/services/task-svc/integration_tests/24.GetWards.exec index 346b11c92..ddf44d2eb 100644 --- a/services/task-svc/integration_tests/24.GetWards.exec +++ b/services/task-svc/integration_tests/24.GetWards.exec @@ -5,5 +5,5 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/GetWards + services.task_svc.v1.WardService/GetWards diff --git a/services/task-svc/integration_tests/25.GetWardOverviews.exec b/services/task-svc/integration_tests/25.GetWardOverviews.exec index f2dbf59bc..21d65d792 100644 --- a/services/task-svc/integration_tests/25.GetWardOverviews.exec +++ b/services/task-svc/integration_tests/25.GetWardOverviews.exec @@ -5,5 +5,5 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/GetWardOverviews + services.task_svc.v1.WardService/GetWardOverviews diff --git a/services/task-svc/integration_tests/26.GetRecentWards.exec b/services/task-svc/integration_tests/26.GetRecentWards.exec index 2b20f5e4f..5ebf25683 100644 --- a/services/task-svc/integration_tests/26.GetRecentWards.exec +++ b/services/task-svc/integration_tests/26.GetRecentWards.exec @@ -11,7 +11,7 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "51aca99b-2372-40b4-99ed-355dad6c014d"}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/UpdateWard > /dev/null + services.task_svc.v1.WardService/UpdateWard > /dev/null sleep 1 @@ -19,7 +19,7 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "626e8c70-dc93-44fb-a9d5-0b828a0a0c4b"}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/UpdateWard > /dev/null + services.task_svc.v1.WardService/UpdateWard > /dev/null sleep 1 @@ -27,5 +27,5 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.WardService/GetRecentWards + services.task_svc.v1.WardService/GetRecentWards diff --git a/services/task-svc/integration_tests/27.GetTasksByPatient.exec b/services/task-svc/integration_tests/27.GetTasksByPatient.exec index 29359d612..321a37576 100644 --- a/services/task-svc/integration_tests/27.GetTasksByPatient.exec +++ b/services/task-svc/integration_tests/27.GetTasksByPatient.exec @@ -5,19 +5,19 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"patient_id": "b1f373b9-30f4-4e77-a202-bb392b4080d3"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTasksByPatient + services.task_svc.v1.TaskService/GetTasksByPatient echo "Exists, has no tasks:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"patient_id": "5f00d59a-72b1-4eb6-9817-5a3aec7476ef"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTasksByPatient + services.task_svc.v1.TaskService/GetTasksByPatient echo "Does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"patient_id": "6f00d59a-72b1-4eb6-9817-5a3aec7476ef"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTasksByPatient + services.task_svc.v1.TaskService/GetTasksByPatient diff --git a/services/task-svc/integration_tests/28.GetTasksByPatientSortedByStatus.exec b/services/task-svc/integration_tests/28.GetTasksByPatientSortedByStatus.exec index cdded0670..4ac9e3b2d 100644 --- a/services/task-svc/integration_tests/28.GetTasksByPatientSortedByStatus.exec +++ b/services/task-svc/integration_tests/28.GetTasksByPatientSortedByStatus.exec @@ -5,18 +5,18 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"patient_id": "8763d32d-73d1-4e53-b367-b970ee5f6c18"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus + services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus echo "Exists, has no tasks:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"patient_id": "5f00d59a-72b1-4eb6-9817-5a3aec7476ef"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus + services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus echo "Does not exist:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"patient_id": "6f00d59a-72b1-4eb6-9817-5a3aec7476ef"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus + services.task_svc.v1.TaskService/GetTasksByPatientSortedByStatus diff --git a/services/task-svc/integration_tests/29.GetAssignedTasks.exec b/services/task-svc/integration_tests/29.GetAssignedTasks.exec index d0905cac0..af12c8620 100644 --- a/services/task-svc/integration_tests/29.GetAssignedTasks.exec +++ b/services/task-svc/integration_tests/29.GetAssignedTasks.exec @@ -5,18 +5,18 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiI4YWE4YTVlZS0yYTM1LTQyMDMtODFiYi1iYWY0Y2ExN2E5ZTkiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19Cg==" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetAssignedTasks + services.task_svc.v1.TaskService/GetAssignedTasks echo "user: 531244c4-0500-4701-91ef-a03645ba92b2:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiI1MzEyNDRjNC0wNTAwLTQ3MDEtOTFlZi1hMDM2NDViYTkyYjIiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19Cg==" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetAssignedTasks + services.task_svc.v1.TaskService/GetAssignedTasks echo "user: 431244c4-0500-4701-91ef-a03645ba92b2:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiI0MzEyNDRjNC0wNTAwLTQ3MDEtOTFlZi1hMDM2NDViYTkyYjIiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19Cg==" \ -d '{}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetAssignedTasks + services.task_svc.v1.TaskService/GetAssignedTasks diff --git a/services/task-svc/integration_tests/30.CreateTaskDeleteTask.exec b/services/task-svc/integration_tests/30.CreateTaskDeleteTask.exec index bbf71a0c3..ca70ca0cf 100644 --- a/services/task-svc/integration_tests/30.CreateTaskDeleteTask.exec +++ b/services/task-svc/integration_tests/30.CreateTaskDeleteTask.exec @@ -5,52 +5,52 @@ id=$(grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba40 -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"name": "Some Great Task", "patient_id": "de70d0d0-94da-4d00-9dfc-54723320fe47", "public": false}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/CreateTask | jq -r ".id") + services.task_svc.v1.TaskService/CreateTask | jq -r ".id") echo "result:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": \"$id\"}" \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask | jq -e '.id = "RANDOM ID"' + services.task_svc.v1.TaskService/GetTask | jq -e '.id = "RANDOM ID"' echo "delete again" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": \"$id\"}" \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/DeleteTask + services.task_svc.v1.TaskService/DeleteTask echo "see:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": \"$id\"}" \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask 2>&1 || echo "" + services.task_svc.v1.TaskService/GetTask 2>&1 || echo "" echo "with optionals" id=$(grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"name": "Some Great Task", "patient_id": "de70d0d0-94da-4d00-9dfc-54723320fe47", "public": true, "description": "This is a description.", "initial_status": "TASK_STATUS_IN_PROGRESS", "due_at": "2024-01-01T16:52:45.762Z"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/CreateTask | jq -r ".id") + services.task_svc.v1.TaskService/CreateTask | jq -r ".id") echo "result:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": \"$id\"}" \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask | jq -e '.id = "RANDOM ID"' + services.task_svc.v1.TaskService/GetTask | jq -e '.id = "RANDOM ID"' echo "delete again" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": \"$id\"}" \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/DeleteTask + services.task_svc.v1.TaskService/DeleteTask echo "see:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": \"$id\"}" \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask 2>&1 || echo "" + services.task_svc.v1.TaskService/GetTask 2>&1 || echo "" diff --git a/services/task-svc/integration_tests/31.UpdateTask.exec b/services/task-svc/integration_tests/31.UpdateTask.exec index 27a13f671..ec21653d9 100644 --- a/services/task-svc/integration_tests/31.UpdateTask.exec +++ b/services/task-svc/integration_tests/31.UpdateTask.exec @@ -5,30 +5,30 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/UpdateTask + services.task_svc.v1.TaskService/UpdateTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask echo "proper update" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c", "name": "Changed Name", "description": "Clear description", "due_at": "2023-11-04T06:58:00.000Z", "public": true}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/UpdateTask + services.task_svc.v1.TaskService/UpdateTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask echo "does not exist" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "b2f04cb2-4587-48ad-89ee-a01256a80d7c", "name": "Changed Name", "description": "Clear description", "due_at": "2023-11-04T06:58:00.000Z", "public": true}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/UpdateTask + services.task_svc.v1.TaskService/UpdateTask diff --git a/services/task-svc/integration_tests/32.AddSubTask.exec b/services/task-svc/integration_tests/32.AddSubTask.exec index 2f5da2e60..9a2d78e26 100644 --- a/services/task-svc/integration_tests/32.AddSubTask.exec +++ b/services/task-svc/integration_tests/32.AddSubTask.exec @@ -6,53 +6,53 @@ id=$(grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba40 -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"name": "Some Great Task", "task_id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/AddSubTask | jq -r ".id") + services.task_svc.v1.TaskService/AddSubTask | jq -r ".id") echo "result:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask | jq '.subtasks[] |= . + { "id": "RANDOM ID" }' + services.task_svc.v1.TaskService/GetTask | jq '.subtasks[] |= . + { "id": "RANDOM ID" }' echo "delete again" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": \"$id\"}" \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/RemoveSubTask + services.task_svc.v1.TaskService/RemoveSubTask echo "see:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask echo "with optionals" id=$(grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"name": "Some Great Task", "task_id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c", "done": true}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/AddSubTask | jq -r ".id") + services.task_svc.v1.TaskService/AddSubTask | jq -r ".id") echo "result:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask | jq '.subtasks[] |= . + { "id": "RANDOM ID" }' + services.task_svc.v1.TaskService/GetTask | jq '.subtasks[] |= . + { "id": "RANDOM ID" }' echo "delete again" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": \"$id\"}" \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/RemoveSubTask + services.task_svc.v1.TaskService/RemoveSubTask echo "see:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask diff --git a/services/task-svc/integration_tests/33.UpdateSubTask.exec b/services/task-svc/integration_tests/33.UpdateSubTask.exec index 6030b7d3c..d4bfdab4d 100644 --- a/services/task-svc/integration_tests/33.UpdateSubTask.exec +++ b/services/task-svc/integration_tests/33.UpdateSubTask.exec @@ -4,20 +4,20 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "f531ae7e-96cd-4d5d-ab62-1afbe90fdd87"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask echo "empty update" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "f2e70feb-9137-44d7-bcad-b0e90bd0706a"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/UpdateSubTask + services.task_svc.v1.TaskService/UpdateSubTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "f531ae7e-96cd-4d5d-ab62-1afbe90fdd87"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask echo "update" @@ -25,23 +25,23 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "f2e70feb-9137-44d7-bcad-b0e90bd0706a", "name": "Hi c:"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/UpdateSubTask + services.task_svc.v1.TaskService/UpdateSubTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "f531ae7e-96cd-4d5d-ab62-1afbe90fdd87"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "f2e70feb-9137-44d7-bcad-b0e90bd0706a", "name": "Repair of retinal tear by photocoagulation of unspecified type"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/UpdateSubTask + services.task_svc.v1.TaskService/UpdateSubTask echo "Does not exists:" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "42e70feb-9137-44d7-bcad-b0e90bd0706b", "name": "Hi c:"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/UpdateSubTask + services.task_svc.v1.TaskService/UpdateSubTask diff --git a/services/task-svc/integration_tests/34.SubTaskToToDo.exec b/services/task-svc/integration_tests/34.SubTaskToToDo.exec index 4b3b87f45..abd9288c2 100644 --- a/services/task-svc/integration_tests/34.SubTaskToToDo.exec +++ b/services/task-svc/integration_tests/34.SubTaskToToDo.exec @@ -4,40 +4,40 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "b2ed8f2b-1fc9-4bbe-8705-acf84850c6aa"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "1e785484-e2a6-4ed5-9212-ee56a9d2c39d"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/SubTaskToToDo + services.task_svc.v1.TaskService/SubTaskToToDo grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "b2ed8f2b-1fc9-4bbe-8705-acf84850c6aa"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "1e785484-e2a6-4ed5-9212-ee56a9d2c39d"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/SubTaskToDone + services.task_svc.v1.TaskService/SubTaskToDone grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "b2ed8f2b-1fc9-4bbe-8705-acf84850c6aa"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask echo "does not exist" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "2e785484-e2a6-4ed5-9212-ee56a9d2c39d"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/SubTaskToDone + services.task_svc.v1.TaskService/SubTaskToDone grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "2e785484-e2a6-4ed5-9212-ee56a9d2c39d"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/SubTaskToToDo + services.task_svc.v1.TaskService/SubTaskToToDo diff --git a/services/task-svc/integration_tests/35.TaskToToDo.exec b/services/task-svc/integration_tests/35.TaskToToDo.exec index 40417091c..5bd1ff417 100644 --- a/services/task-svc/integration_tests/35.TaskToToDo.exec +++ b/services/task-svc/integration_tests/35.TaskToToDo.exec @@ -4,44 +4,44 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/TaskToToDo + services.task_svc.v1.TaskService/TaskToToDo grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/TaskToInProgress + services.task_svc.v1.TaskService/TaskToInProgress grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/TaskToDone + services.task_svc.v1.TaskService/TaskToDone grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask echo "does not exist" @@ -49,16 +49,16 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "b2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/TaskToToDo + services.task_svc.v1.TaskService/TaskToToDo grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "b2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/TaskToInProgress + services.task_svc.v1.TaskService/TaskToInProgress grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "b2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/TaskToDone + services.task_svc.v1.TaskService/TaskToDone diff --git a/services/task-svc/integration_tests/36.AssignTaskToUser.exec b/services/task-svc/integration_tests/36.AssignTaskToUser.exec index a4eba516e..17d5904c5 100644 --- a/services/task-svc/integration_tests/36.AssignTaskToUser.exec +++ b/services/task-svc/integration_tests/36.AssignTaskToUser.exec @@ -4,28 +4,28 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c", "user_id": "8aa8a5ee-2a35-4203-81bb-baf4ca17a9e9"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/AssignTaskToUser + services.task_svc.v1.TaskService/AssignTaskToUser grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/UnassignTaskFromUser + services.task_svc.v1.TaskService/UnassignTaskFromUser grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c", "user_id": "5db6cc86-bbf1-4fa6-bbe8-a8cdea869758"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/AssignTaskToUser + services.task_svc.v1.TaskService/AssignTaskToUser diff --git a/services/task-svc/integration_tests/37.PublishTask.exec b/services/task-svc/integration_tests/37.PublishTask.exec index 6134e353b..6b3168e1f 100644 --- a/services/task-svc/integration_tests/37.PublishTask.exec +++ b/services/task-svc/integration_tests/37.PublishTask.exec @@ -4,22 +4,22 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/UnpublishTask + services.task_svc.v1.TaskService/UnpublishTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/PublishTask + services.task_svc.v1.TaskService/PublishTask grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "a2f04cb2-4587-48ad-89ee-a01256a80d7c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskService/GetTask + services.task_svc.v1.TaskService/GetTask diff --git a/services/task-svc/integration_tests/38.GetAllTaskTemplates.exec b/services/task-svc/integration_tests/38.GetAllTaskTemplates.exec index f852648f9..0d3442240 100644 --- a/services/task-svc/integration_tests/38.GetAllTaskTemplates.exec +++ b/services/task-svc/integration_tests/38.GetAllTaskTemplates.exec @@ -3,4 +3,4 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplates diff --git a/services/task-svc/integration_tests/39.GetAllTaskTemplatesByCreator.exec b/services/task-svc/integration_tests/39.GetAllTaskTemplatesByCreator.exec index ec1e598a8..38439798d 100644 --- a/services/task-svc/integration_tests/39.GetAllTaskTemplatesByCreator.exec +++ b/services/task-svc/integration_tests/39.GetAllTaskTemplatesByCreator.exec @@ -4,10 +4,10 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"created_by": "df363387-7774-4592-b01c-2b765abaa86a"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"created_by": "5db6cc86-bbf1-4fa6-bbe8-a8cdea869758", "private_only": true}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator diff --git a/services/task-svc/integration_tests/40.GetAllTaskTemplatesByWard.exec b/services/task-svc/integration_tests/40.GetAllTaskTemplatesByWard.exec index 1d67f5f18..6dfad437f 100644 --- a/services/task-svc/integration_tests/40.GetAllTaskTemplatesByWard.exec +++ b/services/task-svc/integration_tests/40.GetAllTaskTemplatesByWard.exec @@ -4,4 +4,4 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"ward_id": "0f13614c-9043-4af7-a439-cc569ba22639"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByWard diff --git a/services/task-svc/integration_tests/41.UpdateTaskTemplate.exec b/services/task-svc/integration_tests/41.UpdateTaskTemplate.exec index dcd4a2362..014a48bd0 100644 --- a/services/task-svc/integration_tests/41.UpdateTaskTemplate.exec +++ b/services/task-svc/integration_tests/41.UpdateTaskTemplate.exec @@ -5,46 +5,46 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "9d21dd28e8c7", "name": "Some Updated Name", "description": "Some Updated Description"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate 2>&1 || echo "" + services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate 2>&1 || echo "" echo "id does not exist" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "0a21dd28-0b9a-40b9-abf3-71b01c18e8c7", "name": "Some Updated Name", "description": "Some Updated Description"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate 2>&1 || echo "" + services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate 2>&1 || echo "" echo "Existing id, no-op" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "9d21dd28-0b9a-40b9-abf3-71b01c18e8c7"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate + services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate echo "see before" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"created_by": "8aa8a5ee-2a35-4203-81bb-baf4ca17a9e9"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator echo "Existing id, proper update" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "9d21dd28-0b9a-40b9-abf3-71b01c18e8c7", "name": "Some Updated Name", "description": "Some Updated Description"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate + services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate echo "see change" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"created_by": "8aa8a5ee-2a35-4203-81bb-baf4ca17a9e9"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator echo "undo update for consistency" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"id": "9d21dd28-0b9a-40b9-abf3-71b01c18e8c7", "name": "Bypass Pelvic Cav to R Pleural Cav w Synth Sub, Perc Endo", "description": "Laryngoscopy and other tracheoscopy"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate + services.task_svc.v1.TaskTemplateService/UpdateTaskTemplate diff --git a/services/task-svc/integration_tests/42.UpdateTaskTemplateSubTask.exec b/services/task-svc/integration_tests/42.UpdateTaskTemplateSubTask.exec index 4655370b5..d29fe93c5 100644 --- a/services/task-svc/integration_tests/42.UpdateTaskTemplateSubTask.exec +++ b/services/task-svc/integration_tests/42.UpdateTaskTemplateSubTask.exec @@ -5,46 +5,46 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"subtask_id": "9d21dd28e8c7", "name": "Some Updated Name"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask 2>&1 || echo "" + services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask 2>&1 || echo "" echo "id does not exist" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"subtask_id": "aaee8b8b-5663-458e-a5d2-8f9e27112ee8", "name": "Some Updated Name"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask 2>&1 || echo "" + services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask 2>&1 || echo "" echo "Existing id, no-op" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"subtask_id": "ffee7b8b-5663-458e-a5d2-8f9e27112ee8"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask + services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask echo "see before" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"created_by": "22b47b87-aadf-4e81-802d-9e23489e696c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator echo "Existing id, proper update" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"subtask_id": "ffee7b8b-5663-458e-a5d2-8f9e27112ee8", "name": "Some Updated Name"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask + services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask echo "see change" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"created_by": "22b47b87-aadf-4e81-802d-9e23489e696c"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator echo "undo update for consistency" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"subtask_id": "ffee7b8b-5663-458e-a5d2-8f9e27112ee8", "name": "Extraction of Left Pleura, Open Approach, Diagnostic"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask + services.task_svc.v1.TaskTemplateService/UpdateTaskTemplateSubTask diff --git a/services/task-svc/integration_tests/43.CreateAndDeleteTaskTemplate.exec b/services/task-svc/integration_tests/43.CreateAndDeleteTaskTemplate.exec index d61e7212a..25da231f1 100644 --- a/services/task-svc/integration_tests/43.CreateAndDeleteTaskTemplate.exec +++ b/services/task-svc/integration_tests/43.CreateAndDeleteTaskTemplate.exec @@ -5,42 +5,42 @@ id=$(grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba40 -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"name": "Some Name"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplate | jq -r ".id") + services.task_svc.v1.TaskTemplateService/CreateTaskTemplate | jq -r ".id") echo "delete it again" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": \"$id\"}" \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate + services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate echo "there should be no change" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"created_by": "18159713-5d4e-4ad5-94ad-fbb6bb147984"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator echo "Full" id=$(grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"name": "Some Name", "description": "Some Nice Description", "ward_id": "0f13614c-9043-4af7-a439-cc569ba22639", "subtasks": [{"name": "One"}, {"name": "Two"}]}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplate | jq -r ".id") + services.task_svc.v1.TaskTemplateService/CreateTaskTemplate | jq -r ".id") echo "get subtasks (should be 2)" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"created_by": "18159713-5d4e-4ad5-94ad-fbb6bb147984"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator | jq -r ".templates[0].subtasks | length" + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator | jq -r ".templates[0].subtasks | length" echo "there should be a template" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"created_by": "18159713-5d4e-4ad5-94ad-fbb6bb147984"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator | jq -r ".templates | length" + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator | jq -r ".templates | length" echo "delete it again" @@ -48,11 +48,11 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": \"$id\"}" \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate + services.task_svc.v1.TaskTemplateService/DeleteTaskTemplate echo "there should be no change" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"created_by": "18159713-5d4e-4ad5-94ad-fbb6bb147984"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator diff --git a/services/task-svc/integration_tests/44.CreateAndDeleteTaskTemplateSubTask.exec b/services/task-svc/integration_tests/44.CreateAndDeleteTaskTemplateSubTask.exec index 41ae385f7..b0764e682 100644 --- a/services/task-svc/integration_tests/44.CreateAndDeleteTaskTemplateSubTask.exec +++ b/services/task-svc/integration_tests/44.CreateAndDeleteTaskTemplateSubTask.exec @@ -5,32 +5,32 @@ grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"taskTemplateId": "40ee9afbf1b81c16b3ab871", "name": "Some Name"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask 2>&1 || echo "" + services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask 2>&1 || echo "" echo "id does not exist" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"taskTemplateId": "51aa9af4-9037-4d56-bf1b-81c16b3ab871", "name": "Some Name"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask 2>&1 || echo "" + services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask 2>&1 || echo "" echo "Create" id=$(grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"taskTemplateId": "40ee9af4-9037-4d56-bf1b-81c16b3ab871", "name": "Some Name"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask | jq -r ".id") + services.task_svc.v1.TaskTemplateService/CreateTaskTemplateSubTask | jq -r ".id") echo "delete it again" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d "{\"id\": \"$id\"}" \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask + services.task_svc.v1.TaskTemplateService/DeleteTaskTemplateSubTask echo "there should be no change" grpcurl --plaintext -H "X-Organization: 3b25c6f5-4705-4074-9fc6-a50c28eba406" \ -H "Authorization: Bearer eyJzdWIiOiIxODE1OTcxMy01ZDRlLTRhZDUtOTRhZC1mYmI2YmIxNDc5ODQiLCJlbWFpbCI6InRlc3RpbmUudGVzdEBoZWxwd2F2ZS5kZSIsIm5hbWUiOiJUZXN0aW5lIFRlc3QiLCJuaWNrbmFtZSI6InRlc3RpbmUudGVzdCIsIm9yZ2FuaXphdGlvbnMiOlsiM2IyNWM2ZjUtNDcwNS00MDc0LTlmYzYtYTUwYzI4ZWJhNDA2Il19" \ -d '{"created_by": "73c0d265-3c9a-410a-8eaf-0174fc57f421"}' \ localhost:3001 \ - proto.services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator + services.task_svc.v1.TaskTemplateService/GetAllTaskTemplatesByCreator diff --git a/services/task-svc/internal/bed/bed.go b/services/task-svc/internal/bed/bed.go index 7aa61fb48..b091d6c7e 100644 --- a/services/task-svc/internal/bed/bed.go +++ b/services/task-svc/internal/bed/bed.go @@ -15,7 +15,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - pb "gen/proto/services/task_svc/v1" + pb "gen/services/task_svc/v1" zlog "github.com/rs/zerolog/log" ) diff --git a/services/task-svc/internal/patient/patient.go b/services/task-svc/internal/patient/patient.go index b58a7096d..8eff95ddd 100644 --- a/services/task-svc/internal/patient/patient.go +++ b/services/task-svc/internal/patient/patient.go @@ -3,7 +3,7 @@ package patient import ( "common" "context" - pb "gen/proto/services/task_svc/v1" + pb "gen/services/task_svc/v1" "hwdb" "hwutil" "task-svc/internal/tracking" diff --git a/services/task-svc/internal/room/room.go b/services/task-svc/internal/room/room.go index b6d40356f..f0549aa60 100644 --- a/services/task-svc/internal/room/room.go +++ b/services/task-svc/internal/room/room.go @@ -11,7 +11,7 @@ import ( "task-svc/internal/tracking" "task-svc/repos/room_repo" - pb "gen/proto/services/task_svc/v1" + pb "gen/services/task_svc/v1" zlog "github.com/rs/zerolog/log" ) diff --git a/services/task-svc/internal/task-template/task_template.go b/services/task-svc/internal/task-template/task_template.go index 893d336de..62c85895b 100644 --- a/services/task-svc/internal/task-template/task_template.go +++ b/services/task-svc/internal/task-template/task_template.go @@ -10,7 +10,7 @@ import ( "hwutil" "task-svc/repos/task_template_repo" - pb "gen/proto/services/task_svc/v1" + pb "gen/services/task_svc/v1" zlog "github.com/rs/zerolog/log" ) diff --git a/services/task-svc/internal/task/task.go b/services/task-svc/internal/task/task.go index d6f383b89..13e953542 100644 --- a/services/task-svc/internal/task/task.go +++ b/services/task-svc/internal/task/task.go @@ -3,7 +3,7 @@ package task import ( "common" "context" - pb "gen/proto/services/task_svc/v1" + pb "gen/services/task_svc/v1" "github.com/google/uuid" zlog "github.com/rs/zerolog/log" "google.golang.org/grpc/codes" diff --git a/services/task-svc/internal/ward/ward.go b/services/task-svc/internal/ward/ward.go index 781ce699c..5e9d77890 100644 --- a/services/task-svc/internal/ward/ward.go +++ b/services/task-svc/internal/ward/ward.go @@ -3,7 +3,7 @@ package ward import ( "common" "context" - pb "gen/proto/services/task_svc/v1" + pb "gen/services/task_svc/v1" "github.com/google/uuid" zlog "github.com/rs/zerolog/log" "google.golang.org/grpc/codes" diff --git a/services/task-svc/main.go b/services/task-svc/main.go index ac98faebc..bbeb05308 100644 --- a/services/task-svc/main.go +++ b/services/task-svc/main.go @@ -3,7 +3,7 @@ package main import ( "common" "context" - pb "gen/proto/services/task_svc/v1" + pb "gen/services/task_svc/v1" daprd "github.com/dapr/go-sdk/service/grpc" "hwdb" "task-svc/internal/bed" diff --git a/services/tasks-svc/internal/patient/api/grpc.go b/services/tasks-svc/internal/patient/api/grpc.go index 9fb3468d2..db20cf9b8 100644 --- a/services/tasks-svc/internal/patient/api/grpc.go +++ b/services/tasks-svc/internal/patient/api/grpc.go @@ -4,7 +4,7 @@ import ( "common" "context" "fmt" - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" "github.com/google/uuid" zlog "github.com/rs/zerolog/log" "google.golang.org/grpc/codes" diff --git a/services/tasks-svc/internal/patient/api/grpc_test.go b/services/tasks-svc/internal/patient/api/grpc_test.go index 249d977ab..034214dbd 100644 --- a/services/tasks-svc/internal/patient/api/grpc_test.go +++ b/services/tasks-svc/internal/patient/api/grpc_test.go @@ -5,7 +5,7 @@ import ( common_test "common/test" "context" "decaying_lru" - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" "github.com/go-redis/redismock/v9" "github.com/google/uuid" "github.com/stretchr/testify/assert" diff --git a/services/tasks-svc/internal/task/aggregate/actions.go b/services/tasks-svc/internal/task/aggregate/actions.go index 513c50391..1de28cf64 100644 --- a/services/tasks-svc/internal/task/aggregate/actions.go +++ b/services/tasks-svc/internal/task/aggregate/actions.go @@ -2,7 +2,7 @@ package aggregate import ( "context" - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" taskEventsV1 "tasks-svc/internal/task/events/v1" "time" diff --git a/services/tasks-svc/internal/task/aggregate/aggregate.go b/services/tasks-svc/internal/task/aggregate/aggregate.go index 3fdcf94e7..e8f62d3cd 100644 --- a/services/tasks-svc/internal/task/aggregate/aggregate.go +++ b/services/tasks-svc/internal/task/aggregate/aggregate.go @@ -3,7 +3,7 @@ package aggregate import ( "context" "fmt" - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" "github.com/google/uuid" "hwes" "hwutil" diff --git a/services/tasks-svc/internal/task/aggregate/aggregate_test.go b/services/tasks-svc/internal/task/aggregate/aggregate_test.go index e1c326f21..df8f3303b 100644 --- a/services/tasks-svc/internal/task/aggregate/aggregate_test.go +++ b/services/tasks-svc/internal/task/aggregate/aggregate_test.go @@ -3,7 +3,7 @@ package aggregate_test import ( "common" "context" - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" "github.com/google/uuid" "hwes" "tasks-svc/internal/task/aggregate" diff --git a/services/tasks-svc/internal/task/api/grpc.go b/services/tasks-svc/internal/task/api/grpc.go index b9a1d9664..8606a6f07 100644 --- a/services/tasks-svc/internal/task/api/grpc.go +++ b/services/tasks-svc/internal/task/api/grpc.go @@ -2,7 +2,7 @@ package api import ( "context" - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" "github.com/google/uuid" "google.golang.org/protobuf/types/known/timestamppb" "hwes" diff --git a/services/tasks-svc/internal/task/api/grpc_test.go b/services/tasks-svc/internal/task/api/grpc_test.go index 2cfc1909a..dd0f0e167 100644 --- a/services/tasks-svc/internal/task/api/grpc_test.go +++ b/services/tasks-svc/internal/task/api/grpc_test.go @@ -4,7 +4,7 @@ import ( "common" common_test "common/test" "context" - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" "github.com/google/uuid" "google.golang.org/grpc" hwes_test "hwes/test" diff --git a/services/tasks-svc/internal/task/commands/v1/create_task.go b/services/tasks-svc/internal/task/commands/v1/create_task.go index 1f9e433a4..22d8a8590 100644 --- a/services/tasks-svc/internal/task/commands/v1/create_task.go +++ b/services/tasks-svc/internal/task/commands/v1/create_task.go @@ -3,7 +3,7 @@ package v1 import ( "context" "errors" - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" "github.com/google/uuid" "google.golang.org/protobuf/types/known/timestamppb" "hwes" diff --git a/services/tasks-svc/internal/task/events/v1/events.go b/services/tasks-svc/internal/task/events/v1/events.go index e9e121e8f..a9c1ef515 100644 --- a/services/tasks-svc/internal/task/events/v1/events.go +++ b/services/tasks-svc/internal/task/events/v1/events.go @@ -2,7 +2,7 @@ package v1 import ( "context" - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" "github.com/google/uuid" "hwes" "time" diff --git a/services/tasks-svc/internal/task/models/task.go b/services/tasks-svc/internal/task/models/task.go index fba5a7486..79423e0a5 100644 --- a/services/tasks-svc/internal/task/models/task.go +++ b/services/tasks-svc/internal/task/models/task.go @@ -1,7 +1,7 @@ package models import ( - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" "github.com/google/uuid" "time" ) diff --git a/services/tasks-svc/internal/task/projections/task_postgres_projection/task_postgres_projection.go b/services/tasks-svc/internal/task/projections/task_postgres_projection/task_postgres_projection.go index 71ae83f22..c830b29c4 100644 --- a/services/tasks-svc/internal/task/projections/task_postgres_projection/task_postgres_projection.go +++ b/services/tasks-svc/internal/task/projections/task_postgres_projection/task_postgres_projection.go @@ -3,7 +3,7 @@ package task_postgres_projection import ( "context" "fmt" - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" "github.com/EventStore/EventStore-Client-Go/v4/esdb" "github.com/google/uuid" zlog "github.com/rs/zerolog/log" diff --git a/services/tasks-svc/main.go b/services/tasks-svc/main.go index ddb1525bd..a38c6eac3 100644 --- a/services/tasks-svc/main.go +++ b/services/tasks-svc/main.go @@ -3,7 +3,7 @@ package main import ( "common" "context" - pb "gen/proto/services/tasks_svc/v1" + pb "gen/services/tasks_svc/v1" "hwdb" "hwes/eventstoredb" ph "tasks-svc/internal/patient/handlers" diff --git a/services/user-svc/internal/organization/organization.go b/services/user-svc/internal/organization/organization.go index c7a4a31d4..b24cd29d9 100644 --- a/services/user-svc/internal/organization/organization.go +++ b/services/user-svc/internal/organization/organization.go @@ -4,8 +4,8 @@ import ( "common" "context" "errors" - "gen/proto/libs/events/v1" - pb "gen/proto/services/user_svc/v1" + "gen/libs/events/v1" + pb "gen/services/user_svc/v1" "github.com/jackc/pgx/v5" "hwdb" "hwutil" diff --git a/services/user-svc/internal/user/user.go b/services/user-svc/internal/user/user.go index eb27a4957..93084f5d4 100644 --- a/services/user-svc/internal/user/user.go +++ b/services/user-svc/internal/user/user.go @@ -6,8 +6,8 @@ import ( "crypto/sha256" "encoding/hex" "fmt" - "gen/proto/libs/events/v1" - pb "gen/proto/services/user_svc/v1" + "gen/libs/events/v1" + pb "gen/services/user_svc/v1" "hwdb" "user-svc/repos/user_repo" diff --git a/services/user-svc/main.go b/services/user-svc/main.go index 196e49714..8d5243398 100644 --- a/services/user-svc/main.go +++ b/services/user-svc/main.go @@ -3,7 +3,7 @@ package main import ( "common" "context" - pb "gen/proto/services/user_svc/v1" + pb "gen/services/user_svc/v1" daprd "github.com/dapr/go-sdk/service/grpc" "hwdb" "user-svc/internal/organization" @@ -17,10 +17,10 @@ var Version string func main() { common.Setup(ServiceName, Version, common.WithAuth(), common.WithUnauthenticatedMethods([]string{ - "/proto.services.user_svc.v1.UserService/CreateUser", - "/proto.services.user_svc.v1.OrganizationService/CreateOrganizationForUser", - "/proto.services.user_svc.v1.OrganizationService/AddMember", - "/proto.services.user_svc.v1.OrganizationService/GetOrganizationsByUser", + "/services.user_svc.v1.UserService/CreateUser", + "/services.user_svc.v1.OrganizationService/CreateOrganizationForUser", + "/services.user_svc.v1.OrganizationService/AddMember", + "/services.user_svc.v1.OrganizationService/GetOrganizationsByUser", })) closeDBPool := hwdb.SetupDatabaseFromEnv(context.Background())